/* ==========================================================================
   HUNTER PROPERTIES | ARCHITECTURAL LUXURY DESIGN SYSTEM
   Editorial Black & White | Chicago Vintage Multifamily | Est. 1991
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

:root,
[data-theme="dark"] {
  /* ==========================================================================
     HUNTER PROPERTIES | GLOBAL COLOR SYSTEM CONFIGURATION
     Opulent Heritage Forest (#081510), Emerald (#22C55E), Brass Gold (#D4AF37)
     Permanent Dark Mode Design System
     ========================================================================== */

  /* Surface & Background Tones */
  --bg-primary: #081510;
  --bg-secondary: #0D1E18;
  --bg-card: #122620;
  --bg-subtle: #18332B;
  --bg-elevated: #1F3F35;
  --bg-glass: rgba(8, 21, 16, 0.94);
  --bg-contrast: #FFFFFF;
  --bg-footer: #040C09;

  /* Legacy Dark Charcoal Gray Palette (Dark Mode) */
  --color-charcoal-dark: #363839;
  --color-charcoal-deep: #2A2B2E;
  --color-charcoal-soft: #444141;

  /* Typography & Foreground - High-Contrast Pure White */
  --text-primary: #FFFFFF;
  --text-secondary: #FFFFFF;
  --text-muted: #FFFFFF;
  --text-dim: #FFFFFF;
  --text-inverse: #081510;

  /* Authentic Hunter Heritage Dark Green Palette (Dark Mode High Contrast) */
  --brand-green-heritage: #22C55E;
  --brand-green-dark: #34D399;
  --brand-green-forest: #10B981;
  --brand-green-deep: #064E3B;
  --brand-green-subtle: rgba(16, 185, 129, 0.14);
  --brand-green-tint: rgba(52, 211, 153, 0.08);
  --brand-green-emerald: #4ADE80;
  --title-primary: #FFFFFF;
  --title-secondary: #F4F6F5;

  /* Borders & Dividers */
  --border-strong: rgba(255, 255, 255, 0.85);
  --border-medium: #1F3F35;
  --border-subtle: #18332B;
  --border-hairline: rgba(52, 211, 153, 0.14);

  /* Brand Accents */
  --accent-gold: #D4AF37;
  --accent-gold-hover: #F0C446;
  --accent-gold-soft: rgba(212, 175, 55, 0.18);
  --live-green: #22C55E;
  --live-green-soft: rgba(34, 197, 94, 0.18);

  /* Primary Button Styling */
  --btn-primary-bg: #22C55E;
  --btn-primary-text: #051A13;
  --btn-primary-border: #22C55E;
  --btn-primary-hover-bg: #4ADE80;

  /* Header & Navigation (Entire Top Menu is Crisp White) */
  --header-bg: #FFFFFF;
  --header-border: rgba(0, 0, 0, 0.08);
  --nav-capsule-bg: #FFFFFF;
  --nav-capsule-border: rgba(1, 60, 42, 0.12);
  --nav-link-color: #013C2A;
  --nav-link-hover-color: #013C2A;
  --nav-link-hover-bg: rgba(1, 60, 42, 0.08);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.6);
  --card-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);

  /* Typography - Poppins Across the Entire Site */
  --font-serif: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Poppins', -apple-system, BlinkMacSystemFont, monospace;

  /* Spacing */
  --container-max: 1360px;
  --space-unit: 8px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  font-size: 17.6px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  position: relative;
  overflow-x: hidden;
  max-width: 100vw;
  padding-top: 78px;
}
section[id], [id] {
  scroll-margin-top: 84px;
}

/* Typography Hierarchy */
h1, h2 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-weight: 800;
  line-height: 1.15;
  color: var(--title-primary);
}

h3, h4, .font-display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-weight: 800;
  line-height: 1.2;
}

.font-serif {
  font-family: var(--font-serif);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.font-mono {
  font-family: var(--font-mono);
}

p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

a:hover {
  opacity: 0.85;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================================================================
   NAVIGATION / HEADER (MODERN ARCHITECTURAL LUXURY)
   ========================================================================== */
/* ==========================================================================
   NAVIGATION / HEADER (MODERN ARCHITECTURAL LUXURY)
   ========================================================================== */
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  transition: background-color var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth), min-height var(--transition-smooth);
  will-change: background-color, box-shadow;
  margin: 0 !important;
}

[data-theme="dark"] .site-header,
.site-header.is-scrolled,
.site-header.scrolled,
[data-theme="dark"] .site-header.is-scrolled,
[data-theme="dark"] .site-header.scrolled {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

/* Brand Typography & Badge on White Header */
.site-header .brand-text,
[data-theme="dark"] .site-header .brand-text {
  color: #013C2A !important;
  font-weight: 800 !important;
}

.site-header .brand-subtext,
[data-theme="dark"] .site-header .brand-subtext {
  color: #B48A1B !important;
  font-weight: 700 !important;
}

.site-header .brand-hp-badge,
[data-theme="dark"] .site-header .brand-hp-badge {
  filter: drop-shadow(0 2px 8px rgba(1, 60, 42, 0.18)) !important;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0.5rem 1.25rem;
  max-width: 1440px;
  margin: 0 auto;
  gap: 1rem;
  transition: min-height var(--transition-smooth), padding var(--transition-smooth);
}

.site-header.is-scrolled .header-container,
.site-header.scrolled .header-container {
  min-height: 66px;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

/* 1. Brand Logo: Crisp, Symmetrical, Luxury */
.brand-link {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  gap: 12px;
  flex-shrink: 0;
  padding: 4px 0;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.brand-link:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.brand-hp-badge {
  height: 58px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.2));
  transition: transform var(--transition-fast), height var(--transition-smooth);
}

.site-header.is-scrolled .brand-hp-badge,
.site-header.scrolled .brand-hp-badge {
  height: 50px;
}

[data-theme="dark"] .brand-hp-badge {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
}

.brand-link:hover .brand-hp-badge {
  transform: scale(1.04);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-text {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.1;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

[data-theme="dark"] .brand-text {
  color: #FFFFFF !important;
}

/* Site Footer & Dark Container Brand Contrast: Crisp 100% Pure White */
.site-footer .brand-text,
.footer-brand-crest .brand-text,
.footer-brand-header .brand-text,
.footer-brand-summary .brand-text,
footer .brand-text {
  color: #FFFFFF !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.brand-subtext {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-gold);
  line-height: 1;
  margin-top: 3px;
  white-space: nowrap;
}

.site-footer .brand-subtext,
.footer-brand-crest .brand-subtext,
.footer-brand-header .brand-subtext,
.footer-brand-summary .brand-subtext,
footer .brand-subtext {
  color: var(--accent-gold) !important;
  font-weight: 700;
  letter-spacing: 0.14em;
}

/* 2. Navigation Capsule: Sleek Architectural Glass Pill (White Floating Capsule in Dark Mode) */
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

.nav-capsule {
  display: flex;
  align-items: center;
  background: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  border-radius: 9999px;
  padding: 4px 8px;
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), 0 1px 4px rgba(0, 0, 0, 0.2) !important;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #013C2A !important;
  padding: 0.42rem 0.8rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative;
  cursor: pointer;
  user-select: none;
}

.nav-item a:hover {
  color: #013C2A !important;
  background: rgba(1, 60, 42, 0.08) !important;
}

/* Active State: Heritage Dark Green with crisp white text */
.nav-item a.active,
.nav-item.active > a,
.nav-dropdown.active > .nav-dropdown-toggle,
[data-theme="dark"] .nav-item a.active,
[data-theme="dark"] .nav-item.active > a,
[data-theme="dark"] .nav-dropdown.active > .nav-dropdown-toggle {
  color: #FFFFFF !important;
  background-color: #013C2A !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 10px rgba(1, 60, 42, 0.45) !important;
}

.nav-dropdown.open > .nav-dropdown-toggle:not(.active),
.nav-dropdown:hover > .nav-dropdown-toggle:not(.active) {
  color: #013C2A !important;
  background: rgba(1, 60, 42, 0.08) !important;
}

.nav-item a:active {
  transform: scale(0.96);
}

/* Nav Dropdown Menus */
.nav-dropdown {
  position: relative;
}

/* Generous invisible bridge so mouse never loses hover between capsule and dropdown menu */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -25px;
  right: -25px;
  height: 26px;
  background: transparent;
  z-index: 99999;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-dropdown-toggle svg {
  width: 9px;
  height: 9px;
  transition: transform var(--transition-fast);
  fill: #013C2A !important;
}

.nav-dropdown.active > .nav-dropdown-toggle svg {
  fill: #FFFFFF !important;
}

.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown.open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu,
[data-theme="dark"] .nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 48px -4px rgba(0, 0, 0, 0.45), 0 4px 16px rgba(0, 0, 0, 0.2) !important;
  padding: 0.5rem 0;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100000 !important;
  list-style: none;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-dropdown-menu a:not(.dropdown-all-submarkets),
[data-theme="dark"] .nav-dropdown-menu a:not(.dropdown-all-submarkets) {
  display: block;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: #18221D !important;
  text-transform: none;
  letter-spacing: 0.01em;
  border-radius: 0;
  white-space: nowrap;
  transition: all 0.18s ease;
  border-left: 3px solid transparent;
}

.nav-dropdown-menu a:not(.dropdown-all-submarkets):hover,
.nav-dropdown-menu a:not(.dropdown-all-submarkets).active,
[data-theme="dark"] .nav-dropdown-menu a:not(.dropdown-all-submarkets):hover,
[data-theme="dark"] .nav-dropdown-menu a:not(.dropdown-all-submarkets).active {
  color: #013C2A !important;
  background: rgba(1, 60, 42, 0.06) !important;
  border-left-color: #B48A1B !important;
  padding-left: 1.45rem;
}

/* Dropdown Header Action for All Submarkets Directory */
.nav-dropdown-header-action {
  padding: 0.35rem 0.5rem 0.5rem;
}

.nav-dropdown-menu a.dropdown-all-submarkets,
.dropdown-all-submarkets,
[data-theme="dark"] .nav-dropdown-menu a.dropdown-all-submarkets,
[data-theme="dark"] .dropdown-all-submarkets {
  display: block;
  background: #EBF3EE !important;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem !important;
  border-left: 3px solid #013C2A !important;
  text-decoration: none;
  transition: all var(--transition-fast) !important;
  box-shadow: none !important;
}

.nav-dropdown-menu a.dropdown-all-submarkets strong,
.dropdown-all-submarkets strong,
[data-theme="dark"] .nav-dropdown-menu a.dropdown-all-submarkets strong,
[data-theme="dark"] .dropdown-all-submarkets strong {
  display: block;
  font-size: 0.84rem;
  color: #013C2A !important;
  letter-spacing: 0.01em;
  transition: color var(--transition-fast) !important;
}

.nav-dropdown-menu a.dropdown-all-submarkets .dropdown-action-sub,
.dropdown-action-sub,
[data-theme="dark"] .nav-dropdown-menu a.dropdown-all-submarkets .dropdown-action-sub,
[data-theme="dark"] .dropdown-action-sub {
  display: block;
  font-size: 0.70rem;
  color: #5C626C !important;
  margin-top: 2px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition-fast) !important;
}

.nav-dropdown-menu a.dropdown-all-submarkets:hover,
.dropdown-all-submarkets:hover,
[data-theme="dark"] .nav-dropdown-menu a.dropdown-all-submarkets:hover,
[data-theme="dark"] .dropdown-all-submarkets:hover {
  background: #013C2A !important;
  border-left: 3px solid #D4AF37 !important;
  padding-left: 1.05rem !important;
  box-shadow: 0 4px 14px rgba(1, 60, 42, 0.25) !important;
}

.nav-dropdown-menu a.dropdown-all-submarkets:hover strong,
.dropdown-all-submarkets:hover strong,
[data-theme="dark"] .nav-dropdown-menu a.dropdown-all-submarkets:hover strong,
[data-theme="dark"] .dropdown-all-submarkets:hover strong {
  color: #FFFFFF !important;
}

.nav-dropdown-menu a.dropdown-all-submarkets:hover .dropdown-action-sub,
.dropdown-all-submarkets:hover .dropdown-action-sub,
[data-theme="dark"] .nav-dropdown-menu a.dropdown-all-submarkets:hover .dropdown-action-sub,
[data-theme="dark"] .dropdown-all-submarkets:hover .dropdown-action-sub {
  color: #A7F3D0 !important;
}

.nav-dropdown-divider {
  height: 1px;
  background: #E5E7EB !important;
  margin: 0.35rem 0.65rem 0.5rem;
}

/* 3. Action Group: Cohesive, Balanced, Proper Alignment */
.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-phone-badge,
[data-theme="dark"] .header-phone-badge,
.site-header .header-phone-badge,
[data-theme="dark"] .site-header .header-phone-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #013C2A !important;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.38rem 0.75rem;
  background-color: #F4F8F5 !important;
  border: 1px solid rgba(1, 60, 42, 0.18) !important;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.header-phone-badge:hover,
[data-theme="dark"] .header-phone-badge:hover {
  border-color: #013C2A !important;
  background-color: #EBF3EE !important;
  transform: translateY(-1px);
}

.header-phone-badge .phone-label,
[data-theme="dark"] .header-phone-badge .phone-label {
  color: #52635B !important;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600 !important;
}

.header-phone-badge .phone-digits,
[data-theme="dark"] .header-phone-badge .phone-digits {
  color: #013C2A !important;
  font-weight: 800 !important;
}

.pulse-dot-green {
  width: 7px;
  height: 7px;
  background-color: var(--live-green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  animation: pulse 2s infinite;
  display: inline-block;
  flex-shrink: 0;
}

.btn-header-portal,
[data-theme="dark"] .btn-header-portal,
.site-header .btn-header-portal,
[data-theme="dark"] .site-header .btn-header-portal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 1rem;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFFFFF !important;
  background: #013C2A !important;
  border: 1px solid #013C2A !important;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(1, 60, 42, 0.25) !important;
}

.btn-header-portal:hover,
[data-theme="dark"] .btn-header-portal:hover {
  background: #0A523C !important;
  border-color: #0A523C !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(1, 60, 42, 0.35) !important;
}

.menu-toggle-btn,
.mobile-menu-toggle,
[data-theme="dark"] .menu-toggle-btn,
[data-theme="dark"] .mobile-menu-toggle {
  background: #F4F8F5 !important;
  border: 1px solid rgba(1, 60, 42, 0.18) !important;
}

.menu-bar,
.hamburger-line,
[data-theme="dark"] .menu-bar,
[data-theme="dark"] .hamburger-line {
  background-color: #013C2A !important;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 1.25rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--btn-primary-text);
  background-color: var(--btn-primary-bg);
  border: 1px solid var(--btn-primary-border);
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.btn-header-cta:hover {
  background-color: var(--btn-primary-hover-bg);
  border-color: var(--btn-primary-hover-bg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* 4. Theme Toggle Micro-Switch (Hidden - Site Permanently in Dark Mode) */
.theme-toggle-btn {
  display: none !important;
}

.theme-toggle-track {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 50px;
  height: 26px;
  padding: 2px 4px;
  border-radius: 9999px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: background-color var(--transition-smooth), border-color var(--transition-smooth);
}

.theme-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  z-index: 1;
  pointer-events: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

.theme-toggle-icon.sun-icon {
  color: #B48A1B;
  opacity: 0.95;
}

.theme-toggle-icon.moon-icon {
  color: var(--text-dim);
  opacity: 0.55;
}

[data-theme="dark"] .theme-toggle-icon.sun-icon {
  color: var(--text-dim);
  opacity: 0.45;
}

[data-theme="dark"] .theme-toggle-icon.moon-icon {
  color: var(--accent-gold);
  opacity: 1;
}

.theme-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--bg-card);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-subtle);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color var(--transition-smooth);
  z-index: 2;
}

[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(22px);
  background-color: #FFFFFF;
  border-color: #FFFFFF;
}

/* 4b. Chicago Skyline Architectural Backdrop & Toggle */
.skyline-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  height: 27px;
  padding: 0 0.45rem;
  background: var(--nav-capsule-bg);
  border: 1px solid var(--border-medium);
  border-radius: 9999px;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.skyline-toggle-btn:hover {
  border-color: var(--accent-gold);
  color: var(--text-primary);
  background: var(--nav-link-hover-bg);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(180, 138, 27, 0.2);
}

.skyline-toggle-btn.active {
  border-color: var(--accent-gold);
  background: rgba(180, 138, 27, 0.12);
  color: var(--color-heritage-green);
  box-shadow: 0 0 0 1px rgba(180, 138, 27, 0.18);
}

[data-theme="dark"] .skyline-toggle-btn.active {
  background: rgba(180, 138, 27, 0.22);
  color: #FBBF24;
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.25);
}

