/* ==========================================================================
   Muskoka Turf & Property Management — styles
   Palette: black / white / pine + turf green (sparingly)
   ========================================================================== */

:root {
  /* Colour tokens */
  --ink: #0e100d;            /* near-black, text + dark sections */
  --ink-2: #1a1d18;          /* raised dark surface */
  --ink-3: #2a2e27;          /* borders on dark */
  --paper: #f5f4ee;          /* warm off-white page background */
  --paper-2: #ebeae2;        /* muted panels */
  --white: #ffffff;
  --pine: #1e3a26;           /* deep Muskoka pine — primary brand green */
  --pine-2: #2a5135;
  --turf: #8ccf4d;           /* fresh turf green — accents on dark only */
  --turf-soft: #c9e8a6;
  --muted: #5b6157;          /* body copy secondary on light (7:1 on paper) */
  --muted-dark: #a6ab9f;     /* secondary text on dark (≥7:1 on ink) */
  --line: #d9d8cf;

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  /* Spacing (spacious marketing scale) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6.5rem;
  --space-8: 9rem;

  --radius: 18px;
  --radius-sm: 10px;
  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.02; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--turf); outline-offset: 3px; border-radius: 4px; }
.m-section--light :focus-visible, .on-light :focus-visible { outline-color: var(--pine); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--turf); color: var(--ink); padding: 0.75rem 1rem;
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.m-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Shared type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--pine);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.m-section--dark .eyebrow { color: var(--turf); }

.display {
  font-weight: 800;
  font-stretch: 112%;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 4.3vw, 4rem);
}
.elevate .display { font-size: clamp(2rem, 3.6vw, 3.25rem); }
.display .soft { color: var(--muted); }
.m-section--dark .display .soft { color: var(--muted-dark); }

.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 56ch; }
.m-section--dark .lede { color: var(--muted-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.8rem 1.4rem;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1;
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out),
              border-color 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.btn svg { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--turf { background: var(--turf); color: var(--ink); }
.btn--turf:hover { background: var(--turf-soft); }
.btn--pine { background: var(--pine); color: var(--white); }
.btn--pine:hover { background: var(--pine-2); }
.btn--ghost-light { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--ghost-dark { border-color: var(--ink); color: var(--ink); }
.btn--ghost-dark:hover { background: var(--ink); color: var(--white); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
}
.site-header.is-scrolled { background: rgba(14, 16, 13, 0.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--ink-3); }
.site-header .m-container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }

.m-brand { display: inline-flex; align-items: center; text-decoration: none; }
.m-brand img { height: 54px; width: auto; }

.m-nav { display: flex; align-items: center; gap: var(--space-4); }
.m-nav__list { display: flex; gap: var(--space-3); }
.m-nav__list a {
  color: var(--white); text-decoration: none; font-size: 0.9375rem; font-weight: 500;
  padding: 0.5rem 0; position: relative;
}
.m-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.2rem; height: 2px;
  background: var(--turf); transform: scaleX(0); transform-origin: left;
  transition: transform 220ms var(--ease-out);
}
.m-nav__list a:hover::after, .m-nav__list a[aria-current="true"]::after { transform: scaleX(1); }
.m-nav__phone { color: var(--white); text-decoration: none; font-weight: 600; font-size: 0.9375rem; white-space: nowrap; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 999px;
  background: transparent; border: 2px solid rgba(255,255,255,0.4); color: var(--white);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .m-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: var(--space-4);
    padding: var(--space-4) var(--gutter) var(--space-5);
    background: var(--ink);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s linear 220ms;
    overflow-y: auto;
  }
  .m-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .m-nav__list { flex-direction: column; gap: 0; }
  .m-nav__list a {
    display: block; padding: 1rem 0; font-family: var(--font-display); font-weight: 700;
    font-size: 1.75rem; text-transform: uppercase; border-bottom: 1px solid var(--ink-3);
  }
  .m-nav__list a::after { display: none; }
  .site-header.menu-open { background: var(--ink); }
  body.menu-open { overflow: hidden; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--white); background: var(--ink); overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14,16,13,0.62) 0%, rgba(14,16,13,0.25) 55%, rgba(14,16,13,0) 80%),
    linear-gradient(180deg, rgba(14,16,13,0.55) 0%, rgba(14,16,13,0.15) 22%, rgba(14,16,13,0.35) 55%, rgba(14,16,13,0.9) 100%);
}
.hero__inner { padding-top: calc(var(--header-h) + var(--space-6)); padding-bottom: var(--space-5); width: 100%; }
.hero__top { display: grid; grid-template-columns: 1fr; gap: var(--space-4); align-items: end; margin-bottom: var(--space-3); }
@media (min-width: 900px) { .hero__top { grid-template-columns: 1.1fr 0.9fr; } }
.hero__intro { max-width: 46ch; font-size: clamp(1.0625rem, 1.4vw, 1.2rem); color: rgba(255,255,255,0.88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
.hero__badge {
  justify-self: start; display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 1rem 0.6rem 0.6rem; border-radius: 999px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px); font-size: 0.9375rem;
}
@media (min-width: 900px) { .hero__badge { justify-self: end; } }
.hero__badge-dot {
  width: 36px; height: 36px; border-radius: 999px; background: var(--turf); color: var(--ink);
  display: grid; place-items: center;
}
.hero__badge-dot svg { width: 18px; height: 18px; }

.hero__title {
  font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(2.6rem, 9.6vw, 9.75rem); line-height: 0.88; letter-spacing: -0.035em;
  margin-left: -0.04em;
}
.hero__title .line { display: block; }
.hero__title .grad {
  background: linear-gradient(180deg, #ffffff 0%, #e6f5d4 35%, var(--turf) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Service-area ticker */
.ticker { border-top: 1px solid rgba(255,255,255,0.2); margin-top: var(--space-4); overflow: hidden; }
.ticker__track {
  display: flex; gap: var(--space-5); width: max-content; padding: 1rem 0;
  animation: ticker 40s linear infinite;
  font-size: 0.875rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.75);
}
.ticker__track span { display: inline-flex; align-items: center; gap: var(--space-5); }
.ticker__track span::after { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--turf); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; flex-wrap: wrap; width: auto; } }

