/* ============================================================
   GB PureTouch — Design System
   Aesthetic: Editorial Luxury / warm porcelain + deep pine
   Type: Fraunces (display serif) + Outfit (body sans)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Color */
  --paper: #FAF7F2;
  --paper-deep: #F3EEE5;
  --ink: #14241F;
  --ink-soft: #3E4F49;
  --ink-mute: #6B7A74;
  --pine: #1E5B4C;
  --pine-deep: #123E33;
  --pine-whisper: #E4EEE8;
  --sand: #EDE6D9;
  --hairline: rgba(20, 36, 31, 0.1);
  --hairline-strong: rgba(20, 36, 31, 0.16);
  --cream-text: #F6F3EC;
  --gold: #C08A3E;

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --fs-hero: clamp(2.75rem, 5.4vw, 5rem);
  --fs-h2: clamp(2rem, 3.6vw, 3.25rem);
  --fs-h3: clamp(1.35rem, 2vw, 1.75rem);
  --fs-lead: clamp(1.05rem, 1.4vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-tag: 0.6875rem;

  /* Space */
  --space-section: clamp(5rem, 11vw, 9.5rem);
  --space-gutter: clamp(1.25rem, 4vw, 3rem);
  --container: 1240px;

  /* Shape */
  --r-shell: 2rem;
  --r-core: calc(2rem - 0.45rem);
  --r-pill: 999px;

  /* Motion */
  --ease-lux: cubic-bezier(0.32, 0.72, 0, 1);
  --dur: 0.55s;

  /* Shadow (diffused, tinted to paper hue) */
  --shadow-soft: 0 24px 60px -28px rgba(31, 46, 40, 0.28);
  --shadow-float: 0 16px 44px -20px rgba(31, 46, 40, 0.22);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--pine); color: var(--cream-text); }

:focus-visible {
  outline: 3px solid var(--pine);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Paper grain atmosphere */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-gutter);
}

.section { padding-block: var(--space-section); }
.section--tint { background: var(--paper-deep); }
.section--pine { background: var(--pine-deep); color: var(--cream-text); }

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  background: var(--ink);
  color: var(--cream-text);
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-pill);
  transition: top 0.3s var(--ease-lux);
}
.skip-link:focus { top: 1rem; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 560;
  font-variation-settings: "opsz" 90, "SOFT" 40;
  letter-spacing: -0.02em;
  line-height: 1.04;
}

h1.display { font-size: var(--fs-hero); }
h2.display { font-size: var(--fs-h2); line-height: 1.08; }
h3.display { font-size: var(--fs-h3); line-height: 1.2; }