.skyline-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
}

.skyline-toggle-icon svg {
  width: 12px;
  height: 12px;
}

.skyline-toggle-status {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  padding: 1px 4px;
  border-radius: 9999px;
  background: var(--color-heritage-green);
  color: #FBBF24;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  transition: all 0.2s ease;
}

[data-theme="dark"] .skyline-toggle-btn.active .skyline-toggle-status {
  background: #013C2A;
  color: #FBBF24;
}

.skyline-toggle-btn:not(.active) .skyline-toggle-status {
  background: var(--text-dim);
  color: var(--bg-card);
  opacity: 0.75;
}

/* 4c. Chicago Skyline Architectural Backdrop v2.0 */
body.skyline-active {
  position: relative;
}

/* Full Chicago Architectural Horizon & Skyline Canvas (SVG Vector Masterwork) */
.site-architectural-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.45s ease;
}

.architectural-svg-object {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.site-architectural-veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse 95% 85% at 50% 30%,
    rgba(250, 249, 246, 0.42) 0%,
    rgba(250, 249, 246, 0.68) 50%,
    rgba(250, 249, 246, 0.88) 80%,
    rgba(250, 249, 246, 0.98) 100%
  );
  pointer-events: none;
}

[data-theme="dark"] .site-architectural-backdrop {
  background-color: var(--bg-primary);
}

[data-theme="dark"] .site-architectural-veil {
  background: radial-gradient(
    ellipse 95% 85% at 50% 30%,
    rgba(8, 21, 16, 0.38) 0%,
    rgba(8, 21, 16, 0.64) 50%,
    rgba(8, 21, 16, 0.85) 80%,
    rgba(8, 21, 16, 0.98) 100%
  );
}

/* Global Ambient Chicago Architectural Horizon Layer for Subpages (Sitting in Front of Backdrop, z-index: 1) */
html.skyline-active body::before,
body.skyline-active::before {
  content: '';
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: clamp(380px, 52vh, 640px);
  background-image: url('../assets/chicago-skyline-architectural.svg');
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: 1920px auto;
  opacity: 0.52;
  pointer-events: none;
  z-index: 1;
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.94) 70%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.94) 70%, rgba(0,0,0,0) 100%);
  transition: opacity 0.45s ease;
}

[data-theme="dark"] html.skyline-active body::before,
[data-theme="dark"] body.skyline-active::before {
  opacity: 0.72;
  filter: drop-shadow(0 0 24px rgba(180, 138, 27, 0.50));
}

/* Pages with cinematic video backdrops replace the synthetic SVG skyline entirely */
body.has-video-backdrops .site-architectural-backdrop,
body.has-video-backdrops::before,
body.has-video-backdrops::after,
html.has-video-backdrops body::before,
html.has-video-backdrops body::after {
  display: none !important;
}

/* Ambient Horizon Atmospheric Golden Glow */
html.skyline-active body::after,
body.skyline-active::after {
  content: '';
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(180, 138, 27, 0.22) 0%, rgba(1, 60, 42, 0.12) 55%, transparent 100%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.75;
  animation: skylineGlowBreathe 8s infinite ease-in-out alternate;
}

[data-theme="dark"] html.skyline-active body::after,
[data-theme="dark"] body.skyline-active::after {
  background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(180, 138, 27, 0.35) 0%, rgba(1, 43, 30, 0.28) 60%, transparent 100%);
  opacity: 0.90;
}

@keyframes skylineGlowBreathe {
  0% { opacity: 0.55; transform: scaleY(0.95); }
  100% { opacity: 0.95; transform: scaleY(1.08); }
}

/* Ensure all content layers sit cleanly above background texture */
.site-announcements,
.hero-section,
.hero-section .container,
.section,
.site-footer,
.comparison-section,
main {
  position: relative;
  z-index: 2;
}

/* 5. Mobile Menu Toggle (Modern Hamburger) */
.mobile-menu-toggle,
.menu-toggle-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #F4F8F5 !important;
  border: 1px solid rgba(1, 60, 42, 0.22) !important;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle:hover,
.menu-toggle-btn:hover {
  background: #E8F2EC !important;
  border-color: rgba(1, 60, 42, 0.45) !important;
}

.mobile-menu-toggle.active,
.menu-toggle-btn.active {
  background: #013C2A !important;
  border-color: #013C2A !important;
}

.hamburger-box {
  width: 22px;
  height: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line,
.menu-bar {
  display: block !important;
  width: 100% !important;
  height: 2.5px !important;
  background-color: #013C2A !important;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, background-color var(--transition-smooth);
}

.mobile-menu-toggle.active .hamburger-line,
.menu-toggle-btn.active .hamburger-line,
.mobile-menu-toggle.active .menu-bar,
.menu-toggle-btn.active .menu-bar {
  background-color: #FFFFFF !important;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1),
.menu-toggle-btn.active .hamburger-line:nth-child(1),
.mobile-menu-toggle.active .menu-bar:nth-child(1),
.menu-toggle-btn.active .menu-bar:nth-child(1) {
  transform: translateY(6.75px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2),
.menu-toggle-btn.active .hamburger-line:nth-child(2),
.mobile-menu-toggle.active .menu-bar:nth-child(2),
.menu-toggle-btn.active .menu-bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3),
.menu-toggle-btn.active .hamburger-line:nth-child(3),
.mobile-menu-toggle.active .menu-bar:nth-child(3),
.menu-toggle-btn.active .menu-bar:nth-child(3) {
  transform: translateY(-6.75px) rotate(-45deg);
}

/* 6. Mobile Navigation Drawer (Sleek Architectural Panel) */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer,
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(88vw, 380px);
  height: 100vh;
  background-color: var(--bg-card);
  border-left: 1px solid var(--border-subtle);
  z-index: 2000;
  padding: 1.75rem;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--card-shadow);
  overflow-y: auto;
  transition: background-color var(--transition-smooth), border-color var(--transition-smooth);
}

.mobile-brand-crest,
.brand-hp-badge {
  height: 42px !important;
  width: auto !important;
  max-width: 140px !important;
  object-fit: contain;
}

.mobile-nav-drawer .brand-text,
.mobile-drawer .brand-text {
  color: #FFFFFF !important;
}

.mobile-nav-drawer .brand-subtext,
.mobile-drawer .brand-subtext {
  color: var(--accent-gold) !important;
}

.mobile-nav-drawer.active,
.mobile-drawer.active {
  display: flex;
  animation: drawerSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes drawerSlideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

/* Mobile Drawer Top Header */
.mobile-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.mobile-drawer-close {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-drawer-close:hover {
  background: var(--text-primary);
  color: var(--text-inverse);
  transform: rotate(90deg);
}

.mobile-drawer-close:active {
  transform: scale(0.92) rotate(90deg);
}

/* Mobile Nav Lists & Items */
.mobile-nav-menu,
.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mobile-nav-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
  border-left: 3px solid transparent;
  background: transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: var(--bg-subtle);
  color: var(--accent-gold);
  border-left-color: var(--accent-gold);
  padding-left: 1.35rem;
}

.mobile-nav-link:active {
  transform: scale(0.98);
}

.mobile-nav-arrow {
  color: var(--accent-gold);
  font-size: 1rem;
  transition: transform var(--transition-fast);
}

.mobile-nav-link:hover .mobile-nav-arrow,
.mobile-nav-link.active .mobile-nav-arrow {
  transform: translateX(4px);
}

/* Mobile Drawer Actions & 24/7 Desk Call Button */
.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 1.5rem;
}

.mobile-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: 9999px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.mobile-call-btn:hover {
  background-color: var(--border-medium);
  border-color: var(--border-strong);
}


/* ==========================================================================
   PAGE-WIDE HP BRAND CRESTS & EMBLEMS ("Use it throughout the page")
   ========================================================================== */

/* Hero Crest */
.hero-brand-crest {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 2rem;
  padding: 1.25rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}

.crest-hp-badge {
  height: 84px; /* Large, bold, majestic */
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.6));
}

.crest-brand-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.crest-tagline {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-top: 2px;
}

/* Section Emblems / HP Monogram Hallmark (Refined Architectural Typography) */
.section-eyebrow-hp {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold);
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  width: fit-content;
  max-width: 100%;
}

