/* ==========================================================================
   Visser Signature Cleaning
   Palette drawn from the logo: deep navy, sage green, warm cream.
   ========================================================================== */

:root {
  --navy:        #1f2e4a;
  --navy-deep:   #16233b;
  --navy-soft:   #33456a;
  --sage:        #97a882;
  --sage-deep:   #7d9068;
  --sage-light:  #b9c7a8;
  --cream:       #f8f6f0;
  --cream-warm:  #f1ece1;
  --cream-card:  #fffdf9;
  --ink:         #2b3340;
  --muted:       #656c78;
  --line:        #e6e1d6;
  --white:       #ffffff;

  --font-serif:  "Playfair Display", Georgia, serif;
  --font-sans:   "Jost", "Segoe UI", system-ui, sans-serif;
  --font-script: "Allura", cursive;

  --shadow-sm:   0 2px 10px rgba(31, 46, 74, 0.06);
  --shadow-md:   0 12px 32px rgba(31, 46, 74, 0.10);
  --shadow-lg:   0 26px 60px rgba(31, 46, 74, 0.16);

  --radius:      18px;
  --radius-lg:   28px;
  --maxw:        1160px;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }
/* scroll-padding matches the SCROLLED (shrunken) header height so anchored
   sections land flush under the bar — no stripe of the previous section. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 62px; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* On-brand text selection */
::selection { background: var(--sage); color: var(--navy-deep); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 300;
  background: var(--navy);
  color: var(--cream);
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--sage-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--sage-light); }

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 5.2vw, 3.15rem);
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: var(--navy);
}
.section-title em { font-style: italic; color: var(--sage-deep); }

.section-intro {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 46ch;
  margin-top: 1rem;
}

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.75rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-py: 0.92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.94rem;
  letter-spacing: 0.04em;
  padding: var(--btn-py) 1.9rem;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background 0.3s var(--ease), color 0.3s var(--ease);
  will-change: transform;
}
.btn--primary {
  background: var(--navy);
  color: var(--cream);
  box-shadow: 0 10px 24px rgba(31, 46, 74, 0.22);
}
.btn--primary:hover {
  background: var(--navy-deep);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(31, 46, 74, 0.30);
}
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--sage);
}
.btn--ghost:hover {
  background: var(--sage);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(151, 168, 130, 0.28);
}
/* Tactile press feedback */
.btn:active { transform: translateY(-1px) scale(0.985); transition-duration: 0.08s; }
.btn--block { width: 100%; }
/* Subtle light sweep across the primary CTA on hover */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0; left: -130%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
  transition: left 0.75s var(--ease);
}
.btn--primary:hover::after { left: 150%; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 0.65rem;
  background: rgba(248, 246, 240, 0);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
              padding 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(248, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(31, 46, 74, 0.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: flex; align-items: center; gap: 0.5rem; }
.brand-mark {
  height: 46px;
  width: auto;
  aspect-ratio: 206 / 200;
  transition: height 0.4s var(--ease);
}
.brand-wordmark {
  height: 36px;
  width: auto;
  aspect-ratio: 520 / 161;
  transition: height 0.4s var(--ease);
}
.site-header.scrolled .brand-mark { height: 42px; }
.site-header.scrolled .brand-wordmark { height: 33px; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--navy);
  padding: 0.25rem 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--sage-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  background: var(--navy);
  color: var(--cream);
  padding: 0.7rem 1.5rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.nav-cta:hover { background: var(--navy-deep); transform: translateY(-2px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-top: clamp(7rem, 14vw, 9.5rem);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(151, 168, 130, 0.16), transparent 60%),
    radial-gradient(900px 500px at 0% 40%, rgba(31, 46, 74, 0.05), transparent 55%),
    var(--cream);
  overflow: hidden;
}
.hero-leaf {
  position: absolute;
  opacity: 0.55;
  pointer-events: none;
}
.hero-leaf--left {
  top: 9%; left: -42px;
  width: 132px;
  transform-origin: 60% 90%;
  animation: sway 8s ease-in-out infinite;
  display: none; /* hidden until there's page gutter to hold it clear of the text */
}
/* A real gutter only opens up past the container's 1160px max-width */
@media (min-width: 1280px) { .hero-leaf--left { display: block; } }
@keyframes sway {
  0%, 100% { transform: rotate(-2.5deg); }
  50%      { transform: rotate(3deg); }
}

/* ==========================================================================
   Decorative botanical accents (reuse the logo sprig, flipped/rotated)
   ========================================================================== */
.leaf-accent {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  line-height: 0;
}
.leaf-accent img { width: 100%; height: auto; display: block; }
/* The sprig <img> is wrapped in <picture> (webp + png). Keep the wrapper
   block-level so it sizes exactly like the bare image did in every accent. */
.leaf-accent picture, .hero-leaf picture, .ty-leaf picture { display: block; }
/* Keep real content above the accents */
.about-inner,
.process .container,
.faq .container,
.contact-inner { position: relative; z-index: 1; }

.leaf-accent--about {
  top: clamp(-46px, -4vw, -24px); right: -48px;
  width: clamp(120px, 15vw, 190px);
  transform: scaleX(-1) rotate(12deg);
  opacity: 0.20;
}
.leaf-accent--faq {
  bottom: -34px; left: -48px;
  width: clamp(120px, 15vw, 185px);
  transform: rotate(-8deg);
  opacity: 0.20;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}
.hero-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.7rem, 7.5vw, 5rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--navy);
  margin-bottom: 1.35rem;
}
.hero-title .ht-nowrap { white-space: nowrap; }
.nowrap { white-space: nowrap; }