.display em {
  font-style: italic;
  font-weight: 480;
  color: var(--pine);
}
.section--pine .display em { color: #9CCDB7; }

.lead {
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.7;
}
.section--pine .lead { color: rgba(246, 243, 236, 0.78); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: var(--fs-tag);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--pine);
}
.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1.5px;
  background: var(--pine);
  opacity: 0.55;
}
.section--pine .eyebrow { color: #9CCDB7; }
.section--pine .eyebrow::before { background: #9CCDB7; }

.section-head { max-width: 780px; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head .eyebrow { margin-bottom: 1.25rem; }
.section-head .lead { margin-top: 1.25rem; }

/* Placeholder tokens — easy to find & replace */
.ph {
  border-bottom: 2px dashed rgba(192, 138, 62, 0.65);
  color: inherit;
  cursor: help;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.55rem 0.55rem 0.55rem 1.6rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: transform var(--dur) var(--ease-lux), background-color var(--dur) var(--ease-lux),
    box-shadow var(--dur) var(--ease-lux), color var(--dur) var(--ease-lux);
  will-change: transform;
}
.btn:active { transform: scale(0.97); }

.btn__orb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease-lux);
}
.btn__orb svg { width: 1rem; height: 1rem; }
.btn:hover .btn__orb { transform: translate(3px, -2px) scale(1.06); }

.btn--primary {
  background: var(--pine);
  color: var(--cream-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), var(--shadow-float);
}
.btn--primary:hover { background: var(--pine-deep); }
.btn--primary .btn__orb { background: rgba(246, 243, 236, 0.16); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--hairline-strong);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost .btn__orb { background: rgba(20, 36, 31, 0.07); }

.btn--cream {
  background: var(--cream-text);
  color: var(--pine-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), var(--shadow-float);
}
.btn--cream:hover { background: #fff; }
.btn--cream .btn__orb { background: rgba(18, 62, 51, 0.1); }

/* ---------- Header / Nav (floating pill) ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 1.1rem var(--space-gutter) 0;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  width: 100%;
  max-width: 1080px;
  padding: 0.6rem 0.6rem 0.6rem 1.4rem;
  border-radius: var(--r-pill);
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  transition: box-shadow var(--dur) var(--ease-lux),
              background-color var(--dur) var(--ease-lux),
              border-color var(--dur) var(--ease-lux);
}
/* solid pill appears only once the page is scrolled */
.nav.is-scrolled {
  background: rgba(250, 247, 242, 0.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-color: rgba(20, 36, 31, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 18px 44px -16px rgba(31, 46, 40, 0.34);
}

/* Top of every page is a dark banner, so while the bar is transparent the
   brand, links, burger and button use light styling. */
.nav .brand__name { color: var(--cream-text); transition: color var(--dur) var(--ease-lux); }
.nav .brand__name small { color: rgba(246, 243, 236, 0.7); }
.nav .nav__links a { color: rgba(246, 243, 236, 0.82); }
.nav .nav__links a:hover,
.nav .nav__links a[aria-current="page"] { color: #fff; }
.nav .nav__links a::after { background: #9CCDB7; }
.nav .nav__burger { background: rgba(255, 255, 255, 0.14); }
.nav .nav__burger span { background: var(--cream-text); }
.nav .btn--primary {
  background: var(--cream-text);
  color: var(--pine-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), var(--shadow-float);
}
.nav .btn--primary .btn__orb { background: rgba(18, 62, 51, 0.12); }

/* Once scrolled, restore the dark-on-cream styling. */
.nav.is-scrolled .brand__name { color: var(--ink); }
.nav.is-scrolled .brand__name small { color: var(--ink-mute); }
.nav.is-scrolled .nav__links a { color: var(--ink-soft); }
.nav.is-scrolled .nav__links a:hover,
.nav.is-scrolled .nav__links a[aria-current="page"] { color: var(--ink); }
.nav.is-scrolled .nav__links a::after { background: var(--pine); }
.nav.is-scrolled .nav__burger { background: rgba(20, 36, 31, 0.06); }
.nav.is-scrolled .nav__burger span { background: var(--ink); }
.nav.is-scrolled .btn--primary {
  background: var(--pine);
  color: var(--cream-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), var(--shadow-float);
}
.nav.is-scrolled .btn--primary .btn__orb { background: rgba(246, 243, 236, 0.16); }

/* When the mobile menu is open, the X must read on the cream overlay. */
.nav .nav__burger[aria-expanded="true"] span { background: var(--ink); }

/* Brand lockup (text logo placeholder — swap for real logo later) */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
/* Logo: monogram mark in the header, full lockup in the footer.
   Header mark is white while the bar is transparent, full-colour once scrolled. */
.brand__mark { height: 2.35rem; width: auto; display: block; flex-shrink: 0; }
.nav .brand__mark { filter: brightness(0) invert(1); transition: filter var(--dur) var(--ease-lux); }
.nav.is-scrolled .brand__mark { filter: none; }
.brand__logo { height: 4.25rem; width: auto; display: block; }
.footer .brand__logo { filter: brightness(0) invert(1); }
.brand__badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.95rem;
  background: linear-gradient(145deg, var(--pine) 0%, var(--pine-deep) 100%);
  color: var(--cream-text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.brand__badge svg {
  position: absolute;
  top: 4px;
  right: 5px;
  width: 9px;
  height: 9px;
  color: #A9D4C0;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand__name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 0.28rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  margin-left: auto;
}
.nav__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: color var(--dur) var(--ease-lux);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--pine);
  transition: right var(--dur) var(--ease-lux);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { right: 0; }

.nav .btn--primary { padding: 0.4rem 0.4rem 0.4rem 1.25rem; font-size: 0.92rem; }
.nav .btn--primary .btn__orb { width: 2.1rem; height: 2.1rem; }

/* Hamburger morph */
.nav__burger {
  display: none;
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(20, 36, 31, 0.06);
  flex-shrink: 0;
}
.nav__burger span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.45s var(--ease-lux), opacity 0.3s;
}
.nav__burger span:nth-child(1) { transform: translate(-50%, calc(-50% - 5px)); }
.nav__burger span:nth-child(2) { transform: translate(-50%, -50%); }
.nav__burger span:nth-child(3) { transform: translate(-50%, calc(-50% + 5px)); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-gutter);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s var(--ease-lux), visibility 0.5s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 560;
  letter-spacing: -0.02em;
  padding: 0.55rem 0;
  display: inline-flex;
  align-items: baseline;
  gap: 1rem;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease-lux), transform 0.6s var(--ease-lux);
}
.mobile-menu a small {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}
.mobile-menu.is-open a { opacity: 1; transform: translateY(0); }
.mobile-menu.is-open a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu.is-open a:nth-child(5) { transition-delay: 0.32s; }
.mobile-menu.is-open a:nth-child(6) { transition-delay: 0.38s; }
.mobile-menu__contact {
  margin-top: 2.5rem;
  font-size: var(--fs-small);
  color: var(--ink-mute);
  opacity: 0;
  transition: opacity 0.6s var(--ease-lux) 0.45s;
}
.mobile-menu.is-open .mobile-menu__contact { opacity: 1; }

/* ---------- Hero (full-photo banner) ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: clamp(8.5rem, 16vh, 11rem);
  padding-bottom: clamp(4rem, 9vh, 7rem);
  overflow: hidden;
  color: var(--cream-text);
  background-color: var(--pine-deep);
  background-image: url("../images/hero-cleaning.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* layered scrim — darkest on the left where the copy sits, so text stays crisp */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 32, 26, 0.55) 0%, rgba(10, 32, 26, 0.58) 45%, rgba(13, 40, 33, 0.92) 100%),
    linear-gradient(90deg, rgba(10, 32, 26, 0.82) 0%, rgba(10, 32, 26, 0.45) 46%, rgba(10, 32, 26, 0.06) 100%);
  pointer-events: none;
}
/* soft mint glow — the subtle creative accent */
.hero::after {
  content: "";
  position: absolute;
  top: -25%;
  right: -8%;
  width: 52vw;
  height: 52vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(156, 205, 183, 0.16) 0%, rgba(156, 205, 183, 0) 60%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
@media (max-width: 700px) {
  .hero { background-image: url("../images/hero-cleaning-mobile.jpg"); }
}

.hero__copy { max-width: 62ch; }
.hero__copy .eyebrow { margin-bottom: 1.6rem; color: #9CCDB7; }
.hero__copy .eyebrow::before { background: #9CCDB7; opacity: 0.8; }
.hero__copy h1 { max-width: 15em; color: var(--cream-text); }
.hero .display em { color: #9CCDB7; }
.hero__copy .lead { margin-top: 1.75rem; max-width: 48ch; color: rgba(246, 243, 236, 0.88); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
/* ghost button reads against the photo */
.hero .btn--ghost {
  color: var(--cream-text);
  box-shadow: inset 0 0 0 1.5px rgba(246, 243, 236, 0.45);
}
.hero .btn--ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--cream-text);
  background: rgba(246, 243, 236, 0.08);
}
.hero .btn--ghost .btn__orb { background: rgba(246, 243, 236, 0.16); }

/* trust markers as frosted-glass pills */
.hero__assure {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 3rem;
}
.hero__assure li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--cream-text);
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: var(--r-pill);
  padding: 0.5rem 1rem;
}
.hero__assure svg { width: 1.05rem; height: 1.05rem; color: #9CCDB7; flex-shrink: 0; }

/* Framed image stack (reused in guarantee / about / service rows) */
.frame {
  background: rgba(20, 36, 31, 0.05);
  border: 1px solid var(--hairline);
  border-radius: var(--r-shell);
  padding: 0.45rem;
  box-shadow: var(--shadow-soft);
}
.frame__core {
  border-radius: var(--r-core);
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
}
.frame__core img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--hairline);
  padding-block: 1.4rem;
  overflow: hidden;
  background: var(--paper);
}
.marquee__track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee-slide 36s linear infinite;
}
.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 520;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.marquee__track span::after {
  content: "✦";
  font-size: 0.8rem;
  color: var(--gold);
}
@keyframes marquee-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Services bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: 1.1rem;
}

