/* ==========================================================================
   Mountain Oak Development & Construction - Premium Theme Stylesheet
   Brand Palette: Natural Oak (#aa875e), Warm White (#fbfaf6), Charcoal (#20231f),
   Deep Forest (#303b32), Stone Cream (#f1ece3), Warm Gray (#d7d2c8)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400&display=swap');

:root {
  /* Official Brand Colors (from Mountain Oak Identity Package) */
  --brand-charcoal: #20201E;
  --brand-ivory: #F3EFE7;
  --brand-orange: #A64E2B;

  /* Theme Core Palette */
  --ink: #20201E;
  --dark: #262b27;
  --darker: #191d1a;
  --green: #303b32;
  --oak: #aa875e;
  --oak-dark: #8d6c46;
  --oak-light: #cfad84;
  --cream: #f1ece3;
  --cream-light: #f7f4ee;
  --white: #fbfaf6;
  --pure-white: #ffffff;
  --line: #d7d2c8;
  --line-dark: #3a413c;
  --muted: #686b65;
  --muted-light: #949890;
  --error: #b94236;
  --success: #3c724e;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm: 0 4px 12px rgba(32, 35, 31, 0.04);
  --shadow-md: 0 12px 32px rgba(32, 35, 31, 0.08);
  --shadow-lg: 0 24px 64px rgba(32, 35, 31, 0.12);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s ease;

  /* Semantic Dynamic Tokens */
  --bg-page: var(--white);
  --bg-header: rgba(251, 250, 246, 0.96);
  --bg-header-scrolled: rgba(251, 250, 246, 0.98);
  --bg-surface: #ffffff;
  --bg-surface-alt: var(--cream);
  --border-color: var(--line);
  --border-subtle: rgba(32, 35, 31, 0.08);
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast), opacity var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: var(--sans);
}

::selection {
  background: #dac9b4;
  color: var(--ink);
}

/* Layout Shell */
.shell {
  margin-left: auto;
  margin-right: auto;
  width: min(calc(100% - 64px), 1260px);
}

.shell-wide {
  margin-left: auto;
  margin-right: auto;
  width: min(calc(100% - 48px), 1400px);
}

.shell-narrow {
  margin-left: auto;
  margin-right: auto;
  width: min(calc(100% - 48px), 880px);
}

.section {
  padding: 56px 0;
  position: relative;
}

.section-lg {
  padding: 76px 0;
}

.section-sm {
  padding: 34px 0;
}

/* Typography Helpers */
.eyebrow {
  color: var(--oak-dark);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background-color: currentColor;
}

.eyebrow-light {
  color: var(--oak-light);
}

.lead {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.4;
  font-weight: 400;
  color: var(--ink);
}

.heading {
  max-width: 780px;
}

.heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.heading.center .eyebrow::before {
  display: none;
}

.heading h2,
.intro h2,
.area-band h2,
.financing h2,
.footer-lead h2,
.content h2,
.story h2,
.success h2,
.page-title {
  font-family: var(--serif) !important;
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-transform: none !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif) !important;
  text-transform: none !important;
}

.heading > p:last-child:not(.eyebrow) {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 22px;
}