/* Balance headings and prevent orphaned single words on the last line (widows).
   Falls back to normal wrapping in browsers without text-wrap support. */
h1, h2, h3, h4,
.hero-title, .section-title, .ty-title, .legal-title, .faq-item summary {
  text-wrap: balance;
}
p { text-wrap: pretty; }
.hero-title em {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 400;
  color: var(--sage-deep);
  font-size: 1.55em;
  line-height: 0.8;
  padding-inline: 0.08em;
}
.hero-lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.25rem;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  color: var(--navy-soft);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.badge-check { width: 15px; height: 15px; color: var(--sage-deep); flex-shrink: 0; }

.hero-visual { display: flex; justify-content: center; }
.hero-logo-card {
  position: relative;
  background: var(--cream-card);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.7);
  max-width: 460px;
  width: 100%;
}
.hero-logo-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) - 12px);
  pointer-events: none;
}
.hero-logo-card img { mix-blend-mode: multiply; aspect-ratio: 1 / 1; }

.tagline-strip {
  background: var(--navy);
  color: var(--cream);
}
.tagline-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 2.75rem);
  padding-block: 1.1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 3.5vw, 1.7rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.tagline-inner .dot { color: var(--sage-light); }

/* ==========================================================================
   Services
   ========================================================================== */
.services { background: var(--cream); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.service-card {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
              border-color 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage-light);
}
.service-icon {
  width: 62px; height: 62px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(151,168,130,0.18), rgba(31,46,74,0.06));
  margin-bottom: 1.25rem;
}
.service-icon svg { width: 28px; height: 28px; color: var(--navy); }
.service-card h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.service-card p { color: var(--muted); font-size: 0.98rem; }

.services-cta {
  text-align: center;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}
.services-cta p {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy);
  font-style: italic;
}

/* ==========================================================================
   About
   ========================================================================== */
.about { background: var(--cream-warm); position: relative; overflow: hidden; }
.about-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-image-frame { position: relative; }
/* Self-hosted photo (with a subtle brand wash baked in). Swap the <img> src/srcset
   in index.html for a real photo of the work whenever you have one. */
