/* ============================================================
   Yorkshire Lawn & Garden — Editorial Garden Journal
   ============================================================ */

:root {
  /* Palette */
  --cream:      #f4ede0;
  --cream-deep: #ece3cf;
  --bone:       #ebe3d2;
  --paper:      #fbf8f0;
  --ink:        #1a1813;
  --ink-soft:   #3a3530;
  --stone:      #8b8473;
  --stone-soft: #b8b1a0;
  --moss:       #2c3e1f;
  --moss-deep:  #1a2612;
  --moss-light: #475e36;
  --clay:       #c2410c;
  --clay-dark:  #9a3409;
  --clay-soft:  #e87b4a;

  /* Type */
  --display: 'Fraunces', 'Times New Roman', serif;
  --body:    'Plus Jakarta Sans', system-ui, sans-serif;

  /* Layout */
  --max:    1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 4px;

  /* Motion */
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  font-weight: 400;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Grain applied selectively to sections (NOT globally, to keep modal clean) */
.has-grain {
  position: relative;
}
.has-grain::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1, 0 0 0 0 0.09, 0 0 0 0 0.07, 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ===== Typography ===== */
.display {
  font-family: var(--display);
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--moss-deep);
}

.eyebrow {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
}

.lead {
  font-family: var(--display);
  font-weight: 300;
  font-variation-settings: "opsz" 24, "SOFT" 50;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  color: var(--ink-soft);
  font-style: italic;
}

/* ===== Container ===== */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ===== Top bar ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 237, 224, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 24, 19, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
}

.brand-name {
  font-family: var(--display);
  font-variation-settings: "opsz" 144, "SOFT" 0;
  font-weight: 500;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--moss-deep);
}

.brand-name small {
  display: block;
  font-family: var(--body);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 4px;
  font-weight: 500;
}

.topbar-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.88rem;
  font-weight: 500;
}

.topbar-cta a:hover { color: var(--clay); }

.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar-phone::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--clay);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(194, 65, 12, 0.15);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(194, 65, 12, 0.15); }
  50% { box-shadow: 0 0 0 8px rgba(194, 65, 12, 0.05); }
}

/* ===== Hero ===== */
.hero {
  padding: clamp(60px, 9vw, 130px) 0 clamp(60px, 8vw, 110px);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
}

.hero-headline {
  font-size: clamp(3rem, 9.5vw, 8.5rem);
  margin-bottom: 32px;
}

.hero-headline em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 300;
  color: var(--clay);
  position: relative;
  display: inline-block;
}

/* hand-drawn underline under "garden" */
.hero-headline em::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -4%;
  bottom: -0.06em;
  height: 0.18em;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 12' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'><path d='M2 8 Q 50 2 100 6 T 198 4' stroke='%23c2410c' stroke-width='2.5' fill='none' stroke-linecap='round'/></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.hero-sub {
  max-width: 520px;
  margin-bottom: 40px;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--ink-soft);
  line-height: 1.55;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(26, 24, 19, 0.12);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.hero-meta span strong {
  display: block;
  font-family: var(--display);
  font-variation-settings: "opsz" 24, "SOFT" 30;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--moss-deep);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

/* ===== Hero entry card ===== */
.entry {
  background: var(--paper);
  border: 1px solid rgba(26, 24, 19, 0.1);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  box-shadow:
    0 1px 0 rgba(26, 24, 19, 0.04),
    0 30px 60px -30px rgba(26, 24, 19, 0.18),
    0 18px 36px -18px rgba(44, 62, 31, 0.12);
  position: relative;
}

.entry::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.4), transparent 40%);
}

.entry-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--moss-deep);
  color: var(--cream);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 99px;
  margin-bottom: 18px;
}

.entry-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clay-soft);
}

.entry-title {
  font-family: var(--display);
  font-variation-settings: "opsz" 24, "SOFT" 30;
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--moss-deep);
}

.entry-desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 22px;
  line-height: 1.55;
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 22px;
  background: var(--moss-deep);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--moss-light), var(--moss-deep));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.btn-primary span { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; }
