/* ==========================================================================
   Design System
   ========================================================================== */
:root {
  --navy: #1a3a52;
  --navy-dark: #122a3d;
  --gold: #c9a961;
  --gold-dark: #ad8e47;
  --cream: #faf6ef;
  --cream-2: #f3ede1;
  --white: #ffffff;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e7e2d7;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 12px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 25px 60px rgba(15, 23, 42, .12);

  --container: 1200px;

  --font-serif: 'Prata', 'Times New Roman', Georgia, Cambria, Times, serif;
  --font-sans: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-script: 'Meow Script', 'Brush Script MT', cursive;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  margin: 0 0 .6em;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }

p { margin: 0 0 1em; color: var(--ink); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin: 0 0 1rem;
  display: inline-block;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #e8eef3; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: #cdd6df; }

.text-center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.center { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--navy-dark); }
.btn-primary:hover { background: var(--gold-dark); color: var(--white); }
.btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-secondary:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost { background: transparent; color: var(--gold-dark); padding: 8px 0; border-radius: 0; }
.btn-ghost:hover { color: var(--navy); }
.btn-ghost::after {
  content: '→';
  margin-left: 2px;
  transition: transform .2s ease;
}
.btn-ghost:hover::after { transform: translateX(4px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -.01em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
}
.brand-mark svg { width: 18px; height: 18px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: .94rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -28px;
  height: 2px;
  background: var(--gold);
}
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
  transition: transform .25s ease, opacity .25s ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(115deg, rgba(18,42,61,.78) 0%, rgba(18,42,61,.45) 55%, rgba(18,42,61,.25) 100%),
    var(--hero-bg, url('../images/hero-home.webp'));
  background-size: cover;
  background-position: center;
  z-index: -1;
}
.hero-inner {
  padding: 120px 0;
  max-width: 760px;
}
.hero h1 { color: var(--white); margin-bottom: 16px; }
.hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,.92);
  max-width: 56ch;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Page hero (subpages) */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 110px 0 80px;
  position: relative;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,.85); max-width: 60ch; }
.page-hero .eyebrow { color: var(--gold); }

/* Sections — generic */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
@media (max-width: 980px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse > :first-child { order: 0; }
}
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media {
  aspect-ratio: 4/3;
  background: var(--cream-2);
  background-size: cover;
  background-position: center;
}
.card-body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-body h3 { margin-bottom: 6px; }
.card-meta {
  font-size: .85rem;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 600;
  margin-bottom: 12px;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}
.tag {
  font-size: .75rem;
  background: var(--cream);
  color: var(--navy);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 500;
  letter-spacing: .02em;
}
.card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.price { color: var(--navy); font-weight: 600; font-size: .95rem; }
.price small { color: var(--muted); font-weight: 400; }

/* Lifestyle/icon cards */
.feature {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature-icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-2) 100%);
  display: grid; place-items: center;
  color: var(--navy);
}
.feature-icon svg { width: 30px; height: 30px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }

/* Testimonials */
.tcard {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--line);
  position: relative;
}
.tcard::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--gold);
  position: absolute;
  top: -10px; left: 22px;
  line-height: 1;
  opacity: .35;
}
.tcard p {
  font-style: italic;
  color: var(--ink);
  font-size: 1.02rem;
  margin-bottom: 22px;
}
.tcard .who {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--navy);
}
.tcard .who-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  display: grid; place-items: center;
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 700;
}
.tcard .who-meta { font-size: .85rem; font-weight: 400; color: var(--muted); }

/* Awards/recognition */
.awards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 36px;
}
.award {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.award-badge {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #e8c780 0%, var(--gold) 50%, var(--gold-dark) 100%);
  display: grid; place-items: center;
  color: var(--navy-dark);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.4);
}
.award-text { font-size: .9rem; }
.award-text strong { display: block; color: var(--navy); }
.award-text span { color: var(--muted); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #243f56 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: '';
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,97,.25), transparent 65%);
  top: -120px; right: -120px;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,.85); max-width: 56ch; margin: 0 auto 28px; }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #cdd6df;
  padding: 80px 0 28px;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: #cdd6df; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand p { color: #9ba8b6; max-width: 36ch; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: #8b97a4;
  font-size: .85rem;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.07);
  color: var(--white);
  transition: background .2s ease;
}
.footer-social a:hover { background: var(--gold); color: var(--navy-dark); }
.footer-social svg { width: 16px; height: 16px; }

/* Forms */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,169,97,.18);
}
.field textarea { min-height: 140px; resize: vertical; }
.fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .fields-row { grid-template-columns: 1fr; } }

/* Contact info */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.info-list li:last-child { border-bottom: 0; }
.info-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--cream);
  display: grid; place-items: center;
  color: var(--navy);
  flex-shrink: 0;
}
.info-icon svg { width: 18px; height: 18px; }
.info-text strong { display: block; color: var(--navy); margin-bottom: 2px; }
.info-text span { color: var(--muted); font-size: .94rem; }

/* Mobile nav */
@media (max-width: 920px) {
  .nav-links {
    position: fixed;
    inset: 76px 0 auto 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    transition: transform .3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: none; padding-top: 12px; }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-links a.active::after { display: none; }
  .nav-toggle { display: block; }
  .nav-cta-desktop { display: none; }
}

/* Filter bar */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
.filter-pill {
  background: var(--white);
  border: 1.5px solid var(--line);
  color: var(--ink);
  padding: 10px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}
.filter-pill:hover { border-color: var(--gold); color: var(--navy); }
.filter-pill.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Community card link wrapper */
.community-card a { color: inherit; }
.community-card .btn-ghost { color: var(--gold-dark); }

/* Gallery grid for community pages */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery > * {
  aspect-ratio: 1/1;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery > *:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: 1/1; }
@media (max-width: 720px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery > *:nth-child(1) { grid-column: span 2; grid-row: auto; }
}

/* Amenities list */
.amenities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 720px) { .amenities { grid-template-columns: 1fr 1fr; } }
.amenities li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .94rem;
}
.amenities li::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }
.team-member { text-align: center; }
.team-photo {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  margin-bottom: 14px;
  background-color: var(--cream-2);
}
.team-member h3 { font-size: 1.05rem; margin-bottom: 2px; font-family: var(--font-sans); }
.team-member p { color: var(--muted); font-size: .9rem; margin: 0; }
.team-member .role { color: var(--gold-dark); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; }

/* Affiliations */
.affil {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 720px) { .affil { grid-template-columns: 1fr 1fr; } }
.affil > div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.affil h4 { font-family: var(--font-sans); font-size: .95rem; margin-bottom: 4px; color: var(--navy); }
.affil p { color: var(--muted); font-size: .85rem; margin: 0; }

/* Helpers */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.flex { display: flex; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.wrap { flex-wrap: wrap; }
