/* Y 5 Land Services — site styles
   Palette from the onboarding form (coolors.co/decbb7-8f857d-5c5552-433633) plus black and white; Lavender Mist dropped at the client's request.
   Direction: clean, modern, rugged, with a flare of western (brand-mark logo, condensed type, contour lines). */

:root {
  /* Brand palette (onboarding form): Pale Oak, Grey Olive, Stone Brown, Deep Mocha, plus black. Lavender Mist replaced with white. */
  --cream: #ffffff;            /* page background (was Lavender Mist) */
  --cream-2: #f4eee5;          /* Pale Oak tint for alternate light sections */
  --tan: #decbb7;              /* Pale Oak */
  --tan-2: #cdb59b;            /* Pale Oak, darkened for hover */
  --stone: #8f857d;            /* Grey Olive */
  --taupe: #5c5552;            /* Stone Brown */
  --bark: #433633;             /* Deep Mocha */
  --bark-2: #433633;           /* Deep Mocha (dark surfaces + headings) */
  --black: #0b0908;
  --white: #ffffff;
  --ink: #433633;              /* body copy in Deep Mocha */
  --line: rgba(143, 133, 125, 0.35);   /* Grey Olive rules */
  --line-dark: rgba(222, 203, 183, 0.22); /* Pale Oak rules on dark */
  --shadow: 0 18px 50px -24px rgba(67, 54, 51, 0.45);
  --radius: 10px;
  --radius-lg: 18px;
  --font-display: "Zilla Slab", Rockwell, Georgia, serif;
  --font-body: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --font-wordmark: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  color: var(--bark-2);
  text-wrap: balance;
}
/* Display: Zilla Slab, sentence case, for the hero and major section headings only */
h1, h2 { font-family: var(--font-display); font-weight: 700; line-height: 1.06; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
/* Supporting headings: Work Sans 600 */
h3, h4 { font-family: var(--font-body); font-weight: 600; line-height: 1.25; letter-spacing: 0; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; color: var(--taupe); }
.section--dark p, .hero p, .cta-band p, .footer p, .planner__out p { color: inherit; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--taupe); }
.section--stone { background: var(--taupe); color: var(--white); }
.section--stone h2, .section--stone h3 { color: var(--white); }
.section--stone .eyebrow { color: var(--tan); }
.section--stone .eyebrow::before { background: var(--tan); }
strong { font-weight: 600; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--black); color: var(--cream); padding: 10px 14px; z-index: 1000; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { max-width: 780px; }
.section { padding: clamp(56px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--dark { background: var(--bark-2); color: var(--cream); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--cream); }
.section--dark .lead { color: var(--tan); }
.section--tan { background: var(--tan); }
.section--white { background: var(--white); }
.section--cream2 { background: var(--cream-2); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--taupe);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--stone); }
.section--dark .eyebrow { color: var(--tan); }
.section--dark .eyebrow::before { background: var(--tan); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 6px; border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--black); color: var(--cream); }
.btn--primary:hover { background: var(--taupe); }
.btn--tan { background: var(--tan); color: var(--bark-2); }
.btn--tan:hover { background: var(--tan-2); }
.btn--outline { border-color: var(--bark); color: var(--bark-2); background: transparent; }
.btn--outline:hover { background: var(--bark); color: var(--cream); }
.btn--outline-light { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn--outline-light:hover { background: var(--cream); color: var(--bark-2); }
.btn--lg { padding: 18px 30px; font-size: 1.05rem; }
.btn svg { width: 20px; height: 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 600px) {
  .btn { white-space: normal; text-align: center; }
  .btn-row .btn { flex: 1 1 auto; }
}

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 52px; height: 52px; }
.brand__text { white-space: nowrap; font-family: var(--font-wordmark); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1; color: var(--bark-2); }
.brand__text small { display: block; font-size: 0.68rem; letter-spacing: 0.28em; font-weight: 600; color: var(--stone); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { list-style: none; position: relative; }
.nav { margin: 0; padding: 0; }
.nav a, .nav button {
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border: 0; background: none;
  font-family: var(--font-body); font-weight: 600; font-size: 0.88rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--bark-2); text-decoration: none; cursor: pointer; border-radius: 6px;
}
.nav a:hover, .nav button:hover, .nav a[aria-current="page"] { background: rgba(222, 203, 183, 0.45); }
.nav__menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 280px; padding: 10px; margin: 0; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  display: none; z-index: 60;
}
.nav > li:hover > .nav__menu, .nav > li:focus-within > .nav__menu, .nav > li.open > .nav__menu { display: block; }
.nav__menu a { display: block; width: 100%; font-family: var(--font-body); font-weight: 500; font-size: 0.98rem; letter-spacing: 0; text-transform: none; padding: 9px 12px; }
.nav__menu a span { display: block; font-size: 0.82rem; color: var(--stone); }
.nav .nav__cta { display: none; }
.header__cta { display: flex; align-items: center; gap: 10px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; text-decoration: none; font-family: var(--font-body); font-weight: 600; font-size: 1rem; letter-spacing: 0.01em; color: var(--bark-2); padding: 8px 10px; }
.header__phone svg { width: 20px; height: 20px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: var(--white); border-radius: 8px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--bark-2); position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--bark-2); transition: transform .2s; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1200px) {
  .nav a, .nav button { padding: 10px 8px; font-size: 1rem; }
}
@media (max-width: 1080px) {
  .header__cta .btn { display: none; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header__phone span { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--cream); flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 120px; overflow-y: auto; display: none; z-index: 45;
  }
  body.nav-open .nav { display: flex; }
  .nav > li { border-bottom: 1px solid var(--line); }
  .nav a, .nav button { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.25rem; }
  .nav__menu { position: static; display: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 10px 14px; }
  .nav > li.open > .nav__menu { display: block; }
  .nav > li:hover > .nav__menu { display: none; }
  .nav > li.open:hover > .nav__menu { display: block; }
  .nav__menu a { padding: 10px 4px; font-size: 1.05rem; }
  .nav .nav__cta { display: block; border: 0; padding-top: 16px; }
  .nav .nav__cta a { justify-content: center; }
}