[data-theme="dark"] .section-eyebrow-hp {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.eyebrow-hp-badge {
  height: 22px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.eyebrow-highlight {
  color: var(--brand-green-heritage);
  font-weight: 800;
  white-space: nowrap;
}

[data-theme="dark"] .eyebrow-highlight {
  color: #34D399;
}

.eyebrow-sep {
  color: var(--accent-gold);
  font-weight: 700;
  flex-shrink: 0;
  opacity: 0.85;
}

.eyebrow-subtext {
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

[data-theme="dark"] .eyebrow-subtext {
  color: var(--text-secondary);
}

@media (max-width: 640px) {
  .section-eyebrow-hp {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0;
    font-size: 0.70rem;
    letter-spacing: 0.10em;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .eyebrow-hp-badge {
    height: 18px;
    width: auto;
  }
  .section-eyebrow-hp .eyebrow-sep,
  .section-eyebrow-hp .eyebrow-subtext,
  .section-eyebrow-hp > span:not(.eyebrow-highlight):not(.eyebrow-hp-badge) {
    display: none !important;
  }
}

.section-brand-crest {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 auto 1.75rem auto;
  text-align: center;
}

.section-hp-badge {
  height: 64px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.section-brand-name {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1;
}

.section-crest-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Modal Crest */
.modal-brand-crest {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 1.5rem;
  text-align: center;
}

.modal-hp-badge {
  height: 68px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

[data-theme="dark"] .modal-hp-badge {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.modal-brand-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1;
}

.modal-brand-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

/* Footer Crest */
.footer-brand-crest {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 1.25rem;
}

.footer-hp-badge {
  height: 64px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.80rem 1.55rem;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
}

/* Subtle Shimmer Ray on Button Hover */
.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.btn:hover::after {
  opacity: 1;
  animation: btnSheenSweep 0.75s ease-out forwards;
}

@keyframes btnSheenSweep {
  0% { transform: rotate(25deg) translateX(-100%); }
  100% { transform: rotate(25deg) translateX(380%); }
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(180deg, #0d4835 0%, #013C2A 100%);
  color: #FFFFFF;
  border-color: #013C2A;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 4px 14px rgba(1, 60, 42, 0.32),
    0 1px 3px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #135d45 0%, #084834 100%);
  color: #FFFFFF;
  border-color: #084834;
  transform: translateY(-2px);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 8px 24px -2px rgba(1, 60, 42, 0.42),
    0 0 16px rgba(180, 138, 27, 0.25);
}

[data-theme="dark"] .btn-primary {
  background: linear-gradient(180deg, #2fd86a 0%, #22C55E 100%);
  color: #04140D;
  border-color: #22C55E;
  font-weight: 800;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.40),
    0 4px 16px rgba(34, 197, 94, 0.35),
    0 1px 3px rgba(0, 0, 0, 0.30);
}

[data-theme="dark"] .btn-primary:hover {
  background: linear-gradient(180deg, #4ade80 0%, #29d166 100%);
  color: #04140D;
  border-color: #4ade80;
  transform: translateY(-2px);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.50),
    0 8px 28px rgba(34, 197, 94, 0.48),
    0 0 18px rgba(212, 175, 55, 0.32);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-primary);
  border-color: var(--border-medium);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  background: #FFFFFF;
  color: var(--brand-green-heritage);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px -2px rgba(180, 138, 27, 0.22);
}

[data-theme="dark"] .btn-secondary {
  background: rgba(18, 38, 32, 0.70);
  color: #F4F6F5;
  border-color: rgba(52, 211, 153, 0.28);
}

[data-theme="dark"] .btn-secondary:hover {
  background: rgba(24, 51, 43, 0.92);
  color: #FFFFFF;
  border-color: var(--accent-gold);
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.24);
}

/* High-Visibility Bright Yellow / Gold Rentals CTA */
.btn-rentals-gold {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 50%, #D97706 100%);
  color: #012B1E !important;
  font-weight: 700;
  border: 1px solid #D97706;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  text-shadow: none;
}

.btn-rentals-gold:hover {
  background: linear-gradient(135deg, #FDE68A 0%, #FBBF24 50%, #F59E0B 100%);
  color: #012B1E !important;
  border-color: #B45309;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

[data-theme="dark"] .btn-rentals-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #051B13 !important;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}

.btn-portal {
  background-color: var(--bg-card);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  font-size: 0.8rem;
  padding: 0.65rem 1.15rem;
}

.btn-portal:hover {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border-color: var(--btn-primary-border);
}

.portal-dot {
  width: 6px;
  height: 6px;
  background-color: var(--text-primary);
  border-radius: 50%;
}

/* ==========================================================================
   HERO MASTHEAD (COMPACT, 1080P OPTIMIZED ARCHITECTURAL LUXURY)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 2.25rem 0 2.75rem;
  border-bottom: 1px solid var(--border-subtle);
  background-color: transparent;
  overflow: hidden;
}

/* ==========================================================================
   CINEMATIC ARCHITECTURAL VIDEO BACKDROP ENGINE
   ========================================================================== */
.hero-video-backdrop,
.section-video-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  user-select: none;
}

.hero-video-backdrop video,
.hero-video-backdrop .bg-video,
.section-video-backdrop video,
.section-video-backdrop .bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%) translateZ(0);
  object-fit: cover;
  opacity: 0.58;
  filter: contrast(1.15) brightness(1.01) saturate(1.26);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

[data-theme="dark"] .hero-video-backdrop video,
[data-theme="dark"] .hero-video-backdrop .bg-video,
[data-theme="dark"] .section-video-backdrop video,
[data-theme="dark"] .section-video-backdrop .bg-video {
  opacity: 0.66;
  filter: contrast(1.18) brightness(0.96) saturate(1.30);
}

#why-hunter .section-video-backdrop video,
#why-hunter .section-video-backdrop .bg-video {
  object-position: center center;
}

#taxonomy .section-video-backdrop video,
#taxonomy .section-video-backdrop .bg-video {
  object-position: center center;
}

#resources .section-video-backdrop video,
#resources .section-video-backdrop .bg-video {
  object-position: center 30%;
}

/* Cinematic Scrim & Lighting Gradient Veils - Softened for Crisp Video Visibility */
.hero-video-scrim,
.section-video-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    ellipse 95% 80% at 50% 35%,
    rgba(250, 249, 246, 0.22) 0%,
    rgba(250, 249, 246, 0.46) 55%,
    rgba(250, 249, 246, 0.68) 85%,
    rgba(250, 249, 246, 0.82) 100%
  );
}

[data-theme="dark"] .hero-video-scrim,
[data-theme="dark"] .section-video-scrim {
  background: radial-gradient(
    ellipse 95% 80% at 50% 35%,
    rgba(8, 21, 16, 0.20) 0%,
    rgba(8, 21, 16, 0.46) 55%,
    rgba(8, 21, 16, 0.70) 85%,
    rgba(8, 21, 16, 0.86) 100%
  );
}

/* Secondary Section Accent Scrims (Heritage Dark Green depth - Lightened) */
.section-video-scrim.scrim-deep {
  background: linear-gradient(
    180deg,
    rgba(250, 249, 246, 0.72) 0%,
    rgba(250, 249, 246, 0.36) 25%,
    rgba(250, 249, 246, 0.36) 75%,
    rgba(250, 249, 246, 0.78) 100%
  );
}

[data-theme="dark"] .section-video-scrim.scrim-deep {
  background: linear-gradient(
    180deg,
    rgba(8, 21, 16, 0.78) 0%,
    rgba(8, 21, 16, 0.36) 25%,
    rgba(8, 21, 16, 0.36) 75%,
    rgba(8, 21, 16, 0.82) 100%
  );
}

/* Ensures content in sections sits clearly above the video layer */
.section.has-video-bg {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.section.has-video-bg > .container {
  position: relative;
  z-index: 3;
}

/* Subtle typography contrast shield for text layered over dynamic video */
.section.has-video-bg .section-title {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.95), 0 0 4px rgba(0, 0, 0, 0.9);
}

[data-theme="dark"] .section.has-video-bg .section-title {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.95), 0 0 4px rgba(0, 0, 0, 0.9);
}

.section.has-video-bg .section-lead {
  text-shadow: 0 1px 10px rgba(250, 249, 246, 0.9);
}

[data-theme="dark"] .section.has-video-bg .section-lead {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

/* Reduced Motion Fallback */
@media (prefers-reduced-motion: reduce) {
  .hero-video-backdrop video,
  .hero-video-backdrop .bg-video,
  .section-video-backdrop video,
  .section-video-backdrop .bg-video {
    display: none !important;
  }
}


.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.18fr 0.94fr;
  gap: 2.75rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.80rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent-gold);
  opacity: 0.65;
}

.hero-title {
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-bottom: 0.85rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.95), 0 0 4px rgba(0, 0, 0, 0.9);
}

[data-theme="dark"] .hero-title {
  color: #FFFFFF;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.95), 0 0 4px rgba(0, 0, 0, 0.9);
}

.hero-title span.accent-stroke {
  display: block;
  font-weight: 700;
  color: var(--brand-green-dark);
  font-family: var(--font-serif);
  font-size: 0.72em;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

[data-theme="dark"] .hero-title span.accent-stroke {
  color: var(--brand-green-dark);
}

.hero-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 1.35rem;
  text-shadow: 0 1px 12px rgba(250, 249, 246, 0.9);
}

[data-theme="dark"] .hero-lead {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.9);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.85rem;
}

/* ==========================================================================
   EXECUTIVE HERO AUDITED METRICS DASHBOARD
   Ultra-luxury glassmorphic stats card with tactile cells, gold accents & mobile polish
   ========================================================================== */
.hero-metrics-bar {
  position: relative;
  margin-top: 1.85rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(250, 249, 246, 0.90) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(180, 138, 27, 0.28);
  border-radius: 16px;
  box-shadow: 
    0 16px 36px -10px rgba(18, 38, 32, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Jewel-box top gold-to-emerald gradient filament */
.hero-metrics-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(180, 138, 27, 0.6) 20%, #10B981 75%, transparent 100%);
  z-index: 2;
}

[data-theme="dark"] .hero-metrics-bar {
  background: linear-gradient(145deg, rgba(14, 34, 26, 0.94) 0%, rgba(7, 18, 14, 0.96) 100%);
  border-color: rgba(180, 138, 27, 0.36);
  box-shadow: 
    0 24px 48px -12px rgba(0, 0, 0, 0.65),
    0 0 28px -6px rgba(180, 138, 27, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Header Banner inside Metrics Card */
.hero-metrics-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.15rem 0.6rem;
  background: rgba(180, 138, 27, 0.05);
  border-bottom: 1px solid rgba(180, 138, 27, 0.14);
}

[data-theme="dark"] .hero-metrics-header {
  background: rgba(180, 138, 27, 0.08);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.metrics-header-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.metrics-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: metricsPulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes metricsPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.metrics-header-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #FFFFFF;
}

[data-theme="dark"] .metrics-header-title {
  color: #FFFFFF;
}

.metrics-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  background: rgba(180, 138, 27, 0.10);
  border: 1px solid rgba(180, 138, 27, 0.25);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

/* Grid Layout for Metrics */
.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
}

/* Fallback for when .hero-metrics-bar contains .metric-item directly */
.hero-metrics-bar:not(:has(.hero-metrics-grid)) {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  padding: 0.85rem;
}

/* Individual Metric Capsule */
.metric-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(180, 138, 27, 0.14);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .metric-item {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.metric-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(180, 138, 27, 0.38);
  box-shadow: 0 6px 16px -2px rgba(180, 138, 27, 0.15);
}

[data-theme="dark"] .metric-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(180, 138, 27, 0.45);
  box-shadow: 0 6px 20px -2px rgba(0, 0, 0, 0.5);
}

/* Special Highlight Card for $0 Markup */
.metric-item.metric-item-highlight {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(255, 255, 255, 0.65) 100%);
  border-color: rgba(16, 185, 129, 0.32);
}

[data-theme="dark"] .metric-item.metric-item-highlight {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(16, 185, 129, 0.36);
}

.metric-number-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.metric-number {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  font-feature-settings: 'tnum' on, 'lnum' on;
  color: var(--color-charcoal-dark);
  white-space: nowrap;
}

[data-theme="dark"] .metric-number {
  color: #FFFFFF;
}

.metric-unit {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
}

.metric-accent-plus {
  color: var(--accent-gold);
  font-weight: 700;
  margin-left: 1px;
}

.metric-number.metric-zero-markup {
  color: #059669;
}

[data-theme="dark"] .metric-number.metric-zero-markup {
  color: #34D399;
  text-shadow: 0 0 16px rgba(52, 211, 153, 0.3);
}

.metric-tag-pill {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #047857;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  line-height: 1;
}

[data-theme="dark"] .metric-tag-pill {
  color: #6EE7B7;
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(52, 211, 153, 0.4);
}

.metric-label {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.085em;
  line-height: 1.35;
  color: #FFFFFF;
  margin-top: 0.15rem;
}

[data-theme="dark"] .metric-label {
  color: #FFFFFF;
}

.metric-subtext {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: #FFFFFF;
  margin-top: 0.25rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

[data-theme="dark"] .metric-subtext {
  color: #FFFFFF;
}

/* Hero Media Display */
.hero-media-wrapper {
  position: relative;
  isolation: isolate;
}

.hero-image-frame {
  position: relative;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-card);
  overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  z-index: 1;
  isolation: isolate;
}

.hero-main-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  filter: grayscale(100%) contrast(115%);
  transition: filter var(--transition-smooth);
}

.hero-main-img:hover {
  filter: grayscale(30%) contrast(110%);
}

.hero-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10, 13, 18, 0.98) 0%, rgba(10, 13, 18, 0.82) 55%, transparent 100%);
  padding: 1.5rem 1.5rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 10;
  pointer-events: auto;
}

.caption-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.01em;
}

.caption-sub {
  font-size: 0.78rem;
  color: #FFFFFF;
  margin-top: 3px;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

/* Rolling Hero Rentals Carousel Showcase */
.hero-rental-carousel {
  position: relative;
  overflow: hidden;
  user-select: none;
}

.hero-rental-carousel:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

.hero-slides-track {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
  background-color: #0c0e12;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s ease-in-out, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.03);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-slide .hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(85%) contrast(110%);
  transition: filter var(--transition-smooth), transform 6s ease-out;
  display: block;
}

.hero-rental-carousel:hover .hero-slide.active .hero-main-img {
  filter: grayscale(20%) contrast(108%);
  transform: scale(1.02);
}

.hero-slide-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(1, 60, 42, 0.88);
  color: var(--accent-gold);
  border: 1px solid rgba(180, 138, 27, 0.35);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.hero-slide-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.hero-carousel-nav {
  position: absolute;
  top: calc(50% - 22px);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(18, 21, 26, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: all var(--transition-fast);
  backdrop-filter: blur(6px);
  opacity: 0.85;
  outline: none;
}

.hero-rental-carousel:hover .hero-carousel-nav,
.hero-rental-carousel:focus-within .hero-carousel-nav {
  opacity: 1;
  background: rgba(18, 21, 26, 0.94);
}

@media (max-width: 768px) {
  .hero-carousel-nav {
    opacity: 0.9;
    width: 36px;
    height: 36px;
  }
}

.hero-carousel-nav:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #0A0D12;
  transform: scale(1.08);
}

.hero-carousel-nav.prev {
  left: 14px;
}

.hero-carousel-nav.next {
  right: 14px;
}

.hero-caption-info {
  flex: 1;
  min-width: 0;
  padding-right: 1rem;
}

.hero-carousel-footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.hero-carousel-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.85);
}

.hero-dot.active {
  width: 22px;
  background: var(--accent-gold);
}

.status-pill.rental-pill {
  background: rgba(18, 21, 26, 0.95);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  padding: 4px 10px;
}


