:root {
  --navy: #1d3d7c;
  --navy-dark: #112958;
  --blue: #0071ba;
  --gold: #9a7328;
  --gold-bright: #c39a4a;
  --ink: #1a2740;
  --muted: #5b6575;
  --cream: #f5f2eb;
  --pale-blue: #edf5fa;
  --white: #fff;
  --line: #d9e0e8;
  --shadow: 0 18px 50px rgba(17, 41, 88, .14);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Montserrat, "Avenir Next", Avenir, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  background: var(--white);
  color: var(--navy);
  padding: .75rem 1rem;
  border-radius: 0 0 .35rem .35rem;
}
.skip-link:focus { top: 0; }

.announcement {
  background: var(--navy-dark);
  color: var(--white);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.announcement .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  gap: 1rem;
}
.announcement a { text-decoration: none; }
.announcement a:hover { color: #e8c985; }

.wrap { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(29, 61, 124, .12);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: grid;
  grid-template-columns: 250px 1fr auto;
  align-items: center;
  min-height: 86px;
  gap: 2rem;
}
.brand img { width: 230px; height: auto; }
.nav-list { display: flex; align-items: center; justify-content: center; gap: 1.3rem; margin: 0; padding: 0; list-style: none; }
.nav-list a {
  position: relative;
  color: var(--navy);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.65rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: .55rem; }
.menu-toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .8rem 1.25rem;
  border: 2px solid var(--navy);
  border-radius: 2px;
  background: var(--navy);
  color: var(--white);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--navy-dark); transform: translateY(-1px); }
.btn.gold { background: var(--gold); border-color: var(--gold); }
.btn.gold:hover { background: #7d5b1a; }
.btn.outline { background: transparent; color: var(--navy); }
.btn.outline:hover { background: var(--navy); color: var(--white); }
.btn.light { border-color: var(--white); background: transparent; color: var(--white); }
.btn.light:hover { background: var(--white); color: var(--navy); }
.text-link { color: var(--gold); font-weight: 800; letter-spacing: .06em; text-decoration-thickness: 1px; text-underline-offset: .35rem; text-transform: uppercase; font-size: .8rem; }

.hero {
  min-height: min(76vh, 760px);
  display: grid;
  place-items: center;
  position: relative;
  background: linear-gradient(90deg, rgba(9, 27, 62, .74), rgba(9, 27, 62, .16)), url('/assets/images/hero.jpg') center/cover no-repeat;
  color: var(--white);
}
.hero-content { width: min(calc(100% - 2.5rem), var(--max)); padding: 6rem 0; }
.eyebrow { margin: 0 0 .8rem; color: var(--gold-bright); font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero h1, .page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .98;
}
.hero p { max-width: 600px; margin: 1.5rem 0 2rem; font-size: clamp(1rem, 2vw, 1.2rem); }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-badge {
  position: absolute;
  right: 4vw;
  bottom: -52px;
  width: 132px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 8px solid rgba(255,255,255,.75);
  border-radius: 50%;
  background: var(--gold);
  color: white;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}

.section { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.section.compact { padding-block: 3.5rem; }
.section.blue { background: var(--navy); color: var(--white); }
.section.pale { background: var(--pale-blue); }
.section.cream { background: var(--cream); }
.section-head { max-width: 780px; margin-bottom: 2.2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section h2, .content-panel h2 {
  margin: 0 0 1rem;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.08;
}
.section.blue h2, .section.blue .eyebrow { color: var(--white); }
.section p { max-width: 72ch; }
.lead { font-size: 1.12rem; line-height: 1.8; }

.intro-grid { display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: clamp(2.5rem, 6vw, 6rem); }
.image-stack { position: relative; min-height: 560px; }
.image-stack .primary { width: 78%; height: 500px; object-fit: cover; margin-left: auto; box-shadow: var(--shadow); }
.image-stack .secondary { position: absolute; left: 0; bottom: 0; width: 48%; aspect-ratio: 1; object-fit: cover; border: 12px solid var(--white); box-shadow: var(--shadow); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.3); }
.feature-card { min-height: 320px; padding: 2.25rem; display: flex; flex-direction: column; justify-content: end; position: relative; overflow: hidden; background: var(--navy-dark); color: white; text-decoration: none; }
.feature-card::before { content: ""; position: absolute; inset: 0; background: var(--card-image) center/cover; transition: transform .5s ease; }
.feature-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 20%, rgba(8,24,55,.86)); }
.feature-card:hover::before { transform: scale(1.04); }
.feature-card > * { position: relative; z-index: 1; }
.feature-card h3 { margin: 0 0 .4rem; font-family: Georgia, serif; font-size: 2rem; font-weight: 400; }
.feature-card span { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.amenity-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.wide-photo { min-height: 520px; background: url('/assets/images/pool-wide.jpg') center/cover; }
.bullet-list { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem 1.8rem; margin: 1.7rem 0 2.2rem; padding: 0; list-style: none; }
.bullet-list li { position: relative; padding-left: 1.3rem; }
.bullet-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }

