/* ── Reset & Variables ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:    #F7F2EA;
  --cream-dk: #EDE4D5;
  --stone:    #D6CBBB;
  --stone-dk: #B8AFA3;
  --brown:    #7A4E30;
  --brown-lt: #9C6B44;
  --gold:     #B8863A;
  --gold-lt:  #CFA355;
  --moss:     #5F6B45;
  --moss-lt:  #78815C;
  --charcoal: #241F1A;
  --char-lt:  #342D26;
  --text:     #332920;
  --text-dim: #5C4F45;
  --text-lt:  #F0EBE3;
  --white:    #FDFAF6;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', -apple-system, sans-serif;
  --max-w: 1200px;
  --radius: 6px;
  --shadow: 0 4px 24px rgba(36,31,26,0.12);
  --shadow-lg: 0 12px 48px rgba(36,31,26,0.2);
  --ease: 200ms ease-out;
}

html { scroll-behavior: smooth; font-size: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a  { text-decoration: none; color: inherit; }

/* ── Utilities ── */
.container        { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 40px; }
.section          { padding: 100px 0; }
.section-cream    { background: var(--cream); }
.section-dark     { background: var(--charcoal); }
.section-stone    { background: var(--cream-dk); }

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 16px;
}
.eyebrow-light { color: var(--gold-lt); }

h1, h2, h3 { font-family: var(--font-serif); line-height: 1.2; font-weight: 400; }

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--charcoal);
  margin-bottom: 20px;
}
h2.light { color: var(--text-lt); }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 600px;
  margin-bottom: 60px;
}
.section-sub.light { color: var(--stone-dk); }

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}
.btn-light         { background: var(--white); color: var(--charcoal); }
.btn-light:hover   { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--charcoal); }
.btn-dark          { background: var(--charcoal); color: var(--text-lt); }
.btn-dark:hover    { background: var(--char-lt); }
.btn-gold          { background: var(--gold); color: var(--charcoal); }
.btn-gold:hover    { background: var(--gold-lt); }
.btn-submit        { background: var(--brown); color: var(--white); font-size: 14px; padding: 16px 40px; width: 100%; border: none; cursor: pointer; transition: background var(--ease); }
.btn-submit:hover  { background: var(--brown-lt); }

/* ── Navigation ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
  padding: 0 40px;
}

#nav.scrolled {
  background: var(--charcoal);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.02em;
}

.logo-mark {
  color: var(--gold);
  font-size: 1.1rem;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--charcoal) !important;
  padding: 9px 22px;
  border-radius: var(--radius);
  font-size: 12px !important;
  font-weight: 600 !important;
  transition: background var(--ease) !important;
}
.nav-cta:hover { background: var(--gold-lt) !important; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.25s;
}

/* ── Hero ── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-wrap {
  position: absolute;
  inset: 0;
}

.hero-img { object-position: center 40%; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(25,20,15,0.25) 0%,
    rgba(25,20,15,0.55) 50%,
    rgba(25,20,15,0.75) 100%
  );
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
  max-width: 860px;
}

.hero-pre {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-hint span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

/* ── About ── */
#about .container-narrow {
  text-align: center;
  margin-bottom: 60px;
}

#about h2 { margin-bottom: 24px; }

#about .lead {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--charcoal);
  line-height: 1.65;
  margin-bottom: 16px;
}

#about p { color: var(--text-dim); font-size: 1.05rem; }

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--stone);
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  overflow: hidden;
}

.about-stat {
  background: var(--white);
  padding: 36px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--brown);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ── Apartments ── */
#apartments { padding-bottom: 120px; }
#apartments .container { text-align: center; margin-bottom: 0; }
#apartments h2 { margin-bottom: 16px; }

.apt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 60px;
  align-items: start;
}

.apt-card {
  background: var(--char-lt);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}
.apt-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.apt-card-featured {
  background: #2a2318;
  border: 1px solid var(--gold);
}

.apt-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.apt-img-wrap img { transition: transform 0.5s ease; }
.apt-card:hover .apt-img-wrap img { transform: scale(1.04); }

.apt-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--charcoal);
  color: var(--stone-dk);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}

.apt-badge-gold {
  background: var(--gold);
  color: var(--charcoal);
  font-weight: 600;
}

.apt-body { padding: 28px 28px 32px; }

.apt-body h3 {
  font-size: 1.5rem;
  color: var(--text-lt);
  margin-bottom: 10px;
}

.apt-meaning { font-style: italic; color: var(--stone-dk); font-size: 1.1rem; }

.apt-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.apt-meta span {
  font-size: 12.5px;
  color: var(--stone-dk);
  letter-spacing: 0.02em;
}

.apt-body p {
  font-size: 0.95rem;
  color: rgba(240,235,227,0.72);
  margin-bottom: 18px;
  line-height: 1.7;
}

.apt-features {
  list-style: none;
  margin-bottom: 28px;
  padding: 0;
}

.apt-features li {
  font-size: 13px;
  color: var(--stone-dk);
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  gap: 8px;
}

.apt-features li::before {
  content: '—';
  color: var(--gold);
  flex-shrink: 0;
}