.hero-floating-badge {
  position: absolute;
  top: -1.25rem;
  right: -1.25rem;
  background-color: #FFFFFF;
  color: #12151A;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
  font-family: var(--font-display);
  border: 1px solid rgba(18, 21, 26, 0.15);
  z-index: 25;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

[data-theme="dark"] .hero-floating-badge {
  background-color: #181B20;
  color: #FFFFFF;
  border-color: #2E333D;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.7);
}

.badge-sub {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #059669;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

[data-theme="dark"] .badge-sub {
  color: var(--accent-gold);
}

.badge-sub::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  flex-shrink: 0;
}

.badge-main {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #12151A;
}

[data-theme="dark"] .badge-main {
  color: #FFFFFF;
}

/* ==========================================================================
   PHILOSOPHY & OWNER'S ARITHMETIC ($0 MARKUP PROOF)
   ========================================================================== */
.section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  margin-bottom: 4rem;
}

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  max-width: 800px;
}

.section-header h1,
.section-header h2,
.section-header h3 {
  color: #FFFFFF;
}

.section-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin-top: 1rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.comparison-card {
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.comparison-card.standard {
  background-color: var(--bg-secondary);
  border: 1px solid rgba(239, 68, 68, 0.28);
  box-shadow: var(--card-shadow);
}

.comparison-card.hunter {
  background-color: var(--bg-card);
  border: 2px solid var(--live-green);
  box-shadow: var(--card-shadow), 0 0 30px var(--live-green-soft);
}

/* Neighborhood Submarket & Comparison Features List */
.comparison-features {
  list-style: disc outside !important;
  padding-left: 1.6rem !important;
  margin: 1.5rem 0 0.5rem 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.25rem !important; /* Generous, clear vertical spacing between bullet items */
}

.comparison-features li {
  font-size: 0.96rem !important;
  line-height: 1.7 !important;
  color: #FFFFFF !important;
  padding-left: 0.45rem !important; /* Elegant spacing between bullet marker and text */
}

.comparison-features li strong {
  color: #FFFFFF !important;
  font-weight: 700 !important;
}

.comparison-features li::marker {
  color: #FFFFFF !important;
  font-size: 1.15em !important;
}

/* Eliminate any checkboxes or checkmark icons in comparison features */
.comparison-features .feature-icon,
.comparison-features .check,
.feature-icon.check {
  display: none !important;
}

/* Guide Content Bullet Spacing */
.guide-bullets {
  list-style: disc outside;
  padding-left: 1.6rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.guide-bullets li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #FFFFFF;
  padding-left: 0.4rem;
}

.guide-bullets li::marker {
  color: #FFFFFF;
  font-size: 1.15em;
}


/* Card Subject Header Bars */
.card-subject-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
  width: fit-content;
}

.card-subject-bar.danger {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.32);
  color: #F87171;
}

.card-subject-bar.luxury {
  background: var(--brand-green-subtle);
  border: 1px solid rgba(1, 60, 42, 0.25);
  color: var(--brand-green-heritage);
}

[data-theme="dark"] .card-subject-bar.luxury {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.38);
  color: #4ADE80;
}

.subject-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.subject-status-dot.danger {
  background: #EF4444;
  box-shadow: 0 0 8px #EF4444;
}

.card-hp-badge {
  height: 22px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}

.card-heading {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.comparison-card.highlight-luxury .card-heading {
  color: var(--title-primary);
}

.card-subheading {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

/* Visual Invoice Comparison Preview */
.invoice-visual-card {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.75rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.invoice-visual-card.danger {
  border-left: 3px solid #991B1B;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-left: 3px solid #991B1B;
}

.invoice-visual-card.luxury {
  border-left: 3px solid var(--live-green);
  background: linear-gradient(180deg, var(--live-green-soft) 0%, var(--bg-card) 100%);
}

.invoice-visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.invoice-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.invoice-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.invoice-tag.danger {
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-medium);
}

.invoice-tag.luxury {
  background: var(--brand-green-subtle);
  color: var(--brand-green-heritage);
  border: 1px solid rgba(1, 60, 42, 0.25);
}

[data-theme="dark"] .invoice-tag.luxury {
  background: rgba(34, 197, 94, 0.18);
  color: #86EFAC;
  border-color: rgba(34, 197, 94, 0.35);
}

.invoice-number {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* Rubber Stamp Styling */
.invoice-stamp {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.invoice-stamp.danger {
  border: 1.5px solid #991B1B;
  color: #991B1B;
  background: rgba(153, 27, 27, 0.05);
  transform: rotate(-2deg);
}

.invoice-stamp.luxury {
  border: 1.5px solid var(--brand-green-heritage);
  color: var(--brand-green-heritage);
  background: var(--brand-green-subtle);
  transform: rotate(2deg);
}

[data-theme="dark"] .invoice-stamp.luxury {
  border-color: #34D399;
  color: #34D399;
  background: rgba(52, 211, 153, 0.15);
}

.invoice-job-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--border-subtle);
}

.invoice-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.85rem;
}

.invoice-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
}

.invoice-price {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-primary);
}

.invoice-row.highlight-danger {
  background: var(--bg-subtle);
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  border-left: 3px solid #991B1B;
  color: var(--text-primary);
  font-weight: 600;
}

.invoice-price.surcharge {
  color: #991B1B;
  font-weight: 700;
}

.invoice-row.highlight-luxury {
  background: rgba(34, 197, 94, 0.12);
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  border-left: 3px solid var(--live-green);
  color: #15803D;
  font-weight: 600;
}

[data-theme="dark"] .invoice-row.highlight-luxury {
  color: #4ADE80;
}

.invoice-price.zero-markup {
  color: var(--live-green);
  font-weight: 700;
}

.invoice-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.65rem;
  margin-top: 0.35rem;
  border-top: 1px solid var(--border-medium);
  font-size: 0.9rem;
  font-weight: 700;
}

.invoice-total-price {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
}

.invoice-total-price.danger {
  color: #991B1B;
}

.invoice-total-price.luxury {
  color: var(--live-green);
}

.invoice-visual-footer {
  margin-top: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--border-subtle);
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.invoice-visual-footer.danger {
  color: var(--text-secondary);
}

.invoice-visual-footer.luxury {
  color: #15803D;
}

[data-theme="dark"] .invoice-visual-footer.luxury {
  color: #4ADE80;
}

/* Icon-Maxed Comparison Features */
.comparison-graphic-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-graphic-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--border-subtle);
}

.feature-graphic-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feature-icon-chip {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-chip.danger {
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  color: #991B1B;
}

.feature-icon-chip.luxury {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  color: var(--accent-gold);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.hp-breakdown-mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px 2px 4px;
  background: var(--accent-gold-soft);
  border: 1px solid var(--accent-gold);
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hallmark-hp-badge {
  height: 14px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}

.feature-item-content {
  flex-grow: 1;
}

.feature-item-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--title-primary);
  margin-bottom: 0.25rem;
}

.feature-item-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Visual Cost Comparison Meter */
.cost-compare-viz {
  margin-top: 2.5rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 2rem 2.25rem;
  box-shadow: var(--card-shadow);
}

.viz-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.viz-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--title-primary);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1.25;
}

.viz-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: block;
}

.viz-bars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.viz-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.viz-row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.viz-row-label-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.viz-row-label {
  color: var(--text-primary);
  font-weight: 600;
}

.viz-row-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.viz-row-tag.danger {
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  color: #991B1B;
}

.viz-row-tag.luxury {
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ADE80;
}

.viz-row-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.viz-row-value.danger {
  color: #EF4444;
}

.viz-row-value.luxury {
  color: var(--text-primary);
}

.viz-savings-pill {
  font-size: 0.76rem;
  color: var(--live-green);
  background: var(--live-green-soft);
  border: 1px solid var(--live-green);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

/* The Segmented Bar Track */
.viz-segmented-bar {
  height: 34px;
  background: var(--bg-secondary);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border-subtle);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.viz-seg {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.65rem;
  position: relative;
  white-space: nowrap;
  font-size: 0.74rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.seg-label {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Segment Variants */
.viz-seg.base-cost {
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border-right: 1px solid var(--border-subtle);
}

.viz-seg.markup-cost {
  background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
  color: #FFFFFF;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.4);
  font-weight: 700;
}

.viz-seg.hunter-base {
  background: linear-gradient(to right, #15803D 0%, #22C55E 100%);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.25);
}

.viz-seg.hunter-saved {
  background: rgba(34, 197, 94, 0.08);
  border-left: 2px dashed #22C55E;
  color: #4ADE80;
  font-weight: 700;
}

/* Infographic Legend */
.viz-legend {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

.legend-dot.base {
  background: var(--text-muted);
}

.legend-dot.danger {
  background: #EF4444;
}

.legend-dot.luxury {
  background: var(--live-green);
}

/* Arithmetic Callout */
.arithmetic-callout {
  margin-top: 3.5rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.arithmetic-callout h4 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.arithmetic-callout p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.callout-stat-block {
  border-left: 2px solid var(--border-strong);
  padding-left: 2rem;
}

.callout-stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text-primary);
}

.callout-stat-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* Operations Photo Roller & Showcase */
.operations-roller {
  position: relative;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-card);
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-top: 2.5rem;
  margin-bottom: 3rem;
  height: 500px;
  max-width: 100%;
  width: 100%;
}

.roller-track-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.roller-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.roller-slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.roller-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.roller-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 60%, transparent 100%);
  padding: 2.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  z-index: 5;
}

.roller-caption-info {
  max-width: 720px;
}

.roller-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #000000;
  background-color: #FFFFFF;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

.roller-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  margin-bottom: 0.4rem;
}

.roller-desc {
  font-size: 0.95rem;
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  line-height: 1.5;
  margin: 0;
}

.roller-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.3);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.roller-btn:hover {
  background: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(0,0,0,0.6);
}

.roller-btn.prev {
  left: 1.5rem;
}

.roller-btn.next {
  right: 1.5rem;
}

.roller-dots {
  display: flex;
  gap: 0.5rem;
  position: absolute;
  bottom: 1.5rem;
  right: 2.5rem;
  z-index: 10;
  align-items: center;
}

.roller-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.roller-dot.active {
  width: 32px;
  border-radius: 6px;
  background: #FFFFFF;
}

@media (max-width: 768px) {
  .operations-roller {
    height: 420px;
  }
  .roller-caption {
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .roller-btn {
    width: 40px;
    height: 40px;
  }
  .roller-dots {
    bottom: 1rem;
    right: 1.5rem;
  }
}

.timeline-module {
  margin-top: 2.5rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 2.5rem 2.75rem;
  box-shadow: var(--card-shadow);
}

.timeline-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.timeline-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 4px;
  background-color: rgba(22, 163, 74, 0.1);
  color: #16A34A;
  border: 1px solid rgba(22, 163, 74, 0.3);
}

.timeline-status-pill::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #16A34A;
  box-shadow: 0 0 6px #16A34A;
}

[data-theme="dark"] .timeline-status-pill {
  background-color: rgba(34, 197, 94, 0.15);
  color: #4ADE80;
  border-color: rgba(34, 197, 94, 0.4);
}

[data-theme="dark"] .timeline-status-pill::before {
  background-color: #4ADE80;
  box-shadow: 0 0 8px #4ADE80;
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

@media (max-width: 580px) {
  .timeline-steps {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.timeline-step {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.25rem;
  transition: border-top-color var(--transition-fast), transform var(--transition-fast);
}

.timeline-step:hover {
  border-top-color: var(--accent-gold);
  transform: translateY(-2px);
}

.timeline-step:first-child {
  border-top-color: var(--accent-gold);
}

.timeline-step:last-child {
  border-top-color: #10B981;
}

.step-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.step-timestamp {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-gold);
  background-color: var(--bg-card);
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  font-weight: 700;
  margin: 0;
}

[data-theme="dark"] .step-timestamp {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--title-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.step-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.hq-fleet-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  margin-top: 3.5rem;
  align-items: center;
}

.hq-stat-chips {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   THE UNEDITED LEDGER: APPFOLIO TRANSPARENCY MODULE
   ========================================================================== */
.ledger-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 3rem;
  max-width: 100%;
  width: 100%;
}

.ledger-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-secondary);
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

.ledger-property-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ledger-tabs {
  display: flex;
  gap: 0.5rem;
}

.ledger-tab-btn {
  background-color: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.ledger-tab-btn.active, .ledger-tab-btn:hover {
  background-color: #FFFFFF;
  color: #080808;
  border-color: #FFFFFF;
}

.ledger-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.5rem 2rem;
  max-width: 100%;
  width: 100%;
}

.ledger-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}

.ledger-table th {
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-medium);
}

.ledger-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border-hairline);
  color: var(--text-secondary);
}

.ledger-table tr:hover td {
  background-color: rgba(255, 255, 255, 0.02);
}

.ledger-table .status-pill {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  background-color: rgba(34, 197, 94, 0.15);
  color: #4ADE80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.ledger-table .amount {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-primary);
}

.ledger-footer-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: #000000;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CHICAGO VINTAGE BUILDING TAXONOMY & PORTFOLIO SHOWCASE
   ========================================================================== */
.taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.taxonomy-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.taxonomy-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
}

.taxonomy-media {
  position: relative;
  height: 280px;
  overflow: hidden;
  background-color: var(--bg-secondary);
}

.taxonomy-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: transform var(--transition-smooth);
}

.taxonomy-card:hover .taxonomy-img {
  transform: scale(1.04);
  filter: none;
}

.taxonomy-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border-subtle);
  color: #FFFFFF;
  padding: 0.35rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.taxonomy-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.taxonomy-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--title-primary);
  margin-bottom: 0.5rem;
}

