/* ============================================================
   Powhatan Drain Crew - main stylesheet (v4)
   Direction A: Country editorial (Walnut Mint)
   Tokens, layout, components, motion, responsive, no-JS.
   ============================================================ */

/* ---------- Fonts (self-hosted, latin subset, SIL OFL) ---------- */
@font-face{font-family:"Karla";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/karla-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Karla";font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/karla-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Karla";font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/karla-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Libre Caslon Display";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/libre-caslon-display-latin-400-normal.woff2) format("woff2")}

/* ---------- Tokens ---------- */
:root {
  --bg: #F6F1EA;
  --surface: #FFFFFF;
  --ink: #261C15;
  --ink-soft: #5C4B3E;
  --primary: #5B3A24;
  --primary-deep: #452A1A;
  --accent: #59C3A6;
  --accent-deep: #43A78B;
  --line: #E3D7C6;
  --radius: 4px;

  --font-display: "Libre Caslon Display", "Georgia", "Times New Roman", serif;
  --font-body: "Karla", "Helvetica Neue", "Arial", sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --section-pad: 5.5rem; /* 88px desktop */

  --shadow-frame: 0 18px 40px -18px rgba(38, 28, 21, 0.35);
  --shadow-card: 0 10px 28px -14px rgba(38, 28, 21, 0.28);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 var(--space-sm);
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 1.6rem + 4.5vw, 3.75rem); }
h2 { font-size: clamp(1.875rem, 1.3rem + 2.9vw, 2.625rem); }
h3 { font-size: clamp(1.25rem, 1.05rem + 1vw, 1.5rem); }

p { margin: 0 0 var(--space-sm); }

a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--primary-deep); }

ul, ol { margin: 0 0 var(--space-sm); padding-left: 1.4rem; }
li { margin-bottom: 0.4rem; }

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

::selection { background: var(--accent); color: var(--ink); }

/* ---------- Layout helpers ---------- */
.wrap {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

.section { padding-block: var(--section-pad); }

.prose { max-width: 68ch; }
.prose > :last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Header (walnut band, sticky) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--primary);
  color: #F6F1EA;
  box-shadow: 0 6px 20px -10px rgba(38, 28, 21, 0.55);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-block: 0.75rem;
}
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; flex-shrink: 0; }
.brand svg { display: block; height: 46px; width: auto; }
.brand-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.1;
  color: #F6F1EA;
}
.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Nav */
.main-nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link, .nav-toggle-btn {
  display: inline-block;
  color: #F6F1EA;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius);
  background: transparent;
  border: 0;
  cursor: pointer;
  min-height: 44px;
}
.nav-link:hover, .nav-toggle-btn:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.nav-item { position: relative; }
.nav-item .nav-list {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 280px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 0.5rem;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.nav-item .nav-list a {
  display: block;
  color: var(--ink);
  font-weight: 600;
  padding: 0.7rem 0.9rem;
  min-height: 44px;
  text-decoration: none;
}
.nav-item .nav-list a:hover { background: var(--bg); color: var(--primary-deep); }
.nav-item.open .nav-list, .nav-item:focus-within .nav-list { display: flex; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius);
  white-space: nowrap;
  min-height: 44px;
}
.header-phone:hover { background: var(--accent-deep); color: var(--ink); }
.header-phone svg { flex-shrink: 0; }

/* Hamburger (mobile) */
.nav-burger {
  display: none;
  background: transparent;
  border: 1px solid rgba(246, 241, 234, 0.5);
  border-radius: var(--radius);
  color: #F6F1EA;
  min-width: 48px;
  min-height: 44px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
}
.nav-burger:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 10px 24px -12px rgba(38, 28, 21, 0.5);
}
.btn-primary:hover { background: var(--accent-deep); color: var(--ink); transform: translateY(-1px); }
.btn-walnut { background: var(--primary); color: #F6F1EA; }
.btn-walnut:hover { background: var(--primary-deep); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-ghost:hover { background: var(--primary); color: #F6F1EA; }

/* ---------- Hero (framed photo) ---------- */
.hero { padding-block: var(--space-xl) var(--space-lg); }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.hero-copy .promise { font-size: 1.25rem; color: var(--ink-soft); max-width: 46ch; }
.hero-zip {
  margin-top: var(--space-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--primary);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-md); }

.hero-frame {
  border: 4px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-frame);
  overflow: hidden;
  background: var(--surface);
}
.hero-frame .ratio {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.hero-frame:hover img { transform: scale(1.04); }

/* Fact strip (area pages) */
.fact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  font-weight: 600;
}
.fact-strip span + span { margin-left: var(--space-sm); }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: var(--space-md);
}
.breadcrumb a { color: var(--primary); display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Cards / panels ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-md);
  box-shadow: var(--shadow-card);
}
.card h3 { margin-top: 0; }
.card .btn { margin-top: var(--space-sm); }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-md);
}

/* While-you-wait box */
.wait-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: var(--space-md);
  box-shadow: var(--shadow-card);
}