/* ==========================================================================
   Sections
   ========================================================================== */
.m-section { padding-block: var(--space-7); position: relative; scroll-margin-top: calc(var(--header-h) - 1px); }
.m-section--light { background: var(--paper); color: var(--ink); }
.m-section--white { background: var(--white); color: var(--ink); }
.m-section--dark { background: var(--ink); color: var(--white); }
.m-section--pine { background: var(--pine); color: var(--white); }

.m-section-head { display: grid; gap: var(--space-3); margin-bottom: var(--space-6); }
@media (min-width: 900px) {
  .m-section-head--split { grid-template-columns: 1.3fr 1fr; align-items: end; }
}

/* ---------- About / statement ---------- */
.about__grid { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 960px) { .about__grid { grid-template-columns: 1.25fr 0.75fr; } }

.statement {
  font-family: var(--font-display); font-weight: 600; font-stretch: 100%;
  font-size: clamp(1.5rem, 2.9vw, 2.45rem); line-height: 1.18; letter-spacing: -0.015em;
}
.statement .soft { color: #8e9388; }
.about__body { margin-top: var(--space-4); display: grid; gap: var(--space-2); color: var(--muted); max-width: 62ch; }

/* Striped circle photo — nod to reference 1 */
.ring {
  position: relative; aspect-ratio: 1; width: min(100%, 460px); justify-self: center;
}
.ring__img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  -webkit-mask-image: linear-gradient(180deg, #000 0 52%, transparent 52% 55%, #000 55% 64%, transparent 64% 67.5%, #000 67.5% 75%, transparent 75% 79%, #000 79% 85%, transparent 85% 89.5%, #000 89.5%);
          mask-image: linear-gradient(180deg, #000 0 52%, transparent 52% 55%, #000 55% 64%, transparent 64% 67.5%, #000 67.5% 75%, transparent 75% 79%, #000 79% 85%, transparent 85% 89.5%, #000 89.5%);
}
.ring__tag {
  position: absolute; left: -4%; bottom: 10%;
  background: var(--ink); color: var(--white); border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem; font-size: 0.875rem; line-height: 1.35; max-width: 210px;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,0.5);
}
.ring__tag strong { display: block; font-family: var(--font-display); font-size: 1.25rem; color: var(--turf); text-transform: uppercase; font-stretch: 112%; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); margin-top: var(--space-6); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--space-4) var(--space-3); display: flex; flex-direction: column; justify-content: space-between; min-height: 190px;
}
.stat__num {
  font-family: var(--font-display); font-weight: 800; font-stretch: 112%;
  font-size: clamp(2.5rem, 4.4vw, 3.75rem); line-height: 1; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat__label { font-weight: 600; margin-top: var(--space-3); }
.stat__sub { color: var(--muted); font-size: 0.9375rem; }

/* ---------- Services (hover list + swapping image) ---------- */
.services__grid { display: grid; gap: var(--space-5); }
@media (min-width: 960px) { .services__grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }

.services__visual {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5;
  background: var(--ink-2);
}
@media (min-width: 960px) { .services__visual { position: sticky; top: calc(var(--header-h) + 2rem); } }
.services__visual img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity 450ms var(--ease-out), transform 900ms var(--ease-out);
}
.services__visual img.is-active { opacity: 1; transform: none; }
.services__caption {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: rgba(14,16,13,0.72); backdrop-filter: blur(8px);
  color: var(--white); border-radius: var(--radius-sm); padding: 0.75rem 1rem; font-size: 0.9375rem;
}
.services__caption span:last-child { color: var(--turf); font-weight: 600; font-variant-numeric: tabular-nums; }

