/* ============================================================
   NORTH SHADE LAWN — Editorial nature-luxury design system
   Fraunces (display serif) + Hanken Grotesk (body)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand greens (sampled from the leaf logo) */
  --forest-900: #0f2e1a;
  --forest-800: #143d22;
  --forest-700: #1c5130;
  --forest-600: #266b3f;
  --leaf-500:   #6fae3f;   /* bright accent from the leaf gradient */
  --leaf-400:   #8cc451;

  /* Neutrals */
  --ink:    #15191b;
  --ink-70: rgba(21, 25, 27, 0.70);
  --ink-55: rgba(21, 25, 27, 0.55);
  --cream:  #f6f3ea;       /* warm off-white page bg */
  --paper:  #fbf9f3;
  --sand:   #ece4d3;
  --line:   rgba(15, 46, 26, 0.14);
  --white:  #ffffff;

  /* Type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body:    "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing rhythm */
  --gap: clamp(1rem, 2vw, 1.6rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --container: 1240px;
  --radius: 4px;

  --shadow-soft: 0 18px 50px -24px rgba(15, 46, 26, 0.45);
  --shadow-card: 0 24px 60px -30px rgba(15, 46, 26, 0.55);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overscroll-behavior: none; background: var(--cream); }
body {
  font-family: var(--body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Subtle paper grain over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout ---------- */
.container { width: min(100% - 2.4rem, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2.4rem, 880px); margin-inline: auto; }
section { position: relative; }
.section-pad { padding-block: var(--section-y); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 460; line-height: 1.04; letter-spacing: -0.015em; color: var(--forest-900); }
.display-xl { font-size: clamp(2.7rem, 1.6rem + 5.4vw, 6rem); font-weight: 430; line-height: 0.98; letter-spacing: -0.02em; }
.display-lg { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4rem); }
.display-md { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem); }
.lede { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem); line-height: 1.5; color: var(--ink-70); font-weight: 380; }

.eyebrow {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest-600);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--leaf-500);
}
.eyebrow--center::after {
  content: "";
  width: 26px; height: 1px;
  background: var(--leaf-500);
}

em.serif-i { font-style: italic; font-family: var(--display); color: var(--forest-700); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--body); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.95em 1.7em;
  border-radius: 999px;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  will-change: transform;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--primary { background: var(--forest-700); color: var(--paper); box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: var(--forest-900); transform: translateY(-2px); }
.btn--leaf { background: var(--leaf-500); color: var(--forest-900); }
.btn--leaf:hover { background: var(--leaf-400); transform: translateY(-2px); }
.btn--ghost { border: 1.5px solid currentColor; color: var(--forest-800); }
.btn--ghost:hover { background: var(--forest-800); color: var(--paper); transform: translateY(-2px); }
.btn--on-dark.btn--ghost { color: var(--cream); }
.btn--on-dark.btn--ghost:hover { background: var(--cream); color: var(--forest-900); }

.textlink {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 600; color: var(--forest-700);
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.textlink:hover { border-color: var(--leaf-500); gap: 0.85em; }
.textlink svg { width: 0.9em; transition: transform 0.3s var(--ease); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px -26px rgba(15,46,26,0.5);
  transition: box-shadow 0.4s var(--ease);
}
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-block: 0.7rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; justify-self: start; }
.brand img { height: 84px; width: auto; }
.brand__name { display: none; }

/* Centered nav */
.nav { justify-self: center; }
.nav__links { display: flex; align-items: center; gap: 1.7rem; }
.nav__links > li { position: relative; }
.nav__links a {
  font-size: 0.95rem; font-weight: 500; letter-spacing: 0.01em;
  color: var(--ink); position: relative; padding-block: 0.4em;
  display: inline-flex; align-items: center; gap: 0.35em;
  transition: color 0.3s var(--ease);
}
.nav__links > li > a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px; background: var(--leaf-500);
  transition: width 0.35s var(--ease);
}
.nav__links > li > a:hover, .nav__links > li > a.is-active { color: var(--forest-700); }
.nav__links > li > a:hover::after, .nav__links > li > a.is-active::after { width: 100%; }
.nav__links a .chev { width: 0.7em; height: 0.7em; transition: transform 0.3s var(--ease); }
.has-dropdown:hover a .chev { transform: rotate(180deg); }