/* Symptom checklist */
.checklist { list-style: none; padding: 0; margin: var(--space-md) 0; }
.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.8rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.9em;
  height: 0.9em;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--primary);
}

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: var(--space-md) 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 4rem;
  margin-bottom: var(--space-md);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--primary);
  color: #F6F1EA;
  font-family: var(--font-display);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps h3 { margin-bottom: 0.25rem; }

/* ---------- FAQ (two columns, accordion) ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm) var(--space-md);
  margin-top: var(--space-md);
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  background: none;
  border: 0;
  padding: 1rem 1.25rem;
  min-height: 56px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.faq-q .icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}
.faq-q[aria-expanded="true"] .icon { transform: rotate(45deg); }
.faq-a { padding: 0 1.25rem 1.25rem; }
.faq-a p:last-child { margin-bottom: 0; }

/* ---------- Service page layout: sticky TOC + side rail ---------- */
.page-with-rail .content-columns {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 280px;
  gap: var(--space-xl);
  align-items: start;
}
.toc {
  position: sticky;
  top: 110px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.95rem;
}
.toc h2 { font-size: 1.1rem; margin-bottom: 0.5rem; font-family: var(--font-body); font-weight: 700; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li { margin-bottom: 0.15rem; }
.toc a {
  display: block;
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink-soft);
  border-left: 3px solid transparent;
}
.toc a:hover { color: var(--primary); background: var(--bg); }
.toc a.active {
  color: var(--primary-deep);
  font-weight: 700;
  border-left-color: var(--accent);
  background: var(--bg);
}