.service-list { border-top: 1px solid var(--line); }
.service { border-bottom: 1px solid var(--line); }
.service__btn {
  width: 100%; display: flex; align-items: baseline; gap: var(--space-3); text-align: left;
  background: none; border: 0; padding: var(--space-3) 0; color: #9da296;
  transition: color 200ms var(--ease-out);
}
.service__num { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.1em; font-variant-numeric: tabular-nums; min-width: 2.2ch; }
.service__name {
  font-family: var(--font-display); font-weight: 700; font-stretch: 112%; text-transform: uppercase;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.05; letter-spacing: -0.02em; flex: 1;
}
.service__icon { width: 28px; height: 28px; flex: none; align-self: center; transition: transform 250ms var(--ease-out); }
.service__btn:hover, .service.is-active .service__btn { color: var(--ink); }
.service.is-active .service__icon { transform: rotate(45deg); color: var(--pine); }

.service__panel {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows 380ms var(--ease-out);
}
.service.is-active .service__panel { grid-template-rows: 1fr; }
.service__panel > div { overflow: hidden; }
.service__panel-inner { padding: 0 0 var(--space-4) calc(2.2ch + var(--space-3)); color: var(--muted); max-width: 60ch; }
.service__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--space-2); }
.m-tag {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0.3rem 0.85rem;
  border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  color: var(--ink); font-size: 0.875rem; font-weight: 500;
}
.service__mobile-img { display: none; }
@media (max-width: 959px) {
  .services__visual { display: none; }
  .service__mobile-img { display: block; border-radius: var(--radius-sm); aspect-ratio: 16/10; width: 100%; object-fit: cover; margin-bottom: var(--space-3); }
}
@media (prefers-reduced-motion: reduce) { .service__panel, .services__visual img { transition: none; } }

/* ---------- Seasons (year-round care) ---------- */
.seasons { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .seasons { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .seasons { grid-template-columns: repeat(4, 1fr); } }
.season {
  position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3 / 4;
  color: var(--white); isolation: isolate; box-shadow: 0 24px 50px -30px rgba(0,0,0,0.6);
}
.season img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 700ms var(--ease-out); }
.season::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,16,13,0.15) 0%, rgba(14,16,13,0.2) 45%, rgba(14,16,13,0.88) 100%); }
.season:hover img { transform: scale(1.05); }
.season__label {
  position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); text-align: center;
  font-family: var(--font-display); font-weight: 800; font-stretch: 112%; text-transform: lowercase;
  font-size: clamp(2.4rem, 4.2vw, 3.5rem); letter-spacing: -0.03em; text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.season__body { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-3); font-size: 0.9375rem; color: rgba(255,255,255,0.9); }
.season__body strong { display: block; color: var(--turf); font-size: 0.8125rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.3rem; }
@media (prefers-reduced-motion: reduce) { .season img { transition: none; } }