/* Services dropdown */
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadow-card); padding: 0.5rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 10;
}
.dropdown::before { content: ""; position: absolute; bottom: 100%; left: 0; right: 0; height: 10px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown li a {
  display: block; padding: 0.7em 0.9em; border-radius: 6px;
  font-size: 0.92rem; font-weight: 500; white-space: nowrap; color: var(--ink-70);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.dropdown li a::after { display: none; }
.dropdown li a:hover { background: var(--forest-800); color: var(--cream); }
.dropdown li:last-child a { border-top: 1px solid var(--line); border-radius: 0 0 6px 6px; margin-top: 0.25rem; padding-top: 0.85em; font-weight: 600; color: var(--forest-700); }
.dropdown li:last-child a:hover { color: var(--cream); }

.header-right { justify-self: end; display: flex; align-items: center; gap: 0.9rem; }
.nav__phone {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 700; font-size: 0.95rem; color: var(--forest-800);
  white-space: nowrap;
}
.nav__phone svg { width: 1em; height: 1em; }

.nav-toggle { display: none; }

/* Mobile menu is hidden on desktop; the @media block below reveals it on small screens */
.mobile-menu { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--cream);
  isolation: isolate;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(13,14,16,0.88) 0%, rgba(13,14,16,0.66) 36%, rgba(13,14,16,0.40) 66%, rgba(13,14,16,0.34) 100%),
    linear-gradient(0deg, rgba(9,10,12,0.70) 0%, rgba(9,10,12,0.0) 34%);
}
.hero__inner { padding-block: clamp(3rem, 8vh, 7rem); width: 100%; max-width: 1080px; padding-left: clamp(0.5rem, 5vw, 5rem); }
.hero__inner > * { max-width: 640px; }
.hero__eyebrow { color: var(--leaf-400); }
/* No leading dash on the hero eyebrow */
.hero__eyebrow::before { display: none; }
.hero h1 { color: var(--cream); max-width: 16ch; margin-top: 1.1rem; }
.hero h1 .accent { color: var(--leaf-400); font-style: italic; }
.hero__sub { max-width: 46ch; margin-top: 1.5rem; color: rgba(246,243,234,0.86); font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem); font-weight: 360; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem;
  margin-top: 2.6rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(246,243,234,0.22);
  font-size: 0.86rem; letter-spacing: 0.04em; color: rgba(246,243,234,0.8);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 0.55em; }
.hero__meta svg { width: 1.05em; color: var(--leaf-400); }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust {
  background: var(--forest-900); color: var(--cream);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,0.08);
}
.trust__item {
  background: var(--forest-900);
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.1rem, 2vw, 1.8rem);
  display: flex; flex-direction: column; gap: 0.35rem;
}
.trust__item .n { font-family: var(--display); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); color: var(--leaf-400); line-height: 1; }
.trust__item .l { font-size: 0.82rem; letter-spacing: 0.04em; color: rgba(246,243,234,0.78); }

/* ============================================================
   GENERIC SECTION BITS
   ============================================================ */
