/* =========================================================
   West Meadow Landscaping — Lowell, MA
   Design direction: "estate grounds / mature New England garden"
   Limestone base · deep conifer green · antique brass ·
   signature = surveyor's topographic contour lines
   Type: Fraunces (display serif) + Hanken Grotesk (grotesque)
   ========================================================= */

:root {
  /* palette */
  --canvas:      #F4F1E8;   /* limestone / parchment base */
  --canvas-2:    #ECE6D6;   /* warm panel */
  --paper:       #FBFAF4;   /* card */
  --ink:         #1B2A1E;   /* deep conifer near-black */
  --ink-soft:    #4C5A4B;   /* muted body */
  --conifer:     #22371F;   /* primary deep green (dark sections) */
  --conifer-2:   #2C4531;
  --laurel:      #4C6B4E;   /* mid green */
  --sage:        #8C9C83;   /* muted sage */
  --brass:       #A8894F;   /* antique brass accent */
  --brass-deep:  #856A38;
  --brass-soft:  #C7A96E;
  --line:        rgba(27,42,30,.14);
  --line-2:      rgba(27,42,30,.08);

  --shadow-sm: 0 1px 2px rgba(27,42,30,.06), 0 4px 14px -8px rgba(27,42,30,.18);
  --shadow-md: 0 2px 6px rgba(27,42,30,.07), 0 24px 50px -28px rgba(27,42,30,.38);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 4px;
}

* { 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;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- type primitives ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.06; letter-spacing: -.01em; }
h1 { font-optical-sizing: auto; }
.serif-i { font-style: italic; }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass-deep);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--brass);
  display: inline-block;
}

/* ---------- buttons ---------- */
.btn {
  --_bg: var(--conifer);
  --_fg: #F4F1E8;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  letter-spacing: .01em;
  padding: .82em 1.5em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--_bg); color: var(--_fg);
  cursor: pointer;
  transition: transform .18s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-primary { --_bg: var(--conifer); --_fg: #F4F1E8; }
.btn-primary:hover { background: var(--ink); }
.btn-brass { --_bg: var(--brass); --_fg: #211a0c; }
.btn-brass:hover { background: var(--brass-soft); }
.btn-ghost {
  --_bg: transparent; --_fg: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); background: transparent; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 2px solid var(--brass-deep);
  outline-offset: 3px;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--canvas) 82%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 1.4rem; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; margin-right: auto; }
.brand-mark { width: 34px; height: 34px; color: var(--conifer); flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.32rem; line-height: 1; letter-spacing: -.01em; }
.brand-name span { color: var(--brass-deep); }
.brand-sub { display:block; font-family: var(--sans); font-size: .56rem; letter-spacing: .34em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }

.nav-links { display: flex; gap: 1.55rem; margin-inline: auto; }
.nav-links a { font-size: .93rem; font-weight: 500; color: var(--ink-soft); position: relative; padding: .2em 0; transition: color .2s; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-2px; height:1px; width:0; background: var(--brass); transition: width .25s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .92rem; color: var(--ink); }
.nav-phone svg { color: var(--brass-deep); }
.nav-cta { padding: .62em 1.15em; }

.menu-toggle { display: none; background: none; border: none; color: var(--ink); cursor: pointer; padding: 6px; }

.mobile-menu { display: none; }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 7vw, 92px); overflow: hidden; }

/* Signature: surveyor's contour lines drawn on load */
.contours {
  position: absolute; inset: -8% -6% auto auto;
  width: min(720px, 82vw); height: auto;
  color: var(--brass);
  opacity: .5;
  pointer-events: none; z-index: 0;
}
.contours path { fill: none; stroke: currentColor; stroke-width: 1.1; }
.contour-draw {
  stroke-dasharray: var(--len, 2600);
  stroke-dashoffset: var(--len, 2600);
  transition: stroke-dashoffset 2.1s cubic-bezier(.22,.61,.36,1);
}
.hero-loaded .contour-draw { stroke-dashoffset: 0; }

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(28px, 5vw, 68px); align-items: center;
}
.hero-copy { max-width: 34ch; }
.hero h1 {
  font-size: clamp(2.7rem, 6.2vw, 4.7rem);
  margin: .55rem 0 0;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; transform: translateY(102%); transition: transform .85s cubic-bezier(.2,.7,.2,1); }