/* Buttons and Interactive Elements */
.button,
.header-cta,
.btn-primary,
a.button,
a.header-cta,
a.btn-primary {
  align-items: center;
  background-color: var(--oak);
  border: 1px solid var(--oak);
  color: #ffffff !important;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 16px;
  justify-content: center;
  letter-spacing: 0.1em;
  min-height: 52px;
  padding: 14px 28px;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  height: auto;
  text-transform: uppercase;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.button:hover,
.header-cta:hover,
.btn-primary:hover,
a.button:hover,
a.header-cta:hover,
a.btn-primary:hover {
  background-color: #96744e;
  border-color: #96744e;
  color: #ffffff !important;
}

.button svg,
.header-cta svg,
.text-link svg,
.btn-primary svg {
  height: 16px;
  width: 16px;
  transition: transform var(--transition-fast);
}

.button:hover svg,
.header-cta:hover svg,
.text-link:hover svg,
.btn-primary:hover svg {
  transform: translateX(5px);
}

.button.outline,
.btn-outline,
a.button.outline,
a.btn-outline {
  background-color: transparent !important;
  border: 1px solid var(--ink) !important;
  color: var(--ink) !important;
}

.button.outline:hover,
.btn-outline:hover,
a.button.outline:hover,
a.btn-outline:hover {
  background-color: var(--ink) !important;
  border-color: var(--ink) !important;
  color: var(--white) !important;
}

.hero .button.outline,
.hero .hero-actions .button.outline,
.hero-actions a.button.outline,
.site-footer .button.outline,
.footer-lead .button.outline,
.site-footer .footer-lead a.button.outline {
  background-color: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  color: #ffffff !important;
}

.hero .button.outline:hover,
.hero .hero-actions .button.outline:hover,
.hero-actions a.button.outline:hover,
.site-footer .button.outline:hover,
.footer-lead .button.outline:hover,
.site-footer .footer-lead a.button.outline:hover {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  color: var(--ink) !important;
}

.button.outline-dark {
  background-color: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.button.outline-dark:hover {
  background-color: var(--dark);
  border-color: var(--dark);
  color: #ffffff;
}

.text-link {
  align-items: center;
  border-bottom: 1px solid var(--muted-light);
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  gap: 16px;
  letter-spacing: 0.1em;
  padding-bottom: 8px;
  text-transform: uppercase;
  color: var(--ink);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.text-link:hover {
  border-color: var(--oak);
  color: var(--oak-dark);
}

.text-link-light {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

.text-link-light:hover {
  color: var(--oak-light);
  border-bottom-color: var(--oak-light);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-bar {
  background-color: var(--dark);
  color: #d8dbd6;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .shell {
  align-items: center;
  display: flex;
  height: 38px;
  justify-content: space-between;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-bar-tagline {
  color: #b5bab4;
}

.top-bar-license {
  color: var(--oak-light);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar a {
  align-items: center;
  display: flex;
  gap: 8px;
  color: #e5e8e3;
}

.top-bar a:hover {
  color: var(--oak-light);
}

.top-bar svg {
  height: 13px;
  width: 13px;
  color: var(--oak-light);
}

header.site-header {
  background-color: rgba(251, 250, 246, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(32, 35, 31, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.header-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  background-color: rgba(251, 250, 246, 0.98);
}

.header-inner {
  align-items: center;
  display: flex;
  height: 88px;
  justify-content: space-between;
}

/* Brand Logo Styles */
.site-logo,
.logo {
  align-items: center;
  display: inline-flex;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1;
}

.brand-logo-img,
.site-logo img {
  height: 44px;
  width: auto;
  max-width: 232px;
  object-fit: contain;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.site-logo:hover .brand-logo-img,
.site-logo:hover img,
.logo:hover .brand-logo-img {
  transform: translateY(-1px);
}

/* Light / Dark Mode Logo Switching
   Default / Light mode: Charcoal logo is visible, ivory logo is strictly hidden */
.site-logo img.logo-light-shade,
.brand-logo-img.logo-light-shade,
.logo-light-shade {
  display: block !important;
}

.site-logo img.logo-dark-shade,
.brand-logo-img.logo-dark-shade,
.logo-dark-shade {
  display: none !important;
}

/* Dark mode logo activation (explicit data-theme="dark") */
html[data-theme="dark"] .site-header img.logo-light-shade,
html[data-theme="dark"] .mobile-menu-drawer img.logo-light-shade,
html[data-theme="dark"] .site-logo img.logo-light-shade,
html[data-theme="dark"] .brand-logo-img.logo-light-shade,
html[data-theme="dark"] .logo-light-shade {
  display: none !important;
}

html[data-theme="dark"] .site-header img.logo-dark-shade,
html[data-theme="dark"] .mobile-menu-drawer img.logo-dark-shade,
html[data-theme="dark"] .site-logo img.logo-dark-shade,
html[data-theme="dark"] .brand-logo-img.logo-dark-shade,
html[data-theme="dark"] .logo-dark-shade {
  display: block !important;
}

/* Explicit light mode override (when OS is dark but user selected light mode) */
html[data-theme="light"] .site-header img.logo-light-shade,
html[data-theme="light"] .mobile-menu-drawer img.logo-light-shade,
html[data-theme="light"] .site-logo img.logo-light-shade,
html[data-theme="light"] .brand-logo-img.logo-light-shade,
html[data-theme="light"] .logo-light-shade {
  display: block !important;
}

html[data-theme="light"] .site-header img.logo-dark-shade,
html[data-theme="light"] .mobile-menu-drawer img.logo-dark-shade,
html[data-theme="light"] .site-logo img.logo-dark-shade,
html[data-theme="light"] .brand-logo-img.logo-dark-shade,
html[data-theme="light"] .logo-dark-shade {
  display: none !important;
}

/* System Dark Mode (OS prefers-color-scheme: dark and not explicitly set to light) */
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .site-header img.logo-light-shade,
  html:not([data-theme="light"]) .mobile-menu-drawer img.logo-light-shade,
  html:not([data-theme="light"]) .site-logo img.logo-light-shade,
  html:not([data-theme="light"]) .brand-logo-img.logo-light-shade,
  html:not([data-theme="light"]) .logo-light-shade {
    display: none !important;
  }
  html:not([data-theme="light"]) .site-header img.logo-dark-shade,
  html:not([data-theme="light"]) .mobile-menu-drawer img.logo-dark-shade,
  html:not([data-theme="light"]) .site-logo img.logo-dark-shade,
  html:not([data-theme="light"]) .brand-logo-img.logo-dark-shade,
  html:not([data-theme="light"]) .logo-dark-shade {
    display: block !important;
  }
}

/* Footer: always Ivory & Burnt Orange on dark slate background */
.site-logo.footer-logo img.logo-footer-shade,
.footer-logo .logo-footer-shade,
.logo.footer-logo .logo-footer-shade,
.logo.light .logo-footer-shade {
  display: block !important;
}

/* Header Actions & Theme Toggle */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
  outline: none;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--oak);
  color: var(--oak-dark);
  background-color: rgba(170, 135, 94, 0.09);
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--oak);
  outline-offset: 2px;
}

.theme-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.theme-toggle .theme-icon-sun {
  display: none;
}
.theme-toggle .theme-icon-moon {
  display: block;
}

html[data-theme="dark"] .theme-toggle .theme-icon-sun {
  display: block !important;
}
html[data-theme="dark"] .theme-toggle .theme-icon-moon {
  display: none !important;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .theme-toggle .theme-icon-sun {
    display: block;
  }
  html:not([data-theme="light"]) .theme-toggle .theme-icon-moon {
    display: none;
  }
}

header nav.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

header nav.main-nav .nav-item {
  position: relative;
}

header nav.main-nav .has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 20px;
}

header nav.main-nav a.nav-link {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 0;
  position: relative;
  display: inline-flex;
  align-items: center;
}

header nav.main-nav a.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--oak);
  transition: width var(--transition-fast);
}

header nav.main-nav a.nav-link:hover::after,
header nav.main-nav a.nav-link.current-menu-item::after,
header nav.main-nav a.nav-link.active::after {
  width: 100%;
}

.dropdown-caret {
  width: 9px;
  height: 6px;
  margin-left: 6px;
  transition: transform var(--transition-fast);
  display: inline-block;
  vertical-align: middle;
}

.has-dropdown:hover .dropdown-caret,
.has-dropdown:focus-within .dropdown-caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 275px;
  background-color: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(32, 35, 31, 0.09);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 200;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block !important;
  font-family: var(--sans) !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: var(--ink) !important;
  padding: 12px 22px !important;
  border-bottom: 1px solid #f3efe9 !important;
  transition: background-color var(--transition-fast), color var(--transition-fast), padding var(--transition-fast) !important;
}

.dropdown-menu a:last-child {
  border-bottom: none !important;
}

.dropdown-menu a::after {
  display: none !important;
}

.dropdown-menu a:hover {
  background-color: var(--cream) !important;
  color: var(--oak-dark) !important;
  padding-left: 26px !important;
}

.header-cta {
  background-color: var(--dark);
  border-color: var(--dark);
  min-height: 46px;
  font-size: 0.68rem;
  padding: 0 22px;
}

.header-cta:hover {
  background-color: var(--ink);
  border-color: var(--ink);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  padding: 10px;
}

.menu-toggle svg {
  width: 26px;
  height: 26px;
}

.mobile-menu-drawer {
  display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  color: #ffffff;
  height: min(780px, calc(100vh - 126px));
  min-height: 640px;
  overflow: hidden;
  position: relative;
  background-color: var(--dark);
}

.hero > img,
.hero-shade {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(16, 21, 17, 0.58) 0%, rgba(16, 21, 17, 0.32) 50%, rgba(16, 21, 17, 0.08) 100%),
              linear-gradient(0deg, rgba(11, 15, 12, 0.35) 0%, transparent 50%);
  z-index: 2;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.hero-copy .location-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  margin-bottom: 24px;
  text-transform: uppercase;
  color: var(--oak-light);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-copy .location-badge::before {
  content: '';
  width: 22px;
  height: 1px;
  background-color: currentColor;
}

.hero h1,
.hero .hero-copy h1,
section.hero h1 {
  font-family: var(--serif) !important;
  font-size: clamp(2.7rem, 5.8vw, 5.2rem) !important;
  font-weight: 400 !important;
  letter-spacing: -0.04em !important;
  line-height: 1 !important;
  max-width: 960px;
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
  text-transform: none !important;
}

.hero-copy > p:not(.location-badge) {
  color: #e5e5dc !important;
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 26px 0 38px;
  max-width: 660px;
  font-weight: 300;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero-copy .hero-subtitle {
  font-family: var(--serif) !important;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem) !important;
  font-weight: 400 !important;
  color: var(--oak-light) !important;
  margin: 18px 0 12px !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
  max-width: 780px;
}

.hero-copy .hero-description {
  color: #e5e5dc !important;
  font-size: clamp(1.05rem, 1.25vw, 1.15rem) !important;
  line-height: 1.75 !important;
  margin: 0 0 36px !important;
  max-width: 680px !important;
  font-weight: 300 !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4) !important;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero .button:not(.outline),
.hero .hero-actions .button:not(.outline),
.hero-actions a.button:first-child {
  background-color: var(--oak) !important;
  border-color: var(--oak) !important;
  color: #ffffff !important;
}

.hero .button:not(.outline):hover,
.hero .hero-actions .button:not(.outline):hover,
.hero-actions a.button:first-child:hover {
  background-color: #96744e !important;
  border-color: #96744e !important;
  color: #ffffff !important;
}

/* ==========================================================================
   Trust Bar
   ========================================================================== */
.trust {
  background-color: #eee9e0;
  border-bottom: 1px solid var(--line);
}

.trust > .shell {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 84px;
}

.trust-item {
  align-items: center;
  border-right: 1px solid var(--line);
  display: flex;
  font-size: 0.68rem;
  font-weight: 700;
  gap: 12px;
  justify-content: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 16px 20px;
}

.trust-item:last-child {
  border-right: none;
}

.trust-item svg {
  color: var(--oak-dark);
  height: 18px;
  width: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   Intro Split Section
   ========================================================================== */
.split {
  display: grid;
  gap: 10%;
  grid-template-columns: 1fr 1fr;
}

.intro {
  background-color: var(--white);
}

.intro h2 {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
}

.intro .split > div:last-child {
  padding-top: 36px;
}

.intro .split > div:last-child > p:not(.lead) {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 24px 0 34px;
}

/* ==========================================================================
   Services Section & List
   ========================================================================== */
.services-section {
  background-color: var(--cream);
}

.service-list {
  border-top: 1px solid var(--line);
  margin-top: 28px;
}

.service-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 50px 1.1fr 1.4fr 44px;
  min-height: 94px;
  padding: 16px 10px;
  transition: all var(--transition-fast);
}

.service-row:hover {
  background-color: var(--white);
  padding-left: 24px;
  padding-right: 24px;
}

.service-row > .service-number {
  color: var(--oak-dark);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.service-row h3 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.service-row p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

.service-row .service-arrow {
  align-items: center;
  border: 1px solid #bbb6ac;
  border-radius: 50%;
  display: flex;
  height: 44px;
  justify-content: center;
  width: 44px;
  transition: all var(--transition-fast);
  color: var(--ink);
}

.service-row:hover .service-arrow {
  background-color: var(--dark);
  border-color: var(--dark);
  color: #ffffff;
  transform: translateX(4px);
}

.service-row .service-arrow svg {
  height: 18px;
  width: 18px;
}

/* ==========================================================================
   Why Mountain Oak Section
   ========================================================================== */
.why-section {
  background-color: var(--white);
}

.why-grid {
  align-items: center;
  display: grid;
  gap: 10%;
  grid-template-columns: 0.95fr 1fr;
}

.image-stack {
  height: 680px;
  position: relative;
}

.image-stack > img:first-child {
  height: 86%;
  object-fit: cover;
  width: 86%;
  box-shadow: var(--shadow-md);
}

.image-stack > img:nth-child(2) {
  border: 14px solid var(--white);
  bottom: 0;
  height: 270px;
  object-fit: cover;
  position: absolute;
  right: 0;
  width: 48%;
  box-shadow: var(--shadow-lg);
}

.image-stack > .badge-stack {
  background-color: var(--dark);
  bottom: 15%;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  left: -20px;
  padding: 22px 24px;
  position: absolute;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
}

.image-stack > .badge-stack strong {
  color: var(--oak-light);
  font-family: var(--serif);
  font-size: 2.5rem;
  line-height: 1;
  margin-right: 14px;
  font-weight: 400;
}

.why-section .lead {
  margin: 30px 0;
}

.values {
  border-top: 1px solid var(--line);
  margin-bottom: 36px;
}

.values-item {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 16px;
  grid-template-columns: 36px 1fr;
  padding: 18px 0;
}

.values-item .val-num {
  color: var(--oak-dark);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.values-item h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.values-item p {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* ==========================================================================
   Featured Projects Section
   ========================================================================== */
.projects-section {
  background-color: var(--dark);
  color: #ffffff;
}

.projects-section .eyebrow {
  color: var(--oak-light);
}

.project-heading {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
}

.project-grid {
  display: grid;
  gap: 28px 24px;
  grid-template-columns: 1fr 1fr;
}

.project-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  outline: none;
}

.project-card.wide {
  grid-column: 1 / -1;
}

.project-card > .project-image-wrap {
  height: 440px;
  overflow: hidden;
  position: relative;
  background-color: var(--darker);
  border-radius: 2px;
}

.project-card.wide > .project-image-wrap {
  height: 600px;
}

.project-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter var(--transition-fast);
  width: 100%;
  display: block;
}

.project-card:hover img {
  transform: scale(1.035);
  filter: brightness(0.92);
}

.project-card-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background-color: rgba(32, 35, 31, 0.88);
  color: var(--oak-light);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  backdrop-filter: blur(6px);
  z-index: 2;
  border-left: 2px solid var(--oak-light);
}

.project-photo-count {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background-color: rgba(32, 35, 31, 0.85);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.2);
  z-index: 2;
}

.project-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 24, 21, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 3;
  pointer-events: none;
}

