:root {
  --navy: #0a1a3c;
  --navy-mid: #132b5a;
  --navy-soft: #233f73;
  --paper: #f9fafb;
  --white: #ffffff;
  --mist: #edf2f8;
  --ink: #111d35;
  --muted: #536078;
  --gold: #d8ae58;
  --gold-soft: #f5ead2;
  --line: rgba(10, 26, 60, 0.12);
  --shadow: 0 24px 60px rgba(10, 26, 60, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

a { color: inherit; }
button, input, textarea { font: inherit; }
address { font-style: normal; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  padding: 14px max(24px, calc((100vw - 1200px) / 2));
  color: var(--white);
  background: radial-gradient(circle at top center, rgba(255,255,255,.14), var(--navy) 62%);
  border-bottom-left-radius: 50% 18px;
  border-bottom-right-radius: 50% 18px;
  box-shadow: 0 8px 24px rgba(5, 15, 34, .23);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 2px solid rgba(255,255,255,.72);
  border-radius: 50%;
  color: var(--navy);
  background: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  letter-spacing: -.04em;
  box-shadow: inset 0 0 0 5px var(--navy), inset 0 0 0 7px rgba(255,255,255,.7);
}

.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  letter-spacing: .03em;
}
.brand-copy small {
  margin-top: 5px;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .78;
}

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  color: var(--white);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
}
.site-nav a:not(.nav-cta):hover { opacity: .72; }
.nav-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.menu-button > span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: white;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.08fr .72fr;
  align-items: center;
  gap: 58px;
  overflow: hidden;
  padding: 90px max(24px, calc((100vw - 1200px) / 2));
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(10,26,60,.97), rgba(20,47,94,.92)),
    var(--navy);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, black, transparent 78%);
}

.hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(4px); }
.hero-glow-one { width: 440px; height: 440px; top: -210px; right: 5%; background: rgba(216,174,88,.2); }
.hero-glow-two { width: 360px; height: 360px; bottom: -170px; left: 32%; background: rgba(95,139,201,.2); }

.eyebrow, .card-kicker, .detail-label {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow.navy { color: var(--navy-soft); }

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; }
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.2rem, 6vw, 6.4rem);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero-lead {
  max-width: 700px;
  margin: 26px 0 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 34px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .035em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--navy); background: var(--white); box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.button-primary { color: var(--white); background: var(--navy); box-shadow: 0 14px 28px rgba(10,26,60,.22); }
.text-link { color: var(--white); font-weight: 750; text-underline-offset: 6px; }

.hero-card {
  padding: 38px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 28px;
  background: rgba(255,255,255,.1);
  box-shadow: 0 26px 60px rgba(0,0,0,.22);
  backdrop-filter: blur(12px);
}
.hero-card h2 { margin: 0 0 26px; font-size: clamp(2rem, 3vw, 2.7rem); }
.feature-list { display: grid; gap: 12px; }
.feature-list > div { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.15); }
.feature-list span { color: var(--gold); font-weight: 800; }
.feature-list p { margin: 0; color: rgba(255,255,255,.84); }

.section { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.section-intro { display: grid; grid-template-columns: .82fr 1.18fr; gap: 90px; align-items: start; padding: 110px 0; }
.section h2 { margin: 0; color: var(--navy); font-size: clamp(2.5rem, 4.2vw, 4.4rem); letter-spacing: -.035em; text-wrap: balance; }
.section-intro > p { margin: 10px 0 0; color: var(--muted); font-size: 1.18rem; }

.cards-section { padding: 10px 0 110px; }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { min-height: 330px; padding: 32px; border-radius: 24px; box-shadow: var(--shadow); }
.value-card-blue { color: white; background: var(--navy); }
.value-card-gold { color: var(--ink); background: var(--gold-soft); }
.value-card-light { background: white; border: 1px solid var(--line); }
.value-number { font-size: .78rem; font-weight: 850; letter-spacing: .15em; opacity: .72; }
.value-card h3 { margin: 85px 0 18px; font-size: 2rem; }
.value-card p { margin: 0; opacity: .78; }

.community-section { display: grid; grid-template-columns: 1.28fr .72fr; margin-bottom: 110px; overflow: hidden; border-radius: 30px; box-shadow: var(--shadow); }
.community-panel { padding: 58px; color: white; background: linear-gradient(135deg, var(--navy), var(--navy-soft)); }
.community-panel h2 { color: white; font-size: clamp(2.35rem, 4vw, 4rem); }
.community-panel p:not(.eyebrow) { max-width: 700px; margin: 22px 0 30px; color: rgba(255,255,255,.76); font-size: 1.08rem; }
.community-details { display: flex; flex-direction: column; justify-content: center; padding: 48px; background: var(--gold-soft); }
.community-details address { color: var(--muted); font-size: 1.06rem; }
.community-details address strong { display: inline-block; margin-bottom: 8px; color: var(--ink); }
.phone-link { margin-top: 22px; color: var(--navy); font-family: Georgia, serif; font-size: 1.45rem; font-weight: 800; }

.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 36px; margin-bottom: 110px; padding: 46px; border: 1px solid var(--line); border-radius: 24px; background: white; }
.final-cta h2 { font-size: clamp(2rem, 3.4vw, 3.3rem); }
.final-cta p:not(.eyebrow) { margin: 10px 0 0; color: var(--muted); }