.btn-primary svg { transition: transform 0.4s var(--ease); }

.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(26, 38, 18, 0.5); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover svg { transform: translateX(4px); }

.entry-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 18px;
  color: var(--stone);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

.entry-divider::before, .entry-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(26, 24, 19, 0.1);
}

/* ===== Skip-ahead lane (the stamped quick-quote box) ===== */
.skip-lane {
  background: var(--cream-deep);
  border: 1px dashed rgba(44, 62, 31, 0.3);
  padding: 20px;
  border-radius: var(--radius);
  position: relative;
}

.skip-lane::before {
  content: 'QUICK PATH';
  position: absolute;
  top: -8px;
  left: 16px;
  background: var(--cream);
  padding: 0 8px;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--clay);
}

.skip-label {
  font-family: var(--display);
  font-variation-settings: "opsz" 24, "SOFT" 50;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
  line-height: 1.3;
}

.skip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.skip-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid rgba(26, 24, 19, 0.08);
  border-radius: var(--radius);
  font-size: 0.84rem;
  font-weight: 500;
  text-align: left;
  transition: all 0.25s var(--ease);
  color: var(--ink);
}

.skip-chip:hover {
  border-color: var(--moss-deep);
  background: var(--moss-deep);
  color: var(--cream);
  transform: translateY(-1px);
}

.skip-chip-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--moss-light);
  transition: color 0.25s var(--ease);
}

.skip-chip:hover .skip-chip-icon { color: var(--clay-soft); }

/* ===== Section base ===== */
.section {
  padding: clamp(80px, 11vw, 150px) 0;
  position: relative;
}

.section-num {
  font-family: var(--display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--clay);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.section-num::after {
  content: '';
  width: 80px;
  height: 1px;
  background: var(--clay);
  opacity: 0.5;
}

.section-title {
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  margin-bottom: 24px;
  max-width: 12ch;
}

.section-intro {
  max-width: 56ch;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--ink-soft);
  margin-bottom: 60px;
  line-height: 1.6;
}

/* ===== Services strip ===== */
.services {
  background: var(--moss-deep);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(194, 65, 12, 0.08), transparent 50%);
  pointer-events: none;
}

.services .section-num { color: var(--clay-soft); }
.services .section-num::after { background: var(--clay-soft); }
.services .display { color: var(--cream); }
.services .section-intro { color: rgba(244, 237, 224, 0.75); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(244, 237, 224, 0.15);
  border: 1px solid rgba(244, 237, 224, 0.15);
}

@media (max-width: 880px) { .services-grid { grid-template-columns: 1fr 1fr; } }

.service-card {
  background: var(--moss-deep);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.35s var(--ease);
  cursor: pointer;
  position: relative;
  min-height: 240px;
}

.service-card:hover { background: var(--moss-light); }

.service-icon {
  width: 38px;
  height: 38px;
  color: var(--clay-soft);
}

.service-name {
  font-family: var(--display);
  font-variation-settings: "opsz" 24, "SOFT" 30;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 0.85rem;
  color: rgba(244, 237, 224, 0.7);
  line-height: 1.55;
  flex: 1;
}

.service-price {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--clay-soft);
  font-weight: 600;
  text-transform: uppercase;
}