.section-head { max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head h2 { margin-bottom: 1.1rem; }
.split {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}

/* Intro / positioning */
.intro { background: var(--paper); }
.intro__figure { position: relative; }
.intro__figure img { border-radius: var(--radius); box-shadow: var(--shadow-card); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.intro__figure--trio { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.intro__figure--trio img { aspect-ratio: 1 / 1; }
.intro__figure--trio .trio-lead { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.intro__badge {
  position: absolute; bottom: -28px; left: -28px;
  background: var(--forest-800); color: var(--cream);
  padding: 1.3rem 1.5rem; border-radius: var(--radius);
  box-shadow: var(--shadow-card); max-width: 230px;
}
.intro__badge .big { font-family: var(--display); font-size: 2.4rem; color: var(--leaf-400); line-height: 1; }
.intro__badge .small { font-size: 0.82rem; color: rgba(246,243,234,0.82); margin-top: 0.3rem; }
.intro p + p { margin-top: 1.1rem; }
.signature {
  margin-top: 1.8rem; font-family: var(--display); font-style: italic;
  font-size: 1.2rem; color: var(--forest-700);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--cream); }
.services__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.4rem; margin-top: 3rem; }
.svc {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--forest-900); color: var(--cream);
  min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.6rem; isolation: isolate;
  text-decoration: none;
}
.svc__img { position: absolute; inset: 0; z-index: -2; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.svc::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15,46,26,0.05) 0%, rgba(13,40,23,0.35) 45%, rgba(10,32,19,0.92) 100%);
  transition: background 0.5s var(--ease);
}
.svc:hover .svc__img img { transform: scale(1.06); }
.svc:hover::after { background: linear-gradient(180deg, rgba(15,46,26,0.15) 0%, rgba(13,40,23,0.5) 45%, rgba(8,28,16,0.95) 100%); }
.svc__tag { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--leaf-400); margin-bottom: 0.5rem; }
.svc h3 { color: var(--cream); font-size: 1.5rem; }
.svc p { font-size: 0.92rem; color: rgba(246,243,234,0.82); margin-top: 0.5rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.5s var(--ease), opacity 0.5s var(--ease), margin 0.5s var(--ease); }
.svc:hover p, .svc:focus-within p { max-height: 6rem; opacity: 1; }
.svc__arrow { position: absolute; top: 1.4rem; right: 1.4rem; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(246,243,234,0.4); display: grid; place-items: center; transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.svc__arrow svg { width: 16px; color: var(--cream); }
.svc:hover .svc__arrow { background: var(--leaf-500); border-color: var(--leaf-500); transform: rotate(-45deg); }
.svc:hover .svc__arrow svg { color: var(--forest-900); }
/* feature the two promoted services */
.svc--feature { grid-column: span 3; min-height: 420px; }
.svc--third { grid-column: span 2; }
.svc--half { grid-column: span 3; }

/* ============================================================
   SIGNATURE WORK / GALLERY MOSAIC
   ============================================================ */
.work { background: var(--forest-900); color: var(--cream); }
.work .eyebrow { color: var(--leaf-400); }
.work .eyebrow::before, .work .eyebrow--center::after { background: var(--leaf-400); }
.work h2 { color: var(--cream); }
.work .lede { color: rgba(246,243,234,0.78); }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 1rem; margin-top: 3rem; }
.mosaic figure { position: relative; overflow: hidden; border-radius: var(--radius); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.mosaic figure:hover img { transform: scale(1.07); }
.mosaic figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,28,16,0.7)); opacity: 0; transition: opacity 0.5s var(--ease); }
.mosaic figure:hover::after { opacity: 1; }
.mosaic figcaption { position: absolute; left: 1rem; bottom: 0.9rem; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream); opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); z-index: 1; }
.mosaic figure:hover figcaption { opacity: 1; transform: translateY(0); }
.tall { grid-row: span 2; }
.wide { grid-column: span 2; }

/* ============================================================
   WHY US
   ============================================================ */
