/* =============================================================================
   BULL HOMES — Editorial Luxury Stylesheet
   ============================================================================= */

:root {
  --navy: #0A1F44;
  --navy-deep: #061530;
  --navy-soft: #1a3160;
  --gold: #B8893A;
  --gold-soft: #D4A85E;
  --gold-pale: #EFE4CC;
  --ivory: #FAF7F1;
  --ivory-warm: #F4F0E6;
  --paper: #FFFFFF;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --ink-muted: #7a7a7a;
  --line: #E5DFD2;
  --line-soft: #F0EBE0;

  --font-display: "Cormorant Garamond", "Garamond", "Georgia", serif;
  --font-body: "Inter", "Helvetica Neue", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;

  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --shadow-sm: 0 1px 3px rgba(10,31,68,0.04), 0 1px 2px rgba(10,31,68,0.06);
  --shadow-md: 0 4px 16px rgba(10,31,68,0.08), 0 2px 4px rgba(10,31,68,0.06);
  --shadow-lg: 0 24px 48px -12px rgba(10,31,68,0.18);
  --shadow-xl: 0 32px 64px -12px rgba(10,31,68,0.25);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "liga", "ss01";
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* TYPOGRAPHY */
.serif { font-family: var(--font-display); }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--navy);
  line-height: 1.1;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 5rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.125rem, 1.5vw, 1.375rem); font-family: var(--font-body); font-weight: 600; }
p { font-size: 1.0625rem; line-height: 1.7; color: var(--ink-soft); }
.lead { font-size: 1.25rem; line-height: 1.55; color: var(--ink-soft); }
em, .accent { color: var(--gold); font-style: italic; }

/* LAYOUT */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(4rem, 8vw, 7rem) 0; }
section.tight { padding: clamp(3rem, 5vw, 4rem) 0; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.section-header .eyebrow { margin-bottom: 1rem; display: inline-block; }
.section-header h2 { margin-bottom: 1rem; }

/* HEADER */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.site-header.scrolled { background: rgba(250, 247, 241, 0.98); border-bottom-color: var(--line); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container); margin: 0 auto; padding: 1.25rem var(--gutter);
}
.logo {
  display: flex; align-items: center; gap: 0.625rem;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 500;
  color: var(--navy); letter-spacing: 0.02em;
}
.logo-mark {
  width: 38px; height: 38px;
  background: var(--navy); color: var(--gold);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.125rem;
  letter-spacing: -0.02em; border: 1px solid var(--gold);
}
.nav-links { display: flex; align-items: center; gap: 2.25rem; list-style: none; }
.nav-links a {
  font-size: 0.9375rem; font-weight: 500; color: var(--ink);
  position: relative; padding: 0.25rem 0;
  transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-cta {
  background: var(--navy); color: var(--ivory);
  padding: 0.75rem 1.5rem; font-size: 0.875rem;
  font-weight: 600; letter-spacing: 0.02em;
  transition: all 0.2s var(--ease); border: 1px solid var(--navy);
}
.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.menu-toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-toggle span { width: 22px; height: 1.5px; background: var(--navy); transition: all 0.3s var(--ease); }
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .nav-links.mobile-open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ivory); flex-direction: column; padding: 2rem var(--gutter);
    gap: 1.5rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 0.625rem;
  padding: 1rem 2rem; font-size: 0.9375rem; font-weight: 600;
  letter-spacing: 0.02em; transition: all 0.25s var(--ease);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.btn-primary:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--ivory); }
.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--navy); color: var(--gold); border-color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); padding: 0.75rem 0; border-bottom: 1px solid var(--gold); border-radius: 0; }
.btn-ghost:hover { color: var(--gold); }
.btn-arrow::after { content: "→"; font-family: var(--font-body); transition: transform 0.25s var(--ease); }
.btn:hover .btn-arrow::after, .btn-arrow:hover::after { transform: translateX(4px); }