.hero-loaded h1 .line > span { transform: translateY(0); }
.hero h1 .l2 > span { transition-delay: .09s; }
.hero h1 .l3 > span { transition-delay: .18s; color: var(--brass-deep); }

.hero .sub { color: var(--ink-soft); font-size: 1.12rem; margin: 1.5rem 0 0; max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 1.1rem 1.6rem; margin-top: 2.2rem; font-size: .86rem; color: var(--ink-soft); }
.hero-trust span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-trust .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brass); flex: none; }
.hero-trust b { color: var(--ink); font-weight: 600; }

.hero-visual { position: relative; }
.hero-frame {
  position: relative; border-radius: 6px; overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
  outline: 1px solid var(--line);
  outline-offset: -1px;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(200deg, transparent 55%, rgba(27,42,30,.34));
}
.hero-badge {
  position: absolute; left: -22px; bottom: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: .85rem 1.05rem;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .7rem;
  max-width: 250px;
}
.hero-badge .seal { width: 34px; height: 34px; color: var(--brass-deep); flex: none; }
.hero-badge .t { font-family: var(--serif); font-size: 1.02rem; line-height: 1.1; }
.hero-badge .s { display:block; font-family: var(--sans); font-size: .72rem; color: var(--ink-soft); margin-top: 2px; }

/* =========================================================
   Marquee strip
   ========================================================= */
.strip {
  background: var(--conifer); color: #E7E2D2;
  border-block: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.strip-track {
  display: inline-flex; gap: 2.6rem; white-space: nowrap;
  padding: .9rem 0; will-change: transform;
  animation: marquee 34s linear infinite;
}
.strip-track span { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(231,226,210,.82); display: inline-flex; align-items: center; gap: 2.6rem; }
.strip-track span::after { content: "❧"; color: var(--brass-soft); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* =========================================================
   Section scaffolding
   ========================================================= */
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section-head { max-width: 62ch; margin-bottom: clamp(34px, 5vw, 60px); }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin: .7rem 0 0; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin: 1rem 0 0; max-width: 54ch; }

/* Contour rule divider */
.rule { color: var(--brass); opacity: .55; }
.rule svg { width: 100%; height: 22px; display: block; }

/* =========================================================
   Services
   ========================================================= */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.svc {
  background: var(--paper); padding: 2rem 1.7rem 2.1rem;
  transition: background .25s ease;
  position: relative;
}
.svc:hover { background: var(--canvas-2); }
.svc .num { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .16em; color: var(--brass-deep); }
.svc .ico { width: 30px; height: 30px; color: var(--conifer); margin: .9rem 0 1rem; }
.svc h3 { font-size: 1.42rem; }
.svc p { color: var(--ink-soft); font-size: .96rem; margin: .55rem 0 0; }

/* =========================================================
   Seasons almanac (structural signature: real year-round cycle)
   ========================================================= */
.almanac { background: var(--conifer); color: #E8E3D3; }
.almanac .section-head h2 { color: #F4F1E8; }
.almanac .section-head p { color: rgba(232,227,211,.78); }
.almanac .eyebrow { color: var(--brass-soft); }
.almanac .eyebrow::before { background: var(--brass-soft); }
.season-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.season {
  padding: 1.9rem 1.4rem 2rem; border-left: 1px solid rgba(255,255,255,.14);
  position: relative;
}
.season:first-child { border-left: none; }
.season .arc { width: 26px; height: 26px; color: var(--brass-soft); margin-bottom: 1rem; }
.season .sn { font-family: var(--serif); font-size: 1.7rem; font-style: italic; color: #F4F1E8; }
.season .st { display:block; font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-soft); margin: .5rem 0 .8rem; }
.season p { font-size: .92rem; color: rgba(232,227,211,.8); margin: 0; }

/* =========================================================
   Portfolio
   ========================================================= */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 168px;
  gap: 14px;
}
.pf { position: relative; overflow: hidden; border-radius: 5px; outline: 1px solid var(--line); outline-offset: -1px; }
.pf img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.pf:hover img { transform: scale(1.045); }
.pf figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem .95rem .8rem;
  background: linear-gradient(transparent, rgba(20,32,22,.82));
  color: #F4F1E8; font-size: .82rem; font-weight: 500; letter-spacing: .02em;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
}
.pf:hover figcaption, .pf:focus-within figcaption { opacity: 1; transform: translateY(0); }
.pf-a { grid-column: span 3; grid-row: span 2; }
.pf-b { grid-column: span 3; grid-row: span 1; }
.pf-c { grid-column: span 3; grid-row: span 1; }
.pf-d { grid-column: span 2; grid-row: span 1; }
.pf-e { grid-column: span 2; grid-row: span 1; }
.pf-f { grid-column: span 2; grid-row: span 1; }
.pf-note { font-size: .82rem; color: var(--ink-soft); margin-top: 1.3rem; }

/* =========================================================
   About
   ========================================================= */
.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.about-photo { position: relative; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo .tag {
  position: absolute; left: 16px; bottom: 16px;
  background: color-mix(in srgb, var(--canvas) 92%, transparent);
  border: 1px solid var(--line); border-radius: 3px;
  padding: .4rem .8rem; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--conifer);
}
.about-copy h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-top: .7rem; }
.about-copy p { color: var(--ink-soft); margin: 1.1rem 0 0; }
.pillars { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.6rem; }
.pillars span { font-size: .8rem; font-weight: 600; letter-spacing: .06em; padding: .4rem .85rem; border: 1px solid var(--line); border-radius: 40px; color: var(--conifer); background: var(--paper); }