/* ===== Process / how it works ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 50px);
}

@media (max-width: 880px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .process-grid { grid-template-columns: 1fr; } }

.step {
  position: relative;
  padding-top: 24px;
  border-top: 1px solid rgba(26, 24, 19, 0.18);
}

.step-num {
  font-family: var(--display);
  font-variation-settings: "opsz" 144, "SOFT" 0;
  font-style: italic;
  font-size: 3.4rem;
  font-weight: 300;
  color: var(--clay);
  line-height: 1;
  margin-bottom: 18px;
}

.step-title {
  font-family: var(--display);
  font-variation-settings: "opsz" 24, "SOFT" 30;
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--moss-deep);
}

.step-desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ===== Editorial / drop cap section ===== */
.editorial {
  background: var(--paper);
  border-top: 1px solid rgba(26, 24, 19, 0.08);
  border-bottom: 1px solid rgba(26, 24, 19, 0.08);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

@media (max-width: 880px) { .editorial-grid { grid-template-columns: 1fr; } }

.editorial-image {
  aspect-ratio: 4/5;
  background-image: url("https://images.unsplash.com/photo-1713656275767-e8140c59acca?auto=format&fit=crop&w=900&q=80");
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  position: relative;
  box-shadow: 0 30px 60px -30px rgba(26, 24, 19, 0.35);
}

.editorial-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26, 38, 18, 0.4));
  border-radius: inherit;
}

.editorial-image-cap {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 1;
  color: var(--cream);
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: "opsz" 24, "SOFT" 50;
  font-size: 0.95rem;
  line-height: 1.35;
}

.editorial-text p {
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  line-height: 1.65;
  margin-bottom: 1.2em;
  color: var(--ink-soft);
}

.editorial-text p:first-of-type::first-letter {
  font-family: var(--display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-weight: 500;
  font-size: 4.6em;
  float: left;
  line-height: 0.85;
  margin: 0.05em 0.08em -0.05em 0;
  color: var(--clay);
}

/* ===== Gallery ===== */
.gallery {
  background: var(--paper);
  border-top: 1px solid rgba(26, 24, 19, 0.08);
  border-bottom: 1px solid rgba(26, 24, 19, 0.08);
  padding: clamp(70px, 9vw, 120px) 0 clamp(70px, 9vw, 120px);
}

.gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.gallery-head .section-title { margin-bottom: 0; max-width: 14ch; }

.gallery-sub {
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: "opsz" 24, "SOFT" 80;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  max-width: 38ch;
  color: var(--ink-soft);
  line-height: 1.5;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bone);
  box-shadow: 0 20px 40px -20px rgba(26, 24, 19, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery-item:hover img { transform: scale(1.04); }

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(26, 38, 18, 0.35));
  pointer-events: none;
}

/* Mosaic layout on desktop: 12-col grid */
.gallery-item:nth-child(1) { grid-column: span 5; aspect-ratio: 5/6; }
.gallery-item:nth-child(2) { grid-column: span 7; aspect-ratio: 7/6; }
.gallery-item:nth-child(3) { grid-column: span 4; aspect-ratio: 4/5; }
.gallery-item:nth-child(4) { grid-column: span 4; aspect-ratio: 4/5; }
.gallery-item:nth-child(5) { grid-column: span 4; aspect-ratio: 4/5; }
.gallery-item:nth-child(6) { grid-column: span 12; aspect-ratio: 21/9; }

@media (max-width: 880px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:nth-child(n) { grid-column: span 1; aspect-ratio: 1/1; }
  .gallery-item:nth-child(6) { grid-column: span 2; aspect-ratio: 16/9; }
}

/* ===== Towns ===== */
.towns {
  background: var(--cream);
}

.towns-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

@media (max-width: 880px) { .towns-grid { grid-template-columns: 1fr; } }

.tier {
  margin-bottom: 36px;
}

.tier-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--clay);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tier-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(194, 65, 12, 0.3);
}

.town-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 4px;
  list-style: none;
}

.town-list li a {
  display: inline-block;
  padding: 8px 14px;
  background: var(--paper);
  border: 1px solid rgba(26, 24, 19, 0.1);
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.25s var(--ease);
}

.town-list li.featured a {
  background: var(--moss-deep);
  color: var(--cream);
  border-color: var(--moss-deep);
}

.town-list li a:hover {
  background: var(--clay);
  color: var(--cream);
  border-color: var(--clay);
  transform: translateY(-1px);
}

/* ===== FAQ ===== */
.faq {
  background: var(--paper);
}

.faq-list {
  max-width: 780px;
}