/* ---------- Synthetic turf / STI ---------- */
.turf { overflow: hidden; }
.turf__grid { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 960px) { .turf__grid { grid-template-columns: 1fr 1fr; } }
.turf__partner { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); flex-wrap: wrap; }
.turf__partner img { height: 34px; width: auto; }
.turf__partner span { font-size: 0.8125rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-dark); }
.turf__features { display: grid; gap: var(--space-2); margin: var(--space-5) 0; }
@media (min-width: 560px) { .turf__features { grid-template-columns: 1fr 1fr; } }
.feature {
  display: flex; gap: 0.9rem; align-items: flex-start;
  padding: var(--space-3); border-radius: var(--radius-sm);
  background: var(--ink-2); border: 1px solid var(--ink-3);
}
.feature svg { width: 26px; height: 26px; color: var(--turf); flex: none; margin-top: 2px; }
.feature h3 { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.feature p { color: var(--muted-dark); font-size: 0.9375rem; margin-top: 0.25rem; }

.turf__media { position: relative; }
.turf__media .main { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 88%; margin-left: auto; }
.turf__media .inset {
  position: absolute; left: 0; bottom: 8%; width: 46%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius-sm); border: 6px solid var(--ink);
}
.turf__media .stamp {
  position: absolute; top: 6%; left: 4%;
  width: 118px; height: 118px; border-radius: 999px; background: var(--turf); color: var(--ink);
  display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-weight: 800;
  font-stretch: 112%; text-transform: uppercase; font-size: 0.95rem; line-height: 1.05; padding: 1rem;
  transform: rotate(-10deg);
}

/* ---------- Process ---------- */
.process { display: grid; gap: var(--space-5) var(--space-4); grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 700px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .process { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding-top: 4.2rem; }
.step__num {
  position: absolute; top: 0; left: -0.06em;
  font-family: var(--font-display); font-weight: 300; font-stretch: 100%;
  font-size: clamp(5rem, 8vw, 7rem); line-height: 0.9; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.25px #b9bcb2; z-index: 0; user-select: none;
}
.step h3 { position: relative; font-size: 1.375rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.6rem; padding-top: 1.4rem; }
.step p { position: relative; color: var(--muted); font-size: 1rem; }
.step__line { height: 2px; background: var(--line); margin-top: var(--space-3); position: relative; overflow: hidden; }
.step__line::after { content: ""; position: absolute; inset: 0; background: var(--pine); transform: scaleX(0); transform-origin: left; transition: transform 900ms var(--ease-out); }
.step.is-visible .step__line::after { transform: scaleX(1); }

/* Split CTA band (ref 3) */
.elevate { display: grid; gap: var(--space-5); align-items: center; margin-top: var(--space-7); }
@media (min-width: 900px) { .elevate { grid-template-columns: 1.05fr 0.95fr; } }
.elevate__media { position: relative; padding-right: 18%; padding-bottom: 14%; }
.elevate__media img:first-child { border-radius: var(--radius); aspect-ratio: 5/4; object-fit: cover; width: 100%; }
.elevate__media img:last-child {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius); border: 6px solid var(--white);
}
.elevate h2 { margin-bottom: var(--space-3); }
.elevate p { color: var(--muted); margin-bottom: var(--space-4); max-width: 46ch; }

/* ---------- Gallery ---------- */
.m-gallery { columns: 1; column-gap: 12px; }
@media (min-width: 600px) { .m-gallery { columns: 2; } }
@media (min-width: 1024px) { .m-gallery { columns: 3; } }
.gallery__item {
  break-inside: avoid; margin: 0 0 12px; position: relative; display: block; width: 100%;
  border: 0; padding: 0; background: var(--ink-2); border-radius: var(--radius-sm); overflow: hidden;
}
.gallery__item img { width: 100%; transition: transform 600ms var(--ease-out), opacity 300ms; }
.gallery__item:hover img { transform: scale(1.035); }
.gallery__item .zoom {
  position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border-radius: 999px;
  background: rgba(255,255,255,0.92); color: var(--ink); display: grid; place-items: center;
  opacity: 0; transform: translateY(-4px); transition: opacity 200ms, transform 200ms;
}
.gallery__item .zoom svg { width: 20px; height: 20px; }
.gallery__item:hover .zoom, .gallery__item:focus-visible .zoom { opacity: 1; transform: none; }
@media (hover: none) { .gallery__item .zoom { opacity: 1; transform: none; } }