/* =========================================================
   Reviews
   ========================================================= */
.reviews { background: var(--canvas-2); }
.stat-band {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: 6px; overflow: hidden; margin-bottom: clamp(30px,4vw,48px);
}
.stat { background: var(--canvas); padding: 1.5rem 1.2rem; text-align: center; }
.stat .n { font-family: var(--serif); font-size: 2.1rem; color: var(--conifer); line-height: 1; }
.stat .l { font-size: .8rem; color: var(--ink-soft); margin-top: .5rem; letter-spacing: .02em; }

.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 1.9rem 1.8rem; position: relative; }
.quote .mark { font-family: var(--serif); font-size: 3.2rem; line-height: 0; color: var(--brass-soft); position: absolute; top: 1.9rem; right: 1.4rem; }
.quote .stars { color: var(--brass); letter-spacing: .12em; font-size: .9rem; }
.quote p { font-family: var(--serif); font-size: 1.28rem; line-height: 1.35; margin: .8rem 0 1rem; max-width: 34ch; }
.quote cite { font-style: normal; font-size: .85rem; font-weight: 600; color: var(--ink); }
.quote cite span { display: block; font-weight: 400; color: var(--ink-soft); font-size: .8rem; margin-top: 2px; }
.reviews-src { font-size: .8rem; color: var(--ink-soft); margin-top: 1.4rem; }
.reviews-src a { color: var(--brass-deep); text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================
   Estimate + AI chip
   ========================================================= */
.est-grid { display: grid; grid-template-columns: 1fr 1.04fr; gap: clamp(30px,5vw,64px); align-items: start; }
.est-pitch h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-top: .7rem; }
.est-pitch p { color: var(--ink-soft); margin: 1.1rem 0 0; max-width: 44ch; }
.checks { list-style: none; padding: 0; margin: 1.7rem 0 0; display: grid; gap: .7rem; }
.checks li { display: flex; align-items: flex-start; gap: .7rem; font-size: .96rem; color: var(--ink); }
.checks svg { color: var(--brass-deep); flex: none; margin-top: 3px; }

.ai-chip {
  display: flex; align-items: center; gap: .9rem;
  margin-top: 2rem; padding: 1rem 1.1rem;
  border: 1px dashed var(--brass); border-radius: 8px;
  background: color-mix(in srgb, var(--brass) 8%, transparent);
}
.ai-chip .ico { width: 36px; height: 36px; color: var(--brass-deep); flex: none; }
.ai-chip b { display: block; font-size: .96rem; }
.ai-chip .d { font-size: .84rem; color: var(--ink-soft); }
.ai-chip .soon { margin-left: auto; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-deep); border: 1px solid var(--brass); border-radius: 40px; padding: .3rem .65rem; white-space: nowrap; }

