:root {
  --navy: #13294b;
  --navy-deep: #0b1a33;
  --navy-soft: #1e3a66;
  --gold: #c9a15a;
  --gold-text: #86621f;
  --ivory: #f7f4ee;
  --paper: #ffffff;
  --ink: #1b2232;
  --muted: #4a5368;
  --line: #e4ddd0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 26, 51, 0.08);
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

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

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--navy);
}

p { margin: 0 0 1em; }

a { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.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: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 26, 51, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: saturate(140%) blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: #fff;
  text-decoration: none;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-name em,
.footer-brand em {
  font-style: normal;
  color: var(--gold);
}

.brand-suffix {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  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 {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  margin-left: -10px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav ul {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 8px 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
}

.site-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-primary:hover { background: #d9b46f; }

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 72px 0 150px;
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(201, 161, 90, 0.18), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(30, 58, 102, 0.9), transparent 70%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-soft) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow-dark { color: var(--gold-text); }

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  max-width: 15ch;
}

.lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-card {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 20px;
  margin: 0;
}

.hero-card dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.hero-card dd {
  margin: 4px 0 0;
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: #fff;
}

/* CSS skyline of houses */
.skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  height: 120px;
  padding: 0 10px;
}

.skyline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background: var(--paper);
}

.skyline span {
  position: relative;
  flex: 0 0 auto;
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.07);
  clip-path: polygon(50% 0, 100% 38%, 100% 100%, 0 100%, 0 38%);
}

.skyline span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 16px;
  height: 22px;
  margin-left: -8px;
  border-radius: 8px 8px 0 0;
  background: rgba(201, 161, 90, 0.35);
}

.skyline span:nth-child(2) { width: 120px; height: 110px; background: rgba(255, 255, 255, 0.1); }
.skyline span:nth-child(3) { width: 70px; height: 70px; }
.skyline span:nth-child(4) { width: 140px; height: 104px; background: rgba(255, 255, 255, 0.12); }
.skyline span:nth-child(5) { width: 80px; height: 80px; }
.skyline span:nth-child(6) { width: 110px; height: 100px; background: rgba(255, 255, 255, 0.09); }
.skyline span:nth-child(7) { width: 76px; height: 76px; }
.skyline span:nth-child(8) { width: 120px; height: 96px; background: rgba(255, 255, 255, 0.1); }

/* Sections */
.section { padding: 80px 0; }

.section-alt {
  background: var(--ivory);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }

.section-head {
  max-width: 42rem;
  margin-bottom: 44px;
}

.section-head p:last-child { color: var(--muted); }

.cards {
  display: grid;
  gap: 20px;
}

.card {
  padding: 30px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}

.card h3 { font-size: 1.35rem; }
.card p { margin: 0; color: var(--muted); }

.card-icon {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--navy);
}

.card-icon::before,
.card-icon::after {
  content: "";
  position: absolute;
}

/* House */
.icon-buy::before {
  left: 13px;
  top: 12px;
  width: 26px;
  height: 26px;
  background: var(--gold);
  clip-path: polygon(50% 0, 100% 42%, 100% 100%, 0 100%, 0 42%);
}

.icon-buy::after {
  left: 23px;
  top: 28px;
  width: 6px;
  height: 10px;
  background: var(--navy);
}

/* Tag */
.icon-sell::before {
  left: 11px;
  top: 16px;
  width: 30px;
  height: 20px;
  background: var(--gold);
  border-radius: 0 4px 4px 0;
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 28% 100%, 0 50%);
}

.icon-sell::after {
  left: 18px;
  top: 23px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
}

/* Door */
.icon-let::before {
  left: 17px;
  top: 11px;
  width: 18px;
  height: 30px;
  background: var(--gold);
  border-radius: 9px 9px 2px 2px;
}

.icon-let::after {
  left: 29px;
  top: 27px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--navy);
}

/* About */
.about-grid {
  display: grid;
  gap: 40px;
  align-items: start;
}

.about-copy p { color: var(--muted); max-width: 38rem; }

.facts {
  margin: 0;
  padding: 8px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.facts div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.facts div:last-child { border-bottom: 0; }

.facts dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.facts dd {
  margin: 4px 0 0;
  font-weight: 500;
  color: var(--ink);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 36px;
  align-items: stretch;
}

.address-card {
  margin: 0 0 24px;
  padding: 22px 24px;
  font-style: normal;
  font-size: 1.1rem;
  line-height: 1.7;
  background: var(--ivory);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.address-label {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
}

.contact-copy .btn-primary {
  background: var(--navy);
  color: #fff;
}

.contact-copy .btn-primary:hover { background: var(--navy-soft); }

.map-wrap {
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

/* Footer */
.site-footer {
  padding: 48px 0 36px;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-top p { margin: 0; }

.footer-brand {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
}

.legal {
  max-width: 60rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
}

.copyright {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.62);
}

/* Mobile */
@media (max-width: 767px) {
  .nav-toggle { display: inline-block; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav.is-open { display: block; }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 16px;
  }

  .site-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
  }

  .brand-name { font-size: 1.1rem; }

  .hero { padding: 52px 0 130px; }

  .hero-actions .btn { flex: 1 1 auto; }

  .hero-card { padding: 22px; }

  .section { padding: 60px 0; }
}

@media (max-width: 400px) {
  .hero-card dl { grid-template-columns: 1fr; gap: 16px; }
}

/* Tablet */
@media (min-width: 768px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero { padding: 96px 0 170px; }
  .hero-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; }
  .skyline { height: 130px; }
  .about-grid { grid-template-columns: 1.2fr 1fr; gap: 64px; }
  .contact-grid { grid-template-columns: 1fr 1.4fr; gap: 56px; }
  .card { padding: 34px 32px; }
}