.why { background: var(--paper); }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; }
.value {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem 1.8rem;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: transparent; }
.value__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--forest-800); color: var(--leaf-400); display: grid; place-items: center; margin-bottom: 1.3rem; }
.value__icon svg { width: 24px; height: 24px; }
.value h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.value p { color: var(--ink-70); font-size: 0.96rem; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.quote { background: var(--forest-800); color: var(--cream); overflow: hidden; padding-block: clamp(2.4rem, 5vw, 4rem); }
.quote .container { max-width: 760px; }
.quote__inner { position: relative; }
.quote__mark { font-family: var(--display); font-size: 7rem; line-height: 0.6; color: var(--leaf-500); opacity: 0.26; position: absolute; top: -0.8rem; left: -0.3rem; }
.quote blockquote { font-family: var(--display); font-weight: 380; font-size: clamp(1.15rem, 0.95rem + 1vw, 1.6rem); line-height: 1.4; letter-spacing: -0.01em; position: relative; max-width: 34ch; margin-inline: auto; text-align: center; }
.quote__cite { margin-top: 1.3rem; text-align: center; }
.quote__cite .name { font-weight: 700; letter-spacing: 0.04em; }
.quote__cite .stars { color: var(--leaf-400); letter-spacing: 0.2em; margin-bottom: 0.4rem; }

/* ============================================================
   SERVICE AREA
   ============================================================ */
.area { background: var(--cream); }
.area__towns { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }
.chip {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.55em 1.2em; font-size: 0.9rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: 0.5em;
  background: var(--paper);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.chip svg { width: 0.9em; color: var(--leaf-500); }
.chip:hover { background: var(--forest-800); color: var(--cream); border-color: var(--forest-800); }
.chip:hover svg { color: var(--leaf-400); }
.area__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 16/11; }
.area__map img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { background: var(--leaf-500); color: var(--forest-900); text-align: center; }
.cta-band h2 { color: var(--forest-900); margin-bottom: 1rem; }
.cta-band p { font-size: 1.1rem; max-width: 50ch; margin-inline: auto; color: rgba(15,46,26,0.78); }
.cta-band .hero__actions { justify-content: center; }
.cta-band .btn--primary { background: var(--forest-900); }
.cta-band .btn--primary:hover { background: var(--forest-800); }
.cta-band .btn--ghost { color: var(--forest-900); }
.cta-band .btn--ghost:hover { background: var(--forest-900); color: var(--leaf-500); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--forest-900); color: rgba(246,243,234,0.8); padding-block: clamp(3.5rem, 6vw, 5.5rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer__brand img { height: 120px; opacity: 0.97; }
.footer__brand p { margin-top: 1.2rem; font-size: 0.95rem; max-width: 32ch; }
.site-footer h4 { color: var(--cream); font-family: var(--body); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; margin-bottom: 1.2rem; }
.footer ul li { margin-bottom: 0.7rem; }
.footer a { font-size: 0.95rem; transition: color 0.3s var(--ease); }
.footer a:hover { color: var(--leaf-400); }
.footer__contact li { display: flex; gap: 0.7em; align-items: flex-start; font-size: 0.95rem; margin-bottom: 0.9rem; }
.footer__contact svg { width: 1.05em; color: var(--leaf-500); margin-top: 0.25em; flex-shrink: 0; }
.footer__social { display: flex; gap: 0.8rem; margin-top: 1.4rem; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(246,243,234,0.2); display: grid; place-items: center; transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.footer__social a:hover { background: var(--leaf-500); border-color: var(--leaf-500); transform: translateY(-3px); }
.footer__social svg { width: 18px; color: var(--cream); }
.footer__social a:hover svg { color: var(--forest-900); }
.footer__bottom { margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid rgba(246,243,234,0.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.84rem; color: rgba(246,243,234,0.55); }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero { position: relative; padding-top: clamp(8rem, 14vh, 11rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); color: var(--cream); isolation: isolate; overflow: hidden; }
.page-hero--tall { min-height: 82vh; display: flex; align-items: center; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,32,19,0.78), rgba(12,40,24,0.7)); }
.page-hero .eyebrow { color: var(--leaf-400); }
.page-hero .eyebrow::before { background: var(--leaf-400); }
.page-hero h1 { color: var(--cream); margin-top: 1rem; }
.page-hero p { color: rgba(246,243,234,0.85); max-width: 52ch; margin-top: 1.2rem; font-size: 1.15rem; }
.breadcrumb { font-size: 0.85rem; letter-spacing: 0.04em; color: rgba(246,243,234,0.7); margin-bottom: 1.2rem; }
.breadcrumb a:hover { color: var(--leaf-400); }

/* ============================================================
   SERVICE DETAIL ROWS
   ============================================================ */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.svc-row:nth-child(even) .svc-row__media { order: 2; }
.svc-row__media img { border-radius: var(--radius); box-shadow: var(--shadow-card); aspect-ratio: 5/4; object-fit: cover; width: 100%; }
.svc-row__num { font-family: var(--display); font-size: 1rem; color: var(--leaf-500); letter-spacing: 0.1em; }
.svc-row h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); margin: 0.6rem 0 1rem; }
.svc-row ul.ticks { margin-top: 1.4rem; display: grid; gap: 0.7rem; }
.svc-row ul.ticks li { color: var(--ink-70); }
/* Global tick-list styling (used on service pages too) */
ul.ticks li { display: flex; gap: 0.7em; align-items: flex-start; }
ul.ticks svg { width: 1.15em; height: 1.15em; color: var(--leaf-500); margin-top: 0.25em; flex-shrink: 0; }
.tag-pill { display: inline-block; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest-600); background: rgba(111,174,63,0.14); padding: 0.4em 0.9em; border-radius: 999px; margin-top: 1.2rem; }

/* ============================================================
   PORTFOLIO GRID + FILTER
   ============================================================ */
.filter { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 2.5rem; }
.filter button { font-size: 0.88rem; font-weight: 600; padding: 0.6em 1.3em; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-70); transition: all 0.3s var(--ease); }
.filter button:hover { border-color: var(--forest-700); color: var(--forest-800); }
.filter button.is-active { background: var(--forest-800); color: var(--cream); border-color: var(--forest-800); }
.gallery { columns: 3; column-gap: 1.2rem; margin-top: 3rem; }
.gallery figure { break-inside: avoid; margin-bottom: 1.2rem; position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; }
.gallery img { width: 100%; height: auto; display: block; transition: transform 0.8s var(--ease), filter 0.6s var(--ease); }
.gallery-more { text-align: center; margin-top: 2.6rem; }
.gallery-more[hidden] { display: none; }