.taxonomy-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.taxonomy-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.taxonomy-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: auto;
}

.taxonomy-detail-list li strong {
  color: var(--text-primary);
}

/* Trade Ecosystem Showcase */
.trades-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.trade-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 2rem;
  transition: all var(--transition-fast);
}

.trade-card:hover {
  border-color: var(--border-strong);
  background-color: var(--bg-subtle);
}

.trade-icon-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
  display: block;
}

.trade-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--title-primary);
  margin-bottom: 0.75rem;
}

.trade-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   NEIGHBORHOOD HUB SELECTOR (COMPACT 4-COL + GHOSTED REAL PHOTOS ON HOVER)
   ========================================================================== */
.submarket-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 auto 2.25rem auto;
  max-width: 960px;
}

.submarket-filter-tabs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 auto 2.5rem auto;
  padding: 0.35rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: 6px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.submarket-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.15rem;
  border-radius: 4px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.submarket-filter-btn:hover {
  background: var(--bg-card);
  border-color: var(--border-medium);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.submarket-filter-btn.active {
  background: var(--brand-green-heritage);
  border-color: var(--brand-green-heritage);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(1, 60, 42, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

.submarket-filter-btn .filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.70rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 3px;
  background: var(--bg-subtle);
  color: var(--text-dim);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.submarket-filter-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

[data-theme="dark"] .submarket-filter-btn {
  background: var(--bg-card);
  border-color: var(--border-subtle);
  color: var(--text-secondary);
}

[data-theme="dark"] .submarket-filter-btn:hover {
  border-color: #34D399;
  color: #34D399;
}

[data-theme="dark"] .submarket-filter-btn.active {
  background: #34D399;
  border-color: #34D399;
  color: #051A13;
  box-shadow: 0 4px 16px rgba(52, 211, 153, 0.32);
}

[data-theme="dark"] .submarket-filter-btn.active .filter-count {
  background: rgba(5, 26, 19, 0.28);
  color: #051A13;
}

.neighborhood-card.is-filtered-out {
  display: none !important;
}

.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-top: 2rem;
}

@media (max-width: 1200px) {
  .neighborhood-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
  }
}

@media (max-width: 860px) {
  .neighborhood-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 540px) {
  .neighborhood-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 1.5rem;
  }
}

.neighborhood-card {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1.1rem 1.25rem;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
  z-index: 1;
}

.neighborhood-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .neighborhood-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Vibrant real neighborhood photo on rollover */
.neighborhood-card-ghost {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: saturate(1.12) contrast(1.06);
  transform: scale(1);
  transition: opacity 0.35s ease, transform 0.45s ease;
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
}

.neighborhood-card:hover .neighborhood-card-ghost {
  opacity: 0.88;
  transform: scale(1.05);
}

[data-theme="dark"] .neighborhood-card:hover .neighborhood-card-ghost {
  opacity: 0.90;
}

/* Rich directional scrim on hover to guarantee vivid photo + crisp text */
.neighborhood-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 16, 12, 0.92) 0%,
    rgba(8, 16, 12, 0.70) 55%,
    rgba(8, 16, 12, 0.40) 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
}

.neighborhood-card:hover::after {
  opacity: 0.82;
}

.neighborhood-card:hover .neighborhood-name {
  color: #FFFFFF;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}

.neighborhood-card:hover .neighborhood-lead {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

.neighborhood-card:hover .neighborhood-badge {
  color: #FBBF24;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.neighborhood-card:hover .neighborhood-meta span {
  color: rgba(255, 255, 255, 0.82);
}

.neighborhood-card:hover .neighborhood-arrow {
  color: #FBBF24;
  transform: translateX(3px);
}

.neighborhood-card-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.neighborhood-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.neighborhood-badge {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.neighborhood-name {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--title-primary);
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.neighborhood-lead {
  font-size: 0.79rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0.55rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.neighborhood-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.45rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.neighborhood-arrow {
  color: var(--accent-gold);
  font-size: 0.85rem;
  transition: transform var(--transition-fast);
}

.neighborhood-card:hover .neighborhood-arrow {
  transform: translateX(3px);
  color: var(--brand-green-heritage);
}

/* ==========================================================================
   EXECUTIVE ACCESS: ROMAN SERRA & INTAKE FORM
   ========================================================================== */
.executive-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-top: 3rem;
}

.executive-portrait-wrap {
  position: relative;
  max-width: 320px;
  width: 100%;
  border-radius: var(--radius-sm);
  background-color: var(--bg-card);
  border: 1px solid var(--border-medium);
  padding: 1.25rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.executive-img {
  width: 100%;
  max-width: 260px;
  height: 310px;
  object-fit: cover;
  object-position: 50% 8%;
  border-radius: var(--radius-sm);
  filter: contrast(105%) brightness(102%);
  display: block;
  margin: 0 auto;
  image-rendering: -webkit-optimize-contrast;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-subtle);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.executive-meta-card {
  position: static;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  width: 100%;
  box-shadow: none;
}

.exec-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.exec-role {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-top: 4px;
}

.exec-creds {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* Ingestion Form */
.inquiry-form-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 3.5rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--card-shadow);
}

.form-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--title-primary);
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  min-width: 0;
  max-width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  max-width: 100%;
}

.form-group.full {
  grid-column: span 2;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--border-strong);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

/* ==========================================================================
   PORTAL MODAL LAUNCHER
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.active {
  display: flex;
}

.portal-modal {
  background-color: var(--bg-card);
  border: 1px solid var(--border-medium);
  width: 100%;
  max-width: 580px;
  border-radius: var(--radius-sm);
  padding: 3rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  animation: modalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--title-primary);
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
}

.portal-option-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.portal-option-card:hover {
  border-color: var(--border-strong);
  background-color: var(--bg-subtle);
  transform: translateX(4px);
}

.portal-option-info h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.portal-option-info p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.portal-badge {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--bg-footer);
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 3rem;
  font-size: 0.9rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 3.5rem;
  margin-bottom: 4.5rem;
}

.footer-brand-summary p {
  color: var(--text-muted);
  max-width: 340px;
  margin-top: 1.25rem;
  font-size: 0.92rem;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-nav-list a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-nav-list a:hover {
  color: #FFFFFF;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.contact-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact-val {
  color: #FFFFFF;
  font-weight: 600;
  margin-top: 2px;
}

.footer-bottom-bar {
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ==========================================================================
   MAINTENANCE SHOWCASE (AUTHENTIC TECHNICIAN PHOTO & WIN-WIN VALUE)
   ========================================================================== */
.maintenance-hero-showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.25rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.maintenance-hero-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--brand-green-heritage), var(--accent-gold));
}

.maintenance-photo-wrapper {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  height: 380px;
}

.maintenance-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.maintenance-hero-showcase:hover .maintenance-photo-wrapper img {
  transform: scale(1.03);
}

.maintenance-photo-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(1, 43, 30, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #FAF9F5;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid rgba(212, 160, 23, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.maintenance-photo-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live-green);
  box-shadow: 0 0 8px var(--live-green);
  animation: pulse-dot 2s infinite ease-in-out;
}

.maintenance-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.25rem 0.85rem;
  background: linear-gradient(180deg, transparent 0%, rgba(1, 43, 30, 0.88) 55%, rgba(1, 43, 30, 0.98) 100%);
  color: #FAF9F5;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.maintenance-value-content {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.maintenance-value-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent-gold);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.maintenance-value-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--title-primary);
  line-height: 1.25;
}

.maintenance-value-lead {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.maintenance-pillars-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.25rem;
}

.maintenance-pillar-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.maintenance-pillar-row:hover {
  border-color: var(--border-medium);
  transform: translateX(4px);
  background: var(--bg-card);
}

.maintenance-pillar-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(1, 43, 30, 0.08);
  color: var(--brand-green-heritage);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

[data-theme="dark"] .maintenance-pillar-icon {
  background: rgba(212, 160, 23, 0.15);
  color: var(--accent-gold);
}

.maintenance-pillar-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.maintenance-pillar-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   INTERACTIVE CHICAGO CORRIDOR MAP & LIVE APPFOLIO RENTALS (VERSION 2.1)
   ========================================================================== */
.chicago-map-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2.25rem;
  box-shadow: var(--card-shadow);
  position: relative;
  align-items: start;
}

.chicago-map-visual-wrap {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  overflow: hidden;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.chicago-svg-map {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
}

/* SVG Map Coastline & Water */
.chicago-svg-map .map-coastline {
  fill: none;
  stroke: var(--brand-green-heritage);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 6px rgba(1, 43, 30, 0.22));
}

[data-theme="dark"] .chicago-svg-map .map-coastline {
  stroke: var(--accent-gold);
  filter: drop-shadow(0 2px 8px rgba(212, 160, 23, 0.35));
}

.chicago-svg-map .map-water-label {
  fill: var(--text-dim);
  font-family: var(--font-display);
  font-size: 15.4px;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.55;
}

[data-theme="dark"] .chicago-svg-map .map-water-label {
  fill: rgba(245, 230, 200, 0.35);
}

/* MAP NODES - STRICTLY ZERO CSS TRANSFORMS (PREVENTS JUMPING / DETACHING) */
.map-node {
  cursor: pointer;
  outline: none;
}

.map-node .map-pulse-ring {
  fill: rgba(245, 158, 11, 0.35);
  animation: map-pulse 2.2s infinite ease-out;
  transform-origin: center;
}

@keyframes map-pulse {
  0% { r: 8px; opacity: 0.85; }
  100% { r: 22px; opacity: 0; }
}

.map-node .map-node-core {
  fill: #012B1E;
  stroke: #D4A017;
  stroke-width: 2.5px;
  transition: fill 0.2s ease, stroke 0.2s ease, stroke-width 0.2s ease;
}

.map-node:hover .map-node-core,
.map-node.active .map-node-core {
  fill: #F59E0B;
  stroke: #FFFFFF;
  stroke-width: 3.5px;
}

/* HIGH-LEGIBILITY PILL BADGES - SOLID ANCHORING */
.map-node .node-pill-bg {
  fill: var(--bg-card);
  stroke: var(--border-medium);
  stroke-width: 1.2px;
  transition: fill 0.2s ease, stroke 0.2s ease, filter 0.2s ease;
}

.map-node .node-pill-text {
  font-family: var(--font-display);
  font-size: 12.1px;
  font-weight: 700;
  fill: var(--text-primary);
  dominant-baseline: central;
  text-anchor: middle;
  pointer-events: none;
  letter-spacing: 0.02em;
  transition: fill 0.2s ease;
}

.map-node:hover .node-pill-bg,
.map-node.active .node-pill-bg {
  fill: var(--brand-green-deep);
  stroke: var(--accent-gold);
  stroke-width: 2px;
  filter: drop-shadow(0 3px 8px rgba(180, 138, 27, 0.35));
}

.map-node:hover .node-pill-text,
.map-node.active .node-pill-text {
  fill: #FFFFFF;
}

/* Hunter HQ Node Highlighting */
.map-node.node-hq .node-pill-bg {
  fill: var(--brand-green-deep);
  stroke: var(--accent-gold);
  stroke-width: 2.2px;
  filter: drop-shadow(0 3px 10px rgba(180, 138, 27, 0.45));
}

.map-node.node-hq .node-pill-text {
  fill: var(--accent-gold);
  font-weight: 800;
}

.map-node.node-hq:hover .node-pill-bg,
.map-node.node-hq.active .node-pill-bg {
  fill: var(--accent-gold);
  stroke: #FFFFFF;
}

.map-node.node-hq:hover .node-pill-text,
.map-node.node-hq.active .node-pill-text {
  fill: #012B1E;
}

/* CRISP, DEDICATED HTML MAP LEGEND BAR (100% READABLE) */
.chicago-map-legend-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  padding: 0.65rem 0.85rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.legend-badge-star {
  color: var(--accent-gold);
  font-size: 0.9rem;
  line-height: 1;
}

.legend-badge-corridor {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand-green-heritage);
  border: 1.5px solid var(--accent-gold);
}

.legend-badge-river {
  width: 16px;
  height: 4px;
  border-radius: 2px;
  background: #0284C7;
}

.legend-badge-transit {
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: #D97706;
}

/* Map Info Panel */
.chicago-map-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.25rem 0;
  gap: 1.25rem;
}

.map-stats-header {
  margin-bottom: 0.5rem;
}

.map-stats-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-green-heritage);
  background: rgba(1, 43, 30, 0.08);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
  border: 1px solid rgba(1, 43, 30, 0.15);
}

[data-theme="dark"] .map-stats-pill {
  color: var(--accent-gold);
  background: rgba(212, 160, 23, 0.12);
  border-color: rgba(212, 160, 23, 0.25);
}

.map-corridors-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.map-corridor-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.85rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.map-corridor-btn:hover,
.map-corridor-btn.active {
  background: var(--brand-green-heritage);
  color: #FFFFFF;
  border-color: var(--brand-green-heritage);
  transform: translateY(-1px);
}

[data-theme="dark"] .map-corridor-btn:hover,
[data-theme="dark"] .map-corridor-btn.active {
  background: var(--accent-gold);
  color: #012B1E;
  border-color: var(--accent-gold);
}

.map-corridor-btn .corridor-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.08);
}

.map-corridor-btn:hover .corridor-count,
.map-corridor-btn.active .corridor-count {
  background: rgba(255, 255, 255, 0.25);
  color: inherit;
}

.map-preview-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}

.map-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.map-preview-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--title-primary);
}

.map-preview-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--live-green);
  background: rgba(16, 185, 129, 0.12);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.map-preview-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.map-preview-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