.project-card:hover .project-hover-overlay {
  opacity: 1;
}

.project-hover-btn {
  background-color: #aa875e;
  color: #ffffff;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transform: translateY(8px);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.project-card:hover .project-hover-btn {
  transform: translateY(0);
}

.project-meta {
  color: #bfc4bf;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-top: 20px;
  text-transform: uppercase;
}

.project-card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--line-dark);
  padding: 8px 0 20px;
  gap: 16px;
  transition: border-color var(--transition-fast);
}

.project-card:hover .project-card-title-row {
  border-bottom-color: rgba(170, 135, 94, 0.45);
}

.project-card h3 {
  font-family: var(--serif);
  font-size: 1.95rem;
  font-weight: 400;
  margin: 0;
  padding: 0;
  color: #ffffff;
  transition: color var(--transition-fast);
}

.project-card:hover h3 {
  color: var(--oak-light);
}

.project-cta-link {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--oak-light);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.project-card:hover .project-cta-link {
  color: #ffffff;
  transform: translateX(4px);
}

@media (max-width: 640px) {
  .project-card-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ==========================================================================
   5-Step Process Section
   ========================================================================== */
.process-section {
  background-color: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 75px;
  gap: 24px;
}

.step-card {
  position: relative;
}

.step-num {
  color: var(--oak-dark);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.step-line {
  background-color: var(--line);
  display: block;
  height: 1px;
  margin: 18px 0 24px;
  position: relative;
}

.step-line::after {
  content: '';
  position: absolute;
  left: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  background-color: var(--oak-dark);
  border-radius: 50%;
}

.step-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

/* ==========================================================================
   Service Areas Band
   ========================================================================== */
.area-band {
  background-color: var(--green);
  color: #ffffff;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.area-band > .area-band-image {
  height: 100%;
  min-height: 700px;
  object-fit: cover;
  width: 100%;
}

.area-band > .area-band-content {
  padding: 100px 7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.area-band-content .eyebrow {
  color: var(--oak-light);
}

.area-band-content > p:not(.eyebrow) {
  color: #cbd0ca;
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 26px 0 34px;
}

.area-band-links {
  display: flex;
  flex-direction: column;
}

.area-band-links a {
  align-items: center;
  border-top: 1px solid #4a544b;
  display: grid;
  font-family: var(--serif);
  font-size: 1.25rem;
  gap: 14px;
  grid-template-columns: 24px 1fr 20px;
  padding: 16px 0;
  color: #ffffff;
  transition: color var(--transition-fast), padding var(--transition-fast);
}

.area-band-links a:last-child {
  border-bottom: 1px solid #4a544b;
}

.area-band-links a:hover {
  color: var(--oak-light);
  padding-left: 8px;
}

.area-band-links svg {
  height: 18px;
  width: 18px;
}

/* ==========================================================================
   Testimonial Section
   ========================================================================== */
.testimonial-section {
  background-color: var(--cream);
  text-align: center;
}

.testimonial-inner {
  max-width: 920px;
  margin: 0 auto;
}

.testimonial-quote-icon {
  color: var(--oak-dark);
  height: 44px;
  margin: 0 auto 30px;
  width: 44px;
}

.testimonial-section blockquote {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.4vw, 2.75rem);
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.testimonial-author {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-top: 36px;
  text-transform: uppercase;
  color: var(--ink);
}

.testimonial-location {
  display: block;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  margin-top: 6px;
  text-transform: uppercase;
}

/* ==========================================================================
   Financing CTA Band
   ========================================================================== */
.financing-band {
  background-color: #dfd1bf;
  padding: 48px 0;
}

.financing-band .split {
  align-items: center;
}

.financing-band p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 26px;
  color: #383b36;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  background-color: var(--white);
}

.faq-grid {
  display: grid;
  gap: 10%;
  grid-template-columns: 0.75fr 1.25fr;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-toggle {
  align-items: center;
  display: flex;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  justify-content: space-between;
  padding: 24px 0;
  text-align: left;
  width: 100%;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-toggle:hover {
  color: var(--oak-dark);
}

.faq-icon {
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--oak-dark);
  margin-left: 16px;
}

.faq-content {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-content {
  max-height: 250px;
  padding-bottom: 24px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer.site-footer {
  background-color: #202521;
  color: #ffffff;
  padding: 54px 0 24px;
}

.footer-lead {
  align-items: center;
  border-bottom: 1px solid #4a504b;
  display: flex;
  justify-content: space-between;
  padding-bottom: 32px;
  gap: 30px;
}

.footer-lead .eyebrow {
  color: var(--oak-light) !important;
}

.footer-lead h2,
.site-footer .footer-lead h2,
footer.site-footer .footer-lead h2 {
  color: #F3EFE7 !important;
  font-family: var(--serif);
}

.footer-lead .button,
.site-footer .footer-lead a.button,
footer.site-footer .footer-lead a.button {
  background-color: var(--oak) !important;
  border-color: var(--oak) !important;
  color: #ffffff !important;
}

.footer-lead .button:hover,
.site-footer .footer-lead a.button:hover,
footer.site-footer .footer-lead a.button:hover {
  background-color: #c29d71 !important;
  border-color: #c29d71 !important;
  color: #20201E !important;
}

.footer-grid {
  display: grid;
  gap: 6%;
  grid-template-columns: 2fr repeat(3, 1fr);
  padding: 36px 0;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-grid p,
.footer-grid a,
.footer-grid span {
  color: #b9bfba;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.footer-grid a:hover {
  color: var(--oak-light);
}

.footer-grid b {
  color: var(--oak-light);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-license {
  font-size: 0.72rem;
  color: #8c928d;
  margin-top: 10px;
}

.footer-social {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-social b {
  margin-bottom: 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.social-links--footer .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.04);
  color: #F3EFE7;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.social-links--footer .social-link:hover,
.social-links--footer .social-link:focus-visible {
  background-color: var(--oak);
  border-color: var(--oak);
  color: #ffffff;
  transform: translateY(-1px);
  outline: none;
}

.social-links--footer .social-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid #3c423d;
  color: #7e857f;
  display: flex;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  justify-content: space-between;
  padding-top: 28px;
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom a {
  color: #9ba19c;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Mobile Quick Contact Bar (Page Level)
   ========================================================================== */
.mobile-sticky-cta {
  display: none;
  background-color: transparent;
  border: none;
  bottom: auto;
  left: auto;
  width: 100%;
  height: auto;
  padding: 0;
  margin: 32px 0 16px;
  position: static;
  z-index: 10;
  box-shadow: none;
}

.mobile-sticky-inner {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  height: 52px;
}

.mobile-cta-phone {
  align-items: center;
  background-color: #2a312c;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: center;
  color: #F3EFE7;
  transition: background-color var(--transition-fast);
}

.mobile-cta-phone:hover {
  background-color: var(--oak);
  color: #ffffff;
}

.mobile-cta-phone svg {
  width: 20px;
  height: 20px;
}

.mobile-cta-btn {
  align-items: center;
  background-color: var(--oak);
  color: #ffffff;
  display: flex;
  font-size: 0.68rem;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color var(--transition-fast);
}

.mobile-cta-btn:hover {
  background-color: #96744e;
}

.mobile-cta-btn svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Inner Pages - Breadcrumbs & Hero
   ========================================================================== */
.breadcrumbs {
  color: #737871;
  display: flex;
  font-size: 0.68rem;
  font-weight: 600;
  gap: 10px;
  letter-spacing: 0.12em;
  margin-bottom: 45px;
  text-transform: uppercase;
  flex-wrap: wrap;
  align-items: center;
}

.breadcrumbs a {
  color: #737871;
}

.breadcrumbs a:hover {
  color: var(--ink);
}

.breadcrumbs .sep {
  color: #a5aaa2;
}

.breadcrumbs .current {
  color: var(--oak-dark);
}

.inner-hero {
  background-color: var(--cream);
  padding: 28px 0 44px;
  position: relative;
}

.inner-hero-grid {
  align-items: center;
  display: grid;
  gap: 8%;
  grid-template-columns: 0.9fr 1.1fr;
}

.inner-hero h1,
.simple-hero h1,
.contact-hero h1,
.project-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--ink);
}

.inner-hero-text > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin: 16px 0 24px;
}

.inner-hero-media img {
  height: 480px;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow-md);
}

/* Simple Hero (e.g. Resources / Blog) */
.simple-hero {
  background-color: var(--cream);
  padding: 28px 0 44px;
  border-bottom: 1px solid var(--line);
}

.simple-hero-content {
  max-width: 820px;
}

.simple-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-top: 22px;
}

/* ==========================================================================
   Content Sections & Specifications
   ========================================================================== */
.content-section {
  background-color: var(--white);
}

.content-section p:not(.lead, .eyebrow) {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

.spec-list {
  border-top: 1px solid var(--line);
  margin-top: 36px;
  list-style: none;
}

.spec-list li {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  font-size: 0.875rem;
  gap: 16px;
  padding: 18px 0;
  color: var(--ink);
}

.spec-list li svg {
  color: var(--oak-dark);
  height: 18px;
  width: 18px;
  flex-shrink: 0;
}

/* Related Cards Grid */
.related-section {
  background-color: var(--cream);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.related-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.related-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.related-card {
  background-color: var(--white);
  min-height: 290px;
  padding: 36px;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.related-card .rel-num {
  color: var(--oak-dark);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.related-card h3 {
  font-family: var(--serif);
  font-size: 1.75rem;
  margin: 26px 0 12px;
  font-weight: 400;
  color: var(--ink);
}

.related-card p {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.7;
}

.related-card > svg {
  bottom: 30px;
  height: 20px;
  position: absolute;
  right: 30px;
  width: 20px;
  color: var(--oak-dark);
  transition: transform var(--transition-fast);
}

.related-card:hover > svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Project Single / Case Study
   ========================================================================== */
.project-nav-section {
  background-color: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  position: relative;
  z-index: 5;
  width: 100%;
}

.project-nav-section .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.project-nav-section .breadcrumbs {
  margin-bottom: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #555b53;
}

.project-nav-section .breadcrumbs a {
  color: #555b53;
  transition: color var(--transition-fast);
}

.project-nav-section .breadcrumbs a:hover {
  color: var(--oak-dark);
}

.project-nav-section .breadcrumbs .sep {
  color: #9da39a;
}

.project-nav-section .breadcrumbs .current {
  color: var(--oak-dark);
  font-weight: 700;
}

.project-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--oak-dark);
  transition: color var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
}

.project-nav-back:hover {
  color: var(--ink);
  transform: translateX(-3px);
}

.project-hero {
  color: #ffffff;
  height: 640px;
  position: relative;
  background-color: var(--dark);
  overflow: hidden;
}

.project-hero img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.project-hero .project-hero-shade {
  background: linear-gradient(0deg, rgba(13, 17, 14, 0.85) 0%, rgba(13, 17, 14, 0.45) 55%, rgba(13, 17, 14, 0.15) 100%);
  inset: 0;
  position: absolute;
}

.project-hero .shell {
  bottom: 60px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: min(calc(100% - 64px), 1260px);
  z-index: 3;
}

.project-hero .eyebrow {
  color: var(--oak-light);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}

.project-hero h1 {
  color: #ffffff;
  font-size: clamp(2.8rem, 6vw, 5rem);
  margin-bottom: 15px;
  line-height: 1.05;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.project-hero-intro {
  color: #e2e7e2;
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 680px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.facts-card {
  border-top: 1px solid var(--line);
  background-color: var(--white);
  padding: 10px 20px;
}

.fact-row {
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  font-size: 0.875rem;
}

.fact-row span {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  flex-shrink: 0;
}

.fact-row strong {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
  line-height: 1.45;
}

.project-gallery {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.25fr 0.75fr;
  margin-top: 80px;
}

.project-gallery img {
  height: 560px;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Resources & Articles
   ========================================================================== */
.resources-grid {
  display: grid;
  gap: 50px 32px;
  grid-template-columns: 1fr 1fr;
}

.resource-card.featured {
  grid-column: 1 / -1;
}

.resource-card .resource-thumb {
  height: 380px;
  overflow: hidden;
  position: relative;
  margin-bottom: 24px;
}

.resource-card.featured .resource-thumb {
  height: 540px;
}

.resource-card img {
  height: 100%;
  object-fit: cover;
  width: 100%;
  transition: transform 0.6s ease;
}

.resource-card:hover img {
  transform: scale(1.03);
}

.resource-card h2 {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 10px 0 16px;
  color: var(--ink);
}

.resource-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Single Article Styling */
.article-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 50px;
}

.article-meta {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 20px 0 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.article-hero-image {
  height: 550px;
  object-fit: cover;
  width: 100%;
  margin-bottom: 60px;
}

.article-body {
  max-width: 780px;
  margin: 0 auto;
}

.article-body h2 {
  font-family: var(--serif);
  font-size: 2.2rem;
  margin: 45px 0 20px;
  font-weight: 400;
}

.article-body h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin: 35px 0 15px;
}

.article-body p {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 24px;
}

.article-body blockquote {
  border-left: 2px solid var(--oak);
  padding: 10px 0 10px 28px;
  margin: 35px 0;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--ink);
}

/* ==========================================================================
   Contact Page & Lead Qualification Form
   ========================================================================== */
.contact-section {
  background-color: var(--cream);
  padding: 40px 0 120px;
}

.contact-grid {
  display: grid;
  gap: 8%;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
}

.contact-info > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin: 26px 0 36px;
}

.contact-card-link,
.nap-item {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  font-family: var(--serif);
  font-size: 1.25rem;
  gap: 16px;
  padding: 20px 0;
  color: var(--ink);
}

.nap-item {
  border-bottom: 1px solid var(--line);
}

.contact-info svg {
  height: 22px;
  width: 22px;
  color: var(--oak-dark);
  flex-shrink: 0;
}

.contact-info span {
  display: flex;
  flex-direction: column;
}

.contact-info small {
  font-family: var(--sans);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-card-link:hover {
  color: var(--oak-dark);
}

.contact-social-item {
  align-items: flex-start;
}

.contact-social-item > svg {
  margin-top: 2px;
}

.contact-social-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.contact-social-content small {
  margin-bottom: 0;
}

.social-links--contact .social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background-color: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.social-links--contact .social-link svg {
  width: 16px;
  height: 16px;
  color: var(--oak-dark);
  transition: color var(--transition-fast);
}

.social-links--contact .social-link .social-link-text {
  display: inline;
  flex-direction: row;
}

.social-links--contact .social-link:hover,
.social-links--contact .social-link:focus-visible {
  background-color: var(--oak);
  border-color: var(--oak);
  color: #ffffff;
  transform: translateY(-1px);
  outline: none;
}

.social-links--contact .social-link:hover svg,
.social-links--contact .social-link:focus-visible svg {
  color: #ffffff;
}

.contact-form-column {
  width: 100%;
  min-width: 0;
}

.contact-iframe-wrapper {
  background-color: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(54, 47, 39, 0.08);
  overflow: hidden;
  width: 100%;
}

.contact-iframe {
  display: block;
  width: 100%;
  min-height: 700px;
  height: 830px;
  border: 0;
  background-color: #ffffff;
  color-scheme: light;
}

/* The Qualification Form */
.qualification-form-wrapper {
  background-color: var(--white);
  box-shadow: 0 20px 60px rgba(54, 47, 39, 0.08);
  border: 1px solid var(--line);
  padding: 48px;
  position: relative;
}

.qualification-form {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
}

.form-group label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  text-transform: uppercase;
  color: var(--ink);
}

.form-group label .req {
  color: var(--error);
}

.form-control {
  background-color: #f7f4ee;
  border: 1px solid #d8d3c9;
  font-size: 0.875rem;
  min-height: 50px;
  padding: 12px 16px;
  color: var(--ink);
  border-radius: 0;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
}

.form-control:focus {
  background-color: #ffffff;
  border-color: var(--oak-dark);
  outline: none;
  box-shadow: 0 0 0 2px rgba(170, 135, 94, 0.2);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-submit-btn {
  width: 100%;
  margin-top: 10px;
}

.form-privacy-note {
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
}

/* Form Success & Loading States */
.form-success-state {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 520px;
  padding: 40px 20px;
}

.form-success-state .success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #eaf3ed;
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.form-success-state .success-icon svg {
  width: 32px;
  height: 32px;
}

.form-success-state h2 {
  font-family: var(--serif);
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.form-success-state p {
  color: var(--muted);
  max-width: 440px;
  font-size: 0.95rem;
}

.form-loading {
  opacity: 0.6;
  pointer-events: none;
}

/* ==========================================================================
   Mobile Drawer Theme Switcher & Responsive Header Refinements
   ========================================================================== */
.mobile-drawer-theme {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  margin: 16px 0 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background-color: var(--cream-light);
}

.mobile-drawer-theme-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.mobile-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 4px;
}

.mobile-theme-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: all var(--transition-fast);
}

.mobile-theme-pill .theme-icon-sun {
  display: none;
}
.mobile-theme-pill .theme-icon-moon {
  display: block;
}

html[data-theme="dark"] .mobile-theme-pill .theme-icon-sun {
  display: block !important;
}
html[data-theme="dark"] .mobile-theme-pill .theme-icon-moon {
  display: none !important;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .mobile-theme-pill .theme-icon-sun {
    display: block;
  }
  html:not([data-theme="light"]) .mobile-theme-pill .theme-icon-moon {
    display: none;
  }
}

.mobile-drawer-contact {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.mobile-drawer-contact a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-family: var(--serif);
  color: var(--ink);
  margin-bottom: 12px;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.mobile-drawer-contact a:hover {
  color: var(--oak);
}

.mobile-drawer-contact svg,
.mobile-drawer-contact a svg {
  width: 20px;
  height: 20px;
  color: var(--oak);
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.mobile-drawer-contact a:hover svg {
  color: var(--oak-dark);
}

/* ==========================================================================
   Comprehensive Dark Mode System (Honors system preferences & data-theme)
   ========================================================================== */
html[data-theme="dark"] {
  --ink: #F3EFE7;
  --dark: #222824;
  --darker: #131714;
  --green: #414f44;
  --oak: #c29d71;
  --oak-dark: #aa875e;
  --oak-light: #e0c4a4;
  --cream: #1c211e;
  --cream-light: #232a26;
  --white: #161917;
  --pure-white: #1f2521;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(255, 255, 255, 0.22);
  --muted: #a4aaa1;
  --muted-light: #838a80;
  --bg-page: #161917;
  --bg-surface: #1e2420;
  --bg-surface-alt: #191e1b;
  --bg-elevated: #242c27;
  --border-color: rgba(255, 255, 255, 0.12);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.65);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    --ink: #F3EFE7;
    --dark: #222824;
    --darker: #131714;
    --green: #414f44;
    --oak: #c29d71;
    --oak-dark: #aa875e;
    --oak-light: #e0c4a4;
    --cream: #1c211e;
    --cream-light: #232a26;
    --white: #161917;
    --pure-white: #1f2521;
    --line: rgba(255, 255, 255, 0.12);
    --line-dark: rgba(255, 255, 255, 0.22);
    --muted: #a4aaa1;
    --muted-light: #838a80;
    --bg-page: #161917;
    --bg-surface: #1e2420;
    --bg-surface-alt: #191e1b;
    --bg-elevated: #242c27;
    --border-color: rgba(255, 255, 255, 0.12);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.65);
  }
}

/* Dark Mode Global & Component Rules (Applied when data-theme="dark") */
html[data-theme="dark"] body {
  background-color: #161917;
  color: #d8dbd6;
}

html[data-theme="dark"] header.site-header {
  background-color: rgba(22, 26, 23, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .header-scrolled {
  background-color: rgba(18, 21, 19, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] header nav.main-nav .nav-link {
  color: #e5e1d8;
}

html[data-theme="dark"] header nav.main-nav .nav-link:hover,
html[data-theme="dark"] header nav.main-nav .nav-link.active {
  color: var(--oak-light);
}

html[data-theme="dark"] .dropdown-menu {
  background-color: #1e2420;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
}

html[data-theme="dark"] .dropdown-menu a {
  color: #e5e1d8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .dropdown-menu a:hover {
  background-color: #272f2a !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .top-bar {
  background-color: #121513;
  color: #a4aaa3;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .theme-toggle {
  border-color: rgba(255, 255, 255, 0.16);
  color: #F3EFE7;
}

html[data-theme="dark"] .theme-toggle:hover {
  background-color: rgba(170, 135, 94, 0.18);
  border-color: var(--oak-light);
  color: var(--oak-light);
}

html[data-theme="dark"] .menu-toggle {
  color: #F3EFE7;
}

html[data-theme="dark"] .mobile-menu-drawer {
  background-color: #161917;
  border-top-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .mobile-nav-links a.mobile-nav-link {
  color: #F3EFE7;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .mobile-sub-menu {
  background-color: #1a201c;
  border-top-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .mobile-sub-menu a {
  color: #d8dbd6;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .mobile-drawer-theme {
  background-color: #1e2420;
  border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .mobile-theme-toggle {
  color: #F3EFE7;
}

html[data-theme="dark"] .mobile-theme-pill {
  background-color: #161917;
  border-color: rgba(255, 255, 255, 0.15);
  color: #F3EFE7;
}

html[data-theme="dark"] .mobile-drawer-contact a:hover svg {
  color: var(--oak-light);
}

html[data-theme="dark"] .trust {
  background-color: #1a1f1c;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .trust-item {
  color: #e5e1d8;
  border-right-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .intro,
html[data-theme="dark"] .why-section,
html[data-theme="dark"] .content-section {
  background-color: #161917;
}

html[data-theme="dark"] .services-section {
  background-color: #191d1a;
}

html[data-theme="dark"] .service-row {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .service-row:hover {
  background-color: #202722;
}

html[data-theme="dark"] .service-row h3 {
  color: #F3EFE7;
}

html[data-theme="dark"] .service-row p {
  color: #c4cac0;
}

html[data-theme="dark"] .step-card {
  background-color: #1e2420;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .step-card p {
  color: #c4cac0;
}

html[data-theme="dark"] .faq-section {
  background-color: #161917;
}

html[data-theme="dark"] .faq-item {
  border-top-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .faq-toggle {
  color: #F3EFE7;
}

html[data-theme="dark"] .faq-content p {
  color: #c4cac0;
}

html[data-theme="dark"] .qualification-form-wrapper {
  background-color: #1e2420;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .form-control {
  background-color: #161a17;
  border-color: rgba(255, 255, 255, 0.16);
  color: #F3EFE7;
}

html[data-theme="dark"] .form-control:focus {
  border-color: var(--oak-light);
  background-color: #191e1a;
}

html[data-theme="dark"] .form-group label {
  color: #d8dbd6;
}

html[data-theme="dark"] .mobile-sticky-cta {
  background-color: transparent;
  border-top-color: transparent;
}

html[data-theme="dark"] .mobile-cta-phone {
  background-color: #222824;
  border-color: rgba(255, 255, 255, 0.15);
  color: #F3EFE7;
}

html[data-theme="dark"] .nap-item {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .nap-item-content b {
  color: #F3EFE7;
}

html[data-theme="dark"] .contact-card-link {
  border-top-color: rgba(255, 255, 255, 0.1);
  color: #F3EFE7;
}

html[data-theme="dark"] .contact-card-link:hover {
  color: var(--oak-light);
}

html[data-theme="dark"] .contact-info svg {
  color: var(--oak-light);
}

html[data-theme="dark"] .social-links--contact .social-link {
  background-color: #222824;
  border-color: rgba(255, 255, 255, 0.14);
  color: #F3EFE7;
}

html[data-theme="dark"] .social-links--contact .social-link svg {
  color: var(--oak-light);
}

html[data-theme="dark"] .social-links--contact .social-link:hover,
html[data-theme="dark"] .social-links--contact .social-link:focus-visible {
  background-color: var(--oak);
  border-color: var(--oak);
  color: #20201E;
}

html[data-theme="dark"] .social-links--contact .social-link:hover svg,
html[data-theme="dark"] .social-links--contact .social-link:focus-visible svg {
  color: #20201E;
}

html[data-theme="dark"] .contact-iframe-wrapper {
  background-color: #ffffff;
  border: 1px solid rgba(194, 157, 113, 0.3);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

html[data-theme="dark"] .facts-card {
  background-color: #1e2420;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .fact-row {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .related-card {
  background-color: #1e2420;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .spec-list li {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: #d8dbd6;
}

html[data-theme="dark"] .breadcrumbs {
  color: #9fa59d;
}

html[data-theme="dark"] .breadcrumbs a {
  color: #c4cac0;
}

html[data-theme="dark"] .project-nav-section {
  background-color: #1a1e1b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .project-nav-section .breadcrumbs {
  color: #9fa59d;
}

html[data-theme="dark"] .project-nav-section .breadcrumbs a {
  color: #c4cac0;
}

html[data-theme="dark"] .project-nav-section .breadcrumbs a:hover {
  color: var(--oak-light);
}

html[data-theme="dark"] .project-nav-section .breadcrumbs .sep {
  color: #61685f;
}

html[data-theme="dark"] .project-nav-section .breadcrumbs .current {
  color: var(--oak-light);
}

html[data-theme="dark"] .project-nav-back {
  color: var(--oak-light);
}

html[data-theme="dark"] .project-nav-back:hover {
  color: #ffffff;
}

html[data-theme="dark"] .button.outline,
html[data-theme="dark"] .btn-outline {
  border-color: rgba(255, 255, 255, 0.28);
  color: #F3EFE7;
}

html[data-theme="dark"] .button.outline:hover,
html[data-theme="dark"] .btn-outline:hover {
  border-color: var(--oak-light);
  color: var(--oak-light);
  background-color: rgba(255, 255, 255, 0.04);
}

/* System Dark Mode Fallbacks (when user hasn't explicitly chosen data-theme="light") */
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) body {
    background-color: #161917;
    color: #d8dbd6;
  }

  html:not([data-theme="light"]) header.site-header {
    background-color: rgba(22, 26, 23, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  html:not([data-theme="light"]) .header-scrolled {
    background-color: rgba(18, 21, 19, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  }

  html:not([data-theme="light"]) header nav.main-nav .nav-link {
    color: #e5e1d8;
  }

  html:not([data-theme="light"]) header nav.main-nav .nav-link:hover,
  html:not([data-theme="light"]) header nav.main-nav .nav-link.active {
    color: var(--oak-light);
  }

  html:not([data-theme="light"]) .dropdown-menu {
    background-color: #1e2420;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
  }

  html:not([data-theme="light"]) .dropdown-menu a {
    color: #e5e1d8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  html:not([data-theme="light"]) .dropdown-menu a:hover {
    background-color: #272f2a !important;
    color: #ffffff !important;
  }

  html:not([data-theme="light"]) .top-bar {
    background-color: #121513;
    color: #a4aaa3;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  html:not([data-theme="light"]) .theme-toggle {
    border-color: rgba(255, 255, 255, 0.16);
    color: #F3EFE7;
  }

  html:not([data-theme="light"]) .theme-toggle:hover {
    background-color: rgba(170, 135, 94, 0.18);
    border-color: var(--oak-light);
    color: var(--oak-light);
  }

  html:not([data-theme="light"]) .menu-toggle {
    color: #F3EFE7;
  }

  html:not([data-theme="light"]) .mobile-menu-drawer {
    background-color: #161917;
    border-top-color: rgba(255, 255, 255, 0.08);
  }

  html:not([data-theme="light"]) .mobile-nav-links a.mobile-nav-link {
    color: #F3EFE7;
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  html:not([data-theme="light"]) .mobile-sub-menu {
    background-color: #1a201c;
    border-top-color: rgba(255, 255, 255, 0.08);
  }

  html:not([data-theme="light"]) .mobile-sub-menu a {
    color: #d8dbd6;
    border-bottom-color: rgba(255, 255, 255, 0.06);
  }

  html:not([data-theme="light"]) .mobile-drawer-theme {
    background-color: #1e2420;
    border-color: rgba(255, 255, 255, 0.1);
  }

  html:not([data-theme="light"]) .mobile-theme-toggle {
    color: #F3EFE7;
  }

  html:not([data-theme="light"]) .mobile-theme-pill {
    background-color: #161917;
    border-color: rgba(255, 255, 255, 0.15);
    color: #F3EFE7;
  }

  html:not([data-theme="light"]) .mobile-drawer-contact a:hover svg {
    color: var(--oak-light);
  }

  html:not([data-theme="light"]) .trust {
    background-color: #1a1f1c;
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  html:not([data-theme="light"]) .trust-item {
    color: #e5e1d8;
    border-right-color: rgba(255, 255, 255, 0.08);
  }

  html:not([data-theme="light"]) .intro,
  html:not([data-theme="light"]) .why-section,
  html:not([data-theme="light"]) .content-section {
    background-color: #161917;
  }

  html:not([data-theme="light"]) .services-section {
    background-color: #191d1a;
  }

  html:not([data-theme="light"]) .service-row {
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  html:not([data-theme="light"]) .service-row:hover {
    background-color: #202722;
  }

  html:not([data-theme="light"]) .service-row h3 {
    color: #F3EFE7;
  }

  html:not([data-theme="light"]) .service-row p {
    color: #c4cac0;
  }

  html:not([data-theme="light"]) .step-card {
    background-color: #1e2420;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  html:not([data-theme="light"]) .step-card p {
    color: #c4cac0;
  }

  html:not([data-theme="light"]) .faq-section {
    background-color: #161917;
  }

  html:not([data-theme="light"]) .faq-item {
    border-top-color: rgba(255, 255, 255, 0.1);
  }

  html:not([data-theme="light"]) .faq-toggle {
    color: #F3EFE7;
  }

  html:not([data-theme="light"]) .faq-content p {
    color: #c4cac0;
  }

  html:not([data-theme="light"]) .qualification-form-wrapper {
    background-color: #1e2420;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  html:not([data-theme="light"]) .form-control {
    background-color: #161a17;
    border-color: rgba(255, 255, 255, 0.16);
    color: #F3EFE7;
  }

  html:not([data-theme="light"]) .form-control:focus {
    border-color: var(--oak-light);
    background-color: #191e1a;
  }

  html:not([data-theme="light"]) .form-group label {
    color: #d8dbd6;
  }

  html:not([data-theme="light"]) .mobile-sticky-cta {
    background-color: transparent;
    border-top-color: transparent;
  }

  html:not([data-theme="light"]) .mobile-cta-phone {
    background-color: #222824;
    border-color: rgba(255, 255, 255, 0.15);
    color: #F3EFE7;
  }

  html:not([data-theme="light"]) .nap-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  html:not([data-theme="light"]) .nap-item-content b {
    color: #F3EFE7;
  }

  html:not([data-theme="light"]) .contact-card-link {
    border-top-color: rgba(255, 255, 255, 0.1);
    color: #F3EFE7;
  }

  html:not([data-theme="light"]) .contact-card-link:hover {
    color: var(--oak-light);
  }

  html:not([data-theme="light"]) .contact-info svg {
    color: var(--oak-light);
  }

  html:not([data-theme="light"]) .social-links--contact .social-link {
    background-color: #222824;
    border-color: rgba(255, 255, 255, 0.14);
    color: #F3EFE7;
  }

  html:not([data-theme="light"]) .social-links--contact .social-link svg {
    color: var(--oak-light);
  }

  html:not([data-theme="light"]) .social-links--contact .social-link:hover,
  html:not([data-theme="light"]) .social-links--contact .social-link:focus-visible {
    background-color: var(--oak);
    border-color: var(--oak);
    color: #20201E;
  }

  html:not([data-theme="light"]) .social-links--contact .social-link:hover svg,
  html:not([data-theme="light"]) .social-links--contact .social-link:focus-visible svg {
    color: #20201E;
  }

  html:not([data-theme="light"]) .contact-iframe-wrapper {
    background-color: #ffffff;
    border: 1px solid rgba(194, 157, 113, 0.3);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  }

  html:not([data-theme="light"]) .facts-card {
    background-color: #1e2420;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  html:not([data-theme="light"]) .fact-row {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  html:not([data-theme="light"]) .related-card {
    background-color: #1e2420;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  html:not([data-theme="light"]) .spec-list li {
    border-bottom-color: rgba(255, 255, 255, 0.08);
    color: #d8dbd6;
  }

  html:not([data-theme="light"]) .breadcrumbs {
    color: #9fa59d;
  }

  html:not([data-theme="light"]) .breadcrumbs a {
    color: #c4cac0;
  }

  html:not([data-theme="light"]) .project-nav-section {
    background-color: #1a1e1b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  html:not([data-theme="light"]) .project-nav-section .breadcrumbs {
    color: #9fa59d;
  }

  html:not([data-theme="light"]) .project-nav-section .breadcrumbs a {
    color: #c4cac0;
  }

  html:not([data-theme="light"]) .project-nav-section .breadcrumbs a:hover {
    color: var(--oak-light);
  }

  html:not([data-theme="light"]) .project-nav-section .breadcrumbs .sep {
    color: #61685f;
  }

  html:not([data-theme="light"]) .project-nav-section .breadcrumbs .current {
    color: var(--oak-light);
  }

  html:not([data-theme="light"]) .project-nav-back {
    color: var(--oak-light);
  }

  html:not([data-theme="light"]) .project-nav-back:hover {
    color: #ffffff;
  }

  html:not([data-theme="light"]) .button.outline,
  html:not([data-theme="light"]) .btn-outline {
    border-color: rgba(255, 255, 255, 0.28);
    color: #F3EFE7;
  }

  html:not([data-theme="light"]) .button.outline:hover,
  html:not([data-theme="light"]) .btn-outline:hover {
    border-color: var(--oak-light);
    color: var(--oak-light);
    background-color: rgba(255, 255, 255, 0.04);
  }
}

/* ==========================================================================
   Mobile & Responsive Adjustments (Includes Logo & Theme Switcher Refinements)
   ========================================================================== */
@media (max-width: 992px) {
  .shell {
    width: min(calc(100% - 40px), 1260px);
  }

  .top-bar {
    display: none;
  }

  header nav.main-nav,
  .header-cta,
  a.header-cta,
  header .header-cta,
  .site-header a.header-cta {
    display: none !important;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .brand-logo-img,
  .site-logo img {
    height: 38px;
    max-width: 200px;
  }

  .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu-drawer {
    display: none;
    position: fixed;
    top: 88px;
    left: 0;
    width: 100%;
    height: calc(100vh - 88px);
    background-color: var(--white);
    padding: 30px 24px;
    overflow-y: auto;
    z-index: 99;
    border-top: 1px solid var(--line);
  }

  .mobile-menu-drawer.is-open {
    display: flex;
    flex-direction: column;
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
  }

  .mobile-nav-links a.mobile-nav-link {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    font-family: var(--serif);
    font-size: 1.5rem;
    justify-content: space-between;
    padding: 16px 0;
    color: var(--ink);
  }

  .mobile-nav-links a.mobile-nav-link svg {
    width: 18px;
    height: 18px;
    color: var(--oak-dark);
  }

  .mobile-nav-group {
    border-bottom: 1px solid var(--line);
  }

  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-nav-header a.mobile-nav-link {
    border-bottom: none;
    flex-grow: 1;
  }

  .mobile-submenu-toggle {
    background: none;
    border: none;
    color: var(--oak-dark);
    cursor: pointer;
    padding: 16px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-submenu-toggle svg {
    width: 15px;
    height: 10px;
    transition: transform var(--transition-fast);
  }

  .mobile-nav-group.is-open .mobile-submenu-toggle svg {
    transform: rotate(180deg);
  }

  .mobile-sub-menu {
    display: none;
    flex-direction: column;
    background-color: var(--cream-light);
    padding: 6px 0 10px 18px;
    margin-bottom: 6px;
    border-top: 1px solid rgba(215, 210, 200, 0.4);
  }

  .mobile-nav-group.is-open .mobile-sub-menu {
    display: flex;
  }

  .mobile-sub-menu a {
    padding: 12px 14px;
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
    border-bottom: 1px solid rgba(215, 210, 200, 0.35);
    display: flex;
    align-items: center;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
  }

  .mobile-sub-menu a:last-child {
    border-bottom: none;
  }

  .mobile-sub-menu a:hover {
    color: var(--oak-dark);
    padding-left: 20px;
  }

  .mobile-drawer-contact {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }

  .mobile-drawer-contact a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-family: var(--serif);
    color: var(--ink);
    margin-bottom: 12px;
    text-decoration: none;
    transition: color var(--transition-fast);
  }

  .mobile-drawer-contact a:hover {
    color: var(--oak);
  }

  .mobile-drawer-contact svg,
  .mobile-drawer-contact a svg {
    width: 20px;
    height: 20px;
    color: var(--oak);
    flex-shrink: 0;
    transition: color var(--transition-fast);
  }

  .mobile-drawer-contact a:hover svg {
    color: var(--oak-dark);
  }

  .split,
  .why-grid,
  .faq-grid,
  .inner-hero-grid,
  .contact-grid,
  .area-band {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .intro .split > div:last-child {
    padding-top: 0;
  }

  .contact-section {
    padding-bottom: 70px !important;
  }

  .faq-section {
    padding-bottom: 70px !important;
  }

  .area-band > .area-band-image {
    min-height: 420px;
  }

  .area-band > .area-band-content {
    padding: 70px 24px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust > .shell {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(2) {
    border-right: none;
  }

  .trust-item:nth-child(3),
  .trust-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-lead {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .related-grid,
  .related-grid-4,
  .related-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .related-card {
    padding: 24px !important;
    min-height: auto !important;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-hero {
    height: 560px;
  }

  .project-hero .shell {
    bottom: 45px;
    width: min(calc(100% - 40px), 1260px);
  }

  .project-card.wide > .project-image-wrap {
    height: 420px;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-gallery img {
    height: 380px;
  }

  .qualification-form-wrapper {
    padding: 30px 20px;
  }

  .contact-iframe {
    height: 700px;
  }

  .mobile-sticky-cta {
    display: block;
    position: static;
    bottom: auto;
    left: auto;
    box-shadow: none;
    margin: 36px 0 20px;
  }

  body {
    padding-bottom: 0;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 75px 0;
  }

  .header-inner {
    height: 72px;
  }

  .brand-logo-img,
  .site-logo img {
    height: 34px;
    max-width: 175px;
  }

  .header-actions {
    gap: 10px;
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
  }

  .menu-toggle {
    padding: 6px;
  }

  .menu-toggle svg {
    width: 24px;
    height: 24px;
  }

  .mobile-menu-drawer {
    top: 72px;
    height: calc(100vh - 72px);
    padding: 24px 20px;
  }

  .hero {
    height: auto;
    min-height: 600px;
    padding: 110px 0 70px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .intro-cta-wrapper {
    width: 100%;
  }

  .intro-cta-wrapper .button,
  .intro-cta-wrapper a.button {
    width: 100%;
    max-width: 100%;
    padding: 16px 20px;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    line-height: 1.45;
    min-height: 56px;
    height: auto;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    overflow: visible;
  }

  .intro-cta-wrapper .button svg,
  .intro-cta-wrapper a.button svg {
    flex-shrink: 0;
    margin-left: 8px;
  }

  .project-nav-section {
    padding: 12px 0;
  }

  .project-nav-section .shell {
    gap: 8px;
  }

  .project-nav-section .breadcrumbs {
    font-size: 0.68rem;
    gap: 7px;
  }

  .project-nav-back {
    display: none;
  }

  .project-hero {
    height: auto;
    min-height: 480px;
  }

  .project-hero .shell {
    bottom: 28px;
    width: min(calc(100% - 32px), 1260px);
  }

  .project-hero h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
    margin-bottom: 10px;
  }

  .project-hero-intro {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .project-photo-grid {
    grid-template-columns: 1fr !important;
  }

  .fact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 0;
  }

  .fact-row strong {
    text-align: left;
  }

  .service-row {
    grid-template-columns: 36px 1fr 36px;
    gap: 16px;
  }

  .service-row p {
    grid-column: 2 / 4;
  }

  .image-stack {
    height: 480px;
    margin-bottom: 40px;
  }

  .image-stack > .badge-stack {
    left: 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .resources-grid {
    grid-template-columns: 1fr;
  }

  .resources-grid .resource-card.featured .resource-thumb,
  .resources-grid .resource-card .resource-thumb {
    height: 280px;
  }
}

@media (max-width: 480px) {
  .trust > .shell {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 14px 16px;
  }

  .trust-item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 380px) {
  .header-inner {
    height: 66px;
  }

  .brand-logo-img,
  .site-logo img {
    height: 28px;
    max-width: 140px;
  }

  .theme-toggle {
    width: 34px;
    height: 34px;
  }

  .header-actions {
    gap: 8px;
  }

  .mobile-menu-drawer {
    top: 66px;
    height: calc(100vh - 66px);
    padding: 18px 14px;
  }

  .mobile-nav-links a.mobile-nav-link {
    font-size: 1.25rem;
    padding: 12px 0;
  }
}

/* ==========================================================================
   Wide Dropdown Menu (Multi-Column)
   ========================================================================== */
.dropdown-menu-wide {
  min-width: 620px !important;
  display: grid !important;
  grid-template-columns: 180px 1fr !important;
  padding: 14px !important;
  gap: 16px !important;
}

.dropdown-col-cities .dropdown-subcols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.dropdown-col-title {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--oak-dark);
  padding: 6px 14px 4px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 4px;
}

.dropdown-menu-wide a {
  padding: 7px 12px !important;
  font-size: 0.72rem !important;
  border-bottom: none !important;
  border-radius: 4px;
  white-space: nowrap;
}

html[data-theme="dark"] .dropdown-col-title {
  color: var(--oak-light);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Hero Actions Row Helper
   ========================================================================== */
.hero-actions-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

/* ==========================================================================
   Ogden-Style Regional Buttons Component
   ========================================================================== */
.regional-buttons-component {
  background-color: var(--white);
  border: 1px solid var(--line);
  padding: 24px 28px;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}

.regional-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 22px;
}

.regional-nav-label {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
}

.regional-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.regional-tab-btn {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 7px 16px;
  border-radius: 30px;
  background-color: var(--cream);
  color: var(--ink);
  border: 1px solid var(--line);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.regional-tab-btn:hover,
.regional-tab-btn.active {
  background-color: var(--brand-charcoal);
  color: #ffffff;
  border-color: var(--brand-charcoal);
}

.regional-group {
  margin-bottom: 20px;
}

.regional-group:last-child {
  margin-bottom: 0;
}

.regional-group-title {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--oak-dark);
  margin-bottom: 12px;
}

.regional-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.regional-click-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--cream-light);
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  transition: all var(--transition-fast);
}

.regional-click-btn .reg-btn-pin svg {
  width: 14px;
  height: 14px;
  color: var(--oak);
}

.regional-click-btn .reg-btn-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background-color: rgba(170, 135, 94, 0.15);
  color: var(--oak-dark);
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 4px;
}

.regional-click-btn:hover {
  background-color: var(--brand-charcoal);
  border-color: var(--brand-charcoal);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(32, 35, 31, 0.12);
}

.regional-click-btn:hover .reg-btn-pin svg {
  color: var(--oak-light);
}

.regional-click-btn:hover .reg-btn-badge {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.regional-click-btn.active {
  background-color: var(--brand-charcoal);
  border-color: var(--brand-charcoal);
  color: #ffffff;
  border-left: 3px solid var(--oak-light);
}

.regional-click-btn.active .reg-btn-pin svg {
  color: var(--oak-light);
}

/* ==========================================================================
   Interactive Estimate Calculator
   ========================================================================== */
.estimate-calculator-wrap {
  background-color: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 40px;
  border-radius: 8px;
}

.calc-header-intro {
  max-width: 800px;
  margin-bottom: 32px;
}

.calc-header-badge span {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--oak-dark);
  background-color: rgba(170, 135, 94, 0.12);
  padding: 5px 12px;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 12px;
}

.calc-header-intro h3 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 10px;
}

.calc-header-intro p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 40px;
}

.calc-field-group {
  margin-bottom: 24px;
}

.calc-field-group:last-child {
  margin-bottom: 0;
}

.calc-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 10px;
}

.calc-service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.calc-service-pill {
  font-family: var(--sans);
  background-color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 14px;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calc-service-pill .pill-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.calc-service-pill .pill-badge {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-orange);
}

.calc-service-pill:hover,
.calc-service-pill.active {
  background-color: var(--brand-charcoal);
  border-color: var(--brand-charcoal);
}

.calc-service-pill:hover .pill-name,
.calc-service-pill.active .pill-name {
  color: #ffffff;
}

.calc-service-pill:hover .pill-badge,
.calc-service-pill.active .pill-badge {
  color: var(--oak-light);
}

.calc-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.calc-number-box {
  display: inline-flex;
  align-items: center;
  background-color: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 4px 10px;
}

.calc-number-input {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  width: 75px;
  border: none;
  background: transparent;
  color: var(--ink);
  text-align: right;
  padding-right: 4px;
}

.calc-number-input:focus {
  outline: none;
}

.calc-unit-suffix {
  font-size: 0.75rem;
  color: var(--muted);
}

.calc-range-slider {
  width: 100%;
  height: 6px;
  background: var(--line);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  accent-color: var(--brand-orange);
}

.calc-slider-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 6px;
}

.calc-tier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.calc-tier-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background-color: var(--cream-light);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calc-tier-card input[type="radio"] {
  margin-top: 4px;
  accent-color: var(--brand-orange);
}

.calc-tier-card .tier-content strong {
  display: block;
  font-size: 0.88rem;
  color: var(--ink);
}

.calc-tier-card .tier-content span {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.calc-tier-card.active,
.calc-tier-card:hover {
  border-color: var(--brand-orange);
  background-color: #ffffff;
}

.calc-select-input {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.88rem;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background-color: var(--cream-light);
  color: var(--ink);
  cursor: pointer;
}

.calc-select-input:focus {
  outline: 2px solid var(--oak);
}

/* Results Pane */
.calc-results-pane {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 96px;
  align-self: flex-start;
}

.calc-summary-card {
  background-color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.calc-summary-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--oak-dark);
  margin-bottom: 6px;
}

.calc-price-range .price-val {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
}

.calc-unit-rate {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
  margin-bottom: 22px;
}

/* Lyon Financial Box inside Calculator */
.lyon-financing-box {
  background-color: #ffffff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand-orange);
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.lyon-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.lyon-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background-color: rgba(166, 78, 43, 0.12);
  color: var(--brand-orange);
  padding: 3px 8px;
  border-radius: 3px;
}

.lyon-partner-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.lyon-sub {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 12px;
}

.lyon-payment-display {
  background-color: var(--cream-light);
  padding: 12px 14px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.lyon-est-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.lyon-est-amount {
  font-family: var(--sans);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--brand-orange);
  display: block;
  margin-top: 2px;
}

.lyon-perks-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.lyon-perks-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.lyon-perks-list li svg {
  width: 14px;
  height: 14px;
  color: var(--success);
  flex-shrink: 0;
}

.lyon-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-orange);
}

.lyon-cta-link:hover {
  color: var(--ink);
}

.lyon-cta-link svg {
  width: 14px;
  height: 14px;
}

.calc-card-actions {
  margin-top: 8px;
}

/* Inclusions / Construction Scope Box */
.calc-inclusions-box {
  background-color: #ffffff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--oak-dark);
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.inclusions-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.inclusions-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background-color: rgba(170, 135, 94, 0.15);
  color: var(--oak-dark);
  padding: 3px 8px;
  border-radius: 3px;
}

.inclusions-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.inclusions-sub {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 12px;
}

.inclusions-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.inclusions-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--ink);
  margin-bottom: 7px;
  line-height: 1.35;
}

.inclusions-list li svg {
  width: 14px;
  height: 14px;
  color: var(--oak-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.inclusions-fin-note {
  font-size: 0.74rem;
  color: var(--ink);
  background-color: var(--cream-light);
  border-left: 3px solid var(--oak);
  padding: 8px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.inclusions-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--oak-dark);
}

.inclusions-link:hover {
  color: var(--ink);
}

.inclusions-link svg {
  width: 14px;
  height: 14px;
}

.calc-apply-btn {
  width: 100%;
  justify-content: center;
  padding: 16px 20px;
}

.calc-disclaimer {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 10px;
}

/* ==========================================================================
   Lyon Financial Showcase on Financing Page
   ========================================================================== */
.lyon-feature-banner {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 40px;
  background-color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 40px;
}

.lyon-partner-badge span {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-orange);
  background-color: rgba(166, 78, 43, 0.12);
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}

.lyon-feature-content h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 14px;
}

.lyon-perks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 26px 0;
}

.lyon-perk-card {
  display: flex;
  gap: 12px;
  background-color: #ffffff;
  padding: 16px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.lyon-perk-card .perk-icon svg {
  width: 18px;
  height: 18px;
  color: var(--success);
  margin-top: 2px;
  flex-shrink: 0;
}

.lyon-perk-card strong {
  display: block;
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.lyon-perk-card p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}

.lyon-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.lyon-eligible-box {
  background-color: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
}

.lyon-eligible-box h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.lyon-eligible-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lyon-eligible-list li {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(215, 210, 200, 0.4);
}

.lyon-eligible-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.lyon-eligible-list strong {
  display: block;
  font-size: 0.88rem;
  color: var(--ink);
}

.lyon-eligible-list span {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.service-lyon-badge {
  background-color: var(--cream);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-orange);
  padding: 18px;
  border-radius: 4px;
  margin-top: 18px;
}

.service-lyon-badge .badge-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-orange);
  display: block;
  margin-bottom: 4px;
}

.service-lyon-badge strong {
  display: block;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.service-lyon-badge p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 10px;
}

/* ==========================================================================
   Dark Theme Adjustments for New Components
   ========================================================================== */
html[data-theme="dark"] .regional-buttons-component,
html[data-theme="dark"] .estimate-calculator-wrap,
html[data-theme="dark"] .lyon-eligible-box,
html[data-theme="dark"] .lyon-perk-card,
html[data-theme="dark"] .calc-inclusions-box,
html[data-theme="dark"] .lyon-financing-box {
  background-color: var(--dark);
  border-color: var(--line-dark);
}

html[data-theme="dark"] .inclusions-title {
  color: #ffffff;
}

html[data-theme="dark"] .inclusions-list li {
  color: #e5e5dc;
}

html[data-theme="dark"] .inclusions-fin-note {
  background-color: #232a25;
  color: #e5e5dc;
}

html[data-theme="dark"] .calc-tier-card,
html[data-theme="dark"] .calc-select-input,
html[data-theme="dark"] .calc-service-pill,
html[data-theme="dark"] .calc-number-box,
html[data-theme="dark"] .regional-click-btn,
html[data-theme="dark"] .service-lyon-badge,
html[data-theme="dark"] .lyon-payment-display,
html[data-theme="dark"] .lyon-feature-banner,
html[data-theme="dark"] .calc-summary-card {
  background-color: var(--darker);
  border-color: var(--line-dark);
  color: #ffffff;
}

html[data-theme="dark"] .calc-service-pill.active,
html[data-theme="dark"] .regional-tab-btn.active,
html[data-theme="dark"] .regional-click-btn.active {
  background-color: #38423a;
  border-color: var(--oak);
  color: #ffffff;
}

html[data-theme="dark"] .calc-number-input,
html[data-theme="dark"] .regional-nav-label,
html[data-theme="dark"] .calc-header-intro h3,
html[data-theme="dark"] .calc-price-range .price-val,
html[data-theme="dark"] .lyon-partner-name,
html[data-theme="dark"] .lyon-feature-content h2,
html[data-theme="dark"] .lyon-eligible-box h3,
html[data-theme="dark"] .lyon-eligible-list strong,
html[data-theme="dark"] .lyon-perk-card strong,
html[data-theme="dark"] .calc-tier-card .tier-content strong,
html[data-theme="dark"] .regional-click-btn,
html[data-theme="dark"] .calc-label {
  color: #ffffff;
}

/* ==========================================================================
   Service Detail Page Sidebar & Balance
   ========================================================================== */
.service-side-col {
  display: flex;
  flex-direction: column;
}

.service-side-media {
  margin: 26px 0 22px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
}

.service-side-media img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-side-media:hover img {
  transform: scale(1.02);
}

.side-media-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(16, 21, 17, 0.90) 0%, rgba(16, 21, 17, 0.45) 60%, transparent 100%);
  padding: 16px 18px 12px;
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  font-weight: 500;
  line-height: 1.35;
}

.service-side-card {
  background-color: var(--cream);
  border: 1px solid var(--line);
  border-left: 4px solid var(--oak-dark);
  border-radius: 6px;
  padding: 22px 20px;
  margin-top: 4px;
}

.side-card-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--oak-dark);
  margin-bottom: 8px;
}

.service-side-card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.25;
}

.side-card-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--oak-dark);
  line-height: 1.45;
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 2px solid var(--oak-light);
}

.side-card-text {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.side-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.side-card-stats .stat-item {
  display: flex;
  flex-direction: column;
}

.side-card-stats .stat-item strong {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.1;
}

.side-card-stats .stat-item span {
  font-size: 0.62rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.25;
  margin-top: 3px;
}

.side-card-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
  font-size: 0.82rem !important;
  padding: 10px 16px !important;
}

.side-fin-callout {
  margin-top: 6px;
  padding: 12px 14px;
  background-color: #ffffff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.side-fin-callout .fin-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: rgba(170, 135, 94, 0.15);
  color: var(--oak-dark);
  padding: 2px 6px;
  border-radius: 3px;
  margin-bottom: 6px;
}

.side-fin-callout p {
  font-size: 0.78rem;
  color: var(--ink);
  line-height: 1.45;
  margin: 0 0 8px;
}

/* Dark theme adjustments for Service Side Card */
html[data-theme="dark"] .service-side-card {
  background-color: var(--dark);
  border-color: var(--line-dark);
}

html[data-theme="dark"] .service-side-card h3 {
  color: #ffffff;
}

html[data-theme="dark"] .side-card-quote {
  color: var(--oak-light);
  border-color: var(--oak);
}

html[data-theme="dark"] .side-card-text {
  color: #cccccc;
}

html[data-theme="dark"] .side-card-stats {
  border-color: var(--line-dark);
}

html[data-theme="dark"] .side-card-stats .stat-item strong {
  color: #ffffff;
}

html[data-theme="dark"] .side-card-stats .stat-item span {
  color: #aaaaaa;
}

html[data-theme="dark"] .side-fin-callout {
  background-color: #1e2420;
  border-color: var(--line-dark);
}

html[data-theme="dark"] .side-fin-callout p {
  color: #e5e5dc;
}

/* Responsive Overrides for Calculator & Regional Buttons */
@media (max-width: 992px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .lyon-feature-banner {
    grid-template-columns: 1fr;
  }
  .estimate-calculator-wrap {
    padding: 24px 20px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 42px 0;
  }
  .contact-section,
  .faq-section {
    padding-bottom: 70px !important;
  }
  .lyon-perks-grid {
    grid-template-columns: 1fr;
  }
  .calc-service-pill {
    flex-grow: 1;
  }
  .regional-tabs-nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .regional-btn-row {
    flex-direction: column;
    gap: 8px;
  }
  .regional-click-btn {
    display: grid !important;
    grid-template-columns: 16px 1fr auto !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 10px 14px !important;
    text-align: left !important;
    justify-content: normal !important;
  }
  .regional-click-btn .reg-btn-pin {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .regional-click-btn .reg-btn-name {
    text-align: left !important;
    font-size: 0.82rem;
  }
  .regional-click-btn .reg-btn-badge {
    justify-self: end !important;
    margin-left: 0 !important;
    font-size: 0.6rem !important;
    padding: 2px 6px !important;
    white-space: nowrap !important;
  }
  .service-side-media img {
    height: 220px;
  }
}