/* HERO */
.hero { position: relative; min-height: 100vh; padding: 9rem 0 5rem; overflow: hidden; background: var(--ivory); }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; opacity: 0.4;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(184,137,58,0.08) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(10,31,68,0.06) 0%, transparent 40%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
}
.hero-content > * { animation: rise 0.9s var(--ease-out) both; }
.hero-content > *:nth-child(1) { animation-delay: 0.05s; }
.hero-content > *:nth-child(2) { animation-delay: 0.15s; }
.hero-content > *:nth-child(3) { animation-delay: 0.25s; }
.hero-content > *:nth-child(4) { animation-delay: 0.35s; }
.hero-content > *:nth-child(5) { animation-delay: 0.45s; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.875rem;
  margin-bottom: 1.75rem; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
}
.hero-eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.hero h1 { margin-bottom: 1.75rem; letter-spacing: -0.02em; }
.hero h1 .accent { font-style: italic; color: var(--gold); font-weight: 400; }
.hero p.lead { margin-bottom: 2.5rem; max-width: 540px; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-trust { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid var(--line); }
.hero-trust-item { display: flex; flex-direction: column; gap: 0.25rem; }
.hero-trust-item strong { font-family: var(--font-display); font-size: 1.875rem; font-weight: 500; color: var(--navy); line-height: 1; }
.hero-trust-item span { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.hero-visual { position: relative; aspect-ratio: 4/5; animation: rise 1.2s 0.2s var(--ease-out) both; }
.hero-image { position: absolute; inset: 0; background: linear-gradient(135deg, var(--navy-deep), var(--navy)); overflow: hidden; }
.hero-image::before {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 500'%3E%3Cdefs%3E%3ClinearGradient id='sky' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%231a3160'/%3E%3Cstop offset='1' stop-color='%230A1F44'/%3E%3C/linearGradient%3E%3ClinearGradient id='warm' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23D4A85E' stop-opacity='0.7'/%3E%3Cstop offset='1' stop-color='%23B8893A' stop-opacity='0.4'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='400' height='500' fill='url(%23sky)'/%3E%3Cpath d='M0 350 L0 500 L400 500 L400 380 L320 360 L260 380 L200 350 L140 380 L80 360 Z' fill='%23061530' opacity='0.6'/%3E%3Crect x='80' y='280' width='90' height='100' fill='%231a3160' stroke='%23B8893A' stroke-width='0.5'/%3E%3Crect x='95' y='300' width='15' height='20' fill='url(%23warm)'/%3E%3Crect x='125' y='300' width='15' height='20' fill='url(%23warm)' opacity='0.6'/%3E%3Crect x='155' y='300' width='15' height='20' fill='url(%23warm)'/%3E%3Crect x='95' y='340' width='15' height='20' fill='url(%23warm)' opacity='0.7'/%3E%3Crect x='125' y='340' width='15' height='20' fill='url(%23warm)'/%3E%3Crect x='180' y='240' width='130' height='140' fill='%23061530' stroke='%23B8893A' stroke-width='0.5'/%3E%3Crect x='200' y='260' width='20' height='30' fill='url(%23warm)'/%3E%3Crect x='240' y='260' width='20' height='30' fill='url(%23warm)' opacity='0.5'/%3E%3Crect x='280' y='260' width='20' height='30' fill='url(%23warm)'/%3E%3Crect x='200' y='310' width='20' height='30' fill='url(%23warm)' opacity='0.8'/%3E%3Crect x='240' y='310' width='20' height='30' fill='url(%23warm)'/%3E%3Crect x='280' y='310' width='20' height='30' fill='url(%23warm)' opacity='0.6'/%3E%3Crect x='320' y='290' width='60' height='90' fill='%231a3160' stroke='%23B8893A' stroke-width='0.5'/%3E%3Crect x='335' y='305' width='12' height='18' fill='url(%23warm)' opacity='0.7'/%3E%3Crect x='355' y='305' width='12' height='18' fill='url(%23warm)'/%3E%3Crect x='335' y='335' width='12' height='18' fill='url(%23warm)'/%3E%3Ccircle cx='320' cy='80' r='2' fill='%23D4A85E' opacity='0.6'/%3E%3Ccircle cx='100' cy='60' r='1.5' fill='%23D4A85E' opacity='0.4'/%3E%3Ccircle cx='250' cy='110' r='1' fill='%23D4A85E' opacity='0.5'/%3E%3C/svg%3E");
  background-size: cover; background-position: center;
}
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(6,21,48,0.4) 100%); }
.hero-badge {
  position: absolute; bottom: -1.5rem; left: -1.5rem;
  background: var(--ivory); padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--gold); box-shadow: var(--shadow-lg);
  max-width: 240px; z-index: 3;
}
.hero-badge .eyebrow { margin-bottom: 0.375rem; }
.hero-badge p { font-family: var(--font-display); font-size: 1.0625rem; color: var(--navy); line-height: 1.3; font-style: italic; }

@media (max-width: 880px) {
  .hero { min-height: auto; padding: 7rem 0 4rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 2rem auto 0; }
  .hero-badge { left: 0; bottom: -1rem; }
  .hero-trust { gap: 1.25rem; }
  .hero-trust-item strong { font-size: 1.5rem; }
}

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* POLICY BAR */
.policy-bar {
  background: var(--navy); color: var(--ivory);
  padding: 0.625rem 0; font-size: 0.8125rem; text-align: center;
  letter-spacing: 0.02em; position: fixed; top: 0; left: 0; right: 0; z-index: 101;
}
.policy-bar strong { color: var(--gold); font-weight: 600; }
.has-policy-bar .site-header { top: 36px; }
.has-policy-bar .hero { padding-top: 11rem; }
@media (max-width: 720px) { .policy-bar { font-size: 0.75rem; padding: 0.5rem var(--gutter); } }

/* SERVICES */
.services-bg { background: var(--paper); }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 720px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative; background: var(--ivory); padding: 2.5rem;
  border: 1px solid var(--line); transition: all 0.4s var(--ease);
  overflow: hidden; display: block; cursor: pointer;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width 0.5s var(--ease);
}
.service-card:hover { background: var(--paper); transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--gold-pale); }
.service-card:hover::before { width: 100%; }
.service-num { font-family: var(--font-mono); font-size: 0.75rem; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 1.5rem; }
.service-card h3 { margin-bottom: 1rem; font-size: 1.625rem; line-height: 1.2; }
.service-card p { font-size: 1rem; margin-bottom: 1.5rem; }
.service-stats { display: flex; gap: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); margin-top: 1.5rem; }
.service-stat { display: flex; flex-direction: column; gap: 0.125rem; }
.service-stat strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--navy); font-weight: 500; }
.service-stat span { font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-muted); }
.service-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem; font-size: 0.875rem; font-weight: 600; color: var(--navy); letter-spacing: 0.02em; }
.service-link::after { content: "→"; transition: transform 0.25s var(--ease); }
.service-card:hover .service-link::after { transform: translateX(4px); color: var(--gold); }