/* ==========================================================================
   APPFOLIO LIVE INVENTORY & WORK ORDER DISPATCH STYLES
   ========================================================================== */
.vacancies-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  background-color: var(--bg-card);
  padding: 1.25rem 2rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  box-shadow: var(--card-shadow);
}

.vacancies-filter-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.45rem 0.95rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border-color: var(--btn-primary-border);
}

.vacancies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.vacancy-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  box-shadow: var(--card-shadow);
}

.vacancy-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  background-color: var(--bg-subtle);
}

.vacancy-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.vacancy-price {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
}

.vacancy-price span {
  font-size: 0.8rem;
  font-family: var(--font-body);
  color: var(--text-muted);
  font-weight: 400;
}

.vacancy-badge {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
}

.vacancy-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.vacancy-address {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.vacancy-meta-specs {
  display: flex;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.vacancy-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.vacancy-features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vacancy-features-list li::before {
  content: '•';
  color: var(--accent-gold);
}

.appfolio-apply-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
}

/* Dispatch Form inside Portal Modal */
.modal-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
}

.modal-tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}

.modal-tab-btn.active {
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-strong);
}

.modal-view {
  display: none;
}

.modal-view.active {
  display: block;
}

/* ==========================================================================
   RESPONSIVE DESIGN (ROBUST MULTI-DEVICE SUPPORT)
   ========================================================================== */
@media (max-width: 1440px) {
  .header-container { padding: 0.5rem 1rem; gap: 0.75rem; }
  .header-phone-badge { display: none !important; }
  .brand-subtext { display: none; }
  .nav-item a { padding: 0.32rem 0.52rem; font-size: 0.71rem; letter-spacing: 0.03em; }
  .btn-header-portal { padding: 0 0.75rem; font-size: 0.71rem; }
}

@media (max-width: 1260px) {
  .nav-wrapper { display: none !important; }
  .mobile-menu-toggle,
  .menu-toggle-btn { display: flex !important; }
  .header-actions { display: inline-flex; align-items: center; gap: 0.5rem; }
  .header-actions .btn-header-portal { display: inline-flex !important; }
  .header-actions .header-phone-badge { display: inline-flex !important; }
  .header-actions .btn-header-cta { display: none !important; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .hero-content, .hero-image-pane, .hero-media-wrapper { min-width: 0; max-width: 100%; width: 100%; }
  .hero-slides-track { height: 400px; }
  .hero-main-img { height: 100% !important; object-fit: cover; }
  .hero-floating-badge {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    margin-top: 0.85rem;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  }
  .comparison-grid { grid-template-columns: minmax(0, 1fr); }
  .timeline-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .taxonomy-grid { grid-template-columns: 1fr 1fr; }
  .trades-grid { grid-template-columns: 1fr 1fr; }
  .executive-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .executive-portrait-wrap { min-width: 0; max-width: 320px; margin: 0 auto; }
  .inquiry-form-card { min-width: 0; max-width: 100%; }
  .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .vacancies-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .hq-fleet-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
}

@media (max-width: 768px) {
  body { padding-top: 58px; }
  .container { padding: 0 1.25rem; }
  .header-container { padding: 0.45rem 0.75rem; min-height: 56px; gap: 0.5rem; align-items: center; justify-content: space-between; }
  .brand-link { display: inline-flex; align-items: center; gap: 0.4rem; flex-shrink: 0; cursor: pointer; }
  .brand-hp-badge { height: 36px !important; width: auto !important; }
  .brand-text-block { display: none !important; }
  
  /* Hero Carousel & Badges Collision Elimination */
  .hero-slides-track { height: 350px; }
  .hero-slide-badge {
    top: 10px;
    left: 10px;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    padding: 4px 9px;
    border-radius: 4px;
    max-width: calc(100% - 20px);
    white-space: nowrap;
    z-index: 5;
  }
  .hero-carousel-nav {
    top: calc(50% - 20px);
    width: 38px;
    height: 38px;
  }
  .hero-image-caption {
    padding: 1.25rem 1rem 0.85rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .hero-caption-info {
    padding-right: 0;
    width: 100%;
  }
  .caption-title {
    font-size: 0.88rem;
  }
  .caption-sub {
    font-size: 0.72rem;
  }
  .hero-carousel-footer-right {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 2px;
  }
  
  .hero-floating-badge {
    padding: 0.8rem 1.1rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .hero-floating-badge .badge-sub {
    font-size: 0.68rem;
  }
  .hero-floating-badge .badge-main {
    font-size: 1.1rem;
    white-space: nowrap;
  }

  .hero-eyebrow {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    white-space: normal;
    font-size: 0.68rem;
    line-height: 1.4;
    text-align: center;
    border-radius: 12px;
    padding: 0.35rem 0.75rem;
    letter-spacing: 0.08em;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hero-metrics-bar {
    margin-top: 1.5rem;
    border-radius: 14px;
  }
  .hero-metrics-header {
    padding: 0.65rem 0.85rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }
  .metrics-header-left {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
  }
  .metrics-header-title {
    font-size: 0.64rem;
    line-height: 1.35;
    letter-spacing: 0.1em;
  }
  .hero-metrics-grid,
  .hero-metrics-bar:not(:has(.hero-metrics-grid)) {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    padding: 0.65rem;
  }
  .metric-item {
    padding: 0.85rem 0.75rem;
    border-radius: 10px;
  }
  .metric-number {
    font-size: 1.85rem;
  }
  .metric-label {
    font-size: 0.68rem;
    line-height: 1.25;
  }
  .metric-subtext {
    font-size: 0.60rem;
    white-space: normal;
  }
  .hero-cta-group {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .timeline-steps {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .inquiry-form-card {
    padding: 2rem 1.25rem !important;
  }
  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .portal-modal {
    padding: 2rem 1.25rem 1.5rem !important;
    margin: 1rem !important;
    max-width: calc(100% - 2rem) !important;
  }
  .modal-close-btn {
    top: 1rem !important;
    right: 1rem !important;
  }
  .portal-option-card {
    padding: 1.1rem 1rem !important;
  }
}

@media (max-width: 540px) {
  .hero-floating-badge {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.3rem !important;
    padding: 0.75rem 1rem !important;
  }
  .hero-floating-badge .badge-sub {
    font-size: 0.65rem !important;
  }
  .hero-floating-badge .badge-main {
    font-size: 1.05rem !important;
  }
}
.blog-filter-btn:hover {
  background: var(--nav-link-hover-bg);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.blog-filter-btn.active {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border-color: var(--btn-primary-border);
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] .blog-filter-btn.active {
  background: #FFFFFF;
  color: #080808;
  border-color: #FFFFFF;
}

.blog-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.blog-refresh-btn:hover {
  background: var(--border-medium);
  border-color: var(--border-strong);
}

.blog-refresh-btn svg {
  width: 12px;
  height: 12px;
  transition: transform 0.4s ease;
}

.blog-refresh-btn.rotating svg {
  transform: rotate(360deg);
}

/* Featured Lead Story */
.featured-story-wrap {
  margin-bottom: 3.5rem;
}

.featured-story-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: border-color var(--transition-smooth);
}

.featured-story-card:hover {
  border-color: var(--accent-gold);
}

.featured-story-content {
  padding: 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.featured-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  background: var(--accent-gold-soft);
  border: 1px solid rgba(180, 138, 27, 0.3);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

.featured-read-time {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.featured-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--title-primary);
  margin-bottom: 1rem;
}

.featured-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.featured-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.featured-author-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
}

.featured-author-info {
  display: flex;
  flex-direction: column;
}

.featured-author-name {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.featured-author-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.featured-story-media {
  position: relative;
  overflow: hidden;
  background: #141414;
  min-height: 340px;
}

.featured-story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.featured-story-card:hover .featured-story-img {
  transform: scale(1.03);
}

/* Live RSS Section & Editorial Grids */
.blog-stream-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  border-bottom: 2px solid var(--border-medium);
  padding-bottom: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.blog-stream-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--title-primary);
  line-height: 1.2;
}

.blog-stream-subtitle {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.85rem 1.65rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
}

.blog-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  background-color: var(--bg-subtle);
}

.blog-card.rss-item {
  border-left: 3px solid var(--accent-gold);
}

.blog-card.editorial-item {
  border-left: 3px solid var(--live-green);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  gap: 0.5rem;
}

.blog-source-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.blog-card.rss-item .blog-source-badge {
  color: #B48A1B;
  background: rgba(180, 138, 27, 0.1);
  border-color: rgba(180, 138, 27, 0.25);
}

.blog-card-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.blog-card-title {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.blog-card-title a:hover {
  color: var(--accent-gold);
}

.blog-card-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
  margin-top: auto;
}

.blog-card-link {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.blog-card-link:hover {
  color: var(--accent-gold);
  transform: translateX(3px);
}

.blog-card-link svg {
  width: 11px;
  height: 11px;
}

/* Newsletter Subscription Callout */
.blog-newsletter-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 3rem 2.5rem;
  margin-bottom: 4rem;
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.newsletter-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
  line-height: 1.25;
}

.newsletter-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-input-group {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  outline: none;
}

.newsletter-input:focus {
  border-color: var(--text-primary);
  background: var(--bg-card);
}

.newsletter-disclaimer {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
  .blog-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .featured-story-card { grid-template-columns: 1fr; }
  .featured-story-media { min-height: 260px; }
  .blog-cards-grid { grid-template-columns: 1fr 1fr; }
  .blog-newsletter-banner { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem; }
}

@media (max-width: 768px) {
  .blog-hero-section { padding: 2.5rem 0 2rem; }
  .blog-cards-grid { grid-template-columns: 1fr; }
  .blog-toolbar { flex-direction: column; align-items: stretch; gap: 1rem; }
  .blog-search-box { max-width: 100%; min-width: 0; }
  .featured-story-content { padding: 1.75rem; }
  .featured-title { font-size: 1.45rem; }
  .newsletter-input-group { flex-direction: column; }
}

/* ==========================================================================
   HERITAGE COLOR SYSTEM UTILITIES
   Hunter Heritage Green (#013C2A), Brass Gold (#B48A1B), & Legacy Charcoal (#363839)
   ========================================================================== */

.bg-heritage-green {
  background-color: var(--brand-green-heritage) !important;
  color: #FFFFFF !important;
}

.bg-heritage-green h1,
.bg-heritage-green h2,
.bg-heritage-green h3,
.bg-heritage-green h4,
.bg-heritage-green p,
.bg-heritage-green span {
  color: inherit;
}

.bg-dark-charcoal {
  background-color: var(--color-charcoal-dark) !important;
  color: #FFFFFF !important;
}

.text-heritage-green {
  color: var(--brand-green-heritage) !important;
}

.text-brass-gold {
  color: var(--accent-gold) !important;
}

.text-dark-charcoal {
  color: var(--color-charcoal-dark) !important;
}

.badge-heritage-green {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--brand-green-subtle);
  color: var(--brand-green-heritage);
  border: 1px solid rgba(1, 60, 42, 0.22);
  border-radius: 4px;
}

[data-theme="dark"] .badge-heritage-green {
  background-color: rgba(34, 197, 94, 0.15);
  color: #34D399;
  border-color: rgba(52, 211, 153, 0.3);
}

.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--accent-gold-soft);
  color: var(--accent-gold);
  border: 1px solid rgba(180, 138, 27, 0.32);
  border-radius: 4px;
}

.callout-heritage-green {
  position: relative;
  background: linear-gradient(135deg, var(--brand-green-heritage) 0%, var(--brand-green-forest) 100%);
  color: #FFFFFF;
  border: 1px solid rgba(180, 138, 27, 0.35);
  border-radius: var(--radius-md);
  padding: 2.25rem 2.5rem;
  box-shadow: 0 12px 36px rgba(1, 60, 42, 0.22);
}

.callout-heritage-green h2,
.callout-heritage-green h3 {
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.callout-heritage-green p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
}

/* ==========================================================================
   OWNER-FOCUSED PLATFORM RESTORATION & MOBILE LAYOUT ENHANCEMENTS
   ========================================================================== */

/* Mobile Header Action Suite */
.mobile-header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

@media (max-width: 768px) {
  .header-container {
    padding: 0.45rem 0.75rem;
    min-height: 56px;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
  }
  .brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    cursor: pointer;
  }
  .brand-text-block {
    display: none !important;
  }
  .brand-hp-badge {
    height: 36px !important;
    width: auto !important;
  }
  .header-actions {
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
  }
  .header-phone-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.55rem;
    font-size: 0.68rem;
    height: 32px;
    border-radius: var(--radius-full);
    white-space: nowrap;
  }
  .header-phone-badge .phone-label {
    display: none !important;
  }
  .header-phone-badge .phone-digits {
    display: none !important;
  }
  .header-phone-badge::after {
    content: "24/7 Desk";
    font-size: 0.68rem;
    font-weight: 700;
  }
  .header-actions .btn-header-portal {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 0.65rem;
    font-size: 0.72rem;
    white-space: nowrap;
    border-radius: var(--radius-full);
    font-weight: 600;
  }
  .header-actions .theme-toggle-btn {
    display: none !important;
  }
  .mobile-menu-toggle,
  .menu-toggle-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 36px !important;
    padding: 6px !important;
    flex-shrink: 0 !important;
    z-index: 1001;
    cursor: pointer;
  }
}