/* ---- Lightbox ---- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8,20,12,0.94); display: flex; align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 2.5rem); opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease); }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox__img { max-width: 94vw; max-height: 88vh; width: auto; height: auto; border-radius: 6px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7); }
.lightbox__btn { position: absolute; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); color: #fff; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; transition: background 0.25s var(--ease); }
.lightbox__btn:hover { background: rgba(255,255,255,0.22); }
.lightbox__btn svg { width: 24px; }
.lightbox__close { top: clamp(1rem, 3vw, 1.6rem); right: clamp(1rem, 3vw, 1.6rem); }
.lightbox__prev { left: clamp(0.6rem, 2vw, 1.6rem); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(0.6rem, 2vw, 1.6rem); top: 50%; transform: translateY(-50%); }
.gallery figure::after { content: attr(data-label); position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1rem 0.9rem; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream); background: linear-gradient(transparent, rgba(8,28,16,0.85)); opacity: 0; transition: opacity 0.4s var(--ease); }
.gallery figure:hover::after { opacity: 1; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figure.is-hidden { display: none; }

/* ============================================================
   ABOUT
   ============================================================ */
.owners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; margin-top: 3rem; }
.owner-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.owner-card .role { color: var(--forest-600); font-weight: 600; letter-spacing: 0.04em; font-size: 0.85rem; text-transform: uppercase; }
.owner-card h3 { font-size: 1.6rem; margin: 0.3rem 0 0.8rem; }
.guarantee-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; margin-top: 3rem; }
.guarantee { text-align: center; padding: 2rem 1.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.guarantee .big { font-family: var(--display); font-size: 2.6rem; color: var(--forest-700); line-height: 1; }
.guarantee .lbl { margin-top: 0.5rem; font-size: 0.92rem; color: var(--ink-70); }

/* ============================================================
   BLOG
   ============================================================ */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; margin-top: 3rem; }
.post-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.post-card__media { aspect-ratio: 3/2; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--forest-600); margin-bottom: 0.7rem; }
.post-card h3 { font-size: 1.35rem; line-height: 1.15; margin-bottom: 0.7rem; }
.post-card p { font-size: 0.93rem; color: var(--ink-70); flex: 1; }
.post-card .textlink { margin-top: 1.2rem; }

/* Article body */
.article { max-width: 720px; margin-inline: auto; }
.article p, .article ul, .article h2, .article h3, .article blockquote { margin-bottom: 1.3rem; }
.article h2 { font-size: 1.8rem; margin-top: 2.5rem; }
.article h3 { font-size: 1.35rem; margin-top: 1.8rem; }
.article p { color: var(--ink-70); font-size: 1.08rem; line-height: 1.7; }
.article ul { padding-left: 0; display: grid; gap: 0.7rem; }
.article ul li { display: flex; gap: 0.7em; color: var(--ink-70); }
.article ul li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--leaf-500); margin-top: 0.65em; flex-shrink: 0; }
.article blockquote { border-left: 3px solid var(--leaf-500); padding-left: 1.4rem; font-family: var(--display); font-style: italic; font-size: 1.3rem; color: var(--forest-700); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-info li { display: flex; gap: 1em; align-items: flex-start; margin-bottom: 1.6rem; }
.contact-info .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--forest-800); color: var(--leaf-400); display: grid; place-items: center; flex-shrink: 0; }
.contact-info .ic svg { width: 20px; }
.contact-info .k { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--forest-600); }
.contact-info .v { font-size: 1.1rem; font-weight: 500; }
.contact-info .v a:hover { color: var(--forest-700); }

