/* ==========================================================================
   MARIE ARNE REALTY - MASTER PRODUCTION DESIGN SYSTEM (100/100 PRODUCTION COMPLETE)
   ========================================================================== */

:root {
  /* Canvas & Base Tokens */
  --bg-canvas: #f8fafc;
  --bg-top-band: #dbe3e8;
  --bg-card: #ffffff;
  --border-line: #cbd5e1;
  
  /* Brand Typography Ink Scale */
  --ink-primary: #071a28;
  --ink-muted: #425665;
  
  /* High-Velocity Premium Palettes */
  --navy-dark: #071a28;
  --navy-accent: #102a3d;
  --navy-soft: #edf3f6;
  --gold-primary: #d7b56d;
  --gold-dark: #ad823a;
  
  /* Typography Scale Elements */
  --font-sans: Arial, Helvetica, sans-serif;
  --card-shadow: 0 20px 40px rgba(7, 26, 40, 0.04);
}

/* ==========================================================================
   1. GLOBAL ARCHITECTURAL RESETS & CORE TYPOGRAPHY LOCK
   ========================================================================== */
* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0;
  font-family: var(--font-sans) !important;
}

body {
  background: var(--bg-canvas);
  color: var(--ink-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { 
  color: inherit; 
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ==========================================================================
   2. GLASSMORPHIC INTERCEPT HEADER NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(12px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
  border-bottom: 1px solid rgba(7, 26, 40, 0.08) !important;
  box-shadow: 0 4px 30px rgba(7, 26, 40, 0.03) !important;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo { 
  height: 46px; 
  width: auto; 
  display: block; 
}

.header-right { 
  display: flex; 
  align-items: center; 
  gap: 28px; 
}

.site-nav { 
  display: flex; 
  gap: 24px; 
}

.site-nav a { 
  font-weight: 800; 
  color: var(--navy-accent); 
  font-size: 15px; 
}

.site-nav a:hover, 
.site-nav a.active { 
  color: var(--gold-dark); 
}

.header-phone {
  background: var(--navy-accent);
  color: #ffffff;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 900;
  font-size: 14px;
  box-shadow: 0 8px 16px rgba(16, 42, 61, 0.15);
}

/* ==========================================================================
   3. THE GLOBAL KINETIC TRANSITIONS ENGINE
   ========================================================================== */
.btn, 
.site-nav a, 
.header-phone, 
.card-grid article, 
.stack-list article,
.contact-direct-card,
.intake-card,
.trust-strip span,
.check-list li,
.process-list > div,
.text-link {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn:hover, .header-phone:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 12px 24px rgba(7, 26, 40, 0.16) !important;
}

.btn:active, .header-phone:active {
  transform: translateY(0) scale(0.98) !important;
  box-shadow: 0 6px 12px rgba(7, 26, 40, 0.1) !important;
}

.site-nav a:hover {
  transform: scale(1.04);
}

.card-grid article:hover, 
.stack-list article:hover,
.contact-direct-card:hover,
.intake-card:hover,
.trust-strip span:hover {
  transform: translateY(-4px) scale(1.01) !important;
  box-shadow: 0 30px 60px rgba(7, 26, 40, 0.08) !important;
  border-color: rgba(215, 181, 109, 0.5) !important;
}

/* ==========================================================================
   4. CINEMATIC WORKSPACE HERO TRACK (GRID & PORTRAIT ALIGNMENTS)
   ========================================================================== */
.hero-wrapper {
  background: linear-gradient(135deg, #071926 0%, #102a3d 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(215, 181, 109, 0.15), transparent 40%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-inner.center-align {
  display: block;
  text-align: center;
}

.hero-copy-track {
  display: flex;
  flex-direction: column;
}

.hero-copy-track .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn.primary {
  background: var(--gold-primary) !important;
  color: var(--navy-dark) !important;
}

.btn.secondary {
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

.btn.secondary:hover {
  background: #ffffff !important;
  border-color: var(--gold-primary) !important;
  color: var(--navy-dark) !important;
}

.portrait-side {
  display: flex;
  justify-content: center;
  align-items: center;
}

.portrait-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 28px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.25);
}

.portrait-card img:not(.broker-mini-logo) {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
}

.portrait-note {
  margin-top: 20px;
  text-align: center;
}

.portrait-note strong {
  font-size: 20px;
  font-weight: 900;
  display: block;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.portrait-note span {
  font-size: 13px;
  color: var(--gold-primary);
  font-weight: 700;
  display: block;
  margin-top: 4px;
}

.portrait-note .broker-mini-logo {
  max-width: 80px;
  margin: 16px auto 0;
  opacity: 0.85;
}

/* ==========================================================================
   5. EXECUTIVE TYPOGRAPHY SCALES
   ========================================================================== */
.eyebrow-light {
  color: var(--gold-primary);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 900;
  margin-bottom: 16px;
  display: block;
}

.eyebrow-dark {
  color: var(--gold-dark);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 900;
  margin-bottom: 12px;
  display: block;
}

h1 {
  font-size: clamp(34px, 5.4vw, 66px);
  line-height: 0.88;
  letter-spacing: -0.05em;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--navy-dark);
}

.hero-wrapper h1,
.hero-inner h1,
.hero-banner-content h1 {
  color: #ffffff !important;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  color: var(--navy-dark);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.1;
}

.lead {
  color: #cbd5e1;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.65;
}

.text-link {
  font-weight: 800;
  color: var(--navy-accent);
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
}
.text-link:hover {
  color: var(--gold-dark);
}

/* ==========================================================================
   6. INTERACTIVE SPLIT WORKSPACES, STACKS & CARD GRIDS
   ========================================================================== */
.section-container {
  max-width: 1120px;
  margin: 80px auto;
  padding: 0 24px;
}

/* Split Layout Columns Framework */
.split-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}

.split-copy {
  max-width: 500px;
}
.split-copy p {
  color: var(--ink-muted);
  font-size: 15.5px;
  line-height: 1.65;
}

/* Vertical Feature List Container */
.stack-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.stack-list article {
  background: #ffffff;
  border: 2px solid var(--border-line);
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: var(--card-shadow);
}

/* Horizontal Grid Core Layout Engine */
.card-grid {
  display: grid;
  gap: 24px;
}
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card-grid article {
  background: #ffffff;
  border: 2px solid var(--border-line);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}

.card-grid article h3, 
.stack-list article h3 {
  font-size: 19px;
  font-weight: 900;
  color: var(--navy-dark);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.card-grid article p, 
.stack-list article p {
  color: var(--ink-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.card-grid article a {
  font-weight: 800;
  color: var(--gold-dark);
  margin-top: auto;
  padding-top: 16px;
  font-size: 14.5px;
  display: inline-flex;
}
.card-grid article a:hover {
  color: var(--navy-dark);
}

/* Subpage Content Section Framework Extends */
.buyer-intake-section, .split-section, .studio-split, .contact-split {
  max-width: 1120px;
  margin: 64px auto 90px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: start;
}

/* Subpage Specific Banner Image & Overlay Module */
.unified-image-banner {
  max-width: 1120px;
  min-height: clamp(400px, 34vw, 540px);
  margin: 44px auto;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 32px 92px rgba(7, 26, 40, 0.18);
}

.hero-banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,42,61,0.94) 0%, rgba(16,42,61,0.78) 42%, rgba(16,42,61,0.20) 78%);
  z-index: 1;
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  width: min(700px, 60%);
  padding: clamp(42px, 5.2vw, 84px);
}

/* Bulleted Checklists and Bullet Reset Layers */
.trust-strip, .check-list { 
  display: grid; 
  gap: 12px; 
  margin-top: 24px; 
  list-style: none;
}
.trust-strip span, .check-list li { 
  background: #ffffff; 
  border: 1px solid var(--border-line); 
  border-radius: 16px; 
  padding: 14px 16px; 
  color: var(--navy-dark); 
  font-weight: 800; 
  font-size: 14.5px; 
  box-shadow: var(--card-shadow); 
}
.trust-strip span::before, .check-list li::before { 
  content: "✓ "; 
  color: var(--gold-dark); 
  font-weight: 900; 
  margin-right: 6px; 
}

/* ==========================================================================
   7. HIGH-CONTRAST INTAKE SYSTEMS (FORM OVERRIDES)
   ========================================================================== */
.buyer-intake-card, .intake-card {
  background: #ffffff;
  border: 2px solid var(--border-line);
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 30px 60px rgba(7, 26, 40, 0.06);
}

.buyer-intake-card h3, .intake-card h3 {
  font-size: 26px;
  font-weight: 900;
  color: var(--navy-dark);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.form-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}
.form-grid.two { grid-template-columns: 1fr 1fr; }

label span {
  color: var(--navy-dark);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 900;
  margin-bottom: 8px;
  display: block;
}

input, select, textarea {
  width: 100%;
  border: 2px solid var(--border-line);
  border-radius: 12px;
  padding: 16px;
  background: #ffffff;
  font-weight: 800;
  font-size: 15px;
  color: var(--navy-dark);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--navy-accent);
  box-shadow: 0 0 0 4px rgba(16, 42, 61, 0.08);
  background: #ffffff;
}

input::placeholder, textarea::placeholder {
  color: #556877;
  font-weight: 700;
}

.buyer-consent, .consent-checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--navy-dark);
  font-weight: 800;
  margin: 24px 0;
  line-height: 1.5;
}
.buyer-consent input, .consent-checkbox input {
  margin-top: 4px;
  height: 18px;
  width: 18px;
  cursor: pointer;
}