@media (max-width: 440px) {
  .header-container {
    padding: 0.4rem 0.55rem;
    gap: 0.35rem;
  }
  .header-actions {
    gap: 0.35rem;
  }
  .header-phone-badge {
    display: none !important;
  }
  .header-actions .btn-header-portal {
    height: 32px;
    padding: 0 0.6rem;
    font-size: 0.7rem;
  }
  .mobile-menu-toggle,
  .menu-toggle-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 38px !important;
    padding: 7px !important;
    flex-shrink: 0 !important;
    z-index: 1001;
    cursor: pointer;
  }
  
  /* Hero Carousel & Mobile Viewport Polish */
  .hero-slides-track {
    height: 310px !important;
  }
  .hero-slide-badge {
    top: 8px !important;
    left: 8px !important;
    font-size: 0.58rem !important;
    letter-spacing: 0.08em !important;
    padding: 3px 8px !important;
    max-width: calc(100% - 16px) !important;
  }
  .hero-carousel-nav {
    width: 34px !important;
    height: 34px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  .hero-carousel-nav.prev {
    left: 6px !important;
  }
  .hero-carousel-nav.next {
    right: 6px !important;
  }
  .hero-image-caption {
    padding: 1rem 0.75rem 0.65rem !important;
    gap: 0.35rem !important;
  }
  .caption-title {
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
  }
  .caption-sub {
    font-size: 0.66rem !important;
    line-height: 1.25 !important;
  }
  .hero-floating-badge {
    padding: 0.7rem 0.9rem !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.25rem !important;
  }
  .hero-floating-badge .badge-sub {
    font-size: 0.64rem !important;
  }
  .hero-floating-badge .badge-main {
    font-size: 1.05rem !important;
  }
  .hero-title {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }
  .hero-lead {
    font-size: 0.86rem !important;
    line-height: 1.45 !important;
    margin-bottom: 1.25rem !important;
  }
  .hero-metrics-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.45rem !important;
    padding: 0.45rem !important;
  }
  .metric-item {
    padding: 0.65rem 0.5rem !important;
  }
  .metric-number {
    font-size: 1.55rem !important;
  }
  .metric-label {
    font-size: 0.62rem !important;
  }
  .metric-subtext {
    font-size: 0.56rem !important;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
/* Comparative Charge Mobile Optimization */
.comparison-mobile-tabs {
  display: none;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  width: 100%;
}

.comp-tab-btn {
  flex: 1;
  padding: 0.75rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.comp-tab-btn.active[data-target="hunter"] {
  background: var(--brand-green-subtle);
  border-color: var(--brand-green-heritage);
  color: var(--brand-green-heritage);
  box-shadow: 0 2px 8px rgba(1, 60, 42, 0.15);
}

[data-theme="dark"] .comp-tab-btn.active[data-target="hunter"] {
  background: rgba(34, 197, 94, 0.15);
  border-color: #34D399;
  color: #34D399;
}

.comp-tab-btn.active[data-target="standard"] {
  background: rgba(239, 68, 68, 0.12);
  border-color: #EF4444;
  color: #F87171;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.15);
}

/* Mobile Quick Comparison Matrix Table */
.comparison-matrix-table {
  display: none;
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison-matrix-table th,
.comparison-matrix-table td {
  padding: 0.75rem 0.65rem;
  font-size: 0.8rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.comparison-matrix-table th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.comparison-matrix-table td.hunter-cell {
  background: rgba(1, 60, 42, 0.04);
  color: var(--brand-green-heritage);
  font-weight: 600;
}

[data-theme="dark"] .comparison-matrix-table td.hunter-cell {
  background: rgba(34, 197, 94, 0.06);
  color: #34D399;
}

.comparison-matrix-table td.standard-cell {
  color: #EF4444;
  font-weight: 500;
}

.comparison-matrix-table.highlight-hunter td.hunter-cell {
  background: rgba(1, 60, 42, 0.12);
  font-weight: 700;
}

.comparison-matrix-table.highlight-standard td.standard-cell {
  background: rgba(239, 68, 68, 0.10);
  font-weight: 700;
}

@media (max-width: 768px) {
  .comparison-mobile-tabs {
    display: flex;
  }
  .comparison-matrix-table {
    display: table;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
  }
  #comparison .comparison-grid .comparison-card {
    display: none;
  }
  #comparison .comparison-grid .comparison-card.mobile-active {
    display: flex;
  }
  .comparison-grid:not(#comparison-grid) {
    grid-template-columns: 1fr;
  }
  .comparison-grid:not(#comparison-grid) .comparison-card {
    display: flex;
  }
}

/* Areas We Service Section & Map */
.areas-map-dossier {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
  box-shadow: var(--card-shadow);
  height: 100%;
}

.dossier-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
}

.dossier-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--title-primary);
  margin-top: 0.35rem;
  margin-bottom: 0.25rem;
}

.dossier-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-green-heritage);
}

[data-theme="dark"] .dossier-badge {
  color: #34D399;
}

.dossier-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1rem 0;
}

.dossier-spec-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.75rem;
}

.dossier-spec-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 0.2rem;
}

.dossier-spec-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dossier-details-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0.75rem 0 1.25rem;
}

/* Restored Original Financial Statement */
.financial-statement-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .financial-statement-grid {
    grid-template-columns: 1fr;
  }
}

.statement-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}

.statement-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.statement-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
}

.statement-meta-badge {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--text-muted);
}

.statement-property-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--title-primary);
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--text-primary);
}

.statement-table-subhead {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.4rem 0;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 0.25rem;
}

.statement-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.statement-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
  font-weight: 600;
}

.statement-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.65rem 0;
  border-bottom: 2px solid var(--text-primary);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.statement-noi-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0 0.25rem;
  margin-top: 0.5rem;
}

.noi-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--title-primary);
}

.noi-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.85rem;
  color: #0C7917;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

[data-theme="dark"] .noi-value {
  color: #34D399;
}

.rent-roll-table {
  width: 100%;
}

.rent-roll-head {
  display: grid;
  grid-template-columns: 48px 56px 1fr auto;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.rent-roll-row {
  display: grid;
  grid-template-columns: 48px 56px 1fr auto;
  gap: 8px;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.84rem;
  align-items: baseline;
  color: var(--text-secondary);
}

.rent-roll-more {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.statement-occupancy-box {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.occupancy-stat-number {
  font-family: var(--font-display);
  font-size: 2.85rem;
  font-weight: 900;
  color: var(--title-primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.occupancy-stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin: 0.35rem 0 0.65rem;
}

.occupancy-stat-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

.statement-disclaimer {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
}

/* Restored 50+ Trades Array */
.trades-full-array {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
  margin: 2rem 0;
  border-top: 2px solid var(--text-primary);
  padding-top: 1rem;
}

.trade-item-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  transition: transform var(--transition-fast);
}

.trade-item-row:hover {
  transform: translateX(4px);
}

.trade-item-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.trade-item-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--title-primary);
}

.trade-item-group {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  padding: 0.2rem 0.5rem;
  background: var(--bg-secondary);
  border-radius: 4px;
}

.trades-tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (max-width: 992px) {
  .trades-tiers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .trades-tiers-grid {
    grid-template-columns: 1fr;
  }
}

.trade-tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.trade-tier-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.trade-tier-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--title-primary);
  margin-bottom: 0.5rem;
}

.trade-tier-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Restored Compliance Section */
.compliance-four-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (max-width: 992px) {
  .compliance-four-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .compliance-four-grid {
    grid-template-columns: 1fr;
  }
}

.compliance-pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.compliance-pillar-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand-green-heritage);
  margin-bottom: 0.75rem;
}

[data-theme="dark"] .compliance-pillar-num {
  color: #34D399;
}

.compliance-pillar-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--title-primary);
  margin-bottom: 0.75rem;
}

.compliance-pillar-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.compliance-exposure-banner {
  background: var(--brand-green-heritage);
  color: #FFFFFF;
  padding: 1.75rem 2rem;
  border-radius: var(--radius-sm);
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.compliance-banner-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

/* Restored Statement Specific Classes */
.statement-card-header {
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--text-primary);
  margin-bottom: 1.25rem;
}

.statement-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-gold);
  margin-bottom: 0.35rem;
}

.statement-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--title-primary);
  margin: 0;
}

.statement-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.statement-section-heading {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.5rem 0;
  border-top: 2px solid var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.statement-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.statement-val {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
  font-weight: 600;
}

.statement-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 0.65rem 0;
  border-bottom: 2px solid var(--text-primary);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.rent-roll-header {
  display: grid;
  grid-template-columns: 48px 56px 1fr auto;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 0.5rem 0;
  border-top: 2px solid var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.unit-cell {
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.rent-cell {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
}

.badge-current {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  background: rgba(12, 121, 23, 0.15);
  color: #0C7917;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.72rem;
}

[data-theme="dark"] .badge-current {
  background: rgba(52, 211, 153, 0.18);
  color: #34D399;
}

.badge-vacant {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  background: rgba(234, 179, 8, 0.18);
  color: #B45309;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.72rem;
}

[data-theme="dark"] .badge-vacant {
  background: rgba(234, 179, 8, 0.22);
  color: #FBBF24;
}

.badge-notice {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  background: rgba(239, 68, 68, 0.15);
  color: #DC2626;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.72rem;
}

[data-theme="dark"] .badge-notice {
  background: rgba(239, 68, 68, 0.2);
  color: #F87171;
}

.rent-roll-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 0.75rem 0;
  border-bottom: 2px solid var(--text-primary);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.occupancy-callout-card {
  padding: 1.5rem 0 0.5rem;
}

.occupancy-big-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--title-primary);
}

.occupancy-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin: 0.4rem 0 0.75rem;
}

.occupancy-note {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

.statement-legal-notice {
  padding: 1rem 1.25rem;
  margin-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
}

/* Full Trades Grid Item */
.trade-full-card {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: baseline;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
  border: 1px solid var(--border-subtle);
}

.trade-full-card:hover {
  transform: translateX(4px);
  border-color: var(--accent-gold);
}

.trade-full-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.trade-full-name {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--title-primary);
}

.trade-full-cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-green-heritage);
  padding: 0.2rem 0.5rem;
  background: var(--bg-secondary);
  border-radius: 4px;
}

[data-theme="dark"] .trade-full-cat {
  color: #34D399;
}

/* Mobile Comparison Switcher Tabs */
.comparison-mobile-tabs {
  display: none;
  margin-bottom: 1rem;
  gap: 0.5rem;
  background: var(--bg-secondary);
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
}

@media (max-width: 640px) {
  .comparison-mobile-tabs {
    display: flex;
  }
}

.comp-tab-btn {
  flex: 1;
  padding: 0.55rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.comp-tab-btn.active {
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

/* Mobile responsive handling for matrix table */
@media (max-width: 640px) {
  .comparison-matrix-table.show-others .col-hunter {
    display: none;
  }
  .comparison-matrix-table.show-others .col-others {
    display: table-cell;
  }
  .comparison-matrix-table.show-hunter .col-others {
    display: none;
  }
  .comparison-matrix-table.show-hunter .col-hunter {
    display: table-cell;
  }
}

/* Skyline toggle hidden from GUI */
.skyline-toggle-btn { display: none !important; }

/* Maintenance Hero Showcase Mobile & Tablet Responsiveness */
@media (max-width: 992px) {
  .maintenance-hero-showcase {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
    padding: 1.75rem !important;
    margin-bottom: 2.25rem !important;
  }
  .maintenance-photo-wrapper {
    height: 320px !important;
  }
}

@media (max-width: 640px) {
  .maintenance-hero-showcase {
    padding: 1.25rem 1rem !important;
    border-radius: var(--radius-sm) !important;
    gap: 1.25rem !important;
    margin-bottom: 2rem !important;
  }
  .maintenance-photo-wrapper {
    height: 240px !important;
  }
  .maintenance-photo-badge {
    top: 0.75rem !important;
    left: 0.75rem !important;
    padding: 0.35rem 0.75rem !important;
    font-size: 0.68rem !important;
  }
  .maintenance-photo-caption {
    padding: 1rem 0.85rem 0.75rem !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.35rem !important;
    font-size: 0.76rem !important;
  }
  .maintenance-value-title {
    font-size: 1.22rem !important;
    line-height: 1.3 !important;
  }
  .maintenance-value-lead {
    font-size: 0.88rem !important;
  }
  .maintenance-pillar-row {
    padding: 0.65rem 0.85rem !important;
    gap: 0.75rem !important;
  }
  .maintenance-pillar-text strong {
    font-size: 0.84rem !important;
  }
  .maintenance-pillar-text p {
    font-size: 0.78rem !important;
  }
}
/* Sexed-Up 11 In-House Trades Grid */
.trades-sexed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (max-width: 1100px) {
  .trades-sexed-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .trades-sexed-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 520px) {
  .trades-sexed-grid {
    grid-template-columns: 1fr;
  }
}

.trade-sexed-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  z-index: 1;
}

.trade-sexed-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 4;
}

/* Vibrant real trade action photo on rollover */
.trade-card-ghost {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: saturate(1.14) contrast(1.08);
  transform: scale(1);
  transition: opacity 0.35s ease, transform 0.45s ease;
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
}

.trade-sexed-card:hover .trade-card-ghost {
  opacity: 0.88;
  transform: scale(1.05);
}

[data-theme="dark"] .trade-sexed-card:hover .trade-card-ghost {
  opacity: 0.90;
}

/* Rich directional scrim on hover to guarantee vivid photo + crisp text */
.trade-sexed-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 15, 11, 0.94) 0%,
    rgba(6, 15, 11, 0.72) 55%,
    rgba(6, 15, 11, 0.42) 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
}

.trade-sexed-card:hover::after {
  opacity: 0.82;
}