.faq-item {
  border-bottom: 1px solid rgba(26, 24, 19, 0.12);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  font-family: var(--display);
  font-variation-settings: "opsz" 24, "SOFT" 30;
  font-weight: 500;
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  color: var(--moss-deep);
  cursor: pointer;
  list-style: none;
  gap: 24px;
  transition: color 0.25s var(--ease);
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--clay); }

.faq-item summary::after {
  content: '+';
  font-family: var(--display);
  font-weight: 300;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--clay);
  transition: transform 0.35s var(--ease);
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item > div {
  padding: 4px 0 32px;
  max-width: 68ch;
}

.faq-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 0.9em;
}

.faq-item p:last-child { margin-bottom: 0; }

/* Lead sentence — the short direct answer */
.faq-lead {
  font-size: 1.08rem !important;
  color: var(--ink) !important;
  font-weight: 500;
  line-height: 1.5 !important;
  margin-bottom: 18px !important;
}

/* Inline price range chip — makes numbers pop without cluttering the prose */
.faq-price {
  display: inline-block;
  padding: 2px 9px;
  background: var(--bone);
  border: 1px solid rgba(26, 24, 19, 0.1);
  border-radius: 4px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--moss-deep);
  white-space: nowrap;
}

/* Mini data table inside an FAQ (for prices, frequencies) */
.faq-table {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px;
  margin: 16px 0 8px;
  background: rgba(26, 24, 19, 0.08);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(26, 24, 19, 0.08);
}

.faq-table > * {
  background: var(--paper);
  padding: 12px 16px;
  font-size: 0.95rem;
}

.faq-table > *:nth-child(odd) { color: var(--ink); }
.faq-table > *:nth-child(even) {
  text-align: right;
  font-weight: 600;
  color: var(--moss-deep);
  font-variant-numeric: tabular-nums;
}

/* Two-column comparison (e.g. tidy vs clearance) */
.faq-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0 8px;
}

@media (max-width: 640px) { .faq-compare { grid-template-columns: 1fr; } }

.faq-compare > div {
  background: var(--paper);
  border: 1px solid rgba(26, 24, 19, 0.1);
  border-radius: 4px;
  padding: 16px 18px;
}

.faq-compare h4 {
  font-family: var(--display);
  font-variation-settings: "opsz" 24, "SOFT" 30;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--moss-deep);
  margin-bottom: 8px;
}

.faq-compare p {
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  margin-bottom: 10px !important;
  color: var(--ink-soft);
}

.faq-compare .faq-price {
  font-size: 0.85rem;
  padding: 2px 8px;
}

/* Bullet list styling inside FAQ */
.faq-bullets {
  list-style: none;
  margin: 14px 0 8px;
  padding: 0;
}

.faq-bullets li {
  position: relative;
  padding: 0 0 10px 22px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.faq-bullets li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay);
}

.faq-bullets li:last-child { padding-bottom: 0; }

.faq-bullets li strong { color: var(--moss-deep); font-weight: 600; }

/* Small note row under structured blocks */
.faq-note {
  font-size: 0.88rem !important;
  color: var(--stone) !important;
  margin-top: 12px !important;
  font-style: italic;
}

/* ===== Footer ===== */
.footer {
  background: var(--moss-deep);
  color: var(--cream);
  padding: 80px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 70px;
}

@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } }

.footer h4 {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--clay-soft);
  margin-bottom: 18px;
}

.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; font-size: 0.92rem; opacity: 0.85; }
.footer li a:hover { color: var(--clay-soft); }

