/* Self-hosted Plus Jakarta Sans (variable 400-800, latin subset) */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/jakarta.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ===================================
   LOCAL-DESIGN BASE
   Design system: sharp corners, strong hierarchy, high contrast.
   Fill in --color-primary and --font-heading from intake + typography-system.md.
   =================================== */

:root {
  /* Colors — OVERRIDE from intake */
  --color-primary: #1a1a1a;
  --color-primary-ink: #ffffff;
  --color-accent: #e63946;
  --color-ink: #0a0a0a;
  --color-body: #333333;
  --color-muted: #6b6b6b;
  --color-line: #e5e5e5;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f5f5;
  --color-success: #16a34a;
  --color-error: #dc2626;

  /* Typography — OVERRIDE from typography-system.md */
  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Scale */
  --fs-h1: clamp(2.5rem, 5vw, 4rem);
  --fs-h2: clamp(1.75rem, 3.5vw, 2.5rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  /* Spacing (8px base) */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 4rem;
  --s-7: 6rem;
  --s-8: 8rem;

  /* Layout */
  --container: 1200px;
  --container-narrow: 800px;
  --header-h: 72px;

  /* NO rounded corners — design rule */
  --radius: 0;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--color-body);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
a:hover { text-decoration: none; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.1;
  color: var(--color-ink);
  letter-spacing: -0.02em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 800; }
h4 { font-size: 1.125rem; font-weight: 700; }

.overline {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--color-accent);
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-3);
}
.container-narrow { max-width: var(--container-narrow); }

section { padding-block: var(--s-6); }
@media (min-width: 768px) { section { padding-block: var(--s-7); } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-1);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover { background: var(--color-ink); }
.btn-secondary {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-ink);
}
.btn-secondary:hover { background: var(--color-ink); color: #fff; }
.btn-call {
  background: var(--color-ink);
  color: #fff;
  text-decoration: none;
}
.btn-call:hover { background: var(--color-accent); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-line);
  height: var(--header-h);
}
.site-header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.site-header nav { display: none; gap: var(--s-3); }
.site-header nav a { text-decoration: none; font-weight: 600; }
.site-header nav a:hover { color: var(--color-accent); }
@media (min-width: 768px) { .site-header nav { display: flex; } }

.header-call { display: inline-flex; align-items: center; gap: var(--s-1); padding: 0.625rem 1rem; background: var(--color-ink); color: #fff; text-decoration: none; font-weight: 700; white-space: nowrap; }
.header-call svg { flex-shrink: 0; }
.header-call span { display: none; }
@media (min-width: 560px) { .header-call span { display: inline; } }

/* Header logo: sized BIG. Clients consistently ask for a larger logo than designers default to.
   Sizes below are for a horizontal lockup about 4.4:1 (icon + two-line wordmark, tagline cropped
   off). Export the header file at 2x (e.g. 1132x256) from the full-res brand file so it stays sharp.
   Logo never shrinks; the nav and CTA make room instead. Verify at 375/1100/1280/1440/1680/1920. */
.site-header .logo { flex-shrink: 0; }
.site-header .logo img { height: 50px; width: auto; max-width: none; }
@media (min-width: 480px)  { .site-header .logo img { height: 60px; } }
@media (min-width: 1024px) { :root { --header-h: 104px; } .site-header .logo img { height: 68px; } }
@media (min-width: 1280px) { .site-header .logo img { height: 78px; } }
@media (min-width: 1440px) { :root { --header-h: 116px; } .site-header .logo img { height: 88px; } }
@media (min-width: 1680px) { :root { --header-h: 128px; } .site-header .logo img { height: 100px; } }
.site-header nav a { white-space: nowrap; }
/* If a text CTA button sits in the header next to the call button, show it only where it fits
   beside the big logo (about 1680px+ with a 6-link nav), e.g.:
   .header-cta { display: none; } @media (min-width: 1680px) { .header-cta { display: inline-flex; } } */

/* Hero */
.hero {
  background: var(--color-bg-alt);
  padding-block: var(--s-5);
}
@media (min-width: 768px) {
  .hero { padding-block: var(--s-6); }
  .hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--s-5); align-items: center; }
}
.hero h1 { margin-bottom: var(--s-2); }
.hero .subhead { font-size: 1.25rem; color: var(--color-body); margin-bottom: var(--s-3); max-width: 52ch; }
.hero .trust-pill { display: inline-flex; align-items: center; gap: var(--s-1); padding: 0.5rem 1rem; background: var(--color-ink); color: #fff; font-weight: 700; font-size: 0.875rem; margin-bottom: var(--s-3); }

/* Lead form card */
.lead-form {
  background: var(--color-bg);
  padding: var(--s-3);
  border: 2px solid var(--color-ink);
}
.lead-form h2 { font-size: 1.5rem; margin-bottom: var(--s-2); }
.lead-form .form-row { display: grid; gap: var(--s-2); margin-bottom: var(--s-2); }
.lead-form label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 0.25rem; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--color-line);
  background: #fff;
  font-size: 1rem;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-color: var(--color-ink);
}
.lead-form textarea { min-height: 100px; resize: vertical; }
.lead-form .btn { width: 100%; }
.lead-form .hp { position: absolute; left: -9999px; }
.lead-form .form-note { font-size: 0.8125rem; color: var(--color-muted); margin-top: var(--s-1); text-align: center; }