.bento__card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-shell);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--hairline);
  box-shadow: 0 10px 30px -18px rgba(31, 46, 40, 0.18);
  transition: transform var(--dur) var(--ease-lux), box-shadow var(--dur) var(--ease-lux);
  min-height: 100%;
}
.bento__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }

.bento__media { position: relative; overflow: hidden; flex-shrink: 0; }
.bento__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-lux);
}
.bento__card:hover .bento__media img { transform: scale(1.06); }

.bento__body { padding: 1.6rem 1.6rem 1.7rem; display: flex; flex-direction: column; gap: 0.6rem; flex-grow: 1; }
.bento__body h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 580; letter-spacing: -0.01em; }
.bento__body p { font-size: var(--fs-small); color: var(--ink-soft); }

.bento__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  font-size: var(--fs-tag);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-text);
  background: var(--pine-deep);
  border-radius: 0.45rem;
  padding: 0.4rem 0.7rem;
}

.bento__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--pine);
  padding-top: 0.6rem;
}
.bento__link svg { width: 0.9rem; height: 0.9rem; transition: transform var(--dur) var(--ease-lux); }
.bento__card:hover .bento__link svg { transform: translateX(4px); }

/* Bento spans — interlocking, gapless (12-col) */
.bento__card--tall { grid-column: span 7; grid-row: span 2; }
.bento__card--side { grid-column: span 5; }
.bento__card--third { grid-column: span 4; }
.bento__card--tall .bento__media { aspect-ratio: 16 / 10.5; flex-grow: 1; }
.bento__card--side .bento__media { aspect-ratio: 16 / 6.5; }
.bento__card--third .bento__media { aspect-ratio: 16 / 9; }