.footer-brand {
  font-family: var(--display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 16px;
}

.footer-tag {
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: "opsz" 24, "SOFT" 80;
  font-size: 1.1rem;
  opacity: 0.7;
  max-width: 38ch;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(244, 237, 224, 0.15);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.78rem;
  opacity: 0.6;
}

/* ============================================================
   ASSESSMENT MODAL
   ============================================================ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(26, 24, 19, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.modal.open { display: flex; opacity: 1; }

.modal-card {
  background: var(--cream);
  width: 100%;
  max-width: 720px;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.45s var(--ease);
  overflow: hidden;
}

@media (min-width: 720px) {
  .modal { padding: 40px 20px; align-items: center; }
  .modal-card { max-height: 88vh; border-radius: 6px; box-shadow: 0 60px 120px -30px rgba(26, 24, 19, 0.6); }
}

.modal.open .modal-card { transform: translateY(0); }

.modal-header {
  padding: 22px 28px 18px;
  border-bottom: 1px solid rgba(26, 24, 19, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--paper);
  flex-shrink: 0;
}

.modal-progress {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--stone);
}

.modal-progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(26, 24, 19, 0.08);
  border-radius: 99px;
  overflow: hidden;
  max-width: 200px;
}

.modal-progress-fill {
  height: 100%;
  background: var(--clay);
  width: 25%;
  transition: width 0.5s var(--ease);
}

.modal-close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background 0.25s var(--ease);
  color: var(--ink-soft);
}

.modal-close:hover { background: rgba(26, 24, 19, 0.08); }

.modal-body {
  padding: 32px 28px 28px;
  overflow-y: auto;
  flex: 1;
}

.modal-step {
  display: none;
  animation: fadeUp 0.4s var(--ease);
}

.modal-step.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--clay);
  margin-bottom: 10px;
}

.step-q {
  font-family: var(--display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-weight: 500;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--moss-deep);
  margin-bottom: 8px;
}

.step-help {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 50ch;
}

/* Service cards inside modal */
.opt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.opt-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.opt-grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

@media (max-width: 540px) {
  .opt-grid { grid-template-columns: 1fr; }
  .opt-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .opt-grid-4 { grid-template-columns: 1fr 1fr; }
}

/* ===== Optional lead-packet extras block ===== */
.extras {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px dashed rgba(26, 24, 19, 0.18);
}

.extras-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--stone);
  margin-bottom: 10px;
}

.extras-heading {
  font-family: var(--display);
  font-variation-settings: "opsz" 24, "SOFT" 30;
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--moss-deep);
  margin-bottom: 6px;
}

.extras-help {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 22px;
  line-height: 1.5;
  max-width: 48ch;
}

.field-hint {
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.55;
  font-weight: 400;
}

.opt {
  background: var(--paper);
  border: 1.5px solid rgba(26, 24, 19, 0.1);
  border-radius: var(--radius);
  padding: 20px 18px;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all 0.25s var(--ease);
  width: 100%;
}

.opt:hover { border-color: var(--moss-deep); background: var(--bone); }

.opt.selected {
  border-color: var(--moss-deep);
  background: var(--moss-deep);
  color: var(--cream);
}

.opt.selected .opt-icon { color: var(--clay-soft); }
.opt.selected .opt-title { color: var(--cream); }
.opt.selected .opt-desc { color: rgba(244, 237, 224, 0.7); }

.opt-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--moss-light);
  margin-top: 2px;
}

.opt-body { flex: 1; }

.opt-title {
  font-family: var(--display);
  font-variation-settings: "opsz" 24, "SOFT" 30;
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.15;
  color: var(--moss-deep);
  margin-bottom: 4px;
}

.opt-desc {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* Form fields */
.field { margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }

.field label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--paper);
  border: 1.5px solid rgba(26, 24, 19, 0.12);
  border-radius: var(--radius);
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.25s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--moss-deep);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  font-size: 0.84rem;
  color: var(--ink-soft);
  line-height: 1.4;
  cursor: pointer;
}

.consent input { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; }

/* Modal footer */
.modal-footer {
  padding: 18px 28px;
  background: var(--paper);
  border-top: 1px solid rgba(26, 24, 19, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

.estimate {
  font-size: 0.78rem;
  color: var(--stone);
  letter-spacing: 0.04em;
}

.estimate strong {
  display: block;
  font-family: var(--display);
  font-variation-settings: "opsz" 24, "SOFT" 30;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--moss-deep);
  letter-spacing: -0.01em;
  margin-top: 2px;
}

.modal-actions {
  display: flex;
  gap: 8px;
}

.btn-back {
  padding: 14px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius);
  transition: all 0.25s var(--ease);
}