/* Hero */
.hero { position: relative; isolation: isolate; color: var(--cream); overflow: hidden; background: var(--bark-2); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(11, 9, 8, 0.86) 0%, rgba(11, 9, 8, 0.62) 45%, rgba(11, 9, 8, 0.25) 100%),
  linear-gradient(180deg, rgba(11, 9, 8, 0.15) 0%, rgba(11, 9, 8, 0.7) 100%); }
.hero__inner { min-height: min(86vh, 820px); display: grid; align-items: center; padding: clamp(64px, 10vw, 120px) 0 clamp(56px, 8vw, 96px); }
.hero h1 { color: var(--cream); max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--tan); }
.hero .lead { color: rgba(255, 255, 255, 0.86); max-width: 58ch; }
.hero .eyebrow { color: var(--tan); }
.hero .eyebrow::before { background: var(--tan); }
.hero__motto {
  display: flex; width: fit-content; align-items: center; gap: 12px;
  margin: 0 0 22px; padding: 10px 18px 10px 14px;
  border: 1px solid rgba(222, 203, 183, 0.55); border-radius: 999px;
  background: rgba(11, 9, 8, 0.38); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  font-family: var(--font-body); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: clamp(0.85rem, 1.3vw, 1rem); line-height: 1.2; color: var(--tan);
}
.hero__motto svg { width: 20px; height: 20px; flex: 0 0 auto; }
@media (max-width: 600px) {
  .hero__motto { font-size: 0.72rem; letter-spacing: 0.06em; padding: 8px 12px 8px 11px; gap: 8px; }
  .hero__motto svg { width: 17px; height: 17px; }
}
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding: 0; list-style: none; }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.85rem; color: var(--tan); }
.hero__badges svg { width: 18px; height: 18px; }
.hero--sub .hero__inner { min-height: 0; padding: clamp(56px, 8vw, 96px) 0; }
.hero--sub h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }

/* Ticker ribbon (home, directly under the hero) */
.ticker { background: var(--tan); color: var(--bark-2); overflow: hidden; border-top: 1px solid rgba(67, 54, 51, 0.12); border-bottom: 1px solid rgba(67, 54, 51, 0.12); }
.ticker__track { display: flex; width: max-content; animation: ticker-scroll 75s linear infinite; will-change: transform; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__half { display: flex; flex: 0 0 auto; }
.ticker__item { display: inline-flex; align-items: center; gap: 12px; padding: 16px 0; margin-right: clamp(40px, 5vw, 72px); font-family: var(--font-body); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.ticker__item svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--taupe); }
.ticker__item::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--stone); margin-left: clamp(40px, 5vw, 72px); }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 720px) {
  .ticker__item { font-size: 0.82rem; padding: 13px 0; letter-spacing: 0.1em; gap: 10px; }
  .ticker__item svg { width: 18px; height: 18px; flex-basis: 18px; }
  .ticker__track { animation-duration: 60s; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}

/* Grid utilities */
.grid { display: grid; gap: clamp(18px, 3vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::before { display: none; }

/* Cards */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--tan); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.15; }
.card__body p { margin: 0; color: var(--taupe); }
.card__more svg { width: 18px; height: 18px; vertical-align: -3px; margin-left: 4px; }
.card__more { margin-top: auto; padding-top: 10px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.82rem; color: var(--taupe); }
.card:hover .card__more { color: var(--bark-2); }
.card--dark { background: var(--bark); border-color: var(--line-dark); color: var(--cream); }
.card--dark .card__body p { color: var(--tan); }
.card--dark .card__more { color: var(--tan); }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__icon { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 12px; background: var(--tan); color: var(--bark-2); display: grid; place-items: center; }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 4px; }
.feature p { margin: 0; color: var(--taupe); }
.section--dark .feature__icon { background: rgba(222, 203, 183, 0.16); color: var(--tan); }
.section--dark .feature p { color: rgba(255, 255, 255, 0.78); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px 26px 26px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--stone); border-radius: var(--radius-lg); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-body); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--stone); display: block; margin-bottom: 10px; }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--taupe); }
.step .step__label { margin: 16px 0 8px; font-size: 0.74rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--stone); }
.step .chips a { font-size: 0.86rem; padding: 7px 12px; }

/* Before / after slider */
.ba { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--bark); user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: var(--cream); transform: translateX(-50%); pointer-events: none; }
.ba__handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--cream); box-shadow: 0 6px 20px rgba(0,0,0,.35); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23433633' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6'/%3E%3C/svg%3E"); background-size: 24px; background-repeat: no-repeat; background-position: center; }
.ba__label { position: absolute; top: 14px; padding: 6px 12px; border-radius: 4px; background: rgba(11, 9, 8, 0.72); color: var(--cream); font-family: var(--font-body); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; pointer-events: none; }
.ba__label--before { left: 14px; } .ba__label--after { right: 14px; }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.stat { padding: 22px 20px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); }
.stat strong { display: block; font-family: var(--font-body); font-weight: 700; font-size: 2.1rem; font-variant-numeric: tabular-nums; line-height: 1; color: var(--tan); margin-bottom: 6px; }
.stat span { color: rgba(255, 255, 255, 0.8); font-size: 0.98rem; }

/* Quote / CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--black); color: var(--cream); }
.cta-band .contour { position: absolute; inset: 0; opacity: 0.12; pointer-events: none; }
.cta-band__inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; padding: clamp(48px, 7vw, 88px) 0; }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } }
.cta-band h2 { color: var(--cream); margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, 0.8); margin: 0; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta-band .btn-row { justify-content: flex-start; } }

/* Prose */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; color: var(--taupe); }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--stone); background: var(--cream-2); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.1rem; color: var(--bark-2); }
.prose img { border-radius: var(--radius-lg); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: 0.98rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; color: var(--taupe); background: var(--cream-2); }

/* Callout */
.callout { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--radius-lg); background: var(--tan); color: var(--bark-2); }
.callout svg { flex: 0 0 26px; width: 26px; height: 26px; margin-top: 2px; }
.callout p { margin: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-family: var(--font-body); font-weight: 600; font-size: 1.08rem; line-height: 1.3; color: var(--bark-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.8rem; line-height: 1; color: var(--stone); transition: transform .2s; flex: 0 0 auto; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 0 22px; color: var(--taupe); max-width: 760px; }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* Areas */
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips a, .chips span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); text-decoration: none; font-weight: 500; font-size: 0.95rem; color: var(--bark-2); }
.chips a:hover { background: var(--tan); border-color: var(--tan-2); }
.section--dark .chips a, .section--dark .chips span { background: rgba(255, 255, 255, 0.06); border-color: var(--line-dark); color: var(--cream); }
.section--dark .chips a:hover { background: var(--tan); color: var(--bark-2); }