.about-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  bottom: -26px; right: -18px;
  background: var(--navy);
  color: var(--cream);
  border-radius: 20px;
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  box-shadow: var(--shadow-md);
}
.about-badge-num {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2rem;
  color: var(--sage-light);
  line-height: 1;
}
.about-badge-label { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.35; }

.about-content p { color: var(--ink); margin-bottom: 1.1rem; max-width: 52ch; }
.about-content .section-title { margin-bottom: 1.35rem; }
.about-list { margin: 1.5rem 0 2rem; display: grid; gap: 0.7rem; }
.about-list li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--navy);
  font-weight: 400;
}
.about-list li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 1.4rem; height: 1.4rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.2 4.2L19 6.8'/%3E%3C/svg%3E") center / 0.8rem no-repeat,
    var(--sage);
}

/* ==========================================================================
   Why Us
   ========================================================================== */
.why { background: var(--cream); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.why-item {
  text-align: center;
  padding: 2rem 1.4rem;
  border-radius: var(--radius);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.why-item:hover { background: var(--cream-card); transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.why-icon {
  width: 74px; height: 74px;
  margin: 0 auto 1.1rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--cream-warm);
  border: 1px solid var(--line);
}
.why-icon svg { width: 32px; height: 32px; color: var(--sage-deep); }
.why-item h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.why-item p { color: var(--muted); font-size: 0.95rem; }

/* ==========================================================================
   Process
   ========================================================================== */
.process { background: var(--navy); color: var(--cream); position: relative; overflow: hidden; }
.process .section-title { color: var(--cream); }
.process .eyebrow { color: var(--sage-light); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  position: relative;
}
.process-step {
  position: relative;
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(185, 199, 168, 0.18);
}
.process-num {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2.6rem;
  color: var(--sage-light);
  display: block;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.process-step h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.process-step p { color: rgba(248, 246, 240, 0.72); font-size: 0.95rem; }

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews { background: var(--cream-warm); }
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.review-card {
  background: var(--cream-card);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.stars { display: inline-flex; gap: 4px; color: #c9a24a; }
.stars svg { width: 18px; height: 18px; }
.review-card blockquote {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--navy);
}
.review-card figcaption { display: flex; flex-direction: column; margin-top: auto; }
.review-card figcaption strong { color: var(--ink); font-weight: 600; }
.review-card figcaption span { color: var(--sage-deep); font-size: 0.85rem; letter-spacing: 0.05em; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--cream-warm); position: relative; overflow: hidden; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 clamp(1.1rem, 3vw, 1.5rem);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq-item[open] { border-color: var(--sage-light); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.6vw, 1.28rem);
  line-height: 1.3;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--sage); outline-offset: 4px; border-radius: 6px; }
.faq-mark { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-mark::before, .faq-mark::after {
  content: "";
  position: absolute;
  background: var(--sage-deep);
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}
.faq-mark::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-mark::after { top: 0; left: 8px; width: 2px; height: 18px; }
.faq-item[open] .faq-mark::after { transform: scaleY(0); }
.faq-item p { color: var(--muted); font-size: 1rem; margin: 0; padding: 0 0 1.3rem; max-width: 64ch; }

/* ==========================================================================
   Service Area
   ========================================================================== */
.area {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(151,168,130,0.14), transparent 60%),
    var(--cream);
}
.area-inner { max-width: 900px; margin-inline: auto; text-align: center; }
.area-content { max-width: 900px; margin-inline: auto; }
/* Keep the long service-area title on one line only once the fluid heading has
   hit its size cap (~969px) and the 900px content box has room to spare. Below
   this the fluid font tracks the viewport so a single line would always run
   edge-to-edge — cap the width instead so it wraps into two balanced lines. */
@media (min-width: 1000px) { .area .section-title { white-space: nowrap; } }
@media (max-width: 999px) {
  .area .section-title { max-width: 620px; margin-inline: auto; }
}
.area-content .section-title { margin-bottom: 1rem; }
.area-content > p { color: var(--muted); max-width: 52ch; margin-inline: auto; }
.area-list {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: center;
  justify-items: center;
  gap: 0.75rem;
  width: fit-content;
  margin: 2rem auto 1.5rem;
}
.area-list li {
  background: var(--cream-card);
  border: 1px solid var(--sage-light);
  color: var(--navy);
  padding: 0.55rem 1.3rem;
  border-radius: 100px;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.area-list li:hover { background: var(--sage); color: var(--white); }
.area-note { color: var(--muted); font-size: 0.95rem; }
.area-note a { color: var(--sage-deep); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 680px) { .area-list { grid-template-columns: repeat(2, auto); } }

/* ==========================================================================
   Contact
   ========================================================================== */
/* No overflow:hidden here — it would disable the sticky .contact-info column.
   The accent's left bleed is clipped by the body's overflow-x; it's kept inside
   vertically so nothing spills into the footer. */
.contact { background: var(--navy-deep); color: var(--cream); position: relative; }
.contact-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (min-width: 981px) {
  .contact-info { position: sticky; top: 100px; }
}
.contact .section-title { color: var(--cream); }
.contact-info > p { color: rgba(248,246,240,0.78); max-width: 44ch; margin-bottom: 2rem; }
.contact-details { display: grid; gap: 1.1rem; }
.contact-details li { display: flex; align-items: center; gap: 0.9rem; font-size: 1.02rem; }
.contact-ic {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: rgba(185,199,168,0.14);
  border-radius: 12px;
  flex-shrink: 0;
}
.contact-ic svg { width: 20px; height: 20px; color: var(--sage-light); }
.contact-details a { display: inline-block; padding-block: 0.35rem; transition: color 0.3s var(--ease); }
.contact-details a:hover { color: var(--sage-light); }

.contact-form {
  background: var(--cream-card);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1rem;
  align-content: start;
}
.contact-form > * { margin: 0; min-width: 0; }
.contact-form .span-2 { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.45rem;
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background-color: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; }
/* Custom, on-brand dropdown chevron (replaces inconsistent native arrows) */
.field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%237d9068' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
  padding-right: 2.6rem;
  cursor: pointer;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  /* sage-deep border (3.2:1 on the card) + a stronger ring so the focused
     field is clearly indicated for keyboard users — the old faint sage
     (2.4:1) ring failed the 3:1 non-text contrast minimum. */
  border-color: var(--sage-deep);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(125, 144, 104, 0.45);
}
/* Placeholders need AA contrast too — the browser default gray was ~4.3:1. */
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); opacity: 1; }
.field .req { color: #b34a24; font-weight: 600; margin-left: 1px; }
.field-opt { color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
/* margin:0 — sits at the TOP of the form now; let the grid row-gap space it
   evenly instead of its own margins (which created an uneven pocket). */
.form-legend { font-size: 0.8rem; color: var(--muted); margin: 0; }
.form-legend .req { color: #b34a24; font-weight: 600; }

/* Segmented radio (preferred contact method) */
/* margin:0 — the form grid's row-gap already spaces this; an extra margin-bottom
   here stacked on top of the gap, leaving a lopsided double space below the
   "Preferred contact method" control. */
.seg-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.seg-field legend {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 0.45rem; padding: 0;
}
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.seg { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span {
  display: block; text-align: center; padding: 0.7rem 0.5rem;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--cream); color: var(--navy); font-size: 0.95rem;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.seg:hover span { border-color: var(--sage); }
.seg input:checked + span { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.seg input:focus-visible + span { border-color: var(--sage-deep); box-shadow: 0 0 0 3px rgba(125, 144, 104, 0.45); }

/* Photo upload */
.file-drop {
  display: flex; align-items: center; justify-content: center; gap: 0.7rem;
  padding: 0.85rem 1rem; border: 1.5px dashed var(--sage-light); border-radius: 12px;
  background: var(--cream); cursor: pointer; text-align: left;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.file-drop:hover, .file-drop.is-dragover { border-color: var(--sage); background: var(--white); }
/* Picker input: visually hidden but focusable (keyboard + screen readers reach it);
   its focus ring is drawn on the adjacent drop zone. The input.file-input-sr
   specificity (plus source order) must beat the `.field input { width:100% }`
   sizing rules, or the invisible box overflows the viewport. */
input.file-input-sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.file-input-sr:focus-visible + .file-drop {
  outline: 2px solid var(--sage-deep);
  outline-offset: 3px;
}
.file-drop svg { width: 22px; height: 22px; color: var(--sage-deep); flex-shrink: 0; }
.file-drop-copy { display: flex; flex-direction: column; line-height: 1.25; }
.file-drop-text { color: var(--navy); font-weight: 500; font-size: 0.92rem; }
.file-drop-hint { color: var(--muted); font-size: 0.78rem; }
.file-list { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.6rem; }
.file-list li {
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--cream); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.45rem 0.5rem 0.45rem 0.7rem; font-size: 0.85rem; color: var(--ink);
}
.file-list .file-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .file-size { color: var(--muted); font-size: 0.78rem; flex-shrink: 0; }
.file-list .file-remove {
  background: none; border: none; cursor: pointer; color: var(--muted);
  font-size: 1.2rem; line-height: 1; flex-shrink: 0;
  /* WCAG 2.2 target size: at least 24×24px and centered */
  min-width: 24px; min-height: 24px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
}
.file-list .file-remove:hover { color: #b34a24; }

/* Honeypot — visually hidden, still in the DOM for bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { margin-top: 0; }
.form-note { font-size: 0.92rem; text-align: center; min-height: 1.2em; }
@media (max-width: 620px) {
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .span-2 { grid-column: auto; }
}
.form-note.success { color: var(--sage-deep); font-weight: 500; }
.form-note.error { color: #b34a24; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy); color: var(--cream); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-logo-badge {
  background: var(--cream);
  border-radius: 20px;
  padding: 0.55rem;
  width: fit-content;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.footer-logo-badge img { height: 128px; width: auto; aspect-ratio: 340 / 343; display: block; mix-blend-mode: multiply; }
.footer-tag {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 0.6rem;
}
.footer-blurb { color: rgba(248,246,240,0.66); font-size: 0.95rem; max-width: 34ch; }
.footer-blurb .script-accent {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 400;
  color: var(--sage-light);
  font-size: 1.5em;
  line-height: 0.7;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 1.1rem;
}
.footer-col a, .footer-loc {
  display: block;
  color: rgba(248,246,240,0.78);
  font-size: 0.96rem;
  margin-bottom: 0.2rem;
  transition: color 0.3s var(--ease);
}
.footer-col a { padding-block: 0.45rem; }        /* larger tap target */
.footer-col a:hover { color: var(--cream); }
.footer-loc { color: rgba(248,246,240,0.55); padding-block: 0.3rem; }
/* Single social link, styled as a labeled pill so it reads as an intentional
   "Follow us" invitation rather than a lone, orphaned icon. */
.footer-fb {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.2rem;
  padding: 0.55rem 1.15rem 0.55rem 0.7rem;
  border-radius: 100px;
  background: rgba(185, 199, 168, 0.14);
  color: var(--cream);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer-fb:hover { background: var(--sage); color: var(--navy-deep); transform: translateY(-2px); }
.footer-fb svg { width: 17px; height: 17px; flex-shrink: 0; }

.footer-bottom { border-top: 1px solid rgba(185,199,168,0.18); padding-block: 1.4rem; }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: rgba(248,246,240,0.55);
  font-size: 0.85rem;
}

/* ==========================================================================
   Thank-you page
   ========================================================================== */
.ty {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 78vh;
  padding: clamp(6rem, 12vw, 9rem) 0 clamp(4rem, 8vw, 6rem);
  background:
    radial-gradient(1000px 520px at 80% -10%, rgba(151, 168, 130, 0.18), transparent 60%),
    radial-gradient(800px 460px at 0% 40%, rgba(31, 46, 74, 0.05), transparent 55%),
    var(--cream);
}
.ty-leaf {
  position: absolute;
  left: -22px; top: 16%;
  width: 128px;
  opacity: 0.5;
  pointer-events: none;
}
.ty-inner {
  text-align: center;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ty-badge {
  width: 92px; height: 92px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(151, 168, 130, 0.16);
  border: 1px solid var(--sage-light);
  color: var(--sage-deep);
  margin-bottom: 1.6rem;
  animation: ty-pop 0.6s var(--ease) both;
}
.ty-badge svg { width: 46px; height: 46px; }
@keyframes ty-pop {
  0% { opacity: 0; transform: scale(0.7); }
  100% { opacity: 1; transform: scale(1); }
}
.ty-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  line-height: 1.05;
  color: var(--navy);
  margin-bottom: 1.1rem;
}
.ty-title em {
  font-family: var(--font-script);
  font-style: normal;
  color: var(--sage-deep);
  font-size: 1.5em;
  line-height: 0.7;
  padding-inline: 0.05em;
}
.ty-lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 auto 2rem;
}
.ty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}
.ty-contact { color: var(--muted); font-size: 0.95rem; }
.ty-contact a { color: var(--sage-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Legal pages (privacy)
   ========================================================================== */
.legal { padding: clamp(7rem, 12vw, 9rem) 0 clamp(3.5rem, 7vw, 5rem); background: var(--cream); }
.legal-inner { max-width: 720px; margin-inline: auto; }
.legal-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}
.legal-updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; }
.legal-inner p { color: var(--ink); margin-bottom: 1.1rem; line-height: 1.7; }
.legal-inner h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}
.legal-inner ul { margin: 0 0 1.1rem; padding-left: 1.2rem; list-style: disc; }
.legal-inner li { color: var(--ink); margin-bottom: 0.4rem; line-height: 1.6; }
.legal-inner a { color: var(--sage-deep); text-decoration: underline; text-underline-offset: 2px; }
.legal-back { margin-top: 2.5rem; font-weight: 500; }
.legal-back a { color: var(--navy); text-decoration: none; }

.footer-bottom-inner a { color: rgba(248,246,240,0.75); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom-inner a:hover { color: var(--cream); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
/* Reveal is an ANIMATION (not a transition) so it doesn't hijack the
   `transition` property of elements that also have hover states (e.g. cards,
   whose lift + shadow + border need their own 0.4s transition to work). */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(var(--reveal-dist, 28px)); }
  to   { opacity: 1; transform: translateY(0); }
}
[data-reveal] { opacity: 0; }
[data-reveal].is-visible {
  opacity: 1;
  animation: reveal-up 0.8s var(--ease) backwards;
}

/* Above-the-fold hero content is already on screen at load — show it immediately. */
.hero [data-reveal],
.hero [data-reveal].is-visible {
  opacity: 1;
  animation: none;
}

/* The contact block is very large (a near-full-height form on dark navy).
   Sliding such a big block the default 28px reads as a harder "jump" than the
   smaller sections — soften its travel so it eases in like the rest. */
.contact-info[data-reveal] { --reveal-dist: 16px; }
.contact-form[data-reveal] { --reveal-dist: 10px; }

/* Soften the first paint of above-the-fold imagery. These <img>s would otherwise
   pop in abruptly once decoded — a gentle, staggered opacity fade (no transform,
   so no layout shift and no jump under the fixed header). */
@keyframes soft-in { from { opacity: 0; } to { opacity: 1; } }
.brand          { animation: soft-in 0.8s var(--ease) both; }
.hero-logo-card { animation: soft-in 0.9s var(--ease) 0.1s both; }
/* The sprig PNG can finish decoding mid-animation and "pop". So instead of a
   timed animation, keep it hidden and fade it only once main.js confirms the
   image has decoded (adds .is-loaded) — a smooth fade with no stutter. */
.hero-leaf img { opacity: 0; transition: opacity 0.9s var(--ease); }
.hero-leaf img.is-loaded { opacity: 1; }

/* ==========================================================================
   Micro-interactions & polish
   ========================================================================== */
/* Dimming scrim behind the open mobile menu (element injected by main.js).
   Sits above page content (z 90) but below the fixed header/drawer (z 100). */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(22, 35, 59, 0.5);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
body.nav-lock .nav-scrim { opacity: 1; pointer-events: auto; }

/* FAQ answer eases in when its item is opened */
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.faq-item[open] p { animation: faqReveal 0.35s var(--ease); }

/* Images shouldn't show the drag ghost / be selectable */
img { -webkit-user-drag: none; user-select: none; }

/* Scroll progress indicator — thin sage bar; width driven by main.js */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--sage-light), var(--sage-deep));
  z-index: 200;
  pointer-events: none;
  transition: width 0.12s linear;
  border-bottom-right-radius: 3px;
  border-top-right-radius: 3px;
}