.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow-soft); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--forest-700); margin-bottom: 0.5rem; }
.field input, .field textarea, .field select {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.85em 1em; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--forest-600); box-shadow: 0 0 0 3px rgba(111,174,63,0.18); }
.field textarea { resize: vertical; min-height: 120px; }
.form .btn { width: 100%; justify-content: center; margin-top: 0.5rem; }
.form__note { font-size: 0.82rem; color: var(--ink-55); margin-top: 1rem; text-align: center; }
.form__success { display: none; text-align: center; padding: 2rem 1rem; }
.form__success.show { display: block; }
.form__success .ic { width: 60px; height: 60px; border-radius: 50%; background: var(--leaf-500); color: var(--forest-900); display: grid; place-items: center; margin: 0 auto 1.2rem; }
.form__success h3 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.form.sent .field, .form.sent .btn, .form.sent .form__note { display: none; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Hero load animation */
.hero [data-load] { opacity: 0; transform: translateY(28px); animation: heroIn 1s var(--ease) forwards; }
.hero [data-load="1"] { animation-delay: 0.15s; }
.hero [data-load="2"] { animation-delay: 0.32s; }
.hero [data-load="3"] { animation-delay: 0.49s; }
.hero [data-load="4"] { animation-delay: 0.66s; }
.hero [data-load="5"] { animation-delay: 0.83s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero [data-load] { animation: none; opacity: 1; transform: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .gallery { columns: 2; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav { display: none; }
  /* Sticky (in-flow) header on mobile: the hero starts BELOW it, so nothing
     bleeds through the translucent iOS Safari bar above the header. */
  .site-header { position: sticky; }
  /* Always-white cap: a panel that extends upward from the header and scrolls
     pinned with it, so the page content can never show through the strip above
     the header (iOS safe-area / address-bar zone) while scrolling. */
  .site-header::before {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: 100%;
    height: 100vh;
    background: var(--paper);
    z-index: -1;
  }
  .page-hero { padding-top: clamp(2.4rem, 6vw, 3.6rem); }
  .site-header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.4rem; position: relative; }
  .brand img { height: 50px; }
  .header-right { gap: 0.55rem; }
  .nav__phone { display: inline-flex; font-size: 0.92rem; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; color: var(--forest-900); }
  .nav-toggle svg { width: 24px; }
  .split, .contact-grid, .svc-row, .why__grid { grid-template-columns: 1fr; }
  .svc-row:nth-child(even) .svc-row__media { order: 0; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .svc--feature, .svc--third, .svc--half { grid-column: span 2; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .why__grid, .guarantee-strip, .post-grid { grid-template-columns: 1fr; }
  .owners { grid-template-columns: 1fr; }
  .intro__figure { max-width: 440px; margin-inline: auto; }
  .intro .split > div:first-child { order: 2; }

  /* Mobile menu */
  .mobile-menu { position: fixed; inset: 0; z-index: 200; background: var(--forest-900); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1rem; opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease); overflow-y: auto; padding: 5.5rem 1.5rem 3rem; }
  .mobile-menu.open { opacity: 1; pointer-events: auto; }
  .mobile-menu a { color: var(--cream); font-family: var(--display); font-size: 1.7rem; line-height: 1.1; }
  .mobile-menu a:hover { color: var(--leaf-400); }
  .mm-toggle { background: none; border: 0; cursor: pointer; color: var(--cream); font-family: var(--display); font-size: 1.7rem; line-height: 1.1; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0; }
  .mm-toggle .chev { width: 0.55em; height: 0.55em; transition: transform 0.3s var(--ease); }
  .mm-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
  .mm-dropdown { display: none; flex-direction: column; align-items: center; gap: 0.55rem; margin-top: 0.1rem; }
  .mm-dropdown.open { display: flex; }
  .mm-dropdown a { font-size: 1.15rem; color: rgba(246,243,234,0.82); }
  .mobile-menu .btn { font-family: var(--body); font-size: 1rem; margin-top: 1.2rem; }
  .mobile-menu__close { position: absolute; top: 1.5rem; right: 1.5rem; color: var(--cream); width: 46px; height: 46px; }
  .mobile-menu__close svg { width: 28px; }
}
@media (max-width: 560px) {
  .services__grid, .guarantee-strip { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 2; column-gap: 0.8rem; }
  .gallery figure { margin-bottom: 0.8rem; }
  .hero__meta { gap: 0.9rem 1.2rem; }

  /* Smaller hero headline on phones so it doesn't run 4 huge lines deep.
     Sized to stay two rows via the <br>; tighter tracking helps it fit. */
  .hero h1 { font-size: 1.78rem !important; line-height: 1.08 !important; letter-spacing: -0.02em !important; }

  /* Trim the hero description on phones: drop everything after the dash */
  .hide-mobile { display: none; }

  /* Smaller 1-Yr badge, tucked lower-left so it covers less of the photo */
  .intro__badge { left: -12px; bottom: -26px; padding: 0.8rem 1rem; max-width: 175px; }
  .intro__badge .big { font-size: 1.7rem; }
  .intro__badge .small { font-size: 0.72rem; line-height: 1.35; }

  /* "What's included" tick lists: single column so items don't cramp */
  .ticks { grid-template-columns: 1fr !important; gap: 0.85rem 0 !important; }

  /* Footer: single clean column */
  .footer__grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer__brand img { height: 92px; }
  .footer__brand p { max-width: none; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 0.55rem; text-align: left; }
}