/* WHY US */
/* COMPLETE SOLUTION */
.complete-solution { background: var(--navy); color: var(--ivory); padding: 6rem 0; position: relative; overflow: hidden; }
.complete-solution::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 10% 50%, rgba(184,137,58,0.12) 0%, transparent 55%), radial-gradient(circle at 90% 20%, rgba(184,137,58,0.08) 0%, transparent 40%); pointer-events: none; }
.solution-inner { position: relative; }
.solution-header { max-width: 680px; margin-bottom: 3.5rem; }
.solution-header .eyebrow { color: var(--gold-soft); }
.solution-header h2 { color: var(--ivory); margin-bottom: 1rem; }
.solution-header .lead { color: rgba(250,247,241,0.75); }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 3.5rem; }
@media (max-width: 880px) { .solution-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.solution-item { display: flex; gap: 1.25rem; padding: 2rem; border: 1px solid rgba(184,137,58,0.25); background: rgba(255,255,255,0.03); }
.solution-icon { flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.25rem; color: var(--gold); line-height: 1; }
.solution-text strong { display: block; font-family: var(--font-display); font-size: 1.25rem; color: var(--ivory); margin-bottom: 0.5rem; font-weight: 500; }
.solution-text p { font-size: 0.9375rem; line-height: 1.6; color: rgba(250,247,241,0.7); }
.solution-tagline { display: flex; gap: 2rem; align-items: center; padding-top: 2.5rem; border-top: 1px solid rgba(184,137,58,0.25); }
@media (max-width: 600px) { .solution-tagline { flex-direction: column; gap: 0.75rem; align-items: flex-start; } }
.solution-tagline span { font-family: var(--font-display); font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-style: italic; color: var(--gold-soft); font-weight: 400; }

.why-us { background: var(--ivory-warm); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 880px) { .why-grid { grid-template-columns: 1fr; gap: 2rem; } }
.why-content h2 { margin-bottom: 1.5rem; }
.why-content > p { margin-bottom: 2rem; }
.why-list { list-style: none; }
.why-item { display: flex; gap: 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.why-item:last-child { border-bottom: none; }
.why-num { flex-shrink: 0; font-family: var(--font-display); font-size: 1.75rem; font-weight: 500; color: var(--gold); font-style: italic; line-height: 1; width: 40px; }
.why-text strong { display: block; font-family: var(--font-display); font-size: 1.25rem; color: var(--navy); margin-bottom: 0.375rem; font-weight: 500; }
.why-text p { font-size: 0.9375rem; line-height: 1.6; }
.why-visual { position: relative; aspect-ratio: 4/5; background: var(--navy); overflow: hidden; }
.why-visual::before {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 500'%3E%3Cdefs%3E%3ClinearGradient id='g1' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23061530'/%3E%3Cstop offset='1' stop-color='%231a3160'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='400' height='500' fill='url(%23g1)'/%3E%3Cpath d='M50 450 L50 200 L200 100 L350 200 L350 450 Z' fill='none' stroke='%23B8893A' stroke-width='1' opacity='0.6'/%3E%3Cpath d='M50 200 L350 200' stroke='%23B8893A' stroke-width='0.5' opacity='0.4'/%3E%3Cpath d='M50 280 L350 280' stroke='%23B8893A' stroke-width='0.5' opacity='0.3'/%3E%3Cpath d='M50 360 L350 360' stroke='%23B8893A' stroke-width='0.5' opacity='0.3'/%3E%3Crect x='130' y='240' width='40' height='60' fill='%23D4A85E' opacity='0.4'/%3E%3Crect x='230' y='240' width='40' height='60' fill='%23D4A85E' opacity='0.3'/%3E%3Crect x='180' y='320' width='40' height='80' fill='%23D4A85E' opacity='0.5'/%3E%3Ctext x='200' y='480' text-anchor='middle' fill='%23B8893A' font-family='serif' font-size='14' font-style='italic' opacity='0.7'%3Eestablished trust%3C/text%3E%3C/svg%3E");
  background-size: cover;
}
.why-visual-caption { position: absolute; bottom: 2rem; left: 2rem; right: 2rem; z-index: 2; color: var(--ivory); }
.why-visual-caption .eyebrow { color: var(--gold-soft); margin-bottom: 0.75rem; }
.why-visual-caption p { font-family: var(--font-display); font-size: 1.5rem; color: var(--ivory); line-height: 1.3; font-style: italic; }

/* PROJECTS */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 880px) { .projects-grid { grid-template-columns: 1fr; } }
.project-card { display: block; cursor: pointer; }
.project-image { position: relative; aspect-ratio: 4/5; background: var(--navy); overflow: hidden; margin-bottom: 1.25rem; }
.project-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--navy-soft), var(--navy-deep)); }
.project-image::after { content: ""; position: absolute; inset: 0; background: var(--gold); opacity: 0; mix-blend-mode: overlay; transition: opacity 0.5s var(--ease); }
.project-card:hover .project-image::after { opacity: 0.15; }
.project-tag { position: absolute; top: 1.25rem; left: 1.25rem; z-index: 2; background: var(--ivory); color: var(--navy); padding: 0.375rem 0.75rem; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.project-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.project-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.project-image.has-photo::before { display: none; }
.project-image.has-photo::after { z-index: 2; }
.project-image.has-photo .project-tag { z-index: 3; }
.project-meta { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.5rem; }

/* PHOTO GALLERY */
.photo-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 3rem 0; }
.photo-gallery .photo-item { aspect-ratio: 4/3; overflow: hidden; }
.photo-gallery .photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.photo-gallery .photo-item img:hover { transform: scale(1.03); }
.photo-gallery.two-col { grid-template-columns: repeat(2, 1fr); }
.photo-gallery .photo-item.wide { grid-column: span 2; aspect-ratio: 16/9; }
@media (max-width: 768px) { .photo-gallery { grid-template-columns: 1fr; } .photo-gallery .photo-item.wide { grid-column: span 1; } }
.project-card h3 { font-size: 1.375rem; margin-bottom: 0.5rem; transition: color 0.25s var(--ease); }
.project-card:hover h3 { color: var(--gold); }
.project-card p { font-size: 0.9375rem; }