.btn-back:hover { background: rgba(26, 24, 19, 0.06); }
.btn-back:disabled { opacity: 0.3; cursor: not-allowed; }

.btn-next {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--moss-deep);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}

.btn-next:hover { background: var(--clay); transform: translateY(-1px); }
.btn-next:disabled { background: var(--stone-soft); cursor: not-allowed; transform: none; }

/* Step 4 success */
.success {
  text-align: center;
  padding: 30px 0;
}

.success-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--moss-deep);
  color: var(--clay-soft);
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
}

.success h3 {
  font-family: var(--display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-weight: 500;
  font-size: 2rem;
  color: var(--moss-deep);
  margin-bottom: 12px;
  line-height: 1;
}

.success p {
  font-size: 1.02rem;
  color: var(--ink-soft);
  max-width: 38ch;
  margin: 0 auto 24px;
  line-height: 1.5;
}

.success-callout {
  background: var(--cream);
  border: 1px dashed rgba(44, 62, 31, 0.3);
  padding: 20px;
  border-radius: var(--radius);
  max-width: 380px;
  margin: 0 auto;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.success-callout strong { color: var(--moss-deep); }

/* Hide scroll while modal open */
body.modal-open { overflow: hidden; }

/* ===== hero-proof line (small label under chips) ===== */
.hero-proof {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(26, 24, 19, 0.1);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

/* ===== mobile atmospheric image (hidden on desktop) ===== */
.mobile-image { display: none; }

/* ===== Town extras prose — scannable paragraphs, not walls ===== */
.town-extras-prose p {
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 1em;
}
.town-extras-prose p:last-child { margin-bottom: 0; }

/* ===== Hero chips (v4) — 2×2 icon grid inside the entry card ===== */
.hero-chips--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}
.hero-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 108px;
  padding: 18px 14px;
  background: var(--paper);
  border: 1px solid rgba(26, 24, 19, 0.12);
  border-radius: var(--radius);
  text-align: center;
  font-family: var(--body);
  color: var(--ink);
  transition: all 0.25s var(--ease);
  cursor: pointer;
}
.hero-chip-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--moss-light);
  transition: color 0.25s var(--ease);
}
.hero-chip-label {
  display: block;
  font-family: var(--display);
  font-variation-settings: "opsz" 24, "SOFT" 30;
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1.15;
  color: var(--moss-deep);
}
.hero-chip:hover,
.hero-chip:focus-visible {
  border-color: var(--moss-deep);
  background: var(--moss-deep);
  transform: translateY(-1px);
}
.hero-chip:hover .hero-chip-label,
.hero-chip:focus-visible .hero-chip-label { color: var(--cream); }
.hero-chip:hover .hero-chip-icon,
.hero-chip:focus-visible .hero-chip-icon { color: var(--clay); }
.hero-chip--ghost {
  border-style: dashed;
  border-color: rgba(26, 38, 18, 0.35);
}
.hero-chip--ghost:hover,
.hero-chip--ghost:focus-visible {
  border-style: solid;
}

/* ===== Inline section CTA block ===== */
.section-cta {
  text-align: center;
  margin-top: clamp(36px, 5vw, 56px);
}
.section-cta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--moss-deep);
  color: var(--cream);
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease);
}
.section-cta a:hover { transform: translateY(-1px); }
.section-cta a svg { width: 16px; height: 16px; }