.site-footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 36px; min-height: 170px; padding: 32px max(24px, calc((100vw - 1200px) / 2)); color: white; background: var(--navy); }
.site-footer p { margin: 0; color: rgba(255,255,255,.7); }
.site-footer > a { font-weight: 750; text-underline-offset: 5px; }
.footer-brand .brand-mark { width: 50px; height: 50px; }

.contact-main { padding-bottom: 100px; }
.contact-hero { padding: 96px max(24px, calc((100vw - 1000px) / 2)) 150px; color: white; text-align: center; background: linear-gradient(125deg, var(--navy), var(--navy-soft)); }
.contact-hero h1 { margin: 0; font-size: clamp(3.3rem, 7vw, 6.5rem); letter-spacing: -.045em; }
.contact-hero > p:last-child { max-width: 620px; margin: 22px auto 0; color: rgba(255,255,255,.76); font-size: 1.15rem; }
.contact-layout { position: relative; width: min(1100px, calc(100% - 48px)); display: grid; grid-template-columns: .72fr 1.28fr; margin: -78px auto 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.contact-details { padding: 46px; color: white; background: var(--navy); }
.contact-details h2, .form-panel h2 { margin: 0 0 32px; font-size: 2.6rem; }
.contact-details h2 { color: white; }
.contact-item { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.16); }
.contact-item > span { display: block; margin-bottom: 7px; color: var(--gold); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-item address, .contact-item a { color: rgba(255,255,255,.82); text-decoration: none; }
.contact-note { margin: 26px 0 0; color: rgba(255,255,255,.6); font-size: .92rem; }
.form-panel { padding: 48px; background: white; }
.form-heading > p:last-child { margin: -18px 0 28px; color: var(--muted); }
.notice { margin-bottom: 24px; padding: 15px 18px; border: 1px solid #8bd3a8; border-radius: 12px; color: #135b32; background: #e8f8ee; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { color: var(--navy); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.field label span { color: var(--muted); font-weight: 600; text-transform: none; }
.field input, .field textarea { width: 100%; padding: 14px 15px; color: var(--ink); background: #f7f8fa; border: 1px solid #d7dce5; border-radius: 10px; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(10,26,60,.12); border-color: var(--navy); background: white; }
.submit-button { min-width: 180px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 900px) {
  .site-header { min-height: 90px; }
  .menu-button { display: block; }
  .site-nav { position: absolute; top: 78px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 16px; border-radius: 18px; background: var(--navy); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 14px; }
  .nav-cta { margin-top: 6px; justify-content: center; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 80px; }
  .hero-card { max-width: 660px; }
  .section-intro { grid-template-columns: 1fr; gap: 26px; padding: 80px 0; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { min-height: auto; }
  .value-card h3 { margin-top: 50px; }
  .community-section { grid-template-columns: 1fr; }
  .final-cta { align-items: flex-start; flex-direction: column; }
  .contact-layout { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 600px) {
  .brand-copy strong { font-size: 1.1rem; }
  .brand-copy small { font-size: .62rem; letter-spacing: .12em; }
  .brand-mark { width: 50px; height: 50px; }
  .hero { padding-top: 64px; padding-bottom: 64px; }
  .hero h1 { font-size: clamp(2.8rem, 15vw, 4.2rem); }
  .hero-card, .value-card, .community-panel, .community-details, .final-cta, .contact-details, .form-panel { padding: 28px; }
  .section { width: min(100% - 32px, 1200px); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-layout { width: min(100% - 24px, 1100px); }
  .contact-hero { padding-bottom: 128px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