/* STATS BAND */
.stats-band { background: var(--navy); color: var(--ivory); padding: 5rem 0; position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 90% 50%, rgba(184,137,58,0.15) 0%, transparent 50%); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; } }
.stat-item { text-align: center; padding: 0 1rem; border-left: 1px solid rgba(184,137,58,0.3); }
.stat-item:first-child { border-left: none; }
@media (max-width: 720px) { .stat-item { border-left: none; } }
.stat-number { font-family: var(--font-display); font-size: clamp(2.75rem, 6vw, 4rem); font-weight: 400; color: var(--gold); line-height: 1; margin-bottom: 0.75rem; }
.stat-label { font-size: 0.8125rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-pale); font-weight: 500; }

/* TESTIMONIALS */
.testimonials { background: var(--ivory); }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (max-width: 720px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial-card { background: var(--paper); padding: 2.5rem; border: 1px solid var(--line); position: relative; }
.testimonial-quote-mark { font-family: var(--font-display); font-size: 4.5rem; color: var(--gold); line-height: 0.5; position: absolute; top: 2.25rem; right: 2rem; opacity: 0.3; }
.testimonial-stars { color: var(--gold); margin-bottom: 1.25rem; letter-spacing: 0.1em; font-size: 1rem; }
.testimonial-text { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.5; color: var(--navy); margin-bottom: 2rem; font-style: italic; font-weight: 400; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.author-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--navy-soft)); color: var(--gold); display: grid; place-items: center; font-family: var(--font-display); font-weight: 500; font-size: 1.125rem; }
.author-info strong { display: block; font-size: 0.9375rem; color: var(--navy); margin-bottom: 0.125rem; }
.author-info span { font-size: 0.8125rem; color: var(--ink-muted); }

