:root {
  --navy: #0f2740;
  --navy-2: #173a5c;
  --ink: #1b2430;
  --muted: #4d5866;
  --gold: #d9a441;
  --gold-dark: #8a5f12;
  --cream: #f6f3ec;
  --white: #ffffff;
  --line: #e2ddd1;
  --radius: 14px;
  --shadow: 0 18px 40px -22px rgba(15, 39, 64, 0.45);
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.6em; color: var(--navy); }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

a { color: var(--navy-2); }
a:focus-visible,
button:focus-visible,
iframe:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }

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

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 39, 64, 0.97);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: baseline; gap: 0.45rem;
  text-decoration: none; color: var(--white);
}
.brand-name { font-family: var(--serif); font-size: 1.45rem; letter-spacing: 0.01em; }
.brand-sub {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.4rem; align-items: center; }
.site-nav a {
  display: block; padding: 0.55rem 0.9rem; border-radius: 999px;
  color: #e7edf4; text-decoration: none; font-weight: 600; font-size: 0.97rem;
}
.site-nav a:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.site-nav .nav-cta { background: var(--gold); color: var(--navy); }
.site-nav .nav-cta:hover { background: #e6b65a; color: var(--navy); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 10px;
  background: transparent; cursor: pointer; position: relative;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: ""; position: absolute; left: 50%;
  width: 22px; height: 2px; background: var(--white);
  transform: translateX(-50%); transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateX(-50%) translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateX(-50%) translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.75rem 1.4rem;
  border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: #e6b65a; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  color: #dbe4ee;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(217, 164, 65, 0.22), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero h1 { color: var(--white); }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); max-width: 36rem; color: #d3dde8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }

.eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 0.9rem;
}
.hero .eyebrow { color: var(--gold); }

.hero-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 3.2rem 1.6rem 1.4rem;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.roofline {
  position: absolute; top: -26px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 70px solid transparent; border-right: 70px solid transparent;
  border-bottom: 46px solid var(--gold);
}
.roofline::after {
  content: ""; position: absolute; left: -12px; top: 22px;
  width: 24px; height: 24px; background: var(--navy);
  border-radius: 3px;
}
.hero-card dl { margin: 0; display: grid; gap: 0.2rem; }
.hero-card dl > div { padding: 0.75rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.hero-card dl > div:last-child { border-bottom: 0; }
.hero-card dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #b9c7d6; }
.hero-card dd { margin: 0.15rem 0 0; color: var(--white); font-weight: 600; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--cream); }
.section-head { max-width: 44rem; margin-bottom: 2.6rem; }
.section-head p:last-child { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}
.card p { color: var(--muted); margin: 0; }

/* CSS-only icons */
.card-icon {
  display: block; position: relative;
  width: 52px; height: 52px; margin-bottom: 1.2rem;
  border-radius: 12px; background: var(--navy);
}
.icon-home::before {
  content: ""; position: absolute; left: 50%; top: 11px; transform: translateX(-50%);
  border-left: 15px solid transparent; border-right: 15px solid transparent;
  border-bottom: 12px solid var(--gold);
}
.icon-home::after {
  content: ""; position: absolute; left: 50%; top: 23px; transform: translateX(-50%);
  width: 22px; height: 16px; background: var(--gold);
  box-shadow: inset 0 -9px 0 -3px var(--navy);
}
.icon-doc::before {
  content: ""; position: absolute; left: 15px; top: 11px;
  width: 22px; height: 30px; border-radius: 3px; background: var(--gold);
}
.icon-doc::after {
  content: ""; position: absolute; left: 19px; top: 18px;
  width: 14px; height: 2px; background: var(--navy);
  box-shadow: 0 6px 0 var(--navy), 0 12px 0 var(--navy);
}
.icon-pin::before {
  content: ""; position: absolute; left: 15px; top: 9px;
  width: 22px; height: 22px; background: var(--gold);
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  transform-origin: center;
}
.icon-pin::after {
  content: ""; position: absolute; left: 22px; top: 16px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--navy);
}

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about-grid p { color: var(--muted); }
.facts {
  margin: 0; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0.4rem 1.6rem; box-shadow: var(--shadow);
}
.facts > div { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark); }
.facts dd { margin: 0.2rem 0 0; font-weight: 600; color: var(--navy); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: stretch; }
.contact-info p { color: var(--muted); }
.address-card {
  font-style: normal; line-height: 1.8;
  background: var(--cream); border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.4rem; margin: 1.4rem 0 1.6rem;
  color: var(--ink);
}
.address-card strong { color: var(--navy); }
.map-wrap {
  min-height: 360px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--cream);
}
.map-wrap iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }

/* Footer */
.site-footer { background: var(--navy); color: #c3cfdc; padding: 3rem 0 2rem; font-size: 0.95rem; }
.footer-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem;
  padding-bottom: 1.6rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand { font-family: var(--serif); font-size: 1.4rem; color: var(--white); margin-bottom: 0.3rem; }
.footer-brand span {
  font-family: var(--sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-left: 0.3rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-links a { color: #e7edf4; text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--gold); text-decoration: underline; }
.legal { margin: 1.4rem 0 0.6rem; font-size: 0.88rem; color: #aebccb; max-width: 60rem; }
.copyright { margin: 0; font-size: 0.88rem; color: #aebccb; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 520px; margin-top: 1.5rem; }
  .cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 0.8rem 1.25rem 1.2rem; gap: 0.3rem; }
  .site-nav a { padding: 0.85rem 1rem; border-radius: 10px; }
  .site-nav .nav-cta { text-align: center; margin-top: 0.4rem; }
  .cards { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 1.25rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-card { padding: 3rem 1.2rem 1rem; }
}

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