/* ==========================================================================
   8. DATA REPORT PANELS, PROCESS FLOW TRACKS & BANDS
   ========================================================================== */
.contact-agent-showcase {
  background: #ffffff;
  border: 1px solid var(--border-line);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--card-shadow);
}
.contact-agent-showcase img:not(.broker-mini-logo) {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}

.agent-profile-meta {
  margin-top: 20px;
  background: var(--navy-soft);
  border: 1px solid var(--border-line);
  border-radius: 18px;
  padding: 22px;
  text-align: center;
}
.agent-profile-meta span { color: var(--gold-dark); font-size: 11px; font-weight: 900; text-transform: uppercase; display: block; margin-bottom: 4px; letter-spacing: 0.1em; }
.agent-profile-meta strong { font-size: 24px; display: block; color: var(--navy-dark); font-weight: 900; }
.agent-profile-meta small { color: var(--ink-muted); font-size: 14px; display: block; font-weight: 700; margin-top: 2px; }

.contact-direct-card {
  background: #ffffff;
  border: 2px solid var(--border-line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--card-shadow);
}
.contact-direct-card span { color: var(--gold-dark); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.12em; display: block; margin-bottom: 6px; }
.contact-direct-card strong { font-size: 22px; display: block; color: var(--navy-dark); margin-bottom: 8px; font-weight: 900; letter-spacing: -0.02em; }
.contact-direct-card p { color: var(--ink-muted); font-size: 14.5px; line-height: 1.5; margin: 0; }