/* Lightbox */
.lightbox {
  border: 0; padding: 0; max-width: none; max-height: none; width: 100vw; height: 100vh;
  background: rgba(8,9,7,0.94); color: var(--white);
}
.lightbox::backdrop { background: rgba(8,9,7,0.94); }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 4.5rem 1rem; }
.lightbox img { max-width: min(1400px, 100%); max-height: 100%; object-fit: contain; border-radius: 6px; }
.lightbox__btn {
  position: absolute; width: 52px; height: 52px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08); color: var(--white); display: grid; place-items: center;
}
.lightbox__btn:hover { background: rgba(255,255,255,0.2); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; top: 1.6rem; left: 1.25rem; font-size: 0.875rem; letter-spacing: 0.12em; color: var(--muted-dark); font-variant-numeric: tabular-nums; }
@media (max-width: 599px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; transform: none; } }

/* ---------- Reviews ---------- */
.reviews__grid { display: grid; gap: var(--space-2); }
@media (min-width: 900px) { .reviews__grid { grid-template-columns: repeat(3, 1fr); } }
.review {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-3);
}
.review--feature { background: var(--pine); color: var(--white); border-color: var(--pine); }
.review__stars { display: flex; gap: 2px; color: var(--pine); }
.review--feature .review__stars { color: var(--turf); }
.review__stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.55; flex: 1; }
.review--feature blockquote { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.3; letter-spacing: -0.01em; }
.review figcaption { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9375rem; }
.review__avatar {
  width: 44px; height: 44px; border-radius: 999px; background: var(--paper-2); color: var(--pine);
  display: grid; place-items: center; font-weight: 700; flex: none;
}
.review--feature .review__avatar { background: var(--turf); color: var(--ink); }
.review figcaption span { display: block; color: var(--muted); font-size: 0.875rem; }
.review--feature figcaption span { color: var(--turf-soft); }
.reviews__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.reviews__score { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; font-stretch: 112%; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: var(--space-6); }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 0.9fr 1.1fr; } }
.contact__list { display: grid; gap: var(--space-3); margin-top: var(--space-5); }
.contact__item { display: flex; gap: 1rem; align-items: flex-start; }
.contact__item svg { width: 24px; height: 24px; color: var(--turf); flex: none; margin-top: 3px; }
.contact__item a, .contact__item p { color: var(--white); text-decoration: none; font-size: 1.125rem; font-weight: 500; }
.contact__item a:hover { color: var(--turf); }
.contact__item small { display: block; color: var(--muted-dark); font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; }