/* Card on deep pine sections */
.bento__card--invert {
  background: rgba(246, 243, 236, 0.05);
  border-color: rgba(246, 243, 236, 0.14);
}
.bento__card--invert .bento__body h3 { color: var(--cream-text); }
.bento__card--invert .bento__body p { color: rgba(246, 243, 236, 0.72); }

/* ---------- Split pinned section (checklist) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.split__sticky { position: sticky; top: 7.5rem; }
.split__sticky .lead { margin-top: 1.25rem; }
.split__sticky .btn { margin-top: 2rem; }

/* Checklist comparison */
.check-group { margin-bottom: 1.1rem; }
.check-group__head {
  display: grid;
  grid-template-columns: 1fr 6.5rem 6.5rem;
  gap: 0.5rem;
  align-items: end;
  padding: 0 1.4rem 0.7rem;
}
.check-group__head h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 580;
}
.check-group__head span {
  font-size: var(--fs-tag);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: center;
}

.check-rows {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 1.4rem;
  overflow: hidden;
}
.check-rows li {
  display: grid;
  grid-template-columns: 1fr 6.5rem 6.5rem;
  gap: 0.5rem;
  align-items: center;
  padding: 0.85rem 1.4rem;
  font-size: var(--fs-small);
  font-weight: 500;
}
.check-rows li + li { border-top: 1px solid var(--hairline); }
.check-rows li:nth-child(even) { background: rgba(243, 238, 229, 0.45); }