/* PROCESS */
.process { background: var(--paper); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (max-width: 720px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { padding: 2.5rem 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background 0.3s var(--ease); }
.process-step:hover { background: var(--ivory); }
.process-num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 500; color: var(--gold); font-style: italic; line-height: 1; margin-bottom: 1.5rem; }
.process-step h4 { font-family: var(--font-display); font-size: 1.375rem; font-weight: 500; color: var(--navy); margin-bottom: 0.75rem; }
.process-step p { font-size: 0.9375rem; line-height: 1.55; }

/* CTA BAND */
.cta-band { background: var(--navy); color: var(--ivory); padding: 6rem 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; opacity: 0.08; background-image: repeating-linear-gradient(45deg, transparent 0 12px, rgba(184,137,58,0.4) 12px 13px); }
.cta-content { position: relative; text-align: center; max-width: 700px; margin: 0 auto; }
.cta-content .eyebrow { color: var(--gold-soft); margin-bottom: 1.25rem; }
.cta-content h2 { color: var(--ivory); margin-bottom: 1.5rem; }
.cta-content h2 em { color: var(--gold); }
.cta-content p { color: var(--gold-pale); font-size: 1.125rem; margin-bottom: 2.5rem; }
.cta-content .btn-primary { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.cta-content .btn-primary:hover { background: var(--ivory); border-color: var(--ivory); }

/* FOOTER */
.site-footer { background: var(--navy-deep); color: var(--gold-pale); padding: 5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(184,137,58,0.2); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo { color: var(--ivory); margin-bottom: 1.5rem; }
.footer-brand p { color: var(--gold-pale); font-size: 0.9375rem; line-height: 1.6; margin-bottom: 1.5rem; }
.footer-col h5 { font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.625rem; }
.footer-col a { font-size: 0.9375rem; color: var(--gold-pale); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 2rem; font-size: 0.8125rem; color: rgba(239,228,204,0.5); }
.footer-bottom a { color: rgba(239,228,204,0.7); }
.footer-bottom a:hover { color: var(--gold); }

/* PAGE HEADER */
.page-header { background: var(--ivory-warm); padding: 11rem 0 5rem; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-header::before { content: ""; position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: linear-gradient(135deg, transparent, rgba(184,137,58,0.06)); }
.page-header-content { position: relative; max-width: 880px; z-index: 2; }
.page-header .eyebrow { margin-bottom: 1rem; display: inline-block; }
.page-header h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.5rem; }
.page-header h1 em { color: var(--gold); }
.page-header .lead { max-width: 680px; }
.breadcrumbs { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 2rem; font-size: 0.8125rem; color: var(--ink-muted); }
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs span { color: var(--ink-muted); }

/* SERVICE PAGE */
.service-detail { display: grid; grid-template-columns: 1fr 380px; gap: 4rem; align-items: start; }
@media (max-width: 960px) { .service-detail { grid-template-columns: 1fr; } }
.service-detail .prose h2 { margin: 2.5rem 0 1.25rem; }
.service-detail .prose h3 { margin: 2rem 0 1rem; font-size: 1.5rem; }
.service-detail .prose p { margin-bottom: 1.25rem; }
.service-detail .prose ul { margin: 1.25rem 0; padding-left: 1.5rem; }
.service-detail .prose li { margin-bottom: 0.625rem; color: var(--ink-soft); line-height: 1.65; }
.service-detail .prose li::marker { color: var(--gold); }
.sidebar-card { background: var(--ivory-warm); padding: 2rem; border-top: 3px solid var(--gold); position: sticky; top: 6rem; }
.sidebar-card h3 { font-size: 1.375rem; margin-bottom: 1rem; }
.sidebar-card p { font-size: 0.9375rem; margin-bottom: 1.5rem; }
.sidebar-card .btn { width: 100%; justify-content: center; }

.cost-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2.5rem 0; }
@media (max-width: 720px) { .cost-tiers { grid-template-columns: 1fr; } }
.tier { background: var(--paper); padding: 2rem; border: 1px solid var(--line); position: relative; transition: all 0.3s var(--ease); }
.tier:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tier.featured { border: 2px solid var(--gold); background: linear-gradient(180deg, var(--ivory) 0%, var(--paper) 100%); }
.tier.featured::before { content: "Most Common"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--navy); padding: 0.25rem 1rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.tier-name { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.tier-price { font-family: var(--font-display); font-size: 2rem; color: var(--navy); margin-bottom: 0.25rem; font-weight: 500; line-height: 1.1; }
.tier-range { font-size: 0.875rem; color: var(--ink-muted); margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.tier-features { list-style: none; padding: 0; }
.tier-features li { padding: 0.5rem 0; font-size: 0.875rem; color: var(--ink-soft); display: flex; gap: 0.5rem; align-items: flex-start; }
.tier-features li::before { content: "▪"; color: var(--gold); font-size: 1.125rem; line-height: 1; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); padding: 1.5rem 0; }
.faq-question { display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--navy); padding: 0; cursor: pointer; gap: 1rem; }
.faq-icon { font-family: var(--font-body); font-size: 1.5rem; font-weight: 300; color: var(--gold); transition: transform 0.3s var(--ease); flex-shrink: 0; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p { padding-top: 1rem; font-size: 1rem; color: var(--ink-soft); }

/* FORMS */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } .form-grid .full { grid-column: auto; } }
.field { display: flex; flex-direction: column; }
.field label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); margin-bottom: 0.5rem; }
.field input, .field textarea, .field select { background: var(--paper); border: 1px solid var(--line); padding: 0.875rem 1rem; font-size: 1rem; color: var(--ink); font-family: var(--font-body); transition: border-color 0.2s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 120px; }

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (max-width: 480px) { .choice-grid { grid-template-columns: 1fr; } }
.choice-card { background: var(--paper); border: 1px solid var(--line); padding: 1.25rem; cursor: pointer; transition: all 0.2s var(--ease); text-align: left; display: flex; align-items: center; gap: 1rem; font-family: inherit; }
.choice-card:hover { border-color: var(--gold); background: var(--ivory); }
.choice-card.selected { border-color: var(--gold); background: var(--gold-pale); box-shadow: inset 0 0 0 1px var(--gold); }
.choice-icon { width: 36px; height: 36px; background: var(--ivory-warm); border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; color: var(--navy); font-size: 1.125rem; transition: all 0.2s var(--ease); }
.choice-card.selected .choice-icon { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.choice-text strong { display: block; font-size: 0.9375rem; color: var(--navy); margin-bottom: 0.125rem; font-weight: 600; }
.choice-text span { font-size: 0.8125rem; color: var(--ink-muted); }

/* TOOLS (eligibility checker, calculator) */
.tool-section { background: var(--ivory); padding: clamp(3rem, 6vw, 5rem) 0; }
.tool-wrapper { background: var(--paper); max-width: 880px; margin: 0 auto; border: 1px solid var(--line); }
.tool-header { padding: 2.5rem 3rem; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, var(--ivory-warm), var(--paper)); }
@media (max-width: 720px) { .tool-header { padding: 2rem 1.5rem; } }
.tool-header h2 { margin-bottom: 0.75rem; font-size: clamp(1.75rem, 3vw, 2.25rem); }
.tool-header p { font-size: 1rem; }
.progress-track { height: 3px; background: var(--line-soft); margin-top: 1.5rem; overflow: hidden; }
.progress-fill { height: 100%; background: var(--gold); width: 0; transition: width 0.4s var(--ease); }
.tool-step-counter { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.875rem; }
.tool-step-counter strong { color: var(--gold); font-weight: 600; }
.tool-body { padding: 3rem; min-height: 480px; }
@media (max-width: 720px) { .tool-body { padding: 2rem 1.5rem; min-height: 400px; } }
.tool-step { display: none; animation: fade-in 0.4s var(--ease-out); }
.tool-step.active { display: block; }
.tool-step h3 { font-size: 1.625rem; margin-bottom: 0.5rem; font-family: var(--font-display); color: var(--navy); font-weight: 500; }
.tool-step .step-help { font-size: 0.9375rem; color: var(--ink-muted); margin-bottom: 1.75rem; }
.tool-controls { display: flex; justify-content: space-between; padding: 1.75rem 3rem; border-top: 1px solid var(--line); background: var(--ivory-warm); }
@media (max-width: 720px) { .tool-controls { padding: 1.25rem 1.5rem; } }
.tool-result { padding: 3rem; }
@media (max-width: 720px) { .tool-result { padding: 2rem 1.5rem; } }
.result-eyebrow { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 1rem; }
.result-title { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.25rem); color: var(--navy); margin-bottom: 1rem; line-height: 1.2; font-weight: 500; }
.result-summary { background: var(--gold-pale); border-left: 3px solid var(--gold); padding: 1.5rem; margin: 2rem 0; }
.result-summary p { color: var(--navy); font-size: 1rem; line-height: 1.6; }
.result-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.75rem 0; }
@media (max-width: 600px) { .result-services { grid-template-columns: 1fr; } }
.result-service { padding: 1rem; background: var(--ivory); border: 1px solid var(--line); display: flex; gap: 0.75rem; align-items: flex-start; }
.result-service-icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-size: 0.875rem; font-weight: 700; }
.result-service-text strong { display: block; font-size: 0.9375rem; color: var(--navy); margin-bottom: 0.125rem; }
.result-service-text span { font-size: 0.8125rem; color: var(--ink-muted); }