.m-form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.75rem); }
.m-form h3 { font-size: 1.75rem; font-stretch: 112%; text-transform: uppercase; font-weight: 800; margin-bottom: 0.4rem; }
.m-form > p { color: var(--muted); margin-bottom: var(--space-4); }
.m-form__row { display: grid; gap: var(--space-2); }
@media (min-width: 600px) { .m-form__row--2 { grid-template-columns: 1fr 1fr; } }
.m-field { display: grid; gap: 0.4rem; margin-bottom: var(--space-3); }
.m-field label, .m-field legend { font-weight: 600; font-size: 0.9375rem; }
.m-field .hint { color: var(--muted); font-size: 0.875rem; }
.m-field input, .m-field select, .m-field textarea {
  width: 100%; min-height: 50px; padding: 0.75rem 0.95rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color 150ms, box-shadow 150ms;
}
.m-field textarea { min-height: 130px; resize: vertical; }
.m-field input:focus, .m-field select:focus, .m-field textarea:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px rgba(30,58,38,0.18); }
.m-field [aria-invalid="true"] { border-color: #b42318; }
.m-field .error { color: #b42318; font-size: 0.875rem; font-weight: 500; min-height: 0; }
.m-field .error:empty { display: none; }
fieldset.m-field { border: 0; padding: 0; margin: 0 0 var(--space-3); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.4rem; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0.5rem 1rem;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper);
  font-size: 0.9375rem; font-weight: 500; cursor: pointer; transition: all 150ms;
}
.chip span svg { width: 16px; height: 16px; display: none; }
.chip input:checked + span { background: var(--pine); border-color: var(--pine); color: var(--white); }
.chip input:checked + span svg { display: block; }
.chip input:focus-visible + span { outline: 3px solid var(--pine); outline-offset: 2px; }
.m-form__submit { width: 100%; margin-top: var(--space-1); }
.m-form__status { margin-top: var(--space-2); font-weight: 500; }
.m-form__status.ok { color: var(--pine); }

/* ---------- Footer ---------- */
.m-footer { background: #080907; color: var(--muted-dark); padding: var(--space-6) 0 var(--space-4); font-size: 0.9375rem; }
.m-footer__grid { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .m-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.m-footer__logo { height: 64px; width: auto; margin-bottom: var(--space-3); }
.m-footer h4 { font-family: var(--font-body); color: var(--white); font-size: 0.8125rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: var(--space-2); }
.m-footer li { margin-bottom: 0.55rem; }
.m-footer a { text-decoration: none; }
.m-footer a:hover { color: var(--white); }
.m-footer__big {
  font-family: var(--font-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(2.75rem, 11.5vw, 10.25rem); line-height: 0.85; letter-spacing: -0.04em; color: #161914;
  margin: var(--space-6) 0 var(--space-4); white-space: nowrap; overflow: hidden;
}
.m-footer__bottom { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: space-between; border-top: 1px solid var(--ink-3); padding-top: var(--space-3); font-size: 0.875rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .step__line::after { transition: none; }
}

/* Mobile CTA bar */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  display: none; gap: 8px; padding: 8px; border-radius: 999px;
  background: rgba(14,16,13,0.92); backdrop-filter: blur(10px); box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
  transform: translateY(140%); transition: transform 300ms var(--ease-out);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { flex: 1; min-height: 48px; padding-inline: 1rem; }
@media (max-width: 767px) { .mobile-cta { display: flex; } }

.invert { filter: invert(1); }
@media (max-width: 600px) {
  .hero__title { font-size: 14.5vw; }
  .hero__inner { padding-top: calc(var(--header-h) + 2.5rem); }
}

/* ==========================================================================
   WordPress + Elementor integration
   ========================================================================== */

/* Stat that shouldn't count up (e.g. a year) */
.stat__num[data-static] { font-variant-numeric: normal; }

/* Muted words inside rich-text statements: italic text renders as soft grey */
.statement em, .statement i { font-style: normal; color: #8e9388; }

/* Two-tone headings and soft text in Elementor text fields */
.display em { font-style: normal; color: var(--muted); }
.m-section--dark .display em { color: var(--muted-dark); }

/* Elementor sets `.elementor img { height:auto; border-radius:0; border:none }`. Restore ours. */
.elementor .ring__img { border-radius: 50%; height: 100%; }
.elementor .hero__media img,
.elementor .season img,
.elementor .services__visual img { height: 100%; }
.elementor .turf__media .main,
.elementor .elevate__media img { border-radius: var(--radius); }
.elementor .turf__media .inset { border-radius: var(--radius-sm); border: 6px solid var(--ink); }
.elementor .elevate__media img:last-child { border: 6px solid var(--white); }
.elementor .service__mobile-img { border-radius: var(--radius-sm); }
.elementor .turf__partner img { height: 34px; width: auto; }

/* MTPM widgets are full-bleed: neutralise the padding/gap/max-width of the container they sit in */
.e-con:has(> .elementor-widget [data-mtpm-section]),
.e-con:has(> .e-con-inner > .elementor-widget [data-mtpm-section]) {
  --padding-top: 0px !important; --padding-bottom: 0px !important;
  --padding-left: 0px !important; --padding-right: 0px !important;
  --gap: 0px !important; --row-gap: 0px !important; --column-gap: 0px !important;
  --content-width: 100% !important; --container-max-width: 100% !important;
}
.e-con:has(> .e-con-inner > .elementor-widget [data-mtpm-section]) > .e-con-inner { max-width: 100% !important; padding: 0 !important; }
.elementor-widget:has([data-mtpm-section]) { width: 100%; }

/* In the Elementor editor, show everything immediately */
.elementor-editor-active .reveal { opacity: 1 !important; transform: none !important; }
.elementor-editor-active .ticker__track { animation-play-state: paused; }

/* Pages without an MTPM hero: solid header and push content below it */
body:not(:has(.hero)) .site-header { background: var(--ink); }
body:not(:has(.hero)) .site-main { padding-top: var(--header-h); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Plain (non-Elementor) pages and posts */
.m-page { padding-block: var(--space-6); }
.m-page__title { font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(2rem, 4.5vw, 3.5rem); margin-bottom: var(--space-4); }
.m-prose { max-width: 72ch; }
.m-prose > * + * { margin-top: 1rem; }
.m-prose a { color: var(--pine); }
.m-prose img { border-radius: var(--radius-sm); }
.m-post-list { display: grid; gap: var(--space-3); }
.m-post-list a { text-decoration: none; }
.m-post-list h2 { font-size: 1.5rem; }

/* Header logo + menu from WordPress */
.m-brand img { height: 54px; width: auto; }
.m-nav__list .current-menu-item > a::after { transform: scaleX(1); }

/* Contact form: WPForms inside the white card */
.m-form .wpforms-container { margin: 0 !important; }
.m-form .wpforms-field { padding: 0 0 var(--space-3) !important; }
.m-form .wpforms-field-label { font-family: var(--font-body) !important; font-weight: 600 !important; font-size: 0.9375rem !important; color: var(--ink) !important; }
.m-form .wpforms-field input[type=text],
.m-form .wpforms-field input[type=email],
.m-form .wpforms-field input[type=tel],
.m-form .wpforms-field input[type=number],
.m-form .wpforms-field select,
.m-form .wpforms-field textarea {
  width: 100% !important; max-width: 100% !important; min-height: 50px !important; height: auto !important;
  padding: 0.75rem 0.95rem !important; font: inherit !important; font-size: 1rem !important; color: var(--ink) !important;
  background: var(--paper) !important; border: 1.5px solid var(--line) !important; border-radius: var(--radius-sm) !important; box-shadow: none !important;
}
.m-form .wpforms-field textarea { min-height: 130px !important; }
.m-form .wpforms-field input:focus, .m-form .wpforms-field select:focus, .m-form .wpforms-field textarea:focus {
  border-color: var(--pine) !important; box-shadow: 0 0 0 3px rgba(30,58,38,0.18) !important; outline: none !important;
}
.m-form .wpforms-submit-container { padding: 0 !important; }
.m-form button.wpforms-submit, .m-form .wpforms-submit {
  width: 100% !important; min-height: 50px !important; border-radius: 999px !important; border: 0 !important;
  background: var(--pine) !important; color: var(--white) !important; font: 600 1rem var(--font-body) !important; cursor: pointer;
}
.m-form .wpforms-submit:hover { background: var(--pine-2) !important; }
.m-form .wpforms-error, .m-form label.wpforms-error { color: #b42318 !important; font-size: 0.875rem !important; }
.m-form .wpforms-confirmation-container-full { background: var(--paper) !important; border: 1.5px solid var(--pine) !important; color: var(--ink) !important; border-radius: var(--radius-sm); }
.m-form__note { background: var(--paper); border: 1.5px dashed var(--line); border-radius: var(--radius-sm); padding: var(--space-3); color: var(--muted); }

/* Widget markup adjustments */
.service__icon { display: inline-flex; width: 28px; height: 28px; flex: none; align-self: center; transition: transform 250ms var(--ease-out); }
.service__icon svg { width: 100%; height: 100%; }
.nav-toggle span { display: inline-flex; }
@media (min-width: 1024px) { .m-gallery { columns: var(--cols, 3); } }
.m-section--stats { padding-top: 0; }
.m-section--tight-top { padding-top: 0; }
.m-section-head--split .lede { justify-self: start; }
.turf__partner img.invert { filter: invert(1); }
.reviews__meta a { color: inherit; }
.contact__item p { margin: 0; }
.m-nav__list a { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .m-nav { gap: var(--space-3); }
  .m-nav__list { gap: 1.1rem; }
  .m-nav__phone { display: none; }
}
