/* ============================================================
   Summit Ridge Tree Service — "Ridge & Canopy" design system
   Cinematic scroll-story · editorial serif/sans collision ·
   warm paper / deep pine / amber. Mobile-first, no frameworks.
   ============================================================ */

:root {
  --pine-950: #0a2015;
  --pine-900: #0d281c;
  --pine-800: #143823;
  --moss-700: #1e4d33;
  --moss-600: #2e7d4f;
  --paper: #f7f3e8;
  --paper-deep: #efe8d5;
  --card: #fffdf7;
  --ink: #211c14;
  --muted: #5f594c;
  --line: #ddd2b8;
  --amber: #e0952b;
  --amber-deep: #b96f14;
  --amber-ink: #241a08;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(13, 40, 28, 0.08), 0 6px 18px rgba(13, 40, 28, 0.08);
  --shadow-md: 0 2px 8px rgba(13, 40, 28, 0.1), 0 20px 44px rgba(13, 40, 28, 0.16);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --header-h: 78px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 { margin: 0 0 0.55em; }
p { margin: 0 0 1em; }
a { color: var(--moss-700); }

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

.container { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: 24px; }
.section { padding: 76px 0; scroll-margin-top: calc(var(--header-h) + 12px); }
.band-dark { background: var(--pine-950); color: #efe9d6; }
.band-dark h2, .band-dark h3 { color: #fff; }

/* section masthead: mono number + eyebrow + serif title */
.sec-head { max-width: 780px; margin-bottom: 46px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-no {
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.22em;
  color: var(--amber-deep); display: block; margin-bottom: 14px;
}
.band-dark .sec-no { color: var(--amber); }
.sec-eyebrow {
  font-family: var(--font-sans); font-weight: 800; font-size: 0.8rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--moss-700);
  margin: 0 0 10px;
}
.band-dark .sec-eyebrow { color: #ffd9a0; }
.sec-title {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em;
  font-size: clamp(2rem, 4.6vw + 0.6rem, 3.4rem); line-height: 1.04; color: var(--pine-950);
}
.band-dark .sec-title { color: #fff; }
.sec-title em { font-style: italic; color: var(--moss-700); }
.band-dark .sec-title em { color: var(--amber); }
.sec-lede { font-size: 1.13rem; color: var(--muted); max-width: 44rem; }
.band-dark .sec-lede { color: #c9c4ae; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 15px 30px; border-radius: 10px;
  font-family: var(--font-sans); font-weight: 800; font-size: 1.02rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--pine-800); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--pine-950); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--amber); color: var(--amber-ink); box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: #f0a83c; box-shadow: var(--shadow-md); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.7); color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.14); }
.btn-sm { min-height: 46px; padding: 10px 20px; font-size: 0.94rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--pine-950); color: #fff; padding: 10px 18px; border-radius: 8px;
  text-decoration: none; transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 243, 232, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 28px rgba(10, 32, 21, 0.14); }
.header-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: var(--header-h); padding-top: 10px; padding-bottom: 10px;
  transition: min-height 0.25s ease;
}
.site-header.scrolled .header-inner { min-height: 64px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 12px; flex: none; background: var(--pine-800);
  display: inline-flex; align-items: center; justify-content: center;
}
.brand-mark svg { width: 29px; height: 29px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.02; }
.brand-name strong { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; letter-spacing: 0.01em; color: var(--pine-950); }
.brand-name span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.3em; color: var(--moss-700); }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: inline-block; padding: 10px 15px; border-radius: 8px;
  font-weight: 700; font-size: 0.97rem; color: var(--ink); text-decoration: none;
}
.main-nav a:hover { background: #e9e1c8; color: var(--pine-900); }

.header-contact { display: none; align-items: center; gap: 16px; margin-left: auto; }
.header-phone { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; color: var(--pine-950); text-decoration: none; font-size: 1.02rem; font-family: var(--font-mono); letter-spacing: 0.01em; }
.header-phone:hover { color: var(--moss-700); }
.header-phone svg { width: 20px; height: 20px; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 50px; height: 50px; padding: 12px;
  background: var(--pine-800); border: 0; border-radius: 12px; cursor: pointer;
}
.nav-toggle span { display: block; height: 3px; border-radius: 2px; background: #fff; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--paper); padding: 8px 24px 20px; }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a.nav-link {
  display: block; padding: 14px 4px; font-weight: 800; font-size: 1.12rem;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 16px; }

/* ---------- Hero: sticky scroll-story ---------- */
.hero { position: relative; isolation: isolate; color: #fff; overflow: clip; min-height: 100svh; display: flex; align-items: flex-end; }
.hero-bg { position: absolute; inset: -12% 0; z-index: -2; background: var(--pine-950); will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 32, 21, 0.62) 0%, rgba(10, 32, 21, 0.38) 42%, rgba(10, 32, 21, 0.88) 100%);
}
.hero-inner { padding: 130px 0 90px; width: 100%; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.26em;
  color: #ffd9a0; text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.32); border-radius: 999px;
  padding: 10px 18px; margin-bottom: 26px; background: rgba(10, 32, 21, 0.42);
}
.hero-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.hero h1 {
  font-family: var(--font-display); font-weight: 550; color: #fff;
  font-size: clamp(2.9rem, 8.4vw, 6.2rem); line-height: 0.98; letter-spacing: -0.02em;
  max-width: 14ch; margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: #ffcf87; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw + 0.7rem, 1.3rem); line-height: 1.6; color: #f0ebda; max-width: 38rem; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }
.hero-trustline { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.97rem; color: #ffe3b8; margin: 0; }
.hero-trustline svg { width: 20px; height: 20px; flex: none; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.hero-chips li {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 700;
  border-bottom: 2px solid var(--amber); padding-bottom: 3px; color: #fff;
}
.scroll-cue {
  position: absolute; right: 28px; bottom: 34px; z-index: 2;
  display: none; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.3em; color: #ffe3b8;
  writing-mode: vertical-rl;
}
.scroll-cue::after { content: ""; width: 2px; height: 56px; background: linear-gradient(var(--amber), transparent); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.5; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------- Ledger trust band ---------- */
.ledger { background: var(--pine-950); color: #efe9d6; border-block: 1px solid #000; }
.ledger-row { display: grid; grid-template-columns: 1fr 1fr; }
.ledger-item { padding: 26px 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.ledger-item:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.14); }
.ledger-item .k { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.24em; color: var(--amber); display: block; margin-bottom: 8px; }
.ledger-item strong { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; color: #fff; display: block; line-height: 1.25; }
.ledger-item small { color: #b9b39c; font-size: 0.87rem; }

/* ---------- Services index (editorial rows, not cards) ---------- */
.svc-index { border-top: 2px solid var(--pine-950); margin-top: 8px; }
.svc-row {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  padding: 30px 6px; border-bottom: 2px solid var(--pine-950); text-decoration: none; color: inherit;
  transition: background 0.2s ease, padding 0.25s ease;
}
.svc-row:hover { background: #fffdf7; }
.svc-no { font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.1em; color: var(--amber-deep); }
.svc-name { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.05; color: var(--pine-950); margin: 0 0 6px; transition: transform 0.25s ease; }
.svc-row:hover .svc-name { transform: translateX(10px); }
.svc-desc { display: block; margin: 0; color: var(--muted); font-size: 0.99rem; max-width: 40rem; }
.svc-thumb {
  width: 120px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; flex: none;
  box-shadow: var(--shadow-sm);
}
.svc-arrow {
  display: none; width: 58px; height: 58px; border-radius: 50%; flex: none;
  border: 2px solid var(--pine-800); color: var(--pine-800);
  align-items: center; justify-content: center; transition: background 0.2s ease, color 0.2s ease, transform 0.25s ease;
}
.svc-row:hover .svc-arrow { background: var(--pine-800); color: #fff; transform: rotate(-45deg); }
.svc-arrow svg { width: 24px; height: 24px; }
.svc-reveal-img { display: none; }

/* ---------- Feature split (asymmetric editorial) ---------- */
.feature-grid { display: grid; gap: 0; align-items: stretch; }
.feature-media { position: relative; min-height: 340px; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-tag {
  position: absolute; top: 22px; left: 22px; z-index: 2;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.22em;
  background: var(--amber); color: var(--amber-ink); font-weight: 700;
  padding: 9px 16px; border-radius: 999px;
}
.feature-body { background: var(--pine-900); padding: 52px 34px; }
.feature-body h2 { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.05; }
.feature-body p { color: #cfc9b2; }
.feature-list { list-style: none; margin: 24px 0 30px; padding: 0; display: grid; gap: 13px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: #ece7d2; font-size: 0.99rem; }
.feature-list svg { width: 22px; height: 22px; flex: none; color: var(--amber); margin-top: 3px; }

/* ---------- Why: ghost numerals ---------- */
.why-grid { display: grid; gap: 0; border-top: 2px solid var(--pine-950); margin-top: 10px; }
.why-cell { position: relative; padding: 38px 28px 34px; border-bottom: 2px solid var(--pine-950); overflow: hidden; }
.why-cell .ghost {
  position: absolute; right: 6px; top: -24px; font-family: var(--font-display); font-weight: 700;
  font-size: 7.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--line);
  pointer-events: none; user-select: none;
}
.why-cell h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--pine-950); margin-bottom: 8px; }
.why-cell p { color: var(--muted); margin: 0; font-size: 0.99rem; max-width: 24rem; }

/* ---------- Process timeline ---------- */
.timeline { display: grid; gap: 26px; margin-top: 12px; }
.t-step { display: grid; grid-template-columns: 84px 1fr; gap: 20px; align-items: start; }
.t-no {
  font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--amber-deep);
}
.t-step h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: #fff; margin-bottom: 6px; }
.t-step p { color: #c9c4ae; margin: 0; font-size: 0.99rem; max-width: 34rem; }
.process-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Before / After slider (signature) ---------- */
.ba-shell { margin-top: 14px; }
.ba-wrap {
  position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3; background: var(--pine-900); touch-action: pan-y;
  --pos: 50%;
}
.ba-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { position: absolute; inset: 0; width: var(--pos); overflow: hidden; border-right: 3px solid #fff; }
.ba-before img { max-width: none; }
.ba-handle {
  position: absolute; top: 50%; left: var(--pos); z-index: 3;
  width: 58px; height: 58px; border-radius: 50%; background: #fff; color: var(--pine-900);
  border: 3px solid var(--pine-900); transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center; cursor: ew-resize;
  box-shadow: var(--shadow-md);
}
.ba-handle svg { width: 26px; height: 26px; }
.ba-label {
  position: absolute; bottom: 16px; z-index: 2;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; font-weight: 700;
  background: rgba(10, 32, 21, 0.85); color: #fff; padding: 8px 14px; border-radius: 999px;
  pointer-events: none;
}
.ba-label.left { left: 16px; }
.ba-label.right { right: 16px; }
.ba-note { margin-top: 18px; font-size: 0.9rem; color: var(--muted); max-width: 46rem; }
.ba-types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
.ba-type {
  border: 2px solid var(--pine-950); border-radius: var(--radius); padding: 18px;
  font-weight: 800; font-family: var(--font-display); font-size: 1.08rem; color: var(--pine-950);
  background: var(--card); display: flex; align-items: center; gap: 12px;
}
.ba-type svg { width: 22px; height: 22px; color: var(--moss-700); flex: none; }

/* ---------- Areas: echo text ---------- */
.areas-echo {
  font-family: var(--font-display); font-weight: 800; text-align: center;
  font-size: clamp(2.6rem, 11vw, 9rem); line-height: 0.95; letter-spacing: 0.01em;
  color: transparent; -webkit-text-stroke: 2px var(--moss-700); opacity: 0.5;
  margin: 6px 0 30px; user-select: none; white-space: nowrap; overflow: hidden;
}
.areas-wrap { display: grid; gap: 34px; align-items: start; }
.city-chips { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0 0 26px; padding: 0; }
.city-chips li {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--card); border: 2px solid var(--pine-950); border-radius: 999px;
  padding: 11px 19px; font-weight: 800; font-size: 0.95rem; box-shadow: 3px 3px 0 var(--pine-950);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.city-chips li:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--pine-950); }
.city-chips svg { width: 17px; height: 17px; color: var(--moss-700); }
.areas-note { font-size: 0.9rem; color: var(--muted); margin-bottom: 28px; max-width: 40rem; }
.areas-card { background: var(--pine-900); color: #ece8d8; border-radius: 18px; padding: 38px 32px; box-shadow: var(--shadow-md); }
.areas-card h3 { color: #fff; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.areas-card p { color: #cfc9b2; font-size: 0.97rem; }
.areas-card ul { list-style: none; margin: 20px 0 26px; padding: 0; display: grid; gap: 11px; }
.areas-card li { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 0.96rem; }
.areas-card li svg { width: 19px; height: 19px; color: var(--amber); flex: none; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 0; border-top: 2px solid var(--pine-950); }
.faq-item { border-bottom: 2px solid var(--pine-950); }
.faq-h { margin: 0; font-size: inherit; font-weight: inherit; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 24px 4px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--pine-950);
}
.faq-q .faq-icon {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  border: 2px solid var(--pine-800); color: var(--pine-800);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease, background 0.2s ease, color 0.2s ease;
}
.faq-q .faq-icon svg { width: 18px; height: 18px; }
.faq-item.open .faq-icon { transform: rotate(135deg); background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.32s ease; }
.faq-a p { padding: 0 4px 26px; margin: 0; color: var(--muted); font-size: 1rem; max-width: 44rem; }

/* ---------- Final CTA ---------- */
.final-cta { position: relative; isolation: isolate; color: #fff; overflow: clip; }
.final-cta .hero-bg img { object-position: center 42%; }
.final-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,32,21,0.84), rgba(10,32,21,0.66)); }
.final-cta-inner { padding: 110px 0; text-align: center; max-width: 760px; margin-inline: auto; }
.final-cta-inner h2 { font-family: var(--font-display); font-weight: 550; font-size: clamp(2.2rem, 5.4vw, 4rem); line-height: 1.02; color: #fff; }
.final-cta-inner h2 em { font-style: italic; color: #ffcf87; }
.final-cta-inner p { color: #f0ebda; font-size: 1.16rem; margin-bottom: 32px; }
.final-cta-inner .hero-ctas { justify-content: center; }

/* ---------- Quote form ---------- */
.form-shell { background: var(--card); border: 2px solid var(--pine-950); border-radius: 20px; box-shadow: 8px 8px 0 var(--pine-950); overflow: hidden; margin-top: 46px; display: grid; }
.form-aside { background: var(--pine-900); color: #ece8d8; padding: 42px 34px; }
.form-aside .mono-k { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.24em; color: var(--amber); display: block; margin-bottom: 12px; }
.form-aside h3 { color: #fff; font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; margin-bottom: 10px; }
.form-aside p { color: #cfc9b2; font-size: 0.97rem; }
.form-aside ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.form-aside li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; }
.form-aside li svg { width: 20px; height: 20px; flex: none; color: var(--amber); margin-top: 3px; }
.form-aside a { color: #ffd9a0; font-weight: 800; text-decoration: none; }
.form-aside a:hover { text-decoration: underline; }
.quote-form { padding: 40px 28px; }
.form-grid { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 800; font-size: 0.92rem; color: var(--pine-950); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  border: 2px solid var(--line); border-radius: 10px; background: #fff;
  padding: 13px 15px; transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--moss-600); box-shadow: 0 0 0 3px rgba(46, 125, 79, 0.18);
}
.contact-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-pills label {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  border: 2px solid var(--line); border-radius: 999px; padding: 10px 18px;
  font-weight: 700; font-size: 0.94rem; transition: border-color 0.18s ease, background 0.18s ease;
}
.contact-pills input { width: 18px; height: 18px; accent-color: var(--pine-800); }
.contact-pills label:has(input:checked) { border-color: var(--moss-700); background: #e9f1e6; }
.form-privacy { font-size: 0.87rem; color: var(--muted); margin-top: 16px; }
.form-success { display: none; text-align: center; padding: 48px 30px; }
.form-success.show { display: block; }
.form-success .ok-badge {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px;
  background: #e9f1e6; color: var(--moss-700);
  display: flex; align-items: center; justify-content: center;
}
.form-success .ok-badge svg { width: 36px; height: 36px; }
.demo-flag {
  display: inline-block; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.06em;
  background: #fdf3e3; color: #8a5a12; border: 1px solid #f0d9a8;
  border-radius: 999px; padding: 5px 14px; margin-bottom: 14px;
}

/* ---------- Page hero (sub-pages) ---------- */
.page-hero { background: var(--pine-950); color: #fff; }
.page-hero-inner { padding: 74px 0 62px; max-width: 780px; }
.page-hero h1 { font-family: var(--font-display); font-weight: 550; color: #fff; font-size: clamp(2.3rem, 5vw + 0.6rem, 3.6rem); line-height: 1.02; }
.page-hero h1 em { font-style: italic; color: #ffcf87; }
.page-hero p { color: #e4dfca; font-size: 1.12rem; margin-bottom: 26px; }
.breadcrumbs { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; color: #a8a38c; margin-bottom: 20px; }
.breadcrumbs a { color: #ffd9a0; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Prose / detail pages ---------- */
.prose { max-width: 780px; }
.prose h2 { font-family: var(--font-display); font-weight: 600; color: var(--pine-950); margin-top: 2em; font-size: 1.75rem; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: 0.55em; }
.prose li::marker { color: var(--moss-700); }
.detail-grid { display: grid; gap: 44px; align-items: start; }
.detail-side { display: grid; gap: 20px; }
.detail-figure { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md); border: 2px solid var(--pine-950); }
.detail-figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.side-card {
  background: var(--card); border: 2px solid var(--pine-950); border-radius: 18px;
  padding: 30px 28px; box-shadow: 6px 6px 0 var(--pine-950);
}
.side-card h3 { font-family: var(--font-display); font-size: 1.35rem; color: var(--pine-950); }
.side-card p { color: var(--muted); font-size: 0.95rem; }
.checklist { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.checklist svg { width: 20px; height: 20px; flex: none; color: var(--moss-600); margin-top: 3px; }

/* ---------- Footer (no socials — contact block instead) ---------- */
.site-footer { background: var(--pine-950); color: #d9d4bf; }
.footer-grid { display: grid; gap: 38px; padding: 66px 0 42px; }
.footer-brand p { font-size: 0.95rem; color: #a8a38c; max-width: 22rem; }
.footer-brand .brand-name strong { color: #fff; }
.footer-cta-block {
  margin-top: 24px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 14px;
  padding: 20px; display: grid; gap: 10px; max-width: 22rem; background: rgba(255, 255, 255, 0.04);
}
.footer-cta-block a.tel { font-family: var(--font-mono); font-weight: 700; font-size: 1.25rem; color: #ffd9a0; text-decoration: none; }
.footer-cta-block a.tel:hover { text-decoration: underline; }
.footer-h { font-family: var(--font-mono); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-links a { color: #d9d4bf; text-decoration: none; font-size: 0.96rem; }
.footer-links a:hover { color: #ffd9a0; text-decoration: underline; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 0.96rem; }
.footer-contact a { color: #ffd9a0; text-decoration: none; font-weight: 700; }
.footer-contact a:hover { text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 22px 0 26px; font-size: 0.85rem; color: #8f8a74;
  display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: space-between;
}
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a { color: #c2bda6; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- Sticky mobile bar ---------- */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(10, 32, 21, 0.97); border-top: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease;
}
.mobile-cta-bar.hidden { transform: translateY(110%); }
.mobile-cta-bar .btn { flex: 1; min-height: 52px; font-size: 0.98rem; padding: 12px 10px; }
@media (max-width: 1023px) { body.has-mobile-bar { padding-bottom: 88px; } }
@media (min-width: 1024px) { .mobile-cta-bar { display: none; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.09s; }
.reveal-d2 { transition-delay: 0.18s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue::after { animation: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Breakpoints ---------- */
@media (min-width: 700px) {
  .ledger-row { grid-template-columns: repeat(4, 1fr); }
  .ledger-item { border-bottom: 0; border-right: 1px solid rgba(255, 255, 255, 0.14); }
  .ledger-item:last-child { border-right: 0; }
  .ba-types { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 900px) {
  .section { padding: 112px 0; }
  .scroll-cue { display: flex; }
  .feature-grid { grid-template-columns: 1.15fr 1fr; }
  .feature-body { padding: 72px 64px; margin: 48px 0 48px -90px; border-radius: 20px; box-shadow: var(--shadow-md); position: relative; z-index: 2; }
  .feature-media { min-height: 560px; border-radius: 20px; overflow: hidden; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-cell:nth-child(odd) { border-right: 2px solid var(--pine-950); }
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 34px; }
  .t-step { grid-template-columns: 1fr; gap: 6px; border-top: 2px solid rgba(255, 255, 255, 0.25); padding-top: 24px; }
  .areas-wrap { grid-template-columns: 1.25fr 0.9fr; gap: 54px; }
  .form-shell { grid-template-columns: 0.85fr 1.35fr; }
  .quote-form { padding: 50px 48px; }
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .form-grid.two .span-2 { grid-column: 1 / -1; }
  .detail-grid { grid-template-columns: 1.5fr 1fr; }
  .detail-side .side-card { position: sticky; top: calc(var(--header-h) + 20px); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
  .ba-wrap { aspect-ratio: 21 / 10; }
}

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .header-contact { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .svc-thumb { display: none; }
  .svc-arrow { display: inline-flex; }
  .svc-row { grid-template-columns: 70px 1fr auto; gap: 26px; padding: 36px 10px; }
  /* floating hover image for service rows */
  .svc-reveal-img {
    display: block; position: fixed; z-index: 60; width: 300px; aspect-ratio: 4 / 3;
    object-fit: cover; border-radius: 14px; pointer-events: none; opacity: 0;
    transform: scale(0.92) rotate(-2deg); transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: var(--shadow-md); border: 2px solid var(--pine-950);
  }
  .svc-reveal-img.show { opacity: 1; transform: scale(1) rotate(-2deg); }
}

@media (max-width: 1023px) {
  .header-contact .btn { display: none; }
  .header-contact { display: inline-flex; }
  .header-inner { gap: 12px; }
  .header-phone span { display: none; }
  .header-phone { background: #e9e1c8; border-radius: 12px; width: 50px; height: 50px; justify-content: center; }
}