/* Trust bar */
.trust-bar { background: var(--color-ink); color: #fff; padding-block: var(--s-3); }
.trust-bar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-2);
  text-align: center;
}
@media (min-width: 768px) { .trust-bar ul { grid-template-columns: repeat(5, 1fr); } }
.trust-bar li { font-weight: 700; font-size: 0.9375rem; }
.trust-bar li span { display: block; font-size: 1.25rem; color: var(--color-accent); margin-bottom: 0.25rem; }

/* Services grid */
.services-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  display: block;
  padding: var(--s-3);
  background: var(--color-bg);
  border: 2px solid var(--color-line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}
.service-card:hover { border-color: var(--color-ink); background: var(--color-bg-alt); }
.service-card h3 { margin-bottom: var(--s-1); }
.service-card .arrow { display: inline-block; margin-top: var(--s-2); font-weight: 800; color: var(--color-accent); }

/* Social proof */
.reviews { background: var(--color-bg-alt); }
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card { background: #fff; padding: var(--s-3); border: 2px solid var(--color-line); }
.review-card .stars { color: #f59e0b; font-size: 1.125rem; margin-bottom: var(--s-1); letter-spacing: 2px; }
.review-card blockquote { font-style: italic; margin-bottom: var(--s-2); }
.review-card cite { font-style: normal; font-weight: 700; display: block; }
.review-card cite span { display: block; font-weight: 400; font-size: 0.875rem; color: var(--color-muted); }

/* FAQ */
.faq details {
  border-bottom: 2px solid var(--color-line);
  padding-block: var(--s-2);
}
.faq summary {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.125rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  color: var(--color-accent);
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: var(--s-2); }

/* Final CTA */
.cta-band {
  background: var(--color-ink);
  color: #fff;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: var(--s-2); }
.cta-band p { font-size: 1.125rem; margin-bottom: var(--s-3); }

/* Footer */
.site-footer {
  background: var(--color-ink);
  color: #fff;
  padding-block: var(--s-5) var(--s-3);
  font-size: 0.9375rem;
}
.site-footer a { color: #fff; }
.site-footer .footer-grid {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .site-footer .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.site-footer h4 { color: #fff; margin-bottom: var(--s-2); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer .footer-bottom {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-2);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
}

/* Sticky mobile CTA */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.mobile-cta.visible { transform: translateY(0); }
.mobile-cta a {
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9375rem;
  font-family: var(--font-heading);
}
.mobile-cta .call { background: var(--color-ink); color: #fff; }
.mobile-cta .quote { background: var(--color-accent); color: #fff; }
@media (min-width: 768px) { .mobile-cta { display: none; } }

/* Breadcrumbs */
.breadcrumbs {
  padding-block: var(--s-2);
  font-size: 0.875rem;
  color: var(--color-muted);
}
.breadcrumbs a { color: var(--color-muted); }
.breadcrumbs a:hover { color: var(--color-ink); }
.breadcrumbs span[aria-current] { color: var(--color-ink); font-weight: 600; }

/* Utility */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mb-3 { margin-bottom: var(--s-3); }

/* ===================================
   WEST VALLEY DECK BUILDERS: modern brand + layout layer over local-design base.css
   Floating glass header, inset rounded hero with frosted form, ticker, bento tiles,
   inset dark panels, pill buttons. Plus Jakarta Sans throughout.
   Logo colours: charcoal #202830, blue #4080B8, cedar #B06838 (darkened shades for AA text).
   =================================== */
:root {
  --ink: #0F141A;
  --charcoal: #202830;
  --blue: #4080B8;
  --blue-text: #2A679E;
  --blue-soft: #8DB8E0;
  --cedar: #B06838;
  --cedar-btn: #9E5828;
  --cedar-soft: #E7A876;
  --color-primary: var(--charcoal);
  --color-accent: var(--cedar-btn);
  --color-ink: var(--ink);
  --color-body: #3A434E;
  --color-muted: #66707C;
  --color-line: #E3E7EC;
  --color-bg: #ffffff;
  --color-bg-alt: #F3F5F8;
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --fs-h1: clamp(2.75rem, 6.6vw, 6.25rem);
  --fs-h2: clamp(2.125rem, 4.4vw, 4.25rem);
  --fs-h3: clamp(1.25rem, 1.7vw, 1.625rem);
  --wrap: 1480px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --inset: clamp(8px, 1.2vw, 16px);
  --sec-pad: clamp(64px, 8vw, 128px);
  --r-lg: clamp(24px, 2.6vw, 40px);
  --r-md: 22px;
  --r-sm: 14px;
  --header-h: 84px;
  --shadow: 0 1px 2px rgba(15,20,26,.04), 0 12px 40px rgba(15,20,26,.08);
}

/* Base type */
html { scroll-padding-top: 130px; }
body { font-size: 1.125rem; line-height: 1.7; color: var(--color-body); background: #fff; padding-bottom: 60px; -webkit-font-smoothing: antialiased; }
@media (min-width: 768px) { body { padding-bottom: 0; } }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--font-heading); }
h1 { font-weight: 800; line-height: 0.98; letter-spacing: -0.045em; }
h2 { font-weight: 800; line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
h3 { font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; }
a { color: var(--blue-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
p + p { margin-top: 1em; }
.lead { font-size: clamp(1.1875rem, 1.5vw, 1.375rem); line-height: 1.55; }
.muted { color: var(--color-muted); }
.eyebrow { display: inline-flex; align-items: center; gap: .625rem; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-text); margin-bottom: 1.25rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.on-dark { color: var(--blue-soft); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: #fff; padding: .75rem 1rem; border-radius: 999px; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: 0; }
.sec { padding-block: var(--sec-pad); }
.tone-alt { background: var(--color-bg-alt); margin-inline: var(--inset); border-radius: var(--r-lg); }

/* Buttons: pills */
.btn { font-family: var(--font-body); font-weight: 700; font-size: 1rem; letter-spacing: 0; text-transform: none; padding: 1.05rem 1.6rem; border-radius: 999px; gap: .625rem; border: 1.5px solid transparent; transition: transform .2s ease, background .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { flex-shrink: 0; transition: transform .2s ease; }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn-primary { background: var(--cedar-btn); color: #fff; box-shadow: 0 10px 24px rgba(158,88,40,.28); }
.btn-primary:hover { background: var(--ink); color: #fff; box-shadow: 0 10px 24px rgba(15,20,26,.25); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(15,20,26,.18); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost.on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { padding: .7rem 1.2rem; font-size: .9375rem; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .875rem; margin-top: 2.25rem; }

/* Header: solid full-width white bar, big logo */
.site-header { position: sticky; top: 0; z-index: 50; height: auto; background: #fff; border-bottom: 1px solid var(--color-line); padding: 0; transition: box-shadow .2s; }
.nav-pill { display: flex; align-items: center; gap: 2rem; max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter); background: none; border: 0; border-radius: 0; box-shadow: none; }
.site-header .logo img { height: 56px; width: auto; }
@media (min-width: 1024px) { .site-header .logo img { height: 72px; } }
@media (min-width: 1440px) { .site-header .logo img { height: 84px; } }
.site-header nav { display: none; margin-left: auto; }
@media (min-width: 1100px) { .site-header nav { display: block; } }
.nav-list { list-style: none; display: flex; gap: .5rem; padding: 0; margin: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a { display: inline-block; color: var(--ink); font-weight: 600; font-size: 1.0625rem; text-decoration: none; padding: .75rem 1rem; border-radius: 999px; transition: background .15s, color .15s; }
.nav-list > li > a:hover { background: var(--color-bg-alt); color: var(--ink); }
.has-menu > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: .5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px; list-style: none; padding: .5rem; margin: 0; background: #fff; border-radius: var(--r-sm); box-shadow: 0 24px 60px rgba(15,20,26,.16); border: 1px solid var(--color-line); z-index: 60; }
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.menu a { display: block; padding: .65rem .9rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.menu a:hover { background: var(--color-bg-alt); }
.has-menu:hover .menu, .has-menu:focus-within .menu { display: block; }
.header-tel { display: none; align-items: center; gap: .5rem; color: var(--ink); font-weight: 800; font-size: 1.125rem; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; padding: .5rem .25rem; }
.header-tel svg { color: var(--cedar-btn); }
.header-tel:hover { color: var(--cedar-btn); }
@media (min-width: 640px) { .header-tel { display: inline-flex; } }
@media (max-width: 1099px) { .header-tel { margin-left: auto; } }
.header-cta { display: none; padding: .95rem 1.4rem; font-size: 1rem; }
@media (min-width: 768px) { .header-cta { display: inline-flex; } }
.mobile-nav { position: relative; margin-left: auto; }
@media (min-width: 640px) { .mobile-nav { margin-left: 0; } }
.mobile-nav summary { list-style: none; cursor: pointer; width: 46px; height: 46px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border-radius: 999px; background: var(--ink); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; }
.mobile-nav ul { position: absolute; right: 0; top: calc(100% + 14px); background: #fff; list-style: none; padding: .5rem; margin: 0; min-width: 270px; z-index: 70; border-radius: var(--r-md); box-shadow: 0 24px 60px rgba(15,20,26,.2); max-height: 75vh; overflow: auto; }
.mobile-nav li a { display: block; padding: .75rem 1rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.mobile-nav li a:hover { background: var(--color-bg-alt); }
@media (min-width: 1100px) { .mobile-nav { display: none; } }

/* Breadcrumbs */
.breadcrumbs { padding-block: 1rem .25rem; font-size: .875rem; color: var(--color-muted); }
.breadcrumbs a { color: var(--color-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }

/* HERO: inset rounded frame */
.hero { padding: 0; }
.breadcrumbs + .hero { margin-top: 0; }
.hero-frame { position: relative; isolation: isolate; overflow: hidden; border-radius: 0; color: #fff; min-height: min(84vh, 900px); display: flex; align-items: flex-end; padding: clamp(48px, 7vw, 110px) var(--gutter) clamp(36px, 5vw, 80px);
  background: radial-gradient(1200px 600px at 85% 10%, rgba(64,128,184,.45), transparent 60%), radial-gradient(900px 500px at 5% 100%, rgba(176,104,56,.35), transparent 60%), var(--ink); }
.breadcrumbs + .hero .hero-frame { min-height: min(84vh, 880px); padding-top: clamp(56px, 7vw, 110px); }
.hero-frame:not(.has-img)::after { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(255,255,255,.035) 46px 48px); mask-image: linear-gradient(180deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(1.2) contrast(1.06) brightness(1.12); }
.hero-frame.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,20,26,.82) 0%, rgba(15,20,26,.55) 32%, rgba(15,20,26,.08) 62%, rgba(15,20,26,0) 100%), linear-gradient(180deg, rgba(15,20,26,0) 60%, rgba(15,20,26,.45) 100%); }
.hero-grid { position: relative; width: 100%; max-width: var(--wrap); margin-inline: auto; display: grid; gap: clamp(32px, 4vw, 72px); align-items: end; }
@media (min-width: 1100px) { .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(400px, .65fr); } }
.kicker { display: inline-flex; align-items: center; gap: .625rem; padding: .5rem 1rem .5rem .75rem; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .875rem; font-weight: 600; color: #fff; margin-bottom: 1.5rem; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74,222,128,.22); }
.hero h1 { color: #fff; font-size: var(--fs-h1); max-width: 15ch; text-wrap: balance; }
.hero .lead { color: rgba(255,255,255,.86); margin-top: 1.5rem; max-width: 44ch; }
.chips { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { padding: .45rem .9rem; border-radius: 999px; font-size: .9375rem; font-weight: 600; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: #fff; }

/* Lead form: frosted card */
.lead-form { background: rgba(255,255,255,.96); color: var(--color-body); padding: clamp(22px, 2.4vw, 34px); border: 1px solid rgba(255,255,255,.6); border-radius: var(--r-md); box-shadow: 0 30px 80px rgba(0,0,0,.28); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.lead-form .form-title { font-weight: 800; font-size: clamp(1.5rem, 2vw, 1.875rem); letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.lead-form .form-step { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--blue-text); background: #EAF2FA; border-radius: 999px; padding: .3rem .7rem; margin: .75rem 0 1.25rem; }
.lead-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.lead-form legend { font-weight: 700; margin-bottom: .75rem; color: var(--ink); font-size: 1rem; }
.lead-form label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.lead-form input, .lead-form select, .lead-form textarea { padding: .9rem 1rem; border: 1.5px solid var(--color-line); border-radius: 12px; font-size: 1.0625rem; margin-top: .375rem; background: #fff; font-family: inherit; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 3px solid rgba(64,128,184,.35); outline-offset: 0; border-color: var(--blue); }
.lead-form .btn { margin-top: .5rem; width: 100%; }
.lead-form .form-note { font-size: .875rem; color: var(--color-muted); margin-top: 1rem; text-align: left; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .625rem; }
.choice { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: .875rem; min-height: 112px; padding: 1rem; border: 1.5px solid var(--color-line); border-radius: 16px; text-align: left; font-weight: 700; font-size: .975rem; line-height: 1.25; cursor: pointer; color: var(--ink); background: #fff; transition: border-color .15s, background .15s, transform .15s; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.choice svg { color: var(--blue-text); width: 30px; height: 30px; padding: 6px; box-sizing: content-box; border-radius: 10px; background: #EAF2FA; }
.choice:hover { border-color: var(--blue); transform: translateY(-2px); }
.choice:has(input:checked) { border-color: var(--cedar-btn); background: #FBF4EE; }
.choice:has(input:focus-visible) { outline: 3px solid rgba(64,128,184,.45); outline-offset: 2px; }
.form-back { background: none; border: 0; padding: .75rem 0 0; color: var(--color-muted); text-decoration: underline; cursor: pointer; font-size: .9375rem; font-family: inherit; }
.js .lead-form[data-steps] [data-step="2"] { display: none; }
.js .lead-form[data-steps].on-step-2 [data-step="1"] { display: none; }
.js .lead-form[data-steps].on-step-2 [data-step="2"] { display: block; }
.lead-form-wide .form-row-2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .lead-form-wide .form-row-2 { grid-template-columns: 1fr 1fr; } }
.lead-form-wide { box-shadow: var(--shadow); border-color: var(--color-line); }
.form-success h3 { margin-bottom: .5rem; }
.form-error { color: #B42318; margin-bottom: 1rem; font-weight: 600; }

/* Ticker */
.ticker { overflow: hidden; padding-block: clamp(20px, 2.4vw, 32px); border-bottom: 1px solid var(--color-line); }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker ul { list-style: none; display: flex; margin: 0; padding: 0; }
.ticker li { display: flex; align-items: center; white-space: nowrap; font-weight: 800; letter-spacing: -.03em; font-size: clamp(1.375rem, 2.4vw, 2.25rem); color: var(--ink); }
.ticker li::after { content: ""; width: 10px; height: 10px; margin-inline: clamp(20px, 2.4vw, 40px); border-radius: 3px; background: var(--cedar); transform: rotate(45deg); }
.ticker li:nth-child(3n+2) { color: var(--blue-text); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } .btn, .choice { transition: none; } }

/* Bento stats */
.bento-stats { padding-top: clamp(40px, 5vw, 72px); }
.bento-stats ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .bento-stats ul { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.bento-stats li { padding: clamp(22px, 2.6vw, 40px); border-radius: var(--r-md); background: var(--color-bg-alt); min-height: clamp(150px, 15vw, 220px); display: flex; flex-direction: column; justify-content: space-between; }
.bento-stats strong { display: block; font-weight: 800; letter-spacing: -.05em; font-size: clamp(2.25rem, 4.4vw, 4.25rem); line-height: 1; color: var(--ink); }
.bento-stats span { display: block; margin-top: 1rem; color: var(--color-muted); font-size: 1rem; font-weight: 500; }
.bento-stats .t-dark { background: var(--ink); }
.bento-stats .t-dark strong { color: #fff; }
.bento-stats .t-dark span { color: rgba(255,255,255,.7); }
.bento-stats .t-blue { background: var(--blue-text); }
.bento-stats .t-blue strong { color: #fff; }
.bento-stats .t-blue span { color: rgba(255,255,255,.85); }

/* Section heads + split */
.sec-head { max-width: 980px; margin-bottom: clamp(40px, 5vw, 80px); }
.sec-head h2 { font-size: var(--fs-h2); }
.sec-head p:not(.eyebrow) { margin-top: 1.25rem; font-size: 1.1875rem; max-width: 62ch; }
.split { display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 120px); align-items: start; } .split-head { position: sticky; top: 140px; } }
.split-head h2 { font-size: var(--fs-h2); }
.split-head p { margin-top: 1.25rem; }
.prose { font-size: 1.1875rem; line-height: 1.75; }
.prose h2 { font-size: var(--fs-h2); margin-bottom: 1.75rem; }
.prose h3 { font-size: var(--fs-h3); margin: 2.5rem 0 .75rem; }
.prose p, .prose ul { margin: 0 0 1.25rem; }
.prose ul { list-style: none; padding: 0; }
.prose li { position: relative; padding-left: 2rem; margin-bottom: .75rem; }
.prose li::before { content: ""; position: absolute; left: 0; top: .5em; width: 18px; height: 18px; border-radius: 50%; background: #EAF2FA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A679E' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.5rem 0 2rem; font-size: 1rem; border: 1px solid var(--color-line); border-radius: var(--r-sm); overflow: hidden; }
.split-body > p:first-child { font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.55; color: var(--ink); font-weight: 500; letter-spacing: -.01em; }
.prose-wide { max-width: 880px; }

/* Bento: why us */
.bento { display: grid; gap: 12px; }
@media (min-width: 1024px) { .bento { grid-template-columns: 1.1fr 1fr; grid-template-rows: auto auto; } .bento .t-tall { grid-row: span 2; } }
.tile { position: relative; padding: clamp(28px, 3.4vw, 56px); border-radius: var(--r-lg); background: var(--color-bg-alt); overflow: hidden; }
.tile .idx, .card .idx, .row .idx { font-weight: 800; font-size: .875rem; letter-spacing: .04em; color: var(--blue-text); }
.tile h3 { font-size: clamp(1.5rem, 2.4vw, 2.25rem); letter-spacing: -.035em; margin: 1.25rem 0 1rem; line-height: 1.1; }
.tile p { font-size: 1.0625rem; }
.t-dark.tile { background: var(--ink); color: rgba(255,255,255,.78); display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px; }
.t-dark.tile::before { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(64,128,184,.55), transparent 65%); }
.t-dark.tile h3 { color: #fff; font-size: clamp(1.875rem, 3.2vw, 3rem); }
.t-dark.tile .idx { color: var(--blue-soft); position: absolute; top: clamp(28px, 3.4vw, 56px); }
.t-dark.tile > * { position: relative; }

/* Cards (section with sub-items, alternate) */
.cards { display: grid; gap: 12px; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card { padding: clamp(26px, 3vw, 44px); border-radius: var(--r-md); background: #fff; border: 1px solid var(--color-line); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: var(--fs-h3); margin: 1rem 0 .75rem; }
.card p { font-size: 1.0625rem; }

/* Row list */
.rows { border-top: 1px solid var(--color-line); }
.row { display: grid; grid-template-columns: 3rem 1fr; gap: .5rem 1rem; padding: 1.75rem 0; border-bottom: 1px solid var(--color-line); transition: padding .2s; }
.row h3 { font-size: var(--fs-h3); margin-bottom: .5rem; }
.row p { font-size: 1.0625rem; }
.row .idx { padding-top: .35rem; }
@media (min-width: 1024px) {
  .rows-wide .row { grid-template-columns: 5rem minmax(0, 5fr) minmax(0, 7fr); gap: 2rem; padding: 2.25rem 0; }
  .rows-wide .row h3 { margin: 0; }
  .rows-wide .row:hover { padding-left: 1rem; }
}

/* Media split */
.media-split { display: grid; gap: clamp(32px, 5vw, 96px); align-items: start; }
@media (min-width: 1024px) { .media-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .media-col { position: sticky; top: 140px; } }
.media { margin: 0; }
.media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
@media (max-width: 1023px) { .media img { aspect-ratio: 3 / 2; } }
.media-text h2 { font-size: var(--fs-h2); margin-bottom: 1.5rem; }
.media-text > p { font-size: 1.1875rem; }
.media-text .rows { margin-top: 1.5rem; }

/* Inset dark panels (mid-page form, CTA, page intro) */
.panel-sec { padding: var(--inset); }
.panel { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg); background: var(--ink); color: rgba(255,255,255,.82); padding: clamp(48px, 8vw, 128px) var(--gutter); }
.panel-glow::before { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; left: -300px; bottom: -520px; border-radius: 50%; background: radial-gradient(circle, rgba(176,104,56,.45), transparent 62%); }
.panel-glow::after { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -300px; top: -520px; border-radius: 50%; background: radial-gradient(circle, rgba(64,128,184,.5), transparent 62%); }
.panel h2, .panel h1 { color: #fff; }
.panel h2 { font-size: var(--fs-h2); }
.panel .lead { color: rgba(255,255,255,.8); margin-top: 1.25rem; max-width: 40ch; }
.panel-grid { max-width: var(--wrap); margin-inline: auto; display: grid; gap: clamp(32px, 5vw, 96px); align-items: center; }
@media (min-width: 1024px) { .panel-grid { grid-template-columns: 1.1fr .9fr; } }
.panel-cta { background: var(--blue-text); }
.panel-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(90deg, transparent 0 58px, rgba(255,255,255,.06) 58px 60px); }
.panel-cta::after { content: ""; position: absolute; z-index: -1; width: 1000px; height: 1000px; right: -420px; bottom: -640px; border-radius: 50%; background: radial-gradient(circle, rgba(15,20,26,.55), transparent 62%); }
.cta-inner { max-width: 1100px; margin-inline: auto; text-align: center; }
.cta-inner h2 { font-size: clamp(2.5rem, 6vw, 5.5rem); }
.cta-inner .lead { margin-inline: auto; max-width: 52ch; color: rgba(255,255,255,.9); }
.panel-cta .btn-primary { background: #fff; color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.panel-cta .btn-primary:hover { background: var(--ink); color: #fff; }
.cta-inner .btn-row { justify-content: center; }
.cta-links { margin-top: 2.5rem; font-size: 1rem; color: rgba(255,255,255,.85); }
.cta-links p + p { margin-top: .5rem; }
.cta-links a { color: #fff; }
.cta-links strong { color: #fff; }
.page-intro .panel { padding-block: clamp(64px, 8vw, 128px) clamp(48px, 6vw, 96px); }
.page-intro h1 { font-size: var(--fs-h1); max-width: 16ch; max-width: var(--wrap); margin-inline: auto; }
.breadcrumbs + .page-intro .panel { padding-top: clamp(56px, 7vw, 110px); }
.split-head-wide h2 { font-size: clamp(1.5rem, 2.4vw, 2.25rem); margin: 2.25rem 0 .75rem; }

/* Statement (stands in for reviews) */
.statement { padding-block: clamp(64px, 8vw, 120px); }
.statement p:first-child { font-weight: 800; letter-spacing: -.04em; font-size: clamp(1.75rem, 4vw, 3.5rem); line-height: 1.1; color: var(--ink); max-width: 22ch; }
.statement p:first-child strong { background: linear-gradient(90deg, var(--blue-text), var(--cedar-btn)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.statement p + p { margin-top: 1.25rem; color: var(--color-muted); font-size: 1.125rem; }

/* FAQ */
.faq details { border: 1px solid var(--color-line); border-radius: var(--r-sm); margin-bottom: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; font-weight: 700; letter-spacing: -.02em; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--ink); padding: 1.25rem 1.25rem 1.25rem 1.5rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex-shrink: 0; position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--color-bg-alt); transition: background .2s, transform .25s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { background: var(--ink); transform: rotate(45deg); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq .ans { padding: 0 1.5rem 1.5rem; font-size: 1.0625rem; max-width: 70ch; }
.faq + .faq { padding-top: 0; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); margin: var(--inset); border-radius: var(--r-lg); padding-block: clamp(56px, 7vw, 104px) 2rem; font-size: 1rem; border: 0; overflow: hidden; }
.footer-big { font-weight: 800; letter-spacing: -.05em; line-height: .98; font-size: clamp(2.5rem, 7.4vw, 7.5rem); color: #fff; margin-bottom: clamp(48px, 6vw, 96px); }
.footer-big span { color: rgba(255,255,255,.28); }
.site-footer .footer-grid { display: grid; gap: 2.5rem; padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(255,255,255,.12); }
@media (min-width: 900px) { .site-footer .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-logo { height: 64px; width: auto; margin-bottom: 1.25rem; }
.footer-h { color: #fff; font-size: .8125rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.25rem; font-weight: 700; }
.footer-h-gap { margin-top: 2rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .75rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-tel { font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; color: #fff !important; }
.site-footer .footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .875rem; color: rgba(255,255,255,.6); }

/* Sticky mobile CTA */
.mobile-cta { left: 10px; right: 10px; bottom: 10px; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(15,20,26,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transform: translateY(140%); }
.mobile-cta a { border-radius: 999px; font-family: var(--font-body); text-transform: none; font-weight: 700; padding: .85rem; }
.mobile-cta .call { background: rgba(255,255,255,.12); }
.mobile-cta .quote { background: var(--cedar-btn); }

/* Mobile tuning */
@media (max-width: 767px) {
  .hero-frame { min-height: 0; padding-top: 40px; }
  .breadcrumbs + .hero .hero-frame { padding-top: 40px; }
  .hero .btn-row .btn-primary { display: none; }
  .hero .btn-row .btn-ghost { width: 100%; background: var(--cedar-btn); border-color: var(--cedar-btn); }
  .choice { min-height: 96px; }
  .nav-pill { gap: .5rem; padding-block: 10px; }
  .site-header .logo img { height: 48px; }
  .t-dark.tile { min-height: 320px; }
}

/* Tables (cost guide) */
.table-wrap { overflow-x: auto; margin: 1.5rem 0 2rem; border: 1px solid var(--color-line); border-radius: var(--r-sm); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 1rem; margin: 0; border: 0; min-width: 520px; }
.table-wrap th { text-align: left; background: var(--ink); color: #fff; font-weight: 700; padding: .9rem 1.1rem; }
.table-wrap td { padding: .9rem 1.1rem; border-top: 1px solid var(--color-line); }
.table-wrap tbody tr:nth-child(even) td { background: var(--color-bg-alt); }
.table-wrap td:first-child { font-weight: 700; color: var(--ink); }

/* Fixes */
.faq summary::after { content: none !important; }
.split-body > p:first-child:has(> strong:first-child) { font-size: 1.1875rem; line-height: 1.75; color: var(--color-body); font-weight: 400; letter-spacing: 0; }
@media (min-width: 768px) { .card:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 639px) {
  .header-tel { display: inline-flex; margin-left: auto; width: 46px; height: 46px; padding: 0; justify-content: center; border-radius: 999px; background: var(--cedar-btn); }
  .header-tel svg { color: #fff; }
  .header-tel span { display: none; }
  .mobile-nav { margin-left: 0; }
}
.hero { background: transparent; }
.breadcrumbs + .hero .hero-frame { min-height: 0; padding-top: clamp(56px, 6vw, 96px); }
.btn { white-space: nowrap; }
@media (min-width: 1100px) and (max-width: 1299px) { .nav-pill { gap: 1rem; } .nav-list > li > a { padding: .7rem .7rem; font-size: 1rem; } .header-tel { font-size: 1rem; } }

/* Home: header sits flush on the full-bleed hero */
.site-header { border-bottom-color: transparent; }
.breadcrumbs { border-top: 1px solid var(--color-line); }

/* Photo panels (mid-page form, page intros) and photo tile */
.panel-photo { background: var(--ink); }
.panel-photo .band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(1.1); }
.panel-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,20,26,.88) 0%, rgba(15,20,26,.7) 45%, rgba(15,20,26,.35) 100%); }
.page-intro .panel-photo::before { background: linear-gradient(90deg, rgba(15,20,26,.85) 0%, rgba(15,20,26,.55) 55%, rgba(15,20,26,.2) 100%); }
.t-photo.tile { isolation: isolate; }
.t-photo.tile::before { content: ""; position: absolute; inset: 0; width: auto; height: auto; right: 0; top: 0; border-radius: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,20,26,.05) 0%, rgba(15,20,26,.35) 40%, rgba(15,20,26,.92) 100%); }
.tile-img { position: absolute !important; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.t-photo.tile .idx { background: rgba(15,20,26,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: .35rem .7rem; border-radius: 999px; color: #fff; left: clamp(28px, 3.4vw, 56px); }
@media (min-width: 1024px) { .t-photo.tile { min-height: 640px; } }