.check-cell { display: flex; justify-content: center; }
.check-cell .yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--pine-whisper);
  color: var(--pine);
}
.check-cell .yes svg { width: 0.8rem; height: 0.8rem; }
.check-cell .no {
  width: 1rem;
  height: 2px;
  border-radius: 2px;
  background: rgba(20, 36, 31, 0.18);
}

/* ---------- Steps (how it works) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--r-shell);
  overflow: hidden;
  background: #fff;
}
.step {
  padding: 2.2rem 1.8rem 2.4rem;
  position: relative;
  transition: background-color var(--dur) var(--ease-lux);
}
.step + .step { border-left: 1px solid var(--hairline); }
.step:hover { background: var(--paper-deep); }
.step__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.6rem;
  font-weight: 480;
  color: var(--pine);
  opacity: 0.55;
  line-height: 1;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 580;
  margin-top: 1.4rem;
}
.step p { font-size: var(--fs-small); color: var(--ink-soft); margin-top: 0.6rem; }

/* ---------- Guarantee band ---------- */
.guarantee { position: relative; overflow: hidden; }
.guarantee::before {
  content: "";
  position: absolute;
  bottom: -45%;
  left: -15%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(156, 205, 183, 0.14) 0%, transparent 62%);
  pointer-events: none;
}
.guarantee__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  position: relative;
}
.guarantee__points { margin-top: 2.25rem; display: grid; gap: 1.1rem; }
.guarantee__points li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: var(--fs-body);
  color: rgba(246, 243, 236, 0.82);
}
.guarantee__points svg { width: 1.3rem; height: 1.3rem; flex-shrink: 0; color: #9CCDB7; margin-top: 0.2rem; }
.guarantee__points strong { color: var(--cream-text); }

/* ---------- Testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: 1.1rem;
}
.quote-card {
  grid-column: span 4;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-shell);
  padding: 2rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform var(--dur) var(--ease-lux), box-shadow var(--dur) var(--ease-lux);
}
.quote-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.quote-card--wide { grid-column: span 8; background: var(--pine-whisper); }
.quote-card__stars { display: flex; gap: 0.2rem; color: var(--gold); }
.quote-card__stars svg { width: 1rem; height: 1rem; }
.quote-card blockquote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.005em;
}
.quote-card--wide blockquote { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.quote-card figcaption {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: var(--fs-small);
}
.quote-card figcaption .avatar {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--pine);
  color: var(--cream-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  flex-shrink: 0;
}
.quote-card figcaption span { color: var(--ink-mute); display: block; font-size: 0.82rem; }

/* ---------- FAQ accordions ---------- */
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--hairline-strong); }
.faq-item:first-child { border-top: 1px solid var(--hairline-strong); }
.faq-item__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  padding: 1.6rem 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 560;
  letter-spacing: -0.01em;
  transition: color var(--dur) var(--ease-lux);
}
.faq-item__btn:hover { color: var(--pine); }
.faq-item__icon {
  position: relative;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(20, 36, 31, 0.05);
  flex-shrink: 0;
  transition: background-color var(--dur) var(--ease-lux), transform 0.5s var(--ease-lux);
}
.faq-item__icon::before, .faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.5s var(--ease-lux);
}
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[data-open="true"] .faq-item__icon { background: var(--pine); color: var(--cream-text); transform: rotate(135deg); }
.faq-item__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.6s var(--ease-lux);
}
.faq-item__panel p {
  padding: 0 3.9rem 1.7rem 0.25rem;
  color: var(--ink-soft);
  max-width: 64ch;
}

/* ---------- Final CTA ---------- */
.cta-final { text-align: left; position: relative; overflow: hidden; }
.cta-final h2 { max-width: 16em; }
.cta-final .hero__actions { margin-top: 2.75rem; }
.cta-final__note { margin-top: 2rem; font-size: var(--fs-small); color: var(--ink-mute); }