/* Active-section highlight in the nav (scrollspy, set by main.js) */
.nav-link.active { color: var(--sage-deep); }
.nav-link.active::after { transform: scaleX(1); transform-origin: left; }

/* Service icons come alive when the card is hovered */
.service-icon { transition: transform 0.45s var(--ease), background 0.45s var(--ease); }
.service-icon svg { transition: color 0.45s var(--ease), transform 0.45s var(--ease); }
.service-card:hover .service-icon {
  transform: translateY(-2px) rotate(-4deg);
  background: linear-gradient(150deg, rgba(151,168,130,0.34), rgba(31,46,74,0.10));
}
.service-card:hover .service-icon svg { color: var(--sage-deep); transform: scale(1.08); }

/* Hero logo card breathes on hover (pointer devices only) */
@media (hover: hover) {
  .hero-logo-card { transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
  .hero-logo-card:hover { transform: translateY(-6px); box-shadow: 0 44px 84px rgba(31, 46, 74, 0.22); }
}

/* Gentle cascade for cards revealing together in a row */
.service-grid > [data-reveal],
.why-grid > [data-reveal],
.process-grid > [data-reveal] { animation-delay: 0.05s; }
.service-grid > [data-reveal]:nth-child(3n+2),
.why-grid > [data-reveal]:nth-child(4n+2),
.process-grid > [data-reveal]:nth-child(4n+2) { animation-delay: 0.12s; }
.service-grid > [data-reveal]:nth-child(3n+3),
.why-grid > [data-reveal]:nth-child(4n+3),
.process-grid > [data-reveal]:nth-child(4n+3) { animation-delay: 0.19s; }
.why-grid > [data-reveal]:nth-child(4n+4),
.process-grid > [data-reveal]:nth-child(4n+4) { animation-delay: 0.26s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-leaf img { opacity: 1; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  /* Hero stacks: the logo card moves to the top, so drop the sprig to the
     lower-left where it stays clear of the logo. */
  .hero-leaf--left {
    display: block;
    top: auto; bottom: clamp(56px, 16vw, 68px);
    left: -30px; width: 90px; opacity: 0.58;
    animation: none;
  }
  .ty-leaf {
    top: auto; bottom: 6%;
    left: -44px; width: 96px; opacity: 0.4;
  }
  .leaf-accent--about { width: clamp(104px, 26vw, 150px); right: -38px; opacity: 0.30; }
  .leaf-accent--faq { width: clamp(104px, 26vw, 150px); left: -38px; opacity: 0.30; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-actions, .hero-badges { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-logo-card { max-width: 360px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { max-width: 420px; margin-inline: auto; }
  .contact-inner { grid-template-columns: 1fr; }
  /* Tablet / "desktop site": brand spans the top, links sit in an even 3-up row
     (Explore | Services | Contact) — no orphaned column. Centered to match the
     centered brand masthead above. */
  .footer-inner { grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
  /* Center the brand block (logo + tagline + blurb) whenever the footer stacks,
     so it reads as one unified masthead instead of drifting left. */
  .footer-brand {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 0.75rem;
  }
  .footer-logo-badge { margin-inline: auto; }
  .footer-blurb { margin-inline: auto; }
}

@media (max-width: 820px) {
  /* Smaller mobile header → smaller anchor offset (scrolled height ≈ 57px) */
  html { scroll-padding-top: 56px; }
  /* Mobile nav — hamburger kicks in before the 5-item nav crowds the logo */
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.4rem;
    background: var(--cream);
    padding: 6rem 2rem 2rem;
    box-shadow: -20px 0 60px rgba(31,46,74,0.18);
    transform: translateX(100%);
    /* visibility:hidden takes the off-screen drawer OUT of the tab order and
       a11y tree while closed (otherwise keyboard/screen-reader users hit 6
       invisible links). It flips on instantly when opening and only hides
       again after the slide-out completes. */
    visibility: hidden;
    transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
  }
  .nav.open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.45s var(--ease), visibility 0s;
  }
  /* Staggered link reveal as the drawer slides in */
  .nav-link, .nav-cta {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.3s var(--ease);
  }
  .nav.open .nav-link, .nav.open .nav-cta { opacity: 1; transform: none; }
  .nav.open .nav-link:nth-child(1) { transition-delay: 0.10s; }
  .nav.open .nav-link:nth-child(2) { transition-delay: 0.14s; }
  .nav.open .nav-link:nth-child(3) { transition-delay: 0.18s; }
  .nav.open .nav-link:nth-child(4) { transition-delay: 0.22s; }
  .nav.open .nav-link:nth-child(6) { transition-delay: 0.26s; }
  .nav.open .nav-cta { transition-delay: 0.30s; }
  .nav-link { font-size: 1.15rem; padding: 0.55rem 0; width: 100%; }
  .nav-cta { margin-top: 0.75rem; width: 100%; text-align: center; padding-block: 0.85rem; }
  .nav-toggle { display: flex; z-index: 120; }
  body.nav-lock { overflow: hidden; }
  /* While the menu is open, the header must NOT carry backdrop-filter: it would
     become the containing block for the fixed nav drawer, collapsing the drawer
     to the header's height and leaving the lower menu transparent when scrolled. */
  body.nav-lock .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .brand-mark { height: 38px; }
  .brand-wordmark { height: 30px; }
  .site-header.scrolled .brand-mark { height: 36px; }
  .site-header.scrolled .brand-wordmark { height: 29px; }
}

@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  /* Centered, tidier mobile footer: centered brand, Explore | Services side by side,
     Contact centered below */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem 1rem;
    text-align: center;
    padding-bottom: 2.5rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.5rem;
  }
  .footer-logo-badge { margin: 0 auto 1rem; }
  .footer-blurb { margin-inline: auto; }
  .footer-inner .footer-col:last-child { grid-column: 1 / -1; }
  .footer-col h4 { margin-bottom: 0.75rem; }
  .footer-loc { text-align: center; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
  .about-badge { right: 50%; transform: translateX(50%); bottom: -22px; }
  .tagline-inner { font-size: 0.9rem; letter-spacing: 0.09em; gap: 0.7rem; }
  .hero-badges { flex-direction: column; align-items: center; gap: 0.35rem; }
  .btn { width: 100%; }
  .hero-actions { width: 100%; }

  /* Tighten the hero so the headline + CTA sit higher on the phone screen */
  .hero { padding-top: 5.5rem; }
  .hero-inner { gap: 1.25rem; padding-bottom: 2.5rem; }
  .hero-logo-card { max-width: 300px; }
}