.area-report-panel {
  border: 1px solid var(--border-line);
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(16,42,61,0.06);
}
.area-report-header {
  padding: 32px;
  background: var(--navy-soft);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.area-report-badge { background: var(--navy-accent); color: #fff; font-size: 11px; font-weight: 900; padding: 6px 14px; border-radius: 999px; text-transform: uppercase; }
.area-report-kicker { color: var(--gold-dark); font-weight: 900; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; display: block; }

.area-report-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  padding: 32px;
  border-bottom: 1px solid var(--border-line);
}
.area-report-row:last-child { border-bottom: none; }
.area-report-row strong { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-dark); margin-top: 4px; font-weight: 900; }

.neighborhood-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.neighborhood-hub { background: var(--bg-canvas); border: 1px solid var(--border-line); border-radius: 14px; padding: 16px; }
.neighborhood-hub h4 { font-size: 15px; font-weight: 900; color: var(--navy-accent); margin-bottom: 4px; }
.neighborhood-hub p { font-size: 14px; color: var(--ink-muted); margin: 0; }

.process-list { display: grid; gap: 18px; margin-top: 28px; }
.process-list > div { display: grid; grid-template-columns: 50px 1fr; gap: 20px; background: #ffffff; border: 1px solid var(--border-line); border-radius: 22px; padding: 24px; align-items: start; box-shadow: var(--card-shadow); }
.process-list strong { color: var(--gold-primary); font-size: 32px; font-weight: 900; line-height: 1; }

.cta-band { background: var(--navy-accent); color: #ffffff; padding: 44px; border-radius: 28px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; box-shadow: 0 24px 55px rgba(16, 42, 61, .18); }
.cta-band h2 { color: #ffffff !important; margin: 0 0 12px; }
.cta-band p { color: #e9f1f5; margin: 0; font-size: 16px; }
.disclosure-block { background: #ffffff; border: 1px solid var(--border-line); border-radius: 20px; padding: 24px; color: var(--ink-muted); font-size: 14px; line-height: 1.6; font-weight: 500; }

/* ==========================================================================
   9. UNIFIED PRODUCTION EXECUTIVE FOOTER SYSTEM
   ========================================================================== */
.site-footer {
  background: linear-gradient(135deg, #071926 0%, #102a3d 100%);
  color: #ffffff;
  padding: 64px 24px 24px;
  border-top: 2px solid var(--gold-primary);
  margin-top: 90px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1.2fr;
  gap: 32px;
}

.footer-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
}

.footer-panel img {
  width: 130px;
  background: #ffffff;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 16px;
  display: block;
}

.footer-panel h3, 
.footer-panel h4 {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 12px;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.footer-panel p {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.6;
}

.footer-call {
  display: inline-flex;
  margin-top: 12px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy-dark);
  border: 2px solid var(--gold-primary);
  font-weight: 900;
  font-size: 14px;
}

.footer-nav {
  display: grid;
  gap: 8px;
}

.footer-nav a {
  color: #cbd5e1;
  font-weight: 700;
  font-size: 14px;
}

.footer-nav a:hover {
  color: var(--gold-primary);
}

.footer-credit {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  color: #94a3b8;
  font-size: 13px;
}

/* ==========================================================================
   10. HIGH INTENT RESPONSIVE MATRIX DETECTIONS
   ========================================================================== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-copy-track .actions {
    justify-content: center;
  }
  .split-layout, 
  .buyer-intake-section, 
  .split-section, 
  .studio-split, 
  .contact-split,
  .card-grid.three, 
  .card-grid.two, 
  .area-report-row, 
  .neighborhood-grid, 
  .cta-band,
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .split-copy {
    max-width: 100%;
    text-align: center;
  }
  .hero-banner-content {
    width: 100%;
  }
  .unified-image-banner {
    margin: 24px 14px;
    border-radius: 24px;
  }
  .contact-agent-showcase {
    position: static !important;
  }
}

@media (max-width: 750px) {
  .site-header {
    background: rgba(255, 255, 255, 0.94) !important;
  }
  .site-nav {
    display: none;
  }
}

/* --- 1. ELEVATE THE PORTRAIT CARD DEPTH --- */
.portrait-card {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4) !important;
}

/* --- 2. ISOLATE THE BROKER LOGO WITH A CONTRAST PLATE --- */
.broker-mini-logo {
  background: rgba(255, 255, 255, 0.95) !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
  margin-top: 16px !important;
  max-width: 90px !important;
  border: 1px solid rgba(0,0,0,0.05) !important;
}

/* --- 3. BREAK THE PLAINNESS WITH GRADIENT SECTION BANDS --- */
/* Apply this to your main sections to create visual depth */
.section-container {
  background: #ffffff !important;
  padding: 60px 40px !important;
  border-radius: 32px !important;
  border: 1px solid var(--border-line) !important;
  box-shadow: 0 20px 40px -10px rgba(7, 26, 40, 0.06) !important;
}

/* --- 4. TEXT HIERARCHY SHIFT --- */
h2 {
  font-size: clamp(32px, 3.5vw, 48px) !important;
  letter-spacing: -0.04em !important;
  color: var(--navy-accent) !important;
  margin-bottom: 32px !important;
}

/* Add a subtle gold accent line under H2 to break plainness */
h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gold-primary);
  margin-top: 16px;
  border-radius: 2px;
}

/* --- 1. ELEVATE BUYING MATRIX CARDS --- */
.card-grid article {
  background: #ffffff !important;
  border: 1px solid var(--border-line) !important;
  border-radius: 24px !important;
  padding: 32px !important;
  box-shadow: 0 10px 30px rgba(7, 26, 40, 0.05) !important;
  border-top: 4px solid var(--gold-primary) !important; /* Tactical accent */
}

/* --- 2. SHARPEN THE INTAKE FORM --- */
.intake-card {
  background: #ffffff !important;
  border: 1px solid var(--border-line) !important;
  border-radius: 32px !important;
  padding: 40px !important;
  box-shadow: 0 40px 80px rgba(7, 26, 40, 0.08) !important;
}

.intake-card input, .intake-card select, .intake-card textarea {
  background: #f8fafc !important; /* Slight gray background for input depth */
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 14px !important;
}

/* --- 3. FIX HERO ALIGNMENT FOR THE BUY PAGE --- */
.unified-image-banner {
  margin: 0 auto 60px !important; /* Better breathing room under header */
  border-radius: 0 0 32px 32px !important; /* Soft bottom curve */
}
/* =========================================================
   GLOBAL BANNER HEIGHT REDUCTION — CURRENT NEW STYLE
   Purpose: keep the current blue hero/banner design, but make
   top banners shorter across all pages.
   ========================================================= */

.hero-wrapper {
  padding-top: 34px !important;
  padding-bottom: 34px !important;
}

.unified-image-banner {
  min-height: clamp(320px, 27vw, 430px) !important;
  margin-top: 24px !important;
  margin-bottom: 24px !important;
}

.unified-image-banner .hero-banner-content {
  padding-top: clamp(32px, 4vw, 56px) !important;
  padding-bottom: clamp(32px, 4vw, 56px) !important;
}

.unified-image-banner h1 {
  font-size: clamp(34px, 4.6vw, 58px) !important;
  line-height: 0.92 !important;
}

.unified-image-banner .lead {
  font-size: clamp(15px, 1.05vw, 18px) !important;
  line-height: 1.55 !important;
}

.hero-actions {
  margin-top: 20px !important;
}

/* Esther image needs better vertical framing after height reduction */
body:has(a.active[href="/esther/"]) .unified-image-banner .hero-banner-image {
  object-position: center center !important;
}

@media (max-width: 900px) {
  .hero-wrapper {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  .unified-image-banner {
    min-height: 390px !important;
    margin-top: 18px !important;
    margin-bottom: 18px !important;
  }

  .unified-image-banner .hero-banner-content {
    padding: 28px 22px !important;
  }
}
/* =========================================================
   BANNER IMAGE CROP FIX — SHOW IMAGE TOPS
   Purpose: keep current shorter banners, but stop the top of
   banner images from being cut off.
   ========================================================= */

.unified-image-banner .hero-banner-image,
.hero-banner-image {
  object-fit: cover !important;
  object-position: center top !important;
}

/* Slightly more vertical room so the crop is not harsh. */
.unified-image-banner {
  min-height: clamp(350px, 29vw, 460px) !important;
}

/* Esther portrait needs the top of the image visible. */
body:has(a.active[href="/esther/"]) .unified-image-banner .hero-banner-image {
  object-position: center top !important;
}

/* Mobile still needs more height for image visibility. */
@media (max-width: 900px) {
  .unified-image-banner {
    min-height: 430px !important;
  }

  .unified-image-banner .hero-banner-image,
  .hero-banner-image {
    object-position: center top !important;
  }
}
/* =========================================================
   FORCE BANNER IMAGE TOP FIT — FINAL OVERRIDE
   Purpose: prevent the top of banner images from being cut.
   This must stay at the very bottom of CSS.
   ========================================================= */

.hero-wrapper .unified-image-banner {
  min-height: clamp(380px, 31vw, 500px) !important;
}

.hero-wrapper .unified-image-banner img.hero-banner-image,
.unified-image-banner img.hero-banner-image,
img.hero-banner-image {
  object-fit: cover !important;
  object-position: 50% 0% !important;
  top: 0 !important;
}

/* Esther portrait needs a little more vertical room than house banners. */
body:has(.site-nav a.active[href="/esther/"]) .hero-wrapper .unified-image-banner,
body:has(a.active[href="/esther/"]) .hero-wrapper .unified-image-banner {
  min-height: clamp(420px, 34vw, 540px) !important;
}

body:has(.site-nav a.active[href="/esther/"]) .hero-wrapper .unified-image-banner img.hero-banner-image,
body:has(a.active[href="/esther/"]) .hero-wrapper .unified-image-banner img.hero-banner-image {
  object-position: 50% 0% !important;
}

/* Keep the banner from becoming oversized on mobile. */
@media (max-width: 900px) {
  .hero-wrapper .unified-image-banner {
    min-height: 450px !important;
  }

  body:has(.site-nav a.active[href="/esther/"]) .hero-wrapper .unified-image-banner,
  body:has(a.active[href="/esther/"]) .hero-wrapper .unified-image-banner {
    min-height: 500px !important;
  }
}
/* =========================================================
   ESTHER STANDARD PAGE BANNER
   Purpose: use the same wide cinematic banner frame as the
   other pages, while keeping Esther portrait contained right.
   ========================================================= */

.hero-wrapper .unified-image-banner.esther-standard-banner {
  width: min(1240px, calc(100vw - 88px)) !important;
  max-width: 1240px !important;
  min-height: clamp(390px, 31vw, 500px) !important;
  margin: 44px auto !important;
  border-radius: 32px !important;
  overflow: hidden !important;
  position: relative !important;
  background: #071926 !important;
  box-shadow: 0 32px 92px rgba(7, 26, 40, 0.18) !important;
}

.hero-wrapper .unified-image-banner.esther-standard-banner .esther-banner-bg {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  background:
    radial-gradient(circle at 70% 48%, rgba(34, 111, 166, 0.34), transparent 32%),
    linear-gradient(135deg, #071926 0%, #102a3d 100%) !important;
}

.hero-wrapper .unified-image-banner.esther-standard-banner img.esther-contained-banner-portrait {
  position: absolute !important;
  top: 24px !important;
  right: 54px !important;
  bottom: 24px !important;
  left: auto !important;
  width: 45% !important;
  height: calc(100% - 48px) !important;
  object-fit: contain !important;
  object-position: right center !important;
  z-index: 1 !important;
  padding: 0 !important;
  background: transparent !important;
  filter: drop-shadow(0 24px 44px rgba(0,0,0,0.30)) !important;
}

.hero-wrapper .unified-image-banner.esther-standard-banner .hero-banner-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  background:
    linear-gradient(
      90deg,
      rgba(7,25,38,0.96) 0%,
      rgba(7,25,38,0.88) 38%,
      rgba(7,25,38,0.46) 62%,
      rgba(7,25,38,0.16) 78%,
      rgba(7,25,38,0.54) 100%
    ) !important;
}

.hero-wrapper .unified-image-banner.esther-standard-banner .hero-banner-content {
  position: relative !important;
  z-index: 3 !important;
  width: min(560px, 52%) !important;
  max-width: 560px !important;
  padding: clamp(48px, 5vw, 76px) !important;
}

.hero-wrapper .unified-image-banner.esther-standard-banner h1 {
  font-size: clamp(38px, 4.9vw, 64px) !important;
  line-height: 0.9 !important;
  letter-spacing: -0.07em !important;
}

@media (max-width: 900px) {
  .hero-wrapper .unified-image-banner.esther-standard-banner {
    width: min(100% - 24px, 820px) !important;
    min-height: 440px !important;
    margin: 28px auto !important;
    border-radius: 24px !important;
  }

  .hero-wrapper .unified-image-banner.esther-standard-banner .hero-banner-content {
    width: 64% !important;
    max-width: none !important;
    padding: 32px 22px !important;
  }

  .hero-wrapper .unified-image-banner.esther-standard-banner img.esther-contained-banner-portrait {
    right: 10px !important;
    width: 42% !important;
    top: 34px !important;
    bottom: 28px !important;
    height: calc(100% - 62px) !important;
  }
}


/* Home evaluation form cleanup */
.home-evaluation-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.home-evaluation-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.home-evaluation-form input,
.home-evaluation-form textarea,
.home-evaluation-form select {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  padding: 12px 14px;
}

.home-evaluation-form textarea {
  min-height: 110px;
  resize: vertical;
}

.home-evaluation-form button {
  width: 100%;
  min-height: 52px;
}

.home-evaluation-form-intro {
  margin: 0 0 16px;
}

/* Home evaluation placeholder refinement */
.home-evaluation-form input::placeholder,
.home-evaluation-form textarea::placeholder {
  font-size: 0.86rem;
  font-weight: 400;
  opacity: 0.48;
}

/* Force smaller placeholder text inside home evaluation form */
.home-evaluation-form input::placeholder,
.home-evaluation-form textarea::placeholder,
.home-evaluation-form select,
.home-evaluation-card input::placeholder,
.home-evaluation-card textarea::placeholder,
.home-evaluation-card select,
input::placeholder,
textarea::placeholder {
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
  opacity: 0.55 !important;
}

/* Force smaller placeholder text inside home evaluation form */
.home-evaluation-form input::placeholder,
.home-evaluation-form textarea::placeholder,
.home-evaluation-form select,
.home-evaluation-card input::placeholder,
.home-evaluation-card textarea::placeholder,
.home-evaluation-card select,
input::placeholder,
textarea::placeholder {
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
  opacity: 0.55 !important;
}

/* Final home evaluation field text hierarchy */
.home-evaluation-form input,
.home-evaluation-form textarea,
.home-evaluation-form select,
.evaluation-form input,
.evaluation-form textarea,
.evaluation-form select {
  font-size: 14px !important;
}

.home-evaluation-form input::placeholder,
.home-evaluation-form textarea::placeholder,
.evaluation-form input::placeholder,
.evaluation-form textarea::placeholder {
  font-size: 11px !important;
  line-height: 1.3 !important;
  font-weight: 400 !important;
  color: rgba(47, 71, 92, 0.48) !important;
  opacity: 1 !important;
}

/* Areas page system rebuild */
.area-system-page {
  background:
    radial-gradient(circle at 20% 0%, rgba(217, 181, 104, 0.13), transparent 30%),
    linear-gradient(180deg, #f7fbfd 0%, #ffffff 44%, #f3f8fb 100%);
  color: #071d2c;
}

.area-system-hero,
.area-system-section,
.area-system-cta {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.area-system-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 26px;
  align-items: stretch;
  padding: clamp(42px, 7vw, 82px) 0;
}

.area-system-hero-copy,
.area-system-panel,
.area-system-section,
.area-system-cta {
  border: 1px solid rgba(10, 42, 62, 0.16);
  box-shadow: 0 24px 70px rgba(5, 23, 35, 0.08);
}

.area-system-hero-copy {
  border-radius: 34px;
  padding: clamp(28px, 5vw, 58px);
  background:
    linear-gradient(90deg, rgba(7, 29, 44, 0.92), rgba(7, 29, 44, 0.74)),
    radial-gradient(circle at 80% 20%, rgba(217, 181, 104, 0.35), transparent 34%);
  color: #ffffff;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.area-system-eyebrow {
  margin: 0 0 12px;
  color: #b3852f;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.area-system-hero-copy .area-system-eyebrow {
  color: #e4c16b;
}

.area-system-hero h1,
.area-system-section h2,
.area-system-cta h2 {
  margin: 0;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.area-system-hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 6.1rem);
}

.area-system-hero-copy > p:not(.area-system-eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.03rem;
  line-height: 1.65;
}

.area-system-hero-actions,
.area-system-cta div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.area-system-primary,
.area-system-secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.area-system-primary {
  background: #d9b568;
  color: #061c2b;
  box-shadow: 0 14px 30px rgba(217, 181, 104, 0.28);
}

.area-system-secondary {
  border: 1px solid rgba(217, 181, 104, 0.45);
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
}

.area-system-panel {
  border-radius: 34px;
  padding: 30px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.area-system-panel span,
.area-system-card span {
  color: #b3852f;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.area-system-panel strong {
  display: block;
  margin-top: 16px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.area-system-panel p {
  margin: 18px 0 0;
  color: rgba(7, 29, 44, 0.72);
  line-height: 1.6;
}

.area-system-section {
  margin-top: 28px;
  border-radius: 30px;
  padding: clamp(26px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.82);
}

.area-system-section-head {
  max-width: 760px;
}

.area-system-section h2,
.area-system-cta h2 {
  max-width: 820px;
  font-size: clamp(2.1rem, 4.5vw, 4.4rem);
}

.area-system-section-head > p:not(.area-system-eyebrow) {
  margin: 18px 0 0;
  color: rgba(7, 29, 44, 0.72);
  line-height: 1.65;
}

.area-system-steps,
.area-system-grid,
.area-system-path-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.area-system-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.area-system-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.area-system-path-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.area-system-steps article,
.area-system-card,
.area-system-path-grid article {
  border: 1px solid rgba(10, 42, 62, 0.14);
  border-radius: 22px;
  background: #ffffff;
  padding: 24px;
}

.area-system-steps span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(217, 181, 104, 0.18);
  color: #8f681f;
  font-size: 0.75rem;
  font-weight: 900;
}

.area-system-steps h3,
.area-system-card h3,
.area-system-path-grid h3 {
  margin: 16px 0 0;
  font-size: 1.12rem;
  letter-spacing: -0.025em;
}

.area-system-steps p,
.area-system-card p,
.area-system-path-grid p {
  margin: 10px 0 0;
  color: rgba(7, 29, 44, 0.72);
  line-height: 1.58;
}

.area-system-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.area-system-card li {
  border-radius: 999px;
  background: rgba(7, 29, 44, 0.06);
  padding: 8px 10px;
  font-size: 0.74rem;
  font-weight: 800;
  color: rgba(7, 29, 44, 0.74);
}

.area-system-client-path {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  align-items: start;
}

.area-system-client-path .area-system-path-grid {
  margin-top: 0;
}

.area-system-cta {
  margin-top: 28px;
  margin-bottom: 58px;
  border-radius: 30px;
  padding: clamp(30px, 5vw, 56px);
  background: #071d2c;
  color: #ffffff;
}

.area-system-cta .area-system-secondary {
  color: #ffffff;
}

@media (max-width: 900px) {
  .area-system-hero,
  .area-system-client-path {
    grid-template-columns: 1fr;
  }

  .area-system-hero-copy {
    min-height: auto;
  }

  .area-system-steps,
  .area-system-grid,
  .area-system-path-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .area-system-hero,
  .area-system-section,
  .area-system-cta {
    width: min(100% - 24px, 1120px);
  }

  .area-system-hero {
    padding: 28px 0;
  }

  .area-system-hero-copy,
  .area-system-panel,
  .area-system-section,
  .area-system-cta {
    border-radius: 24px;
  }

  .area-system-hero-copy,
  .area-system-section,
  .area-system-cta {
    padding: 24px;
  }

  .area-system-hero h1 {
    font-size: 2.65rem;
  }

  .area-system-section h2,
  .area-system-cta h2 {
    font-size: 2.15rem;
  }

  .area-system-primary,
  .area-system-secondary {
    width: 100%;
  }
}

/* =========================================================
   GENERATED MARKUP SAFETY ALIGNMENT
   Purpose: keep generated static header/footer compatible
   with the current production CSS system.
   ========================================================= */
.menu-button {
  display: none !important;
}

.footer-brand-block.footer-panel,
.footer-notice.footer-panel {
  display: block;
}