/* ---------- Page hero (subpages) — photo banner with gradient ---------- */
.page-hero {
  padding-top: clamp(9.5rem, 20vh, 13rem);
  padding-bottom: clamp(3.75rem, 8vw, 6.5rem);
  position: relative;
  overflow: hidden;
  color: var(--cream-text);
  background-color: var(--pine-deep);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* dark pine gradient so the photo stays pretty but text stays readable */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 32, 26, 0.66) 0%, rgba(10, 32, 26, 0.72) 55%, rgba(13, 40, 33, 0.94) 100%),
    linear-gradient(90deg, rgba(10, 32, 26, 0.55) 0%, rgba(10, 32, 26, 0.10) 72%);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero .eyebrow { margin-bottom: 1.5rem; color: #9CCDB7; }
.page-hero .eyebrow::before { background: #9CCDB7; }
.page-hero h1, .page-hero .display { max-width: 13em; color: var(--cream-text); }
.page-hero .display em { color: #9CCDB7; }
.page-hero .lead { margin-top: 1.5rem; color: rgba(246, 243, 236, 0.85); }
.page-hero a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

/* per-page banner photos (Pexels) */
.page-hero--services { background-image: url("https://images.pexels.com/photos/3935350/pexels-photo-3935350.jpeg?auto=compress&cs=tinysrgb&w=1600"); }
.page-hero--about    { background-image: url("https://images.pexels.com/photos/6196688/pexels-photo-6196688.jpeg?auto=compress&cs=tinysrgb&w=1600"); }
.page-hero--faq      { background-image: url("https://images.pexels.com/photos/4099467/pexels-photo-4099467.jpeg?auto=compress&cs=tinysrgb&w=1600"); }
.page-hero--contact  { background-image: url("https://images.pexels.com/photos/4239146/pexels-photo-4239146.jpeg?auto=compress&cs=tinysrgb&w=1600"); }

/* ---------- Service detail rows (zig-zag) ---------- */
.svc-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.svc-row + .svc-row { border-top: 1px solid var(--hairline); }
.svc-row:nth-child(even) .svc-row__media { order: 2; }
.svc-row__media .frame__core { aspect-ratio: 4 / 3.2; }
.svc-row__body h2 { margin-bottom: 1rem; }
.svc-row__body .lead { font-size: 1.05rem; }
.svc-row__list { margin-top: 1.5rem; display: grid; gap: 0.7rem; }
.svc-row__list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: var(--fs-small);
  color: var(--ink-soft);
}
.svc-row__list svg { width: 1.05rem; height: 1.05rem; color: var(--pine); flex-shrink: 0; margin-top: 0.22rem; }
.svc-row__body .btn { margin-top: 1.9rem; }

/* ---------- Values / about cards ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.value-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-shell);
  padding: 2rem 1.7rem 2.2rem;
  transition: transform var(--dur) var(--ease-lux), box-shadow var(--dur) var(--ease-lux);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: var(--pine-whisper);
  color: var(--pine);
  margin-bottom: 1.4rem;
}
.value-card__icon svg { width: 1.4rem; height: 1.4rem; }
.value-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 580; }
.value-card p { font-size: var(--fs-small); color: var(--ink-soft); margin-top: 0.55rem; }

/* ---------- Forms ---------- */
.form-shell {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-shell);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-float);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.form-field { display: flex; flex-direction: column; gap: 0.45rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: var(--fs-small); font-weight: 600; }
.form-field label .req { color: var(--gold); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--hairline-strong);
  border-radius: 1rem;
  background: var(--paper);
  font-size: 1rem;
  transition: border-color var(--dur) var(--ease-lux), box-shadow var(--dur) var(--ease-lux);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--pine);
  box-shadow: 0 0 0 4px rgba(30, 91, 76, 0.12);
}
.form-field textarea { min-height: 8.5rem; resize: vertical; }
.form-field .hint { font-size: 0.82rem; color: var(--ink-mute); }
.form-field .error-msg { display: none; font-size: 0.82rem; color: #A33B2E; }
.form-field.has-error input, .form-field.has-error textarea, .form-field.has-error select { border-color: #A33B2E; }
.form-field.has-error .error-msg { display: block; }
.form-note { margin-top: 1.25rem; font-size: 0.85rem; color: var(--ink-mute); }
.form-note.is-success { color: var(--pine, #123E33); font-weight: 600; }

/* Click-to-call / contact links (inherit surrounding colour) */
.contact-link { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.contact-link:hover, .contact-link:focus-visible { border-bottom-color: currentColor; }

/* Contact info cards */
.contact-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 1.4rem;
  padding: 1.4rem 1.5rem;
}
.contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.95rem;
  background: var(--pine-whisper);
  color: var(--pine);
  flex-shrink: 0;
}
.contact-card__icon svg { width: 1.25rem; height: 1.25rem; }
.contact-card strong { display: block; font-size: 1rem; }
.contact-card p { font-size: var(--fs-small); color: var(--ink-soft); margin-top: 0.2rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(246, 243, 236, 0.75);
  padding: clamp(4rem, 8vw, 6rem) 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.footer .brand__name { color: var(--cream-text); }
.footer .brand__name small { color: rgba(246, 243, 236, 0.5); }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(246, 243, 236, 0.12);
}
.footer__about p { font-size: var(--fs-small); margin-top: 1.25rem; max-width: 34ch; }
.footer h4 {
  font-size: var(--fs-tag);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.5);
  margin-bottom: 1.25rem;
}
.footer ul { display: grid; gap: 0.7rem; }
.footer ul a {
  font-size: var(--fs-small);
  transition: color var(--dur) var(--ease-lux);
}
.footer ul a:hover { color: var(--cream-text); }
.footer__contact li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: var(--fs-small); }
.footer__contact svg { width: 1rem; height: 1rem; margin-top: 0.3rem; flex-shrink: 0; color: #9CCDB7; }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2.25rem;
  font-size: 0.84rem;
  color: rgba(246, 243, 236, 0.45);
}
.footer__base a:hover { color: var(--cream-text); }

/* Giant watermark in footer */
.footer__mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(4rem, 14vw, 12rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(246, 243, 236, 0.045);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  position: absolute;
  bottom: -0.18em;
  left: 50%;
  transform: translateX(-50%);
}

/* ---------- Reveal hooks (GSAP adds motion; visible by default if JS fails) ---------- */
[data-reveal] { will-change: transform, opacity; }

/* ---------- Responsive ----------
   Breakpoints: 1080 (nav→burger) · 1024 (desktop trims) · 900 (burger guarantee)
   · 768 (tablet) · 640 (mobile cols) · 480 (small phone) · 360 (compact phone) */

/* Slightly tighten the desktop pill nav before it switches to a burger */
@media (max-width: 1024px) {
  .nav { gap: clamp(0.85rem, 2.4vw, 1.75rem); padding-left: 1.1rem; }
  .nav__links { gap: clamp(0.6rem, 1.6vw, 1.25rem); }
}

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: block; margin-left: auto; }
}