.photo-strip { display: grid; grid-template-columns: 1.35fr .9fr .9fr; gap: .75rem; }
.photo-strip img { width: 100%; height: 360px; object-fit: cover; }

.cta-band { background: var(--gold); color: var(--white); }
.cta-inner { min-height: 230px; display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.cta-inner h2 { color: var(--white); margin: 0; max-width: 720px; }

.page-hero {
  min-height: 360px;
  display: grid;
  align-items: end;
  position: relative;
  background: linear-gradient(90deg, rgba(10,30,68,.78), rgba(10,30,68,.18)), var(--hero-image, url('/assets/images/aerial.jpg')) center/cover;
  color: var(--white);
}
.page-hero .wrap { padding: 5.5rem 0 3.5rem; }
.page-hero h1 { max-width: 960px; font-size: clamp(2.8rem, 6vw, 5.3rem); }
.breadcrumbs { margin-bottom: .6rem; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 4rem; align-items: start; }
.content-panel { max-width: 820px; }
.side-card { padding: 2rem; background: var(--navy); color: var(--white); box-shadow: var(--shadow); }
.side-card h3 { margin-top: 0; font-family: Georgia, serif; font-size: 1.8rem; font-weight: 400; }
.side-card a:not(.btn) { color: white; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.info-card { padding: 2rem; border: 1px solid var(--line); background: var(--white); }
.info-card h3 { color: var(--navy); font-family: Georgia, serif; font-size: 1.55rem; font-weight: 400; margin: 0 0 .7rem; }
.icon-mark { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 1.2rem; background: var(--pale-blue); color: var(--navy); font-size: 1.4rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 145px; gap: .75rem; }
.gallery-item { grid-column: span 4; grid-row: span 2; padding: 0; border: 0; background: none; cursor: pointer; overflow: hidden; }
.gallery-item.wide { grid-column: span 8; }
.gallery-item.tall { grid-row: span 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.035); }

.lightbox { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 2rem; background: rgba(4,13,32,.94); }
.lightbox.open { display: grid; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 82vh; object-fit: contain; }
.lightbox button { position: absolute; top: 1.2rem; right: 1.2rem; width: 48px; height: 48px; border: 1px solid white; background: transparent; color: white; font-size: 1.8rem; cursor: pointer; }

.filter-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.filter-btn { padding: .65rem 1rem; border: 1px solid var(--navy); background: white; color: var(--navy); font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.filter-btn.active { background: var(--navy); color: white; }
.floor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.floor-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: white; }
.floor-card img { width: 100%; height: 260px; object-fit: contain; padding: 1.4rem; background: #fafbfc; }
.floor-card-body { padding: 1.45rem; }
.floor-card h3 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: 2rem; font-weight: 400; }
.floor-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin: .55rem 0 .8rem; color: var(--muted); font-size: .86rem; }
.rent { color: var(--navy); font-size: 1.06rem; font-weight: 800; }
.availability { display: inline-block; margin-top: .4rem; color: #267047; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.availability.call { color: var(--gold); }
.snapshot-note { margin-top: 1.5rem; color: var(--muted); font-size: .85rem; }

.tour-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.tour-card { border: 1px solid var(--line); background: white; overflow: hidden; }
.tour-card iframe { width: 100%; height: 360px; border: 0; }
.tour-card div { padding: 1.2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.tour-card h3 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: 1.45rem; font-weight: 400; }

.map-frame { width: 100%; height: 480px; border: 0; box-shadow: var(--shadow); }
.contact-list { margin: 1.2rem 0; padding: 0; list-style: none; }
.contact-list li { margin: .7rem 0; }
.contact-list a { color: inherit; }
.external-form { min-height: 620px; width: 100%; border: 1px solid var(--line); background: white; }

.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.84); }
.footer-main { display: grid; grid-template-columns: 1.15fr .75fr .75fr; gap: 4rem; padding-block: 4rem; }
.footer-logo { width: 260px; margin-bottom: 1.4rem; filter: brightness(0) invert(1); }
.footer-main h3 { margin: 0 0 1rem; color: white; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: .55rem 0; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #e8c985; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); padding: 1.2rem 0; font-size: .78rem; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 1rem; }

.notice { padding: 1rem 1.2rem; border-left: 4px solid var(--gold); background: var(--cream); }
.policy { max-width: 780px; }
.policy h2 { margin-top: 2.5rem; font-size: 2rem; }

@media (max-width: 1080px) {
  .header-inner { grid-template-columns: 220px auto; }
  .site-nav {
    position: fixed;
    inset: 123px 0 0;
    display: none;
    overflow-y: auto;
    background: var(--white);
    padding: 2rem;
  }
  .site-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
  .nav-list a::after { display: none; }
  .header-actions { justify-self: end; }
  .menu-toggle { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1px solid var(--navy); background: transparent; color: var(--navy); font-size: 1.3rem; cursor: pointer; }
  .header-actions .phone { display: none; }
}

@media (max-width: 820px) {
  .announcement .wrap { justify-content: center; }
  .announcement .address { display: none; }
  .header-inner { min-height: 76px; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; }
  .brand img { width: min(220px, 52vw); }
  .site-nav { inset-block-start: 112px; }
  .header-actions .apply { display: none; }
  .hero { min-height: 660px; background-position: 57% center; }
  .hero-badge { width: 108px; right: 1.2rem; bottom: -44px; border-width: 6px; font-size: .64rem; }
  .intro-grid, .amenity-split, .content-grid { grid-template-columns: 1fr; }
  .image-stack { min-height: 460px; }
  .image-stack .primary { height: 410px; }
  .feature-grid, .cards, .floor-grid { grid-template-columns: 1fr 1fr; }
  .feature-card:last-child { grid-column: 1 / -1; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip img:first-child { grid-column: 1 / -1; }
  .cta-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 3rem; }
  .gallery-item { grid-column: span 6; }
  .gallery-item.wide { grid-column: span 12; }
  .tour-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .wrap, .hero-content { width: min(calc(100% - 1.5rem), var(--max)); }
  .announcement { font-size: .7rem; }
  .hero { min-height: 600px; }
  .hero h1 { font-size: 3.1rem; }
  .section { padding-block: 4rem; }
  .image-stack { min-height: 390px; }
  .image-stack .primary { height: 350px; width: 88%; }
  .image-stack .secondary { width: 52%; border-width: 7px; }
  .feature-grid, .cards, .floor-grid { grid-template-columns: 1fr; }
  .feature-card:last-child { grid-column: auto; }
  .photo-strip { grid-template-columns: 1fr; }
  .photo-strip img, .photo-strip img:first-child { grid-column: auto; height: 300px; }
  .bullet-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-auto-rows: 110px; }
  .gallery-item, .gallery-item.wide { grid-column: span 12; }
  .tour-card iframe { height: 280px; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .footer-main > :first-child { grid-column: auto; }
  .footer-bottom .wrap { flex-direction: column; }
}

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

/* Contact form */
.lead-form { display: grid; gap: 1.1rem; margin-top: 1.5rem; padding: 2rem; background: var(--pale-blue, #eef2f8); }
.lead-form label { display: grid; gap: .4rem; font-weight: 700; color: var(--navy); font-size: .95rem; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; box-sizing: border-box; min-height: 48px; padding: .7rem .9rem; border: 1px solid #8a94a8; background: #fff; color: #1f2633; font-weight: 400; }
.lead-form textarea { min-height: 140px; resize: vertical; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 3px solid var(--gold-bright); outline-offset: 1px; }
.lead-form .form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.1rem; }
.lead-form button { justify-self: start; cursor: pointer; }
.lead-form button:disabled { opacity: .6; cursor: wait; }
.form-status { margin: 0; min-height: 1.5em; font-weight: 700; color: var(--navy); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