.trade-sexed-card:hover .trade-sexed-name {
  color: #FFFFFF;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.trade-sexed-card:hover .trade-sexed-desc {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.trade-sexed-card:hover .trade-graphic-chip {
  background: var(--accent-gold);
  color: #081510;
  border-color: var(--accent-gold);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

.trade-sexed-card:hover .trade-cat-pill {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.35);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.trade-card-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
}

.trade-sexed-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .trade-sexed-card:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.trade-sexed-card:hover::before {
  opacity: 1;
}

.trade-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.trade-graphic-chip {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-green-heritage);
  flex-shrink: 0;
  transition: all var(--transition-fast);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
}

[data-theme="dark"] .trade-graphic-chip {
  color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.25);
}

.trade-sexed-card:hover .trade-graphic-chip {
  background: var(--brand-green-heritage);
  color: #FFFFFF;
  border-color: var(--brand-green-heritage);
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(1, 60, 42, 0.25);
}

[data-theme="dark"] .trade-sexed-card:hover .trade-graphic-chip {
  background: var(--accent-gold);
  color: #081510;
  border-color: var(--accent-gold);
}

.trade-cat-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
}

.trade-cat-pill.envelope {
  background: rgba(217, 119, 6, 0.12);
  color: #D97706;
  border: 1px solid rgba(217, 119, 6, 0.25);
}

.trade-cat-pill.systems {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.trade-cat-pill.turns {
  background: rgba(212, 175, 55, 0.14);
  color: #B45309;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.trade-cat-pill.protection {
  background: rgba(59, 130, 246, 0.12);
  color: #2563EB;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

[data-theme="dark"] .trade-cat-pill.envelope { color: #FBBF24; border-color: rgba(251, 191, 36, 0.3); }
[data-theme="dark"] .trade-cat-pill.systems { color: #34D399; border-color: rgba(52, 211, 153, 0.3); }
[data-theme="dark"] .trade-cat-pill.turns { color: #FCD34D; border-color: rgba(252, 211, 77, 0.3); }
[data-theme="dark"] .trade-cat-pill.protection { color: #60A5FA; border-color: rgba(96, 165, 250, 0.3); }

.trade-sexed-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--title-primary);
  margin: 0;
  line-height: 1.25;
}

.trade-sexed-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   WIDE & CONDENSED FINANCIAL STATEMENT SPREAD (ANTI-SCROLL FATIGUE)
   ========================================================================== */
.statement-card-wide {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 2.25rem 2.75rem;
  box-shadow: var(--card-shadow);
}

.statement-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
  align-items: start;
}

.statement-condensed-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 0.32rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.statement-condensed-row:hover {
  background: var(--bg-subtle);
}

@media (max-width: 991px) {
  .statement-card-wide {
    padding: 1.5rem 1.25rem;
  }
  .statement-split-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   RESOURCES CARDS & KNOWLEDGE GRID
   ========================================================================== */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.resource-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 2rem 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
  box-shadow: var(--card-shadow);
}

.resource-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-green-heritage);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.resource-card:hover {
  border-color: var(--brand-green-heritage);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.resource-card:hover::before {
  opacity: 1;
}

.resource-card.featured-review {
  background: linear-gradient(135deg, rgba(201, 168, 92, 0.06) 0%, var(--bg-card) 100%);
  border: 1.5px solid var(--accent-gold);
}

.resource-card.featured-review::before {
  background: var(--accent-gold);
  opacity: 1;
}

.resource-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.resource-icon-chip {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(12, 121, 23, 0.08);
  color: var(--brand-green-heritage);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.resource-card:hover .resource-icon-chip {
  background: var(--brand-green-heritage);
  color: #FFFFFF;
}

.resource-card.featured-review .resource-icon-chip {
  background: rgba(201, 168, 92, 0.15);
  color: var(--accent-gold);
}

.resource-card.featured-review:hover .resource-icon-chip {
  background: var(--accent-gold);
  color: #FFFFFF;
}

.resource-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
}

.resource-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--title-primary);
  margin: 0 0 0.75rem 0;
  line-height: 1.35;
  transition: color var(--transition-fast);
}

.resource-card:hover .resource-title {
  color: var(--brand-green-heritage);
}

.resource-card.featured-review:hover .resource-title {
  color: var(--accent-gold);
}

.resource-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
  flex-grow: 1;
}

.resource-link-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--brand-green-heritage);
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.resource-card:hover .resource-link-text {
  gap: 0.75rem;
}

.resource-card.featured-review .resource-link-text {
  color: var(--accent-gold);
}

@media (max-width: 1024px) {
  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 680px) {
  .resources-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .resource-card {
    padding: 1.5rem 1.25rem;
  }
}

/* ==========================================================================
   GUARANTEES & TRADE SPECIALISTS GRID (ABOUT & GUARANTEES PAGES)
   ========================================================================== */
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}

.guarantee-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  position: relative;
  box-shadow: var(--card-shadow);
}

.guarantee-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-green-heritage);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .guarantee-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.guarantee-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.guarantee-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.guarantee-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.guarantee-pillar {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  background: rgba(1, 60, 42, 0.07);
  color: var(--brand-green-heritage);
  border: 1px solid rgba(1, 60, 42, 0.15);
}

[data-theme="dark"] .guarantee-pillar {
  background: rgba(52, 211, 153, 0.10);
  color: #34D399;
  border-color: rgba(52, 211, 153, 0.25);
}

@media (max-width: 1024px) {
  .guarantees-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 680px) {
  .guarantees-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .guarantee-card {
    padding: 1.75rem 1.25rem;
  }
}

/* ==========================================================================
   BLOG & MARKET INTELLIGENCE SYSTEM
   ========================================================================== */
.blog-hero-section {
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.blog-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.blog-hero-content {
  display: flex;
  flex-direction: column;
}

.blog-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(1, 60, 42, 0.06);
  border: 1px solid rgba(1, 60, 42, 0.14);
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand-green-heritage);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  width: fit-content;
}

[data-theme="dark"] .blog-live-pill {
  background: rgba(52, 211, 153, 0.10);
  border-color: rgba(52, 211, 153, 0.25);
  color: #34D399;
}

.blog-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.blog-stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.blog-stat-item:hover {
  transform: translateY(-2px);
  border-color: var(--accent-gold);
}

.blog-stat-val {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

[data-theme="dark"] .blog-stat-val {
  color: #FFFFFF;
}

.blog-stat-lbl {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Toolbar & Search Box */
.blog-toolbar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 2.5rem 0;
  flex-wrap: wrap;
}

.blog-search-box {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 280px;
  flex: 1;
  max-width: 420px;
}

.blog-search-box svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  color: var(--text-muted);
  pointer-events: none;
  flex-shrink: 0;
}

.blog-search-input {
  width: 100%;
  height: 44px;
  padding: 0 1rem 0 2.75rem;
  border-radius: 4px;
  border: 1px solid var(--border-medium);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  transition: all var(--transition-fast);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.blog-search-input:focus {
  outline: none;
  border-color: var(--brand-green-heritage);
  box-shadow: 0 0 0 3px rgba(1, 60, 42, 0.12);
}

[data-theme="dark"] .blog-search-input:focus {
  border-color: #34D399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.20);
}

.blog-filter-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.blog-filter-btn {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  border: 1px solid var(--border-medium);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.blog-filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: var(--bg-subtle);
}

.blog-filter-btn.active {
  background: var(--brand-green-heritage);
  color: #FFFFFF;
  border-color: var(--brand-green-heritage);
  box-shadow: 0 2px 8px rgba(1, 60, 42, 0.25);
}

[data-theme="dark"] .blog-filter-btn.active {
  background: #34D399;
  color: #051A13;
  border-color: #34D399;
  box-shadow: 0 2px 10px rgba(52, 211, 153, 0.30);
}

.blog-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 0.95rem;
  border-radius: 4px;
  border: 1px solid var(--border-medium);
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
  margin-left: auto;
  transition: all var(--transition-fast);
}

.blog-refresh-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.5s ease;
}

.blog-refresh-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.blog-refresh-btn:hover svg {
  transform: rotate(180deg);
}

/* Featured Story Showcase */
.featured-story-wrap {
  margin-bottom: 3.5rem;
}

.featured-story-card {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.featured-story-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
}

.featured-story-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
}

.featured-meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.featured-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  background: rgba(200, 155, 60, 0.12);
  border: 1px solid rgba(200, 155, 60, 0.25);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

.featured-read-time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.featured-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--title-primary);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.featured-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.featured-author-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.featured-author-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-medium);
}

.featured-author-info {
  display: flex;
  flex-direction: column;
}

.featured-author-name {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.featured-author-title {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.featured-story-media {
  position: relative;
  min-height: 320px;
}

.featured-story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Stream Title & Cards Grid */
.blog-stream-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.blog-stream-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--title-primary);
  margin-bottom: 0.5rem;
}

.blog-stream-subtitle {
  font-size: 0.92rem;
  color: var(--text-secondary);
  max-width: 640px;
}

.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-green-heritage);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .blog-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.blog-source-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
  background: rgba(200, 155, 60, 0.10);
  border: 1px solid rgba(200, 155, 60, 0.20);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.blog-card-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.blog-card-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.blog-card-title a:hover {
  color: var(--brand-green-heritage);
}

[data-theme="dark"] .blog-card-title a:hover {
  color: var(--accent-gold);
}

.blog-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-green-heritage);
  text-decoration: none;
  transition: gap var(--transition-fast);
}

[data-theme="dark"] .blog-card-link {
  color: var(--accent-gold);
}

.blog-card-link svg {
  width: 14px;
  height: 14px;
}

.blog-card-link:hover {
  gap: 8px;
}

@media (max-width: 1024px) {
  .blog-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .featured-story-card {
    grid-template-columns: 1fr;
  }
  .featured-story-media {
    min-height: 260px;
    max-height: 340px;
  }
  .featured-story-content {
    padding: 2rem;
  }
  .blog-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .blog-hero-stats {
    grid-template-columns: 1fr;
  }
  .blog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .blog-search-box {
    max-width: 100%;
  }
  .blog-refresh-btn {
    margin-left: 0;
    justify-content: center;
  }
  .blog-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   APPFOLIO TENANT COMMUNICATIONS & WORKFLOW SHOWCASE
   ========================================================================== */
.appfolio-tenant-comms-showcase {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 2.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.tenant-comms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.75rem;
}

@media (max-width: 900px) {
  .tenant-comms-grid {
    grid-template-columns: 1fr;
  }
}

.tenant-comms-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: all var(--transition-fast);
}

.tenant-comms-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.tenant-comms-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tenant-comms-chip {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--brand-green-subtle);
  color: var(--brand-green-heritage);
  border: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="dark"] .tenant-comms-chip {
  background: rgba(52, 211, 153, 0.12);
  color: #34D399;
}

.tenant-comms-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
}

.tenant-comms-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--title-primary);
  margin: 0;
  line-height: 1.3;
}

.tenant-comms-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}


/* ==========================================================================
   COMPACT COMPARISON STYLING (ELIMINATING SCROLL FATIGUE)
   ========================================================================== */
.compact-invoice-strip {
  background: var(--bg-card);
  border-radius: 6px;
  padding: 0.75rem 0.95rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border-subtle);
}

.compact-invoice-strip.luxury {
  border-left: 3px solid var(--live-green);
  background: linear-gradient(180deg, var(--live-green-soft) 0%, var(--bg-card) 100%);
}

.compact-invoice-strip.warning {
  border-left: 3px solid #EF4444;
  background: var(--bg-card);
}

.compact-invoice-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
  flex-wrap: wrap;
}

.compact-job-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--title-primary);
}

.compact-job-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
}

.compact-job-badge.luxury {
  background: var(--brand-green-subtle);
  color: var(--brand-green-heritage);
  border: 1px solid rgba(1, 60, 42, 0.2);
}

[data-theme="dark"] .compact-job-badge.luxury {
  background: rgba(34, 197, 94, 0.18);
  color: #86EFAC;
  border-color: rgba(34, 197, 94, 0.35);
}

.compact-job-badge.warning {
  background: rgba(239, 68, 68, 0.12);
  color: #DC2626;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

[data-theme="dark"] .compact-job-badge.warning {
  background: rgba(239, 68, 68, 0.2);
  color: #F87171;
}

.compact-invoice-pricing {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 0.5rem;
  background: var(--bg-subtle);
  padding: 0.45rem 0.65rem;
  border-radius: 4px;
  align-items: center;
}

.compact-price-col {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.compact-price-col.total {
  border-left: 1px solid var(--border-medium);
  padding-left: 0.5rem;
}

.compact-price-label {
  font-size: 0.66rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.compact-price-val {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.compact-price-val.text-luxury {
  color: var(--live-green);
}

.compact-price-val.total-luxury {
  color: var(--live-green);
  font-size: 0.95rem;
  font-weight: 800;
}

.compact-price-val.text-warning {
  color: #EF4444;
}

.compact-price-val.total-warning {
  color: #EF4444;
  font-size: 0.95rem;
  font-weight: 800;
}

.compact-invoice-result {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.5rem;
  font-size: 0.74rem;
  font-weight: 500;
}

.compact-invoice-result.luxury {
  color: #15803D;
}

[data-theme="dark"] .compact-invoice-result.luxury {
  color: #4ADE80;
}

.compact-invoice-result.warning {
  color: #DC2626;
}

[data-theme="dark"] .compact-invoice-result.warning {
  color: #F87171;
}

/* Compact Feature List */
.compact-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}

.compact-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

.compact-row-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.compact-row-icon.check {
  background: rgba(34, 197, 94, 0.15);
  color: var(--live-green);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.compact-row-icon.cross {
  background: rgba(239, 68, 68, 0.12);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.compact-row-text strong {
  color: var(--title-primary);
  font-weight: 700;
}