/* Ensure the burger is shown on any phone/tablet even if a larger query is missed */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: block; margin-left: auto; }
}

@media (max-width: 960px) {
  .guarantee__grid, .split { grid-template-columns: 1fr; }
  .split__sticky { position: static; }
  .hero { min-height: 78vh; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(odd) { border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--hairline); }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .bento__card--tall, .bento__card--side, .bento__card--third { grid-column: span 6; grid-row: auto; }
  .bento__card--tall .bento__media, .bento__card--side .bento__media, .bento__card--third .bento__media { aspect-ratio: 16 / 9; }
  .quote-card, .quote-card--wide { grid-column: span 12; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 1fr; }
  .svc-row:nth-child(even) .svc-row__media { order: 0; }
  .form-grid { grid-template-columns: 1fr; }
}

/* Tablet — soften section rhythm, stack footer base row */
@media (max-width: 768px) {
  :root { --space-section: clamp(3.5rem, 9vw, 6rem); }
  .footer__base { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px solid var(--hairline); }
  .value-grid { grid-template-columns: 1fr; }
  .bento__card--tall, .bento__card--side, .bento__card--third { grid-column: span 12; }
  .check-group__head { grid-template-columns: 1fr 3.4rem 3.4rem; padding-inline: 1rem; }
  .check-rows li { grid-template-columns: 1fr 3.4rem 3.4rem; padding-inline: 1rem; }
  .hero__actions .btn { width: 100%; justify-content: space-between; }
  .cta-final .hero__actions .btn { width: 100%; justify-content: space-between; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* Small phones — protect from overflow, ease type & spacing down */
@media (max-width: 480px) {
  :root {
    --fs-hero: clamp(2.2rem, 10.5vw, 3rem);
    --fs-h2: clamp(1.7rem, 8vw, 2.2rem);
  }
  .hero__copy h1 { max-width: none; }
  .page-hero h1 { max-width: none; }
  .hero__assure { gap: 1rem 1.5rem; }
  .check-group__head h3, .check-rows li { font-size: 0.875rem; }
  .check-group__head { grid-template-columns: 1fr 2.6rem 2.6rem; gap: 0.35rem; padding-inline: 0.85rem; }
  .check-rows li { grid-template-columns: 1fr 2.6rem 2.6rem; gap: 0.35rem; padding-inline: 0.85rem; }
  .bento__body, .quote-card, .value-card { padding-left: 1.3rem; padding-right: 1.3rem; }
  .faq-item__panel p { padding-right: 0.25rem; }
  .footer__base { font-size: 0.8rem; }
  /* Keep the nav row from overflowing: trim the pill + quote button */
  .nav { padding: 0.5rem 0.5rem 0.5rem 0.9rem; gap: 0.5rem; }
  .nav .btn--primary { padding: 0.35rem 0.35rem 0.35rem 0.95rem; font-size: 0.85rem; }
  .nav .btn--primary .btn__orb { width: 1.9rem; height: 1.9rem; }
  .brand__badge { width: 2.3rem; height: 2.3rem; }
}

/* Compact phones (≈360px) — final overflow guards */
@media (max-width: 360px) {
  :root { --fs-hero: clamp(1.95rem, 11vw, 2.5rem); }
  .nav { padding-left: 0.8rem; gap: 0.5rem; }
  .brand__name { font-size: 1rem; }
  /* Drop the decorative sub-line so badge + name + quote + burger fit */
  .brand__name small { display: none; }
  .marquee__track { gap: 2.25rem; }
  .marquee__track span { gap: 2.25rem; font-size: 1.05rem; }
}

/* ---------- Long-string / contact overflow guards (page agents) ---------- */
/* Let long emails, URLs and addresses wrap instead of forcing horizontal scroll.
   Overrides the .ph `white-space: nowrap` inside contact contexts. */
.contact-card .ph,
.footer__contact .ph,
.mobile-menu__contact .ph {
  white-space: normal;
  overflow-wrap: anywhere;
}
.footer__contact li { flex-wrap: wrap; }

@media (max-width: 480px) {
  .ph { white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
  .footer__contact li,
  .mobile-menu__contact,
  .cta-final__note,
  .faq-item__panel p,
  .footer__base a { overflow-wrap: anywhere; }

  /* FAQ — narrow-screen polish */
  .faq-item__panel p { padding-right: 0.25rem; }
  .faq-item__btn { gap: 0.85rem; font-size: 1.05rem; }
}

/* Comfortable tap targets for FAQ accordion on touch devices */
@media (hover: none) and (pointer: coarse) {
  .faq-item__btn { min-height: 56px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee__track { animation: none; }
}