.est-card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: clamp(1.5rem, 3vw, 2.3rem); box-shadow: var(--shadow-md); }
.est-card h3 { font-size: 1.6rem; }
.field { margin-top: 1rem; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: .96rem; color: var(--ink);
  padding: .72em .85em; border: 1px solid var(--line); border-radius: 5px;
  background: var(--canvas); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brass) 22%, transparent); outline: none; }
.est-card .btn { width: 100%; margin-top: 1.3rem; }
.form-hint { font-size: .8rem; color: var(--ink-soft); text-align: center; margin: .8rem 0 0; }

.est-success { display: none; text-align: center; padding: 1rem 0; }
.est-success.show { display: block; }
.est-success .check { width: 58px; height: 58px; margin: 0 auto 1rem; border-radius: 50%; background: var(--conifer); color: var(--canvas); display: grid; place-items: center; }
.est-success h3 { font-size: 1.7rem; }
.est-success p { color: var(--ink-soft); margin: .8rem auto 0; max-width: 38ch; }
.est-success a { color: var(--brass-deep); font-weight: 600; }

/* =========================================================
   Visit / contact
   ========================================================= */
.visit { background: var(--conifer); color: #E8E3D3; }
.visit .eyebrow { color: var(--brass-soft); }
.visit .eyebrow::before { background: var(--brass-soft); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px,5vw,60px); align-items: start; }
.visit h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); color: #F4F1E8; margin-top: .7rem; }
.visit-lines { margin-top: 1.6rem; display: grid; gap: 1rem; }
.visit-lines a, .visit-lines div { display: flex; align-items: flex-start; gap: .8rem; color: #E8E3D3; font-size: 1rem; }
.visit-lines .ico { color: var(--brass-soft); flex: none; margin-top: 2px; }
.visit-lines a:hover { color: #fff; }
.area-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.area-tags span { font-size: .8rem; padding: .35rem .75rem; border: 1px solid rgba(255,255,255,.2); border-radius: 40px; color: rgba(232,227,211,.9); }
.map-frame { border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); min-height: 340px; box-shadow: var(--shadow-md); }
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; filter: saturate(.9); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--ink); color: rgba(231,226,210,.72); padding: clamp(48px,6vw,72px) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand .brand-name { color: #F4F1E8; }
.footer-brand .brand-name span { color: var(--brass-soft); }
.footer-brand p { font-size: .9rem; margin: 1rem 0 0; max-width: 34ch; }
.footer-brand .brand-mark { color: var(--brass-soft); }
.footer-col h4 { font-family: var(--sans); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-soft); font-weight: 600; margin-bottom: 1rem; }
.footer-col a, .footer-col p { display: block; font-size: .92rem; color: rgba(231,226,210,.72); margin-bottom: .6rem; }
.footer-col a:hover { color: #F4F1E8; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; color: rgba(231,226,210,.5); }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .hero h1 .line > span { transform: none !important; }
  .contour-draw { stroke-dashoffset: 0 !important; transition: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .hero-visual { max-width: 460px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .season-row { grid-template-columns: repeat(2, 1fr); }
  .season:nth-child(2) { border-left: none; }
  .season:nth-child(3), .season:nth-child(4) { border-top: 1px solid rgba(255,255,255,.14); }
  .season:nth-child(3) { border-left: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }
  .quotes { grid-template-columns: 1fr; }
  .est-grid { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .pf-a { grid-column: span 2; grid-row: span 2; }
  .pf-b, .pf-c, .pf-d, .pf-e, .pf-f { grid-column: span 1; grid-row: span 1; }

  /* mobile menu */
  .mobile-menu { display: block; max-height: 0; overflow: hidden; transition: max-height .32s ease; background: var(--canvas); border-bottom: 1px solid var(--line); }
  .mobile-menu.open { max-height: 420px; }
  .mobile-menu a { display: block; padding: .85rem var(--gutter); border-top: 1px solid var(--line-2); font-weight: 500; }
  .mobile-menu .btn { margin: .8rem var(--gutter) 1rem; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .svc-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badge { left: 8px; right: 8px; bottom: 8px; max-width: none; }
  .field-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