/* ===== Mobile refinements (audit April 2026, v2) ===== */
@media (max-width: 640px) {
  /* Nav: hide subtitle, tighten spacing, drop tertiary link */
  .topbar-inner { padding: 14px 0; }
  .brand-name { font-size: 0.98rem; }
  .brand-name small { display: none; }
  .brand-mark { width: 32px; height: 32px; }
  /* Slightly more breathing room at the edges of the topbar on narrow screens
     so "Get a quote" doesn't touch the right edge of the viewport. */
  .topbar .wrap { padding: 0 22px 0 18px; }
  .topbar-cta { gap: 12px; font-size: 0.78rem; }
  .topbar-cta a { min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
  .topbar-cta a[href$="#how"] { display: none; }
  .brand-name { max-width: 110px; line-height: 1.05; }

  /* Hero reflow v2: estimate card becomes the hero. Old hero-left (editorial
     headline + prose + stats) reorders beneath it — still in DOM for SEO and
     scrollers, just not gating the conversion. */
  .hero { padding: 24px 0 36px; }
  .hero-grid { display: flex; flex-direction: column; gap: 40px; }
  .hero-right { order: 0; }
  .hero-left { order: 1; }

  /* Estimate card: tighter on mobile */
  .entry { padding: 24px 20px; }
  .entry-title {
    font-size: 1.3rem;
    line-height: 1.15;
    margin-bottom: 0;
    letter-spacing: -0.005em;
    color: var(--moss-deep);
    text-align: center;
  }
  .hero-chips--grid { margin-top: 18px; gap: 9px; }
  .hero-chip { min-height: 100px; padding: 14px 10px; }
  .hero-chip-label { font-size: 0.92rem; }
  .hero-chip-icon { width: 26px; height: 26px; }

  /* Hero-left: only show the headline as a short tagline above the card.
     Order it first; hide the eyebrow, sub-paragraph, stats row. */
  .hero-left { display: block; order: 0; margin-bottom: 4px; }
  .hero-left .eyebrow,
  .hero-left .hero-sub,
  .hero-left .hero-meta { display: none; }
  .hero-right { order: 1; }
  .hero-headline {
    font-size: clamp(2.4rem, 9vw, 3.1rem) !important;
    line-height: 1;
    margin-bottom: 10px !important;
    letter-spacing: -0.02em;
  }
  .hero-headline br { display: none; }
  .hero-headline em::after { bottom: -0.04em; height: 0.12em; }
  .hero-grid { gap: 24px; }

  /* Mobile-only atmospheric image between hero and services. Desktop hides it. */
  .mobile-image { display: block; padding: 0; margin: 0; }
  .mobile-image img { width: 100%; height: auto; display: block; }

  /* Section padding tightened — default clamp(80px,11vw,150px) is way too
     airy on a 390px viewport and makes the page ~8000px tall mostly from
     whitespace. */
  .section { padding: 56px 0; }
  .section-title { font-size: clamp(1.9rem, 6.4vw, 2.4rem); line-height: 1.08; }

  /* Editorial section: also kill the big display H2 on mobile — lead
     paragraph alone is enough to convey tone. */
  .editorial .section-title,
  .editorial h2.display { display: none; }
  .editorial .eyebrow { margin-bottom: 10px; }

  /* Town page local-notes block: force single column at narrow widths so
     the 140px reading columns go away. */
  .town-extras .editorial-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .town-extras h2.display { display: block; font-size: 1.7rem !important; margin-bottom: 14px !important; }

  /* Services card accent price — old clay on dark moss fails WCAG AA
     contrast. Lift to a warm cream so it passes clearly. */
  .services .service-price { color: #f1d9ae; font-size: 0.82rem; }

  /* FAQ title shrink to match rest of mobile scale */
  .faq .section-title { font-size: 1.9rem; }

  /* Touch targets */
  .opt-card, .skip-chip { min-height: 48px; }
  .faq-item summary { min-height: 48px; padding-top: 14px; padding-bottom: 14px; }

  /* Editorial section: keep lead paragraph, collapse the rest on mobile so the
     services → how-it-works conversion path isn't broken by three scrolls of prose.
     Still in the DOM → Google indexes the full copy. */
  .editorial-text p:nth-of-type(n+2) { display: none; }
  .editorial-image { display: none; }
  .editorial-grid { grid-template-columns: 1fr; gap: 0; }
  .editorial.section { padding-top: 40px; padding-bottom: 40px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