.apt-features li:last-child { border-bottom: none; }

/* ── Facilities ── */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.facility-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--ease);
}
.facility-card:hover { transform: translateY(-4px); }

.facility-img { height: 220px; overflow: hidden; }
.facility-img img { transition: transform 0.5s ease; }
.facility-card:hover .facility-img img { transform: scale(1.04); }

.facility-body { padding: 28px; }

.facility-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.facility-body h3 {
  font-size: 1.4rem;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.facility-body p {
  font-size: 0.95rem;
  color: var(--text-dim);
  margin-bottom: 16px;
  line-height: 1.7;
}

.facility-body ul { list-style: none; padding: 0; }
.facility-body li {
  font-size: 13.5px;
  color: var(--text-dim);
  padding: 6px 0;
  border-bottom: 1px solid var(--cream-dk);
  display: flex;
  align-items: center;
  gap: 8px;
}
.facility-body li::before { content: '✓'; color: var(--moss); font-weight: 600; }
.facility-body li:last-child { border-bottom: none; }

/* ── Location ── */
.location-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.location-text h2 { margin-bottom: 20px; }
.location-text p { color: var(--text-dim); font-size: 1rem; margin-bottom: 14px; }

.location-distances {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--stone);
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 32px 0;
}

.dist-item {
  background: var(--white);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dist-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--brown);
  font-weight: 300;
  line-height: 1;
}

.dist-label {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.location-highlights h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 12px;
}

.location-highlights ul { list-style: none; padding: 0; }
.location-highlights li {
  font-size: 0.94rem;
  color: var(--text-dim);
  padding: 8px 0 8px 14px;
  border-bottom: 1px solid var(--stone);
  border-left: 2px solid var(--moss);
  line-height: 1.55;
}
.location-highlights li:last-child { border-bottom: none; }
.location-highlights strong { color: var(--text); }

.location-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 560px;
  box-shadow: var(--shadow-lg);
}

.location-img-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(30,20,10,0.75));
  color: rgba(255,255,255,0.75);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  padding: 40px 20px 16px;
  font-style: italic;
}

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 12px;
  margin-top: 48px;
}

.g-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.g-item img {
  transition: transform 0.5s ease, filter 0.3s ease;
  filter: brightness(0.9);
}

.g-item:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}

.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

/* ── Contact Form ── */
#contact { text-align: center; }
#contact .container-narrow h2 { margin-bottom: 16px; }

.lead {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-dim);
  margin-bottom: 48px;
  line-height: 1.7;
}

.enquiry-form {
  text-align: left;
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group-full { margin-bottom: 28px; }

label {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

input, select, textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text);
  background: var(--cream);
  border: 1.5px solid var(--stone);
  border-radius: var(--radius);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--brown);
  background: var(--white);
}

textarea { resize: vertical; min-height: 100px; }

.form-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 16px;
}

/* ── Footer ── */
#footer {
  background: var(--charcoal);
  color: var(--text-lt);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding-top: 60px;
  padding-bottom: 48px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-brand span {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--stone-dk);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: var(--stone-dk);
  transition: color 0.2s;
  letter-spacing: 0.06em;
}
.footer-links a:hover { color: var(--gold-lt); }

.footer-contact p {
  font-size: 12px;
  color: var(--stone-dk);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.footer-contact a {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-lt);
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--gold-lt); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 40px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--stone-dk);
}

/* ── Scroll-reveal (base state set inline by script.js) ── */
.visible { opacity: 1 !important; transform: translateY(0) !important; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .apt-grid { grid-template-columns: 1fr 1fr; }
  .apt-card:last-child { grid-column: span 2; }
  .facilities-grid { grid-template-columns: 1fr 1fr; }
  .location-inner { grid-template-columns: 1fr; gap: 48px; }
  .location-img-wrap { height: 400px; }
  .about-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { font-size: 15px; }
  .container, .container-narrow { padding: 0 24px; }
  .section { padding: 72px 0; }

  #nav { padding: 0 24px; }

  .burger { display: flex; }

  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--charcoal);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0 24px;
    transform: translateY(calc(-100% - 72px));
    transition: transform var(--ease);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    pointer-events: none;
  }

  .nav-links.open { transform: translateY(0); pointer-events: auto; }
  .nav-links li a { padding: 14px 32px; font-size: 14px; }
  .nav-cta { margin: 8px 32px 0; padding: 12px 24px !important; text-align: center; }

  .hero-content h1 { font-size: 2.6rem; }

  .apt-grid           { grid-template-columns: 1fr; }
  .apt-card:last-child { grid-column: auto; }
  .facilities-grid    { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }
  .g-wide { grid-column: span 2; }
  .g-tall { grid-row: auto; }

  .form-row { grid-template-columns: 1fr; }
  .enquiry-form { padding: 28px 24px; }

  .footer-inner { flex-direction: column; gap: 32px; }
  .about-grid { grid-template-columns: 1fr 1fr; }

  .location-distances { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .g-wide { grid-column: auto; }
  .about-grid { grid-template-columns: 1fr; }
}