/* CALCULATOR */
.calc-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; border: 1px solid var(--line); background: var(--paper); max-width: 1080px; margin: 0 auto; }
@media (max-width: 880px) { .calc-grid { grid-template-columns: 1fr; } }
.calc-inputs { padding: 2.5rem; border-right: 1px solid var(--line); background: var(--ivory-warm); }
@media (max-width: 880px) { .calc-inputs { border-right: none; border-bottom: 1px solid var(--line); padding: 2rem 1.5rem; } }
.calc-inputs h3 { margin-bottom: 0.5rem; font-size: 1.5rem; }
.calc-inputs > p { margin-bottom: 2rem; font-size: 0.9375rem; }
.calc-field { margin-bottom: 1.75rem; }
.calc-field label { display: flex; justify-content: space-between; align-items: center; font-size: 0.8125rem; font-weight: 600; color: var(--navy); margin-bottom: 0.625rem; letter-spacing: 0.02em; }
.calc-field label .value { font-family: var(--font-display); font-size: 1.125rem; color: var(--gold); font-weight: 500; }
.calc-field input[type="range"] { width: 100%; -webkit-appearance: none; appearance: none; height: 4px; background: var(--line); outline: none; border-radius: 0; }
.calc-field input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); cursor: pointer; border: 2px solid var(--paper); box-shadow: var(--shadow-sm); transition: transform 0.2s var(--ease); }
.calc-field input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.calc-field input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--gold); cursor: pointer; border: 2px solid var(--paper); }
.calc-field-help { font-size: 0.75rem; color: var(--ink-muted); margin-top: 0.375rem; }
.calc-segmented { display: flex; gap: 0; background: var(--paper); border: 1px solid var(--line); padding: 4px; }
.calc-segmented button { flex: 1; padding: 0.5rem; font-size: 0.8125rem; font-weight: 500; color: var(--ink-soft); background: transparent; border: none; cursor: pointer; transition: all 0.2s var(--ease); }
.calc-segmented button.active { background: var(--navy); color: var(--ivory); }
.calc-results { padding: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
@media (max-width: 880px) { .calc-results { padding: 2rem 1.5rem; } }
.calc-results-header { padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.calc-results-header h3 { margin-bottom: 0.375rem; font-size: 1.5rem; }
.calc-results-header p { font-size: 0.875rem; }
.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.metric { background: var(--ivory); padding: 1.25rem 1.5rem; border-left: 2px solid var(--gold); }
.metric-label { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; margin-bottom: 0.5rem; }
.metric-value { font-family: var(--font-display); font-size: 1.875rem; color: var(--navy); line-height: 1; font-weight: 500; }
.metric-value.positive { color: var(--gold); }
.metric-help { font-size: 0.75rem; color: var(--ink-muted); margin-top: 0.5rem; }
.metric-big { background: var(--navy); color: var(--ivory); padding: 1.75rem; position: relative; overflow: hidden; }
.metric-big::before { content: ""; position: absolute; top: 0; right: 0; width: 80px; height: 80px; background: radial-gradient(circle, rgba(184,137,58,0.3), transparent); }
.metric-big .metric-label { color: var(--gold); }
.metric-big .metric-value { color: var(--ivory); font-size: 2.5rem; }
.calc-cta { margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.calc-cta p { font-size: 0.875rem; margin-bottom: 1rem; }

/* AI CHAT WIDGET */
.chat-launcher { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90; background: var(--navy); color: var(--gold); width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-lg); cursor: pointer; transition: all 0.3s var(--ease); border: 2px solid var(--gold); }
.chat-launcher:hover { transform: scale(1.05); background: var(--gold); color: var(--navy); }
.chat-launcher::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: var(--gold); opacity: 0; z-index: -1; animation: pulse 2.5s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.4; } 100% { transform: scale(1.4); opacity: 0; } }
.chat-launcher svg { width: 24px; height: 24px; }
.chat-window { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 91; width: 380px; max-width: calc(100vw - 3rem); height: 560px; max-height: calc(100vh - 3rem); background: var(--paper); display: none; flex-direction: column; box-shadow: var(--shadow-xl); border: 1px solid var(--line); overflow: hidden; }
.chat-window.open { display: flex; animation: rise 0.3s var(--ease-out); }
.chat-header { background: var(--navy); color: var(--ivory); padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.chat-header-info { display: flex; align-items: center; gap: 0.75rem; }
.chat-avatar { width: 38px; height: 38px; background: var(--gold); color: var(--navy); border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1rem; position: relative; }
.chat-avatar::after { content: ""; position: absolute; bottom: 1px; right: 1px; width: 10px; height: 10px; background: #4ade80; border-radius: 50%; border: 2px solid var(--navy); }
.chat-header strong { font-size: 0.9375rem; display: block; }
.chat-header span { font-size: 0.75rem; opacity: 0.8; color: var(--gold-pale); }
.chat-close { color: var(--ivory); font-size: 1.5rem; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; transition: background 0.2s var(--ease); }
.chat-close:hover { background: rgba(255,255,255,0.1); }
.chat-messages { flex: 1; padding: 1.5rem; overflow-y: auto; display: flex; flex-direction: column; gap: 0.875rem; background: var(--ivory); }
.chat-msg { max-width: 85%; padding: 0.75rem 1rem; font-size: 0.9375rem; line-height: 1.5; animation: fade-in 0.3s var(--ease-out); }
.chat-msg.bot { background: var(--paper); color: var(--ink); align-self: flex-start; border: 1px solid var(--line); border-bottom-left-radius: 0; }
.chat-msg.user { background: var(--navy); color: var(--ivory); align-self: flex-end; border-bottom-right-radius: 0; }
.chat-options { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.25rem; align-self: stretch; }
.chat-option { padding: 0.625rem 0.875rem; background: var(--paper); border: 1px solid var(--gold); color: var(--navy); font-size: 0.875rem; text-align: left; cursor: pointer; transition: all 0.2s var(--ease); }
.chat-option:hover { background: var(--gold); color: var(--navy); }
.chat-input-area { padding: 0.875rem 1rem; border-top: 1px solid var(--line); background: var(--paper); display: flex; gap: 0.5rem; flex-shrink: 0; }
.chat-input-area input { flex: 1; background: var(--ivory); border: 1px solid var(--line); padding: 0.625rem 0.875rem; font-size: 0.9375rem; color: var(--ink); }
.chat-input-area input:focus { outline: none; border-color: var(--gold); }
.chat-send { background: var(--navy); color: var(--gold); width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; transition: background 0.2s var(--ease); }
.chat-send:hover { background: var(--gold); color: var(--navy); }
.chat-typing { display: flex; gap: 4px; padding: 0.875rem 1rem; background: var(--paper); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 0; }
.chat-typing span { width: 6px; height: 6px; background: var(--ink-muted); border-radius: 50%; animation: typing 1.4s infinite; }
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
@media (max-width: 720px) { .values-grid { grid-template-columns: 1fr; } }
.value-card { padding: 2rem; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.value-card h4 { font-family: var(--font-display); font-size: 1.375rem; font-weight: 500; color: var(--navy); margin-bottom: 0.75rem; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.contact-info { background: var(--navy); color: var(--ivory); padding: 3rem 2.5rem; position: relative; }
.contact-info h2 { color: var(--ivory); margin-bottom: 1rem; }
.contact-info p { color: var(--gold-pale); margin-bottom: 2.5rem; }
.contact-detail { margin-bottom: 1.75rem; padding-bottom: 1.75rem; border-bottom: 1px solid rgba(184,137,58,0.2); }
.contact-detail:last-child { border-bottom: none; }
.contact-detail-label { font-size: 0.6875rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; font-weight: 600; }
.contact-detail strong { display: block; color: var(--ivory); font-size: 1.125rem; font-family: var(--font-display); }
.contact-detail span { color: var(--gold-pale); font-size: 0.9375rem; }
.contact-form { background: var(--paper); padding: 2.5rem; border: 1px solid var(--line); }
@media (max-width: 720px) { .contact-form { padding: 2rem 1.5rem; } }
.success-message { background: var(--gold-pale); border-left: 3px solid var(--gold); padding: 1.5rem; margin-top: 1rem; display: none; }
.success-message.show { display: block; }
.success-message strong { display: block; color: var(--navy); font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.success-message p { color: var(--navy); font-size: 0.9375rem; }

/* UTILITIES */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }
.divider { height: 1px; background: var(--line); margin: 3rem 0; }
.gold-rule { width: 60px; height: 2px; background: var(--gold); margin-bottom: 1.5rem; }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media print { .chat-launcher, .chat-window, .policy-bar { display: none !important; } }

/* ===== Contact Page Utilities ===== */
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
@media (max-width: 560px) { .form-grid-2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.checkbox-line { display: flex; align-items: flex-start; gap: 0.75rem; margin: 0.5rem 0 1.5rem; cursor: pointer; font-size: 0.875rem; line-height: 1.55; color: var(--ink-muted); }
.checkbox-line input[type="checkbox"] { margin-top: 0.25rem; flex-shrink: 0; accent-color: var(--gold); width: 16px; height: 16px; cursor: pointer; }
.checkbox-line span { flex: 1; }
.btn-block { width: 100%; justify-content: center; margin-top: 0.5rem; }
.fineprint { font-size: 0.75rem; color: var(--ink-muted); margin-top: 1rem; line-height: 1.6; text-align: center; }

/* Trust Strip */
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
@media (max-width: 720px) { .trust-strip { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; } }
.trust-cell { padding: 0.5rem; }
.trust-num { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 500; color: var(--navy); line-height: 1; margin-bottom: 0.5rem; }
.trust-cap { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; }

/* ===== Tool Card (Eligibility) ===== */
.tool-card { background: var(--paper); max-width: 880px; margin: 0 auto; border: 1px solid var(--line); box-shadow: 0 2px 30px rgba(10,31,68,0.04); }
.tool-progress { padding: 1.75rem 3rem 1.25rem; background: linear-gradient(135deg, var(--ivory-warm), var(--paper)); border-bottom: 1px solid var(--line); }
@media (max-width: 720px) { .tool-progress { padding: 1.25rem 1.5rem 1rem; } }
.progress-bar { height: 3px; background: var(--line-soft); overflow: hidden; }
.tool-nav { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 3rem; border-top: 1px solid var(--line); background: var(--ivory-warm); }
@media (max-width: 720px) { .tool-nav { padding: 1.25rem 1.5rem; } }
.tool-nav-hint { font-size: 0.75rem; color: var(--ink-muted); letter-spacing: 0.08em; text-transform: uppercase; }

/* Email capture (step 5) */
.email-capture { padding-top: 2rem; border-top: 1px solid var(--line); }
.email-capture .field { margin-bottom: 1.25rem; }
.email-capture .field input { background: var(--paper); border: 1px solid var(--line); padding: 0.875rem 1rem; font-size: 1rem; color: var(--ink); font-family: var(--font-body); transition: border-color 0.2s var(--ease); }
.email-capture .field input:focus { outline: none; border-color: var(--gold); }

/* Result display */
.result-badge { display: inline-block; background: var(--navy); color: var(--gold); padding: 0.5rem 1.25rem; font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; }
.result-match { padding: 1.75rem; border: 1px solid var(--line); margin-bottom: 1rem; background: var(--paper); position: relative; transition: border-color 0.2s var(--ease); }
.result-match:hover { border-color: var(--gold); }
.result-match-top { border: 2px solid var(--gold); background: var(--ivory-warm); }
.result-match-flag { position: absolute; top: -10px; left: 1.5rem; background: var(--gold); color: var(--navy); padding: 0.25rem 0.75rem; font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700; }
.result-match-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; gap: 1rem; }
.result-match-head h4 { font-family: var(--font-display); font-size: 1.375rem; color: var(--navy); font-weight: 500; margin: 0; }
.result-match-fit { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.result-match-reason { color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.6; margin-bottom: 1.25rem; }
.result-match-meta { display: grid; grid-template-columns: 1fr 1fr auto; gap: 1.5rem; align-items: center; padding-top: 1.25rem; border-top: 1px solid var(--line); }
@media (max-width: 600px) { .result-match-meta { grid-template-columns: 1fr 1fr; } .result-match-meta a { grid-column: 1/-1; } }
.result-match-meta strong { font-family: var(--font-display); font-size: 1.125rem; color: var(--navy); display: block; font-weight: 500; }
.meta-label { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); display: block; margin-bottom: 0.25rem; font-weight: 600; }

.result-cta { margin-top: 2.5rem; padding: 2rem; background: var(--ivory-warm); border-left: 3px solid var(--gold); }
.result-cta h4 { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); font-weight: 500; margin-bottom: 0.5rem; }
.result-cta p { font-size: 0.9375rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.result-cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== Calculator additions ===== */
.calc-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; border: 1px solid var(--line); background: var(--paper); max-width: 1080px; margin: 0 auto; box-shadow: 0 2px 30px rgba(10,31,68,0.04); }
@media (max-width: 880px) { .calc-card { grid-template-columns: 1fr; } }

.segmented { display: flex; gap: 0; background: var(--paper); border: 1px solid var(--line); padding: 4px; }
.seg-btn { flex: 1; padding: 0.625rem 0.5rem; font-size: 0.8125rem; font-weight: 500; color: var(--ink-soft); background: transparent; border: none; cursor: pointer; transition: all 0.2s var(--ease); font-family: inherit; }
.seg-btn.active { background: var(--navy); color: var(--ivory); }
.seg-btn:hover:not(.active) { color: var(--navy); }
.seg-hint { font-size: 0.75rem; color: var(--ink-muted); margin-top: 0.5rem; line-height: 1.5; }

.slider-rail-labels { display: flex; justify-content: space-between; font-size: 0.6875rem; color: var(--ink-muted); margin-top: 0.375rem; letter-spacing: 0.04em; }
.metric-foot { font-size: 0.75rem; color: var(--ink-muted); margin-top: 0.5rem; }
.metric-big .metric-foot { color: var(--gold-soft); }

.calc-explainer p { font-size: 0.9375rem; line-height: 1.7; color: var(--ink-soft); margin-bottom: 1rem; }
.calc-explainer p strong { color: var(--navy); font-weight: 600; }
