/* ==========================================================================
   Twin Oaks Restoration. "Heritage Oak" design system
   White base · deep forest green · charcoal ink · warm oak · ember CTA
   ========================================================================== */

:root {
  /* Palette drawn from the Twin Oaks engraved badge: olive oaks, warm trunk
     browns, letterpress cream. */
  --pine-950: #202613;
  --pine-900: #2b3118;
  --pine-800: #39411f;
  --pine-700: #4b5626;
  --pine-600: #5e6b30;
  --pine-100: #e4e7d0;
  --pine-50:  #f0f1e2;
  --oak-700:  #6b4e2e;
  --oak-500:  #8b6a42;
  --oak-300:  #c9b48c;
  --oak-100:  #eee6d2;
  --cream:    #f5f1e6;
  --paper:    #fdfcf8;
  --ink-900:  #2a2921;
  --ink-600:  #575345;
  --ink-300:  #bcb8a8;
  --line:     #e3ded0;
  --ember-700:#a8451f;
  --ember-600:#bd5226;
  --ember-100:#f7e6da;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --size-xs: 0.8125rem;
  --size-sm: 0.9rem;
  --size-base: 1.0625rem;
  --size-lg: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  --size-h3: clamp(1.5rem, 1.32rem + 0.8vw, 1.9rem);
  --size-h2: clamp(2rem, 1.65rem + 1.7vw, 2.95rem);
  --size-h1: clamp(2.5rem, 1.9rem + 2.9vw, 4rem);
  --size-hero: clamp(2.7rem, 2rem + 3.6vw, 4.6rem);

  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(19, 42, 31, 0.08), 0 2px 8px rgba(19, 42, 31, 0.06);
  --shadow-md: 0 2px 6px rgba(19, 42, 31, 0.09), 0 12px 32px rgba(19, 42, 31, 0.12);
  --shadow-lg: 0 6px 16px rgba(13, 31, 23, 0.16), 0 24px 56px rgba(13, 31, 23, 0.18);

  --container: 74rem;
  --header-h: 4.5rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--size-base);
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--paper);
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: var(--pine-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pine-600); }
ul, ol { padding-left: 1.3rem; }
strong { font-weight: 650; }
::selection { background: var(--pine-100); color: var(--pine-900); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  color: var(--pine-900);
  letter-spacing: 0.005em;
  text-wrap: balance;
}
h1 { font-size: var(--size-h1); }
h2 { font-size: var(--size-h2); }
h3 { font-size: var(--size-h3); }
h4 { font-size: var(--size-lg); }
p  { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--oak-500);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--pine-900); color: #fff; padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--radius) 0; text-decoration: none;
}
.skip-link:focus { left: 0; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.container--narrow { max-width: 52rem; }
.section { padding-block: clamp(3.2rem, 7vw, 5.5rem); }
.section--tight { padding-block: clamp(2.2rem, 5vw, 3.5rem); }
.section--cream { background: var(--cream); }
.section--pine-tint { background: var(--pine-50); }
.section--dark {
  background:
    radial-gradient(80rem 40rem at 110% -20%, rgba(178, 126, 76, 0.14), transparent 60%),
    linear-gradient(175deg, var(--pine-900), var(--pine-950));
  color: #e9efe9;
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #f4f7f2; }
.section--dark p { color: #c9d6cc; }
.section--dark a { color: var(--oak-300); }

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1020px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.section-head { max-width: 46rem; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: var(--size-xs); font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--oak-700); margin-bottom: 0.9rem;
}
.kicker::before {
  content: ""; width: 26px; height: 2px; background: var(--oak-500); border-radius: 2px;
}
.section-head--center .kicker::after {
  content: ""; width: 26px; height: 2px; background: var(--oak-500); border-radius: 2px;
}
.section--dark .kicker { color: var(--oak-300); }
.section-head .lede, .lede { font-size: var(--size-lg); color: var(--ink-600); margin-top: 0.9rem; }
.section--dark .lede { color: #c9d6cc; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-weight: 650; font-size: 1rem; line-height: 1.2;
  padding: 0.85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--ember { background: var(--ember-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn--ember:hover { background: var(--ember-600); color: #fff; box-shadow: var(--shadow-md); }
.btn--pine { background: var(--pine-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn--pine:hover { background: var(--pine-600); color: #fff; box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--pine-800); border-color: var(--pine-700); }
.btn--ghost:hover { background: var(--pine-50); color: var(--pine-800); }
.btn--light { background: #fff; color: var(--pine-900); box-shadow: var(--shadow-sm); }
.btn--light:hover { background: var(--cream); color: var(--pine-900); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.08rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }

.text-link {
  font-weight: 650; color: var(--pine-700); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.text-link::after { content: "→"; transition: transform 0.15s ease; }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- Emergency strip ---------- */
.emergency-strip {
  background: var(--pine-950); color: #dfe9df;
  font-size: var(--size-sm); font-weight: 550;
}
.emergency-strip .container {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem 1.4rem;
  flex-wrap: wrap; padding-block: 0.5rem; text-align: center;
}
.emergency-strip .pulse-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #6fcf8e; flex: none;
  box-shadow: 0 0 0 0 rgba(111, 207, 142, 0.6); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(111, 207, 142, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(111, 207, 142, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 207, 142, 0); }
}
.emergency-strip a { color: #fff; font-weight: 700; text-decoration: none; }
.emergency-strip a:hover { color: var(--oak-300); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.site-header .container {
  display: flex; align-items: center; gap: 1.2rem;
  min-height: var(--header-h);
  max-width: 88rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; margin-right: auto; }
.brand svg { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; white-space: nowrap; }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.34rem;
  color: var(--pine-900); letter-spacing: 0.055em; text-transform: uppercase;
}
.brand-sub {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--oak-700); margin-top: 2px;
}

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem;
  color: var(--pine-900);
}
.nav-toggle svg { width: 28px; height: 28px; }

.site-nav ul { list-style: none; padding: 0; display: flex; align-items: center; gap: 0.15rem; }
.site-nav a, .site-nav button.nav-drop-btn {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.95rem; font-weight: 600; color: var(--ink-900);
  text-decoration: none; padding: 0.55rem 0.75rem; border-radius: 8px;
  background: none; border: 0; cursor: pointer; white-space: nowrap;
}
@media (min-width: 921px) and (max-width: 1320px) {
  .site-nav a, .site-nav button.nav-drop-btn { font-size: 0.87rem; padding: 0.5rem 0.5rem; }
  .site-header .container { gap: 0.8rem; }
}
.site-nav a:hover, .site-nav button.nav-drop-btn:hover { background: var(--pine-50); color: var(--pine-800); }
.site-nav .caret { width: 14px; height: 14px; transition: transform 0.15s ease; }

.nav-item--drop { position: relative; }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 1.1rem; min-width: 40rem;
  display: none; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
}
.nav-item--drop.is-open .nav-dropdown { display: grid; }
.nav-item--drop.is-open .caret { transform: rotate(180deg); }
.nav-group-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--oak-700); padding: 0 0.6rem 0.4rem; border-bottom: 1px solid var(--line);
  margin-bottom: 0.35rem;
}
.nav-dropdown ul { display: block; }
.nav-dropdown li { display: block; }
.nav-dropdown a { display: block; padding: 0.42rem 0.6rem; font-weight: 550; border-radius: 8px; white-space: nowrap; }
.nav-cta { display: flex; gap: 0.6rem; align-items: center; }
.nav-cta .btn { padding: 0.62rem 1.1rem; font-size: 0.92rem; }

@media (max-width: 1240px) {
  .nav-cta .btn--ghost { display: none; }
}
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); max-height: calc(100dvh - var(--header-h) - 2.4rem);
    overflow-y: auto;
  }
  .site-nav.is-open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.8rem 1rem 1.2rem; }
  .site-nav a, .site-nav button.nav-drop-btn { width: 100%; justify-content: space-between; padding: 0.8rem 0.75rem; font-size: 1.02rem; }
  .nav-dropdown {
    position: static; transform: none; min-width: 0; display: none;
    grid-template-columns: 1fr; box-shadow: none; border: 0;
    border-left: 3px solid var(--pine-100); border-radius: 0;
    margin: 0.2rem 0 0.4rem 0.9rem; padding: 0.2rem 0 0.2rem 0.4rem; gap: 0.5rem;
  }
  .nav-cta { display: none; }
}

/* ---------- Mobile sticky call bar ---------- */
.mobile-call-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: none; grid-template-columns: 1fr 1fr;
  box-shadow: 0 -6px 24px rgba(13, 31, 23, 0.22);
}
.mobile-call-bar a {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem 0.5rem calc(0.95rem + env(safe-area-inset-bottom));
  font-weight: 700; font-size: 0.98rem; text-decoration: none; color: #fff;
}
.mobile-call-bar a svg { width: 18px; height: 18px; }
.mobile-call-bar .call { background: var(--ember-700); }
.mobile-call-bar .estimate { background: var(--pine-800); }
@media (max-width: 760px) {
  .mobile-call-bar { display: grid; }
  body { padding-bottom: 3.6rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(70rem 34rem at 85% -10%, rgba(178, 126, 76, 0.18), transparent 60%),
    linear-gradient(168deg, var(--pine-800) 0%, var(--pine-900) 55%, var(--pine-950) 100%);
  color: #eef3ee;
}
.hero .container { position: relative; z-index: 2; padding-block: clamp(3.5rem, 9vw, 6.5rem); }
.hero-oaks {
  position: absolute; right: -4rem; bottom: -1rem; width: min(52rem, 70vw);
  opacity: 0.16; z-index: 1; pointer-events: none;
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
.hero h1 {
  font-size: var(--size-hero); color: #fff; font-weight: 700;
}
.hero h1 em { font-style: italic; color: var(--oak-300); }
.hero .lede { color: #ccd8cf; max-width: 36rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.6rem; }
.badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: var(--size-xs); font-weight: 650; letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e6ede6; border-radius: 999px; padding: 0.42rem 0.85rem;
}
.badge svg { width: 15px; height: 15px; color: var(--oak-300); }
.hero .btn-row { margin-top: 1.9rem; }
.hero-note { margin-top: 1.1rem; font-size: var(--size-sm); color: #a7b8ab; }
.hero-note svg { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; }
.hero-note a { color: #d3e0d5; }

.hero-card {
  background: #fff; color: var(--ink-900); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 1.7rem; max-width: 27rem; justify-self: end; width: 100%;
}
.hero-card h2 { font-size: 1.45rem; margin-bottom: 0.3rem; }
.hero-card .sub { color: var(--ink-600); font-size: var(--size-sm); margin-bottom: 1.1rem; }

/* Page hero (interior pages) */
.page-hero {
  background:
    radial-gradient(60rem 30rem at 100% -30%, rgba(178, 126, 76, 0.16), transparent 60%),
    linear-gradient(170deg, var(--pine-800), var(--pine-950));
  color: #edf2ed; position: relative; overflow: hidden;
}
.page-hero .container { position: relative; z-index: 2; padding-block: clamp(2.8rem, 6.5vw, 4.6rem); }
.page-hero h1 { color: #fff; max-width: 46rem; }
.page-hero .lede { color: #c9d6cc; max-width: 42rem; }
.page-hero .btn-row { margin-top: 1.6rem; }
.page-hero .hero-oaks { opacity: 0.12; }

/* Branch breadcrumbs: the trail grows greener as you go deeper, with a leaf
   on the page you're standing on. */
.breadcrumbs { font-size: var(--size-xs); margin-bottom: 1.2rem; color: #9fb3a4; }
.breadcrumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.5rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.4rem; }
.bc-twig { width: 24px; height: 13px; flex: none; opacity: 0.75; }
.bc-node { width: 12px; height: 12px; flex: none; }
.bc-node--leaf { width: 15px; height: 15px; }
.breadcrumbs a { color: #c3d2c6; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current] { color: #eef3e8; font-weight: 600; }

/* ---------- Trust bar ---------- */
.trust-bar { border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-bar .container {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem;
  padding-block: 1.3rem;
}
@media (min-width: 900px) { .trust-bar .container { grid-template-columns: repeat(5, 1fr); } }
.trust-item { display: flex; align-items: center; gap: 0.7rem; font-size: var(--size-sm); font-weight: 600; color: var(--ink-900); }
.trust-item svg { width: 26px; height: 26px; color: var(--pine-700); flex: none; }
.trust-item small { display: block; font-weight: 500; color: var(--ink-600); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex; flex-direction: column; gap: 0.65rem;
}
a.card { text-decoration: none; color: inherit; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: var(--pine-50); color: var(--pine-700);
  border: 1px solid var(--pine-100);
}
.card-icon svg { width: 27px; height: 27px; }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--ink-600); font-size: var(--size-sm); flex-grow: 1; }
.card .text-link { font-size: var(--size-sm); }
.card--flag { border-top: 4px solid var(--oak-500); }

/* ---------- Wizard (What happened?) ---------- */
.wizard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.wizard-options {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; padding: 1.4rem;
}
@media (min-width: 760px) { .wizard-options { grid-template-columns: repeat(3, 1fr); } }
.wizard-option {
  display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
  padding: 1.1rem 0.8rem; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--paper); cursor: pointer; font-weight: 650; font-size: 0.95rem;
  color: var(--ink-900); text-align: center;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}
.wizard-option svg { width: 30px; height: 30px; color: var(--pine-700); }
.wizard-option:hover { border-color: var(--pine-600); background: var(--pine-50); transform: translateY(-2px); }
.wizard-option[aria-pressed="true"] { border-color: var(--pine-700); background: var(--pine-100); }
.wizard-result { display: none; border-top: 1px solid var(--line); background: var(--cream); padding: 1.5rem 1.5rem 1.7rem; }
.wizard-result.is-active { display: block; }
.wizard-result h3 { margin-bottom: 0.4rem; }
.wizard-result .steps-mini { margin: 0.8rem 0 1.1rem; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.wizard-result .steps-mini li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: var(--size-sm); }
.wizard-result .steps-mini svg { width: 18px; height: 18px; color: var(--pine-700); flex: none; margin-top: 3px; }

/* ---------- Process timeline ---------- */
.process { counter-reset: step; display: grid; gap: 0; position: relative; }
.process-step {
  display: grid; grid-template-columns: 3.4rem 1fr; gap: 1.1rem;
  position: relative; padding-bottom: 1.9rem;
}
.process-step:last-child { padding-bottom: 0; }
.process-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  width: 3.4rem; height: 3.4rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--pine-50); color: var(--pine-800); border: 2px solid var(--pine-100);
  position: relative; z-index: 2;
}
.process-step::after {
  content: ""; position: absolute; left: 1.7rem; top: 3.4rem; bottom: 0;
  width: 2px; background: var(--pine-100); z-index: 1;
}
.process-step:last-child::after { display: none; }
.process-step h3 { font-size: 1.22rem; margin-bottom: 0.25rem; }
.process-step p { color: var(--ink-600); font-size: var(--size-sm); max-width: 42rem; }
.process-step .step-meta {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--oak-700); background: var(--oak-100);
  padding: 0.18rem 0.6rem; border-radius: 999px; margin-bottom: 0.45rem;
}
.section--dark .process-step::before { background: rgba(255,255,255,0.08); color: #e9efe9; border-color: rgba(255,255,255,0.16); }
.section--dark .process-step::after { background: rgba(255,255,255,0.14); }
.section--dark .process-step h3 { color: #f4f7f2; }
.section--dark .process-step p { color: #b9c9bd; }
.section--dark .process-step .step-meta { background: rgba(178,126,76,0.22); color: var(--oak-300); }

/* ---------- Claim flow chart ---------- */
.flow { position: relative; max-width: 62rem; margin-inline: auto; }
.flow-spine {
  position: absolute; top: 0.5rem; bottom: 0.5rem; left: 50%;
  border-left: 2px dashed rgba(201, 180, 140, 0.55); transform: translateX(-1px);
}
.flow ol { list-style: none; padding: 0; margin: 0; }
.flow-step { position: relative; width: calc(50% - 3.6rem); margin-bottom: 0.9rem; }
.flow-step--left { margin-right: auto; }
.flow-step--right { margin-left: auto; }
.flow-step::after {
  content: ""; position: absolute; top: 2.35rem; width: 2.4rem; height: 2px;
  background: rgba(201, 180, 140, 0.55);
}
.flow-step--left::after { right: -2.4rem; }
.flow-step--right::after { left: -2.4rem; }
.flow-card {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg); padding: 1.25rem 1.4rem;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.flow-step:hover .flow-card { transform: translateY(-2px); border-color: rgba(201, 180, 140, 0.45); }
.flow-card .step-meta { background: rgba(178, 126, 76, 0.24); color: var(--oak-300); margin-bottom: 0.5rem; }
.flow-card h3 { font-size: 1.3rem; color: #f4f7f2; margin-bottom: 0.35rem; }
.flow-card p { font-size: var(--size-sm); color: #b9c9bd; }
.flow-dot {
  position: absolute; top: 1.05rem; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center; z-index: 2;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  background: var(--oak-500); color: var(--pine-950);
  box-shadow: 0 0 0 5px var(--pine-900);
}
.flow-step--left .flow-dot { right: -4.9rem; }
.flow-step--right .flow-dot { left: -4.9rem; }
.flow-arrow {
  display: flex; justify-content: center; margin: 0 0 0.7rem;
  position: relative; z-index: 2;
}
.flow-arrow svg {
  width: 22px; height: 22px; color: var(--oak-300);
  background: var(--pine-900); border-radius: 50%; padding: 2px;
}
.flow-cap {
  position: relative; z-index: 2; width: max-content; max-width: 92%;
  margin: 0 auto 1.9rem; padding: 0.6rem 1.3rem; border-radius: 999px;
  font-weight: 700; font-size: var(--size-sm); text-align: center;
  background: var(--oak-500); color: var(--pine-950);
}
.flow-cap--end { margin-bottom: 0; background: #fff; color: var(--pine-900); }
.flow-arrowhead {
  position: relative; z-index: 2; width: 0; margin: 0 auto 0.9rem;
  border-left: 8px solid transparent; border-right: 8px solid transparent;
  border-top: 11px solid rgba(201, 180, 140, 0.85);
}
@media (max-width: 800px) {
  .flow-spine { left: 1.3rem; }
  .flow-step, .flow-step--left, .flow-step--right { width: auto; margin-left: 3.7rem; margin-right: 0; }
  .flow-step--left::after, .flow-step--right::after { left: -2.4rem; right: auto; }
  .flow-step--left .flow-dot, .flow-step--right .flow-dot { left: -3.7rem; right: auto; }
  .flow-cap { margin-left: 0; text-align: left; }
  .flow-arrow { justify-content: flex-start; padding-left: 0.62rem; }
  .flow-arrowhead { margin-left: 1.05rem; }
}

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.compare { width: 100%; border-collapse: collapse; background: #fff; min-width: 620px; }
.compare th, .compare td { padding: 1rem 1.2rem; text-align: left; vertical-align: top; font-size: var(--size-sm); }
.compare thead th { background: var(--pine-900); color: #fff; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.compare thead th:first-child { width: 34%; }
.compare tbody tr:nth-child(even) { background: var(--cream); }
.compare tbody th { font-weight: 650; color: var(--pine-900); }
.compare td.yes { color: var(--pine-800); font-weight: 550; }
.compare td.no { color: var(--ink-600); }
.compare td svg { width: 17px; height: 17px; vertical-align: -3px; margin-right: 0.4rem; }
.compare td.yes svg { color: var(--pine-600); }
.compare td.no svg { color: var(--ink-300); }
.compare thead th.hl { background: var(--pine-700); }

/* ---------- Before / After slider ---------- */
.ba-slider {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); aspect-ratio: 16 / 10; user-select: none; background: var(--pine-100);
}
.ba-pane { position: absolute; inset: 0; }
.ba-pane--after { clip-path: inset(0 0 0 50%); }
.ba-label {
  position: absolute; top: 0.9rem; z-index: 3; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: #fff;
  background: rgba(13, 31, 23, 0.72); padding: 0.3rem 0.7rem; border-radius: 999px;
}
.ba-label--before { left: 0.9rem; }
.ba-label--after { right: 0.9rem; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px;
  background: #fff; z-index: 2; box-shadow: 0 0 12px rgba(0,0,0,0.35);
}
.ba-handle::after {
  content: "↔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--pine-800);
  display: grid; place-items: center; font-size: 1.2rem; font-weight: 700;
  box-shadow: var(--shadow-md);
}
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0;
  cursor: ew-resize; z-index: 4; -webkit-appearance: none; appearance: none;
}
.ba-caption { margin-top: 0.7rem; font-size: var(--size-sm); color: var(--ink-600); }

/* ---------- Photo placeholders (swap with real job photos) ---------- */
.ph {
  display: grid; place-items: center; text-align: center; gap: 0.4rem;
  background:
    repeating-linear-gradient(45deg, rgba(36, 81, 64, 0.05) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, var(--pine-100), var(--pine-50));
  color: var(--pine-700); width: 100%; height: 100%; padding: 1rem;
  border: 1.5px dashed rgba(36, 81, 64, 0.35);
}
.ba-pane .ph { border: 0; }
.ph--warm {
  background:
    repeating-linear-gradient(45deg, rgba(138, 90, 46, 0.06) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, var(--oak-100), var(--cream));
  color: var(--oak-700); border-color: rgba(138, 90, 46, 0.35);
}
.ph svg { width: 34px; height: 34px; opacity: 0.75; }
.ph span { font-size: 0.78rem; font-weight: 650; letter-spacing: 0.04em; max-width: 22rem; }
.ph-frame { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); }
.ph-frame--wide { aspect-ratio: 16 / 9; }
.ph-frame--tall { aspect-ratio: 3 / 4; }

/* ---------- Feature split ---------- */
.split { display: grid; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center; }
@media (min-width: 920px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--flip > :first-child { order: 2; }
}
.split h2 { margin-bottom: 0.8rem; }
.split .checklist { margin-top: 1.1rem; }

.checklist { list-style: none; padding: 0; display: grid; gap: 0.65rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; }
.checklist svg { width: 21px; height: 21px; color: var(--pine-600); flex: none; margin-top: 3px; }
.checklist strong { color: var(--pine-900); }
.section--dark .checklist strong { color: #f4f7f2; }
.section--dark .checklist svg { color: var(--oak-300); }
.section--dark .checklist li { color: #c9d6cc; }

/* ---------- Stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 760px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sm); }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--pine-800); line-height: 1.1; }
.stat .num em { font-style: normal; color: var(--oak-500); }
.stat .label { font-size: var(--size-xs); font-weight: 600; color: var(--ink-600); margin-top: 0.3rem; }
.section--dark .stat { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.section--dark .stat .num { color: #fff; }
.section--dark .stat .label { color: #adc0b1; }

/* ---------- Reviews ---------- */
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 0.8rem; }
.stars { display: inline-flex; gap: 2px; color: var(--oak-500); }
.stars svg { width: 18px; height: 18px; }
.review-card blockquote { font-size: var(--size-sm); color: var(--ink-600); font-style: italic; }
.review-card .who { display: flex; align-items: center; gap: 0.7rem; margin-top: auto; }
.review-card .avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: var(--pine-100); color: var(--pine-800);
  display: grid; place-items: center; font-weight: 700; font-size: 0.95rem;
}
.review-card .who strong { display: block; font-size: var(--size-sm); }
.review-card .who span { font-size: var(--size-xs); color: var(--ink-600); }
.placeholder-note {
  font-size: var(--size-xs); font-weight: 650; color: var(--oak-700);
  background: var(--oak-100); border: 1px dashed var(--oak-500);
  border-radius: 8px; padding: 0.5rem 0.8rem; display: inline-block;
}

/* ---------- Area map ---------- */
.area-map-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(1rem, 3vw, 2rem); }
.area-map-wrap svg { width: 100%; height: auto; }
.city-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; list-style: none; padding: 0; margin-top: 0.4rem; }
@media (min-width: 560px) { .city-links { grid-template-columns: repeat(3, 1fr); } }
.city-links a {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0.8rem;
  border: 1px solid var(--line); border-radius: 10px; text-decoration: none;
  font-weight: 600; font-size: var(--size-sm); color: var(--ink-900); background: #fff;
}
.city-links a:hover { border-color: var(--pine-600); background: var(--pine-50); color: var(--pine-800); }
.city-links svg { width: 15px; height: 15px; color: var(--oak-500); flex: none; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.8rem; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem;
  align-items: center; padding: 1.05rem 1.3rem; font-weight: 650; color: var(--pine-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .faq-icon {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--pine-50); color: var(--pine-800);
  font-weight: 700; transition: transform 0.2s ease;
}
.faq details[open] summary .faq-icon { transform: rotate(45deg); background: var(--pine-100); }
.faq .faq-body { padding: 0 1.3rem 1.2rem; color: var(--ink-600); font-size: var(--size-sm); }
.faq .faq-body a { font-weight: 600; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(1.4rem, 3vw, 2rem); }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-size: var(--size-xs); font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-600); margin-bottom: 0.35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 0.95rem; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--paper); font-size: 1rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--pine-600); box-shadow: 0 0 0 3px var(--pine-100);
}
.field textarea { min-height: 7rem; resize: vertical; }
.form-note { font-size: var(--size-xs); color: var(--ink-600); }
.form-status { display: none; margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: 10px; font-size: var(--size-sm); font-weight: 550; }
.form-status.is-ok { display: block; background: var(--pine-100); color: var(--pine-900); }
.form-status.is-err { display: block; background: var(--ember-100); color: var(--ember-700); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(50rem 26rem at 12% 120%, rgba(178, 126, 76, 0.2), transparent 60%),
    linear-gradient(172deg, rgba(24, 30, 13, 0.86) 0%, rgba(13, 18, 8, 0.93) 100%),
    url("/assets/cta-oaks.jpg") center 40% / cover no-repeat,
    var(--pine-950);
  color: #fff; position: relative; overflow: hidden;
}
.cta-band .container { position: relative; z-index: 2; padding-block: clamp(3rem, 6vw, 4.5rem); text-align: center; }
.cta-band h2 { color: #fff; max-width: 42rem; margin-inline: auto; }
.cta-band p { color: #c9d6cc; max-width: 38rem; margin: 0.9rem auto 0; }
.cta-band .btn-row { justify-content: center; margin-top: 1.8rem; }
.cta-band .hero-oaks { opacity: 0.1; }

/* ---------- Brand plate (real logo art on letterpress cream) ---------- */
.brand-plate {
  background: radial-gradient(120% 120% at 50% 0%, #f7f3e8, var(--cream));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: clamp(1rem, 3vw, 1.8rem);
  display: grid; gap: 0.6rem; justify-items: center;
}
.brand-plate img { max-width: min(24rem, 100%); height: auto; mix-blend-mode: multiply; }
.brand-plate figcaption { font-size: var(--size-xs); color: var(--ink-600); text-align: center; }

/* ---------- Oak divider ---------- */
.oak-divider { display: flex; align-items: center; justify-content: center; gap: 0.9rem; color: var(--oak-500); padding-block: 0.4rem; }
.oak-divider::before, .oak-divider::after { content: ""; height: 1px; flex: 0 1 7rem; background: linear-gradient(to var(--dir, right), transparent, var(--oak-300)); }
.oak-divider::before { --dir: right; }
.oak-divider::after { --dir: left; }
.oak-divider svg { width: 22px; height: 22px; }

/* ---------- Article / prose ---------- */
.prose { max-width: 46rem; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.4rem; font-size: 1.65rem; }
.prose h3 { margin-top: 1.8rem; font-size: 1.25rem; }
.prose ul, .prose ol { display: grid; gap: 0.45rem; }
.prose blockquote {
  border-left: 3px solid var(--oak-500); background: var(--cream);
  padding: 1rem 1.3rem; border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--ink-600);
}
.callout {
  border: 1px solid var(--pine-100); border-left: 4px solid var(--pine-700);
  background: var(--pine-50); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.3rem; font-size: var(--size-sm);
}
.callout svg { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -0.15em; }
.callout--warn { border-color: var(--oak-100); border-left-color: var(--ember-700); background: var(--ember-100); }
.callout strong { color: var(--pine-900); }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; font-size: var(--size-xs); color: var(--ink-600); font-weight: 600; }
.article-meta svg { width: 15px; height: 15px; display: inline-block; vertical-align: -3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-950); color: #b9c9bd; font-size: var(--size-sm); }
.footer-cta-rule { height: 4px; background: linear-gradient(to right, var(--oak-700), var(--oak-500), var(--oak-700)); }
.footer-main { display: grid; gap: 2.2rem; padding-block: clamp(2.5rem, 6vw, 4rem); }
@media (min-width: 860px) { .footer-main { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand svg { height: 52px; width: auto; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 0.9rem; max-width: 20rem; }
.footer-tagline { font-family: var(--font-display); font-style: italic; color: var(--oak-300); font-size: 1.05rem; margin-top: 0.8rem; }
.site-footer h4 { color: #fff; font-size: 0.95rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.site-footer a { color: #b9c9bd; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--oak-500); flex: none; margin-top: 4px; }
.footer-contact .phone-big { font-size: 1.15rem; font-weight: 700; color: #fff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.1); padding-block: 1.3rem; font-size: var(--size-xs); color: #86997f; }
.footer-legal .container { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; justify-content: space-between; }
.footer-legal a { color: #a7b8ab; }

/* ==========================================================================
   WOW layer: cinematic hero, entrance choreography, scroll reveals,
   transparent header, letterpress grain, micro-interactions.
   All transform/opacity animation. Fully disabled under reduced motion.
   ========================================================================== */

/* ---------- Letterpress grain over everything ---------- */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 80; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 160px 160px; opacity: 0.05; mix-blend-mode: soft-light;
}

/* ---------- Full-viewport hero stage ---------- */
.hero {
  min-height: clamp(600px, 94svh, 980px);
  display: flex; align-items: center;
  background:
    radial-gradient(70rem 34rem at 85% -10%, rgba(178, 126, 76, 0.14), transparent 60%),
    linear-gradient(180deg, #151a0d 0%, #222a14 36%, #39411f 74%, #2c3517 100%);
}
.hero .container { position: relative; z-index: 5; width: 100%; padding-block: clamp(6rem, 13vh, 9rem) clamp(6.5rem, 15vh, 10rem); }
.hero h1 { text-shadow: 0 2px 26px rgba(8, 11, 4, 0.45); }
.hero .lede { color: #d3ddd0; text-shadow: 0 1px 14px rgba(8, 11, 4, 0.45); }

/* ---------- Storm scene: cinematic photograph + effects ---------- */
.storm { position: absolute; inset: 0; overflow: hidden; z-index: 1; background: #171d10; }
.hero-photo-wrap { position: absolute; inset: -5% 0 -3% 0; z-index: 1; }
.hero-photo {
  width: 100%; height: 100%; object-fit: cover; object-position: 68% 38%;
  animation: kenBurns 38s ease-in-out infinite alternate;
  transform-origin: 60% 45%;
}
@keyframes kenBurns { from { transform: scale(1); } to { transform: scale(1.08); } }
.storm::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 18, 8, 0.66) 0%, rgba(13, 18, 8, 0.22) 20%, transparent 42%),
    linear-gradient(96deg, rgba(13, 18, 8, 0.78) 0%, rgba(13, 18, 8, 0.45) 36%, rgba(13, 18, 8, 0.1) 60%, transparent 74%),
    linear-gradient(0deg, rgba(18, 23, 10, 0.6) 0%, rgba(18, 23, 10, 0.18) 22%, transparent 40%);
}
.storm-flash {
  position: absolute; inset: 0; z-index: 4; opacity: 0; pointer-events: none;
  background: radial-gradient(44rem 22rem at 70% 6%, rgba(226, 233, 214, 0.4), transparent 60%);
  animation: stormFlash 17s linear infinite 7s;
}
@keyframes stormFlash {
  0%, 86.5%, 100% { opacity: 0; }
  87% { opacity: 0.4; }
  87.6% { opacity: 0.05; }
  88.2% { opacity: 0.5; }
  89.5% { opacity: 0; }
}
@keyframes dawnBreathe { from { opacity: 0.75; } to { opacity: 1; } }
.storm-motes { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.storm-motes i {
  position: absolute; bottom: 6%; width: 5px; height: 5px; border-radius: 50%;
  background: #ead9a8; box-shadow: 0 0 12px 3px rgba(234, 217, 168, 0.5);
  opacity: 0; animation: moteRise 14s linear infinite;
}
.storm-motes i:nth-child(1) { left: 8%;  animation-duration: 15s; animation-delay: 0s; }
.storm-motes i:nth-child(2) { left: 21%; animation-duration: 18s; animation-delay: 3s; width: 4px; height: 4px; }
.storm-motes i:nth-child(3) { left: 34%; animation-duration: 13s; animation-delay: 7s; }
.storm-motes i:nth-child(4) { left: 47%; animation-duration: 19s; animation-delay: 1.5s; width: 3px; height: 3px; }
.storm-motes i:nth-child(5) { left: 60%; animation-duration: 16s; animation-delay: 5s; }
.storm-motes i:nth-child(6) { left: 72%; animation-duration: 14s; animation-delay: 9s; width: 4px; height: 4px; }
.storm-motes i:nth-child(7) { left: 84%; animation-duration: 17s; animation-delay: 2.5s; }
.storm-motes i:nth-child(8) { left: 93%; animation-duration: 15s; animation-delay: 11s; width: 3px; height: 3px; }
@keyframes moteRise {
  0% { opacity: 0; transform: translate(0, 0); }
  12% { opacity: 0.55; }
  55% { opacity: 0.35; transform: translate(14px, -34vh); }
  100% { opacity: 0; transform: translate(-6px, -58vh); }
}
.hero-curve { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(44px, 6vw, 80px); z-index: 6; }
.scroll-cue {
  position: absolute; left: 50%; bottom: clamp(64px, 9vh, 110px); transform: translateX(-50%);
  z-index: 7; opacity: 0.85; transition: opacity 0.3s ease;
}
.scroll-cue span {
  display: block; width: 22px; height: 22px;
  border-right: 2px solid #d8c79a; border-bottom: 2px solid #d8c79a;
  transform: rotate(45deg); animation: cueBob 2s ease-in-out infinite;
}
.scroll-cue.gone { opacity: 0; pointer-events: none; }
@keyframes cueBob { 0%, 100% { transform: rotate(45deg) translate(0, 0); } 50% { transform: rotate(45deg) translate(6px, 6px); } }
@media (max-width: 760px) { .scroll-cue { display: none; } }
@media (max-width: 760px) {
  .hero-photo { object-position: 60% 42%; }
  .storm-motes i:nth-child(n+6) { display: none; }
}

/* ---------- Hand-drawn underline on the hero emphasis ---------- */
.uline { position: relative; display: inline-block; }
.uline svg { position: absolute; left: 0; bottom: -0.1em; width: 100%; height: 0.3em; overflow: visible; }
.uline path {
  fill: none; stroke: var(--oak-500); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 120; stroke-dashoffset: 120;
}

/* ---------- Entrance choreography + scroll reveals (motion-safe only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero .kicker, .hero h1, .hero .lede, .hero .hero-badges,
  .hero .btn-row, .hero .hero-note, .hero .hero-card {
    opacity: 0; transform: translateY(28px);
    animation: riseIn 0.95s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  }
  .hero .kicker { animation-delay: 0.12s; }
  .hero h1 { animation-delay: 0.26s; }
  .hero .lede { animation-delay: 0.42s; }
  .hero .hero-badges { animation-delay: 0.56s; }
  .hero .btn-row { animation-delay: 0.68s; }
  .hero .hero-note { animation-delay: 0.82s; }
  .hero .hero-card { animation-delay: 0.5s; transform: translateY(36px) scale(0.975); }
  .uline path { animation: ulineDraw 0.7s ease 1.2s forwards; }
  .rv {
    opacity: 0; transform: translateY(26px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--rvd, 0s);
  }
  .rv.in { opacity: 1; transform: none; }
  .ba-slider.in .ba-handle { animation: baNudge 1.3s ease 0.5s 1; }
}
@keyframes riseIn { to { opacity: 1; transform: none; } }
@keyframes ulineDraw { to { stroke-dashoffset: 0; } }
@keyframes baNudge {
  0%, 100% { transform: translateX(0); }
  35% { transform: translateX(18px); }
  70% { transform: translateX(-12px); }
}

/* ---------- Transparent header over dark heroes ---------- */
.site-header { transition: background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease; }
.brand-logo { display: inline-flex; }
.brand-logo--dark { display: none; }
body.has-dark-hero .site-header { margin-bottom: calc(-1 * var(--header-h)); }
body.has-dark-hero .page-hero .container { padding-top: calc(var(--header-h) + clamp(2rem, 4.5vw, 3.2rem)); }
body.has-dark-hero .site-header:not(.is-stuck):not(.menu-open) {
  background: transparent; border-bottom-color: transparent; backdrop-filter: none;
}
body.has-dark-hero .site-header:not(.is-stuck):not(.menu-open) .brand-logo--light { display: none; }
body.has-dark-hero .site-header:not(.is-stuck):not(.menu-open) .brand-logo--dark { display: inline-flex; }
body.has-dark-hero .site-header:not(.is-stuck):not(.menu-open) .brand-name { color: #f4f2e8; }
body.has-dark-hero .site-header:not(.is-stuck):not(.menu-open) .brand-sub { color: var(--oak-300); }
body.has-dark-hero .site-header:not(.is-stuck):not(.menu-open) .site-nav a,
body.has-dark-hero .site-header:not(.is-stuck):not(.menu-open) .site-nav button.nav-drop-btn { color: #edf2ea; }
body.has-dark-hero .site-header:not(.is-stuck):not(.menu-open) .site-nav a:hover,
body.has-dark-hero .site-header:not(.is-stuck):not(.menu-open) .site-nav button.nav-drop-btn:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
body.has-dark-hero .site-header:not(.is-stuck):not(.menu-open) .nav-dropdown a { color: var(--ink-900); }
body.has-dark-hero .site-header:not(.is-stuck):not(.menu-open) .nav-dropdown a:hover { background: var(--pine-50); color: var(--pine-800); }
body.has-dark-hero .site-header:not(.is-stuck):not(.menu-open) .nav-toggle { color: #f4f2e8; }
body.has-dark-hero .site-header:not(.is-stuck):not(.menu-open) .btn--ghost { border-color: rgba(255, 255, 255, 0.55); color: #f4f2e8; }
body.has-dark-hero .site-header:not(.is-stuck):not(.menu-open) .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ---------- Micro-interactions ---------- */
.btn { position: relative; overflow: hidden; }
.btn::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -45%; width: 38%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg); transition: left 0.55s ease; pointer-events: none;
}
.btn:hover::before { left: 125%; }
.hero-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.hero-card:hover { transform: translateY(-5px); box-shadow: 0 10px 24px rgba(13, 18, 8, 0.28), 0 34px 70px rgba(13, 18, 8, 0.34); }
.card:hover .card-icon { background: var(--pine-100); transform: scale(1.06) rotate(-3deg); }
.card-icon { transition: transform 0.25s ease, background-color 0.25s ease; }
.cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(46rem 24rem at 50% 130%, rgba(216, 168, 86, 0.2), transparent 65%);
  animation: dawnBreathe 8s ease-in-out infinite alternate;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(56rem 11rem at 18% 22%, rgba(240, 244, 228, 0.05), transparent 60%),
    radial-gradient(48rem 9rem at 78% 34%, rgba(240, 244, 228, 0.04), transparent 60%);
  animation: skyShift 70s ease-in-out infinite alternate;
}
@keyframes skyShift { to { transform: translateX(-4%); } }

/* ---------- The oak journey (homepage) ---------- */
.oak-joint {
  display: flex; justify-content: center;
  height: 72px; margin: -36px 0; position: relative; z-index: 4;
  pointer-events: none;
}
.oak-joint svg { width: 120px; height: 72px; }
.oak-joint--flip svg { transform: scaleX(-1); }
.oak-home .kicker::before {
  width: 17px; height: 17px; background: none; border-radius: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.5 2.5 C 8 2.8 4.2 5.8 3 11.4 C 8.6 12.4 12.4 9 13.5 2.5 Z' fill='%235e6b30'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}
.oak-home .section--dark .kicker::before, .oak-home .roots-band .kicker::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.5 2.5 C 8 2.8 4.2 5.8 3 11.4 C 8.6 12.4 12.4 9 13.5 2.5 Z' fill='%23c9b48c'/%3E%3C/svg%3E");
}
.oak-home .card { position: relative; }
.oak-home .card .card-icon { position: relative; }
.oak-home .card .card-icon::after {
  content: ""; position: absolute; top: -7px; right: -7px; width: 15px; height: 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.5 2.5 C 8 2.8 4.2 5.8 3 11.4 C 8.6 12.4 12.4 9 13.5 2.5 Z' fill='%2397c459'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
  opacity: 0; transform: scale(0.4) rotate(-30deg); transform-origin: bottom left;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.oak-home .card:hover .card-icon::after { opacity: 1; transform: scale(1) rotate(0deg); }

/* Roots finale */
.roots-band {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, var(--pine-900) 0%, var(--pine-950) 55%, #0c0f07 100%);
  text-align: center;
}
.roots-band .container { position: relative; z-index: 2; padding-block: clamp(3.5rem, 8vw, 6rem); }
.roots-band h2 { color: #fff; max-width: 40rem; margin-inline: auto; }
.roots-band .roots-motto {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem); color: var(--oak-300);
  margin-top: 1.1rem;
}
.roots-band p:not(.roots-motto):not(.kicker) { color: #b9c9bd; max-width: 38rem; margin: 0.8rem auto 0; }
.roots-band .btn-row { justify-content: center; margin-top: 2rem; }
.roots-art { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 100%; z-index: 1; opacity: 0.5; }
.roots-band + footer .footer-cta-rule, .roots-band ~ .site-footer .footer-cta-rule { background: linear-gradient(to right, transparent, var(--oak-700), transparent); }
@media (max-width: 760px) {
  .oak-joint { height: 56px; margin: -28px 0; }
  .oak-joint svg { width: 94px; height: 56px; }
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.6rem; } .mt-4 { margin-top: 2.4rem; }
.muted { color: var(--ink-600); }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