.side-rail {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.rail-card {
  background: var(--primary);
  color: #F6F1EA;
  border-radius: var(--radius);
  padding: var(--space-md);
  box-shadow: var(--shadow-card);
}
.rail-card h3 { color: #F6F1EA; margin-top: 0; }
.rail-card p { color: rgba(246, 241, 234, 0.85); }
.rail-card .btn-primary { width: 100%; }
.rail-card .phone-big {
  display: block;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  margin: var(--space-sm) 0;
}
.rail-card .phone-big:hover { color: #7FD9BE; }

/* ---------- Closing CTA band ---------- */
.cta-band {
  background: var(--primary);
  color: #F6F1EA;
  border-radius: var(--radius);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-card);
  margin-top: var(--space-xl);
}
.cta-band h2 { color: #F6F1EA; margin-bottom: var(--space-sm); }
.cta-band p { color: rgba(246, 241, 234, 0.9); max-width: 60ch; margin: 0 auto var(--space-md); }
.cta-band .btn-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary-deep);
  color: rgba(246, 241, 234, 0.9);
  padding: var(--space-xl) 0 var(--space-md);
  margin-top: var(--section-pad);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}
.site-footer h3 {
  color: #F6F1EA;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}
.site-footer a { color: rgba(246, 241, 234, 0.9); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-brand svg { height: 44px; width: auto; margin-bottom: var(--space-sm); }
.footer-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  margin: var(--space-xs) 0 var(--space-sm);
}
.footer-phone:hover { color: #7FD9BE; }
.footer-disclosure {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(246, 241, 234, 0.75);
  border-top: 1px solid rgba(246, 241, 234, 0.2);
  padding-top: var(--space-sm);
  margin-top: var(--space-md);
}
.footer-bottom {
  border-top: 1px solid rgba(246, 241, 234, 0.2);
  padding-top: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(246, 241, 234, 0.75);
}

/* ---------- Mobile bottom call bar ---------- */
.mobile-callbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  background: var(--primary-deep);
  padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 20px -8px rgba(38, 28, 21, 0.5);
}
.mobile-callbar .btn-primary { width: 100%; min-height: 48px; font-size: 1.15rem; }

/* Floating call button */
.floating-call {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 110;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(38, 28, 21, 0.55);
  text-decoration: none;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.floating-call.visible { opacity: 1; transform: none; pointer-events: auto; }
.floating-call:hover { background: var(--accent-deep); }

/* ---------- Motion: reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .page-with-rail .content-columns { grid-template-columns: 220px minmax(0, 1fr); }
  .side-rail { display: none; }
}

@media (max-width: 900px) {
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav { display: none; }
  .main-nav.open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-deep);
    padding: var(--space-sm);
    box-shadow: 0 18px 30px -12px rgba(38, 28, 21, 0.6);
  }
  .main-nav.open .nav-list { flex-direction: column; align-items: stretch; }
  .main-nav.open .nav-item .nav-list { position: static; box-shadow: none; min-width: 0; margin: 0.25rem 0; }
  .main-nav.open .nav-link, .main-nav.open .nav-toggle-btn { width: 100%; text-align: left; }
  .header-inner { gap: var(--space-sm); }
  .header-phone { margin-left: auto; padding: 0.6rem 0.9rem; font-size: 0.95rem; }

  .hero-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .faq-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
  .page-with-rail .content-columns { grid-template-columns: 1fr; }
  .toc { position: static; margin-bottom: var(--space-lg); }
  .cta-band { padding: var(--space-lg) var(--space-md); }
}

@media (max-width: 700px) {
  :root { --section-pad: 3.5rem; } /* 56px mobile */
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-callbar { display: block; }
  .floating-call { bottom: 5.5rem; }
  body { padding-bottom: 76px; } /* room for the call bar */
  .hero-actions .btn { width: 100%; }
  .header-phone span.phone-text { display: none; }
  .header-phone { padding: 0.6rem 0.75rem; }
  .brand { flex: 1 1 0; min-width: 0; }
  .brand svg { width: 100%; max-width: 240px; height: auto; }
  .header-phone, .nav-burger { flex-shrink: 0; min-height: 44px; }
}

/* Very small screens: no horizontal scroll */
@media (max-width: 400px) {
  .wrap { width: calc(100% - 2rem); }
  .brand-text { font-size: 1.05rem; }
  .hero-actions .btn, .cta-band .btn { width: 100%; }
}

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- No-JS fallback ---------- */
.no-js .reveal { opacity: 1; transform: none; }
.no-js .faq-a { display: block !important; }
.no-js .main-nav { display: block; }
.no-js .mobile-callbar { display: none; }
.no-js .floating-call { display: none; }

/* ---------- Fully clickable cards (stretched link) ---------- */
.service-panel, .area-panel { position: relative; }
.service-panel a::after, .area-panel a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.service-panel:hover, .area-panel:hover { box-shadow: 0 10px 28px -14px rgba(38, 28, 21, 0.45); }
.service-panel:focus-within, .area-panel:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
@media print { .service-panel a::after, .area-panel a::after { display: none; } }

.faq-h { margin: 0; font: inherit; line-height: inherit; }

picture { display: contents; }

/* ---------- Comparison table ---------- */
.table-wrap { container-type: inline-size; margin: var(--space-lg, 2rem) 0; border: 1px solid rgba(91, 58, 36, 0.25); border-radius: 12px; overflow: hidden; background: var(--surface, #fff); }
.compare { width: 100%; border-collapse: collapse; font-size: 0.97rem; line-height: 1.5; }
.compare caption { text-align: left; padding: 0.9rem 1.1rem; font-family: var(--font-display); font-size: 1.15rem; color: var(--primary); }
.compare th, .compare td { padding: 0.85rem 1.1rem; text-align: left; vertical-align: top; border-top: 1px solid rgba(91, 58, 36, 0.15); }
.compare thead th { background: var(--primary); color: #F6F1EA; border-top: 0; font-weight: 700; }
.compare tbody th { color: var(--primary); font-weight: 700; white-space: nowrap; }
.compare tbody tr:nth-child(even) { background: rgba(89, 195, 166, 0.08); }
@container (max-width: 700px) {
  .compare caption { display: block; width: 100%; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tbody th { white-space: normal; padding-bottom: 0.25rem; border-top: 1px solid rgba(91, 58, 36, 0.25); background: rgba(91, 58, 36, 0.06); }
  .compare td { border-top: 0; padding-top: 0.35rem; padding-bottom: 0.35rem; }
  .compare td::before { content: attr(data-label); display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft, #6b5b4e); }
}

.mt-lg { margin-top: var(--space-lg); }

/* Vertical rhythm for pages built from plain wrap sections (home, hubs) */
main > section.wrap { padding-block: clamp(1.75rem, 4.5vw, 3rem); }
main > section.hero + section.wrap { padding-top: clamp(2.25rem, 5vw, 3.5rem); }

/* ---------- Polish: previously unstyled hooks ---------- */
.step-num { display: none; }
.hero-compact { padding-block: var(--space-lg) var(--space-md); }
.hero-promise { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); max-width: 46ch; margin-bottom: var(--space-md); }
.hero-serving { margin: var(--space-sm) 0 0; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.img-frame { margin: var(--space-md) 0 var(--space-lg); border-radius: 12px; overflow: hidden; border: 1px solid rgba(91, 58, 36, 0.2); box-shadow: 0 18px 36px -24px rgba(38, 28, 21, 0.55); }
.img-frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; }
@media (max-width: 700px) { .img-frame img { aspect-ratio: 3 / 2; } }

/* Service and area panels read as cards */
.service-panel, .area-panel { background: var(--surface); border: 1px solid rgba(91, 58, 36, 0.18); border-left: 4px solid var(--accent); border-radius: 12px; padding: 1.1rem 1.35rem; margin: 0 0 var(--space-sm); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.service-panel h3, .area-panel h3 { margin: 0 0 0.35rem; }
.service-panel p:last-child, .area-panel p:last-child { margin-bottom: 0; }
.service-panel:hover, .area-panel:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .service-panel:hover, .area-panel:hover { transform: none; } }

/* Breadcrumb */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.1rem 0.5rem; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--ink-soft); opacity: 0.6; }
.breadcrumb [aria-current="page"] { color: var(--ink-soft); }

.breadcrumb li { display: flex; align-items: center; min-height: 44px; }
.breadcrumb li a { min-height: 44px; }
main > .breadcrumb { width: min(1180px, 100% - 2.5rem); margin-inline: auto; margin-bottom: 0; }
@media (max-width: 400px) { main > .breadcrumb { width: calc(100% - 2rem); } }