/* Service-area map */
.area-map { margin-top: 6px; }
.area-map iframe { display: block; width: 100%; aspect-ratio: 16 / 10; min-height: 220px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream-2); }
.area-map__note { margin: 10px 0 0; font-size: 0.92rem; line-height: 1.5; color: var(--stone); }
.area-map__note svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; color: var(--bark); }
.area-map__note a { color: var(--bark-2); }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.form-card h3 { margin-bottom: 4px; }
.form-card .form-note { font-size: 0.92rem; color: var(--stone); margin: 0 0 14px; }
.ghl-form { min-height: 640px; }
/* Mock estimate form (shown while the GHL form is unconfigured) */
.lead-form { display: grid; gap: 16px; }
.lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form__field label { display: block; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; color: var(--taupe); margin: 0 0 6px; }
.lead-form__field label span { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--stone); }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--cream-2); font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: rgba(92, 85, 82, 0.55); }
.lead-form select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c5552' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.lead-form textarea { resize: vertical; min-height: 90px; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--bark); box-shadow: 0 0 0 3px rgba(67, 54, 51, 0.15); background: var(--white); }
.lead-form__submit { width: 100%; margin-top: 4px; }
.lead-form__demo { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 6px; background: rgba(222, 203, 183, 0.35); border: 1px dashed var(--tan-2); font-size: 0.85rem; color: var(--taupe); }
.lead-form__demo svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--bark); }
.lead-form__error { margin: 0; padding: 10px 12px; border-radius: 6px; background: #fbeeea; border: 1px solid #d9a79a; font-size: 0.9rem; color: var(--bark); }
.lead-form__error a { color: var(--bark); font-weight: 600; }
.lead-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .lead-form__row { grid-template-columns: 1fr; } }
.ghl-form iframe { width: 100%; border: 0; min-height: 640px; }
.consent { font-size: 0.82rem; color: var(--stone); margin-top: 12px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 24px; height: 24px; flex: 0 0 24px; color: var(--stone); margin-top: 3px; }
.section--dark .contact-list svg { color: var(--tan); }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list small { display: block; color: var(--stone); }

/* Planner */
.planner { display: grid; grid-template-columns: 1fr; gap: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); }
.planner label { display: block; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; color: var(--taupe); margin: 0 0 6px; }
.planner .field { margin-bottom: 18px; }
.planner input[type="number"], .planner select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--cream); font: inherit; color: var(--ink); }
.planner input[type="range"] { width: 100%; accent-color: var(--bark); }
.planner__out { background: var(--bark-2); color: var(--cream); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.planner__out strong { font-family: var(--font-body); font-weight: 700; font-size: 2rem; font-variant-numeric: tabular-nums; line-height: 1; color: var(--tan); }
.planner__out p { margin: 0; color: rgba(255, 255, 255, 0.82); }
.planner__out small { color: var(--stone); }

/* Breadcrumbs */
.crumbs { font-size: 0.9rem; color: var(--stone); margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--stone); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.hero .crumbs, .hero .crumbs a { color: var(--tan); }

/* Article */
.article-meta { color: var(--stone); font-size: 0.95rem; margin-bottom: 20px; }
.toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 28px; }
.toc strong { font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; color: var(--taupe); }
.toc ol { margin: 8px 0 0; padding-left: 1.2em; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* Footer */
.footer { background: var(--black); color: rgba(255, 255, 255, 0.8); padding: clamp(48px, 7vw, 80px) 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { color: var(--tan); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.95rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--tan); }
.footer .brand__text { color: var(--cream); }
.footer .brand__text small { color: var(--tan); }
.footer__tag { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--cream); margin: 18px 0 8px; }
.footer__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.88rem; color: var(--stone); }
.footer__bottom a { color: var(--stone); }

/* Sticky mobile bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; grid-template-columns: 1fr 1fr 1.3fr; gap: 1px; background: var(--line-dark); border-top: 1px solid var(--line-dark); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 8px; background: var(--bark-2); color: var(--cream); text-decoration: none; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.85rem; }
.mobile-bar a.primary { background: var(--tan); color: var(--bark-2); }
.mobile-bar svg { width: 18px; height: 18px; }
@media (max-width: 720px) { .mobile-bar { display: grid; } body { padding-bottom: 56px; } }

/* Logo strip / values */
.values--light { color: var(--white); }
.values--light span::before { color: var(--tan); }
.values { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; font-size: clamp(1rem, 2.4vw, 1.5rem); color: var(--bark-2); }
.values span::before { content: "✕"; font-size: 0.7em; margin-right: 40px; color: var(--stone); }
.values span:first-child::before { display: none; }

/* Testimonial placeholder / trust */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.trust__item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--font-body); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.85rem; color: var(--bark-2); }
.trust__item svg { width: 22px; height: 22px; color: var(--stone); flex: 0 0 22px; }

/* Image frame */
.frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame__cap { position: absolute; left: 14px; bottom: 14px; padding: 8px 12px; border-radius: 6px; background: rgba(67, 54, 51, 0.88); color: var(--cream); font-family: var(--font-body); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.75rem; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .header, .mobile-bar, .cta-band, .footer__grid { display: none !important; }
}
