/* ============================================================
   FORTERA HOMES — styles.css
   ============================================================ */

/* --- Variables -------------------------------------------- */
:root {
  --charcoal: #1c1a18;
  --bronze:   #b2977d;
  --cream:    #f5f0eb;
  --blush:    #ede5de;
  --white:    #ffffff;
  --nav-h:    72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

/* --- Utilities --------------------------------------------- */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 4rem;
}

.text-center { text-align: center; }

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  display: block;
}

.section-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 7vw, 8rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 0.9;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 0;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-outline--dark {
  border: 1px solid var(--charcoal);
  background: transparent;
  color: var(--charcoal);
  padding: 0.85rem 1.75rem;
}
.btn-outline--dark:hover {
  background: var(--charcoal);
  color: var(--white);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--cream);
  border-bottom: 1px solid rgba(28,26,24,0.1);
  z-index: 200;
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  position: relative;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 120px;
}

.nav-lang {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-ig {
  color: var(--charcoal);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.nav-ig:hover { color: var(--bronze); }

.nav-chevron { font-size: 0.55rem; }

.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1c1a18;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1;
}
.nav-logo:hover { color: #1c1a18; }

.nav-logo {
  animation: logoEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

@keyframes logoEntrance {
  0% {
    opacity: 0;
    letter-spacing: 0.4em;
    filter: blur(8px);
  }
  60% {
    opacity: 1;
    filter: blur(0px);
  }
  100% {
    opacity: 1;
    letter-spacing: 0.04em;
    filter: blur(0px);
  }
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 120px;
  justify-content: flex-end;
}

.nav-menu-btn {
  background: none;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
}
.menu-icon { font-size: 1rem; }

/* ============================================================
   NAV OVERLAY (full-screen)
   ============================================================ */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8vw;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 0.5s;
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 0s;
}

.nav-overlay-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  border-bottom: 1px solid rgba(245,240,235,0.08);
}

.nav-overlay-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cream);
  text-transform: uppercase;
  line-height: 1;
}

.nav-overlay-close {
  background: none;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s;
  padding: 0;
}
.nav-overlay-close:hover { opacity: 1; }
.nav-overlay-close span { font-size: 1rem; }

.nav-overlay-nav {
  display: flex;
  flex-direction: column;
}

.nav-overlay-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 6vw, 6.5rem);
  font-weight: 700;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-decoration: none;
  position: relative;
  display: inline-block;

  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.2s ease;
  transition-delay: 0s;
}

.nav-overlay.open .nav-overlay-link {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--i) * 0.07s + 0.15s);
}

.nav-overlay-link:hover { color: var(--bronze); }

.nav-overlay-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bronze);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-overlay-link:hover::after { width: 100%; }

.nav-overlay-footer {
  position: absolute;
  bottom: 2.5rem;
  left: 8vw;
  right: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,240,235,0.28);
}

.nav-overlay-ig {
  color: rgba(245,240,235,0.35);
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: color 0.2s;
}
.nav-overlay-ig:hover { color: var(--bronze); }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--cream);
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 0;
}

.hero-content {
  text-align: center;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  padding: 0 4rem;
}

.hero-content .section-label {
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 8vw, 9rem);
  font-weight: 700;
  color: var(--charcoal);
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.hero-title-sub {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #1c1a18;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.hero-address {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  text-align: center;
}

.hero-address-underlined {
  text-decoration: underline;
  text-decoration-color: var(--bronze);
  text-underline-offset: 3px;
}

.hero-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: rgba(28,26,24,0.65);
  max-width: 860px;
  margin-bottom: 2.5rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
  text-align: center;
}

.hero-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  gap: 2rem;
}

.hero-stats {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b2977d;
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

/* Hero image */
.hero-image-wrap {
  width: 100%;
  max-width: 900px;
  margin: 2.5rem auto 0;
  overflow: hidden;
  position: relative;
}

.hero-tap-viewer {
  position: relative;
  width: 100%;
  height: 620px;
  cursor: pointer;
  overflow: hidden;
}

.hero-tap-img {
  width: 100%;
  height: 100%;
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  object-position: center center;
}

.hero-tap-img.active {
  display: block;
  animation: heroSwapIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-image-wrap {
    width: 100vw;
    max-width: 100%;
    margin-left: calc(-50vw + 50%);
    margin-top: 2.5rem;
  }

  .hero-tap-viewer {
    position: relative;
    width: 100%;
    height: auto;
    cursor: pointer;
    overflow: hidden;
  }

  .hero-tap-img {
    width: 100%;
    height: auto;
    display: none;
    position: relative;
    top: auto;
    left: auto;
    object-fit: unset;
  }

  .hero-tap-img.active {
    display: block;
  }

  .hero-tap-hint {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
  }
}

@keyframes heroSwapIn {
  0% { opacity: 0; transform: scale(1.03); }
  100% { opacity: 1; transform: scale(1); }
}

.hero-tap-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  animation: hintPulse 1.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 10;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.tap-hint-icon {
  font-size: 2rem;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  animation: hintBounce 1.2s ease-in-out infinite;
}

.tap-hint-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: white;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
  background: rgba(0,0,0,0.25);
  padding: 0.35rem 0.85rem;
  backdrop-filter: blur(4px);
}

@keyframes hintBounce {
  0%, 100% { transform: translateX(0); }
  30% { transform: translateX(-8px); }
  70% { transform: translateX(8px); }
}

@keyframes hintPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}


/* Shared arrow styles (features slider) */
.img-arrow {
  position: absolute;
  top: 0;
  transform: none;
  height: 100%;
  width: 60px;
  background: rgba(255,255,255,0.45);
  border: none;
  color: var(--charcoal);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}
.img-arrow:hover { background: rgba(255,255,255,0.65); }
.img-arrow--left  { left: 0; }
.img-arrow--right { right: 0; }


.img-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--white);
  z-index: 2;
  white-space: nowrap;
}

/* ============================================================
   THE DEVELOPMENT
   ============================================================ */
.section-development {
  background: var(--cream);
  padding: 5rem 0;
}

.section-development .section-label { margin-bottom: 1rem; }
.section-development .section-h2 { margin-bottom: 3rem; }

/* Filter tabs */
.unit-filter-tabs,
.unit-filters {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.unit-filter-tab {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b2977d;
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.25rem;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.unit-filter-tab:active {
  transform: scale(0.95);
}

.unit-filter-tab.active {
  color: #1c1a18;
  border-bottom: 1px solid #1c1a18;
}

/* Units grid */
.units-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto 4rem;
}

.unit-card {
  border: 1px solid rgba(28,26,24,0.12);
  background: white;
  display: flex;
  flex-direction: column;
}

.unit-card-top {
  padding: 1.25rem;
  flex: 1;
}

.unit-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1c1a18;
  margin-bottom: 0.25rem;
  letter-spacing: 0.01em;
  line-height: 1;
}

.unit-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b2977d;
  margin-bottom: 0.75rem;
}

.unit-specs-row {
  display: flex;
  justify-content: space-between;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1c1a18;
  margin-bottom: 1.5rem;
}

.unit-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b2977d;
}

.unit-floorplan {
  width: 100%;
  height: 180px;
  background: #f5f0eb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.unit-floorplan svg {
  width: 100%;
  height: 100%;
  max-height: 180px;
}

.unit-card-bottom {
  border-top: 1px solid rgba(28,26,24,0.1);
  padding: 1rem 1.25rem;
  text-align: center;
}

.unit-cta {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1c1a18;
  text-decoration: none;
}
.unit-cta:hover { color: #b2977d; }

/* ============================================================
   FEATURES
   ============================================================ */
.section-features { overflow-x: clip; }

/* Photo grid + lightbox */
.photo-grid {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.photo-grid-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.photo-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.photo-grid-item:hover img {
  transform: scale(1.04);
}

.photo-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.photo-lightbox.active {
  display: flex;
}

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 2;
}
.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.3); }

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Feature list */
.features-list-section {
  background: var(--blush);
  padding: 4rem 0;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 4rem;
  max-width: 700px;
  width: 100%;
  margin: 0 0 3rem 0;
  padding: 0;
}

.feature-item {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: #1c1a18;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

/* ============================================================
   SUITE FEATURES (development page)
   ============================================================ */
.section-suite-features {
  background: var(--charcoal);
  padding: 5rem 0;
}

.suite-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.suite-feature-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(178,151,125,0.2);
  padding: 2.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  cursor: default;
  /* deal-in starting state */
  opacity: 0;
  transform: translateY(28px) scale(0.96);
}

.suite-feature-item:hover {
  background: rgba(178,151,125,0.12);
  border-color: rgba(178,151,125,0.6);
  transform: translateY(-5px) scale(1);
}

.suite-features-grid.dealing .suite-feature-item {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.45s ease, transform 0.45s ease, background 0.3s ease, border-color 0.3s ease;
}

/* stagger each card */
.suite-features-grid.dealing .suite-feature-item:nth-child(1) { transition-delay: 0ms; }
.suite-features-grid.dealing .suite-feature-item:nth-child(2) { transition-delay: 70ms; }
.suite-features-grid.dealing .suite-feature-item:nth-child(3) { transition-delay: 140ms; }
.suite-features-grid.dealing .suite-feature-item:nth-child(4) { transition-delay: 210ms; }
.suite-features-grid.dealing .suite-feature-item:nth-child(5) { transition-delay: 280ms; }
.suite-features-grid.dealing .suite-feature-item:nth-child(6) { transition-delay: 350ms; }
.suite-features-grid.dealing .suite-feature-item:nth-child(7) { transition-delay: 420ms; }
.suite-features-grid.dealing .suite-feature-item:nth-child(8) { transition-delay: 490ms; }

.suite-feature-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.2;
}

@media (max-width: 860px) {
  .suite-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .suite-feature-name { font-size: 1.2rem; }
}

/* ============================================================
   THE FORTERA WAY
   ============================================================ */
.section-fortera-way {
  background: var(--blush);
  padding-top: 5rem;
}

.fortera-way-header {
  padding-bottom: 0;
}
.fortera-way-header .section-label { margin-bottom: 1rem; }
.fortera-way-header .section-h2 { margin-bottom: 0; }

.fortera-way-panels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  align-items: end;
  margin-top: 3rem;
}

.fortera-panel {
  position: relative;
  overflow: hidden;
  height: 55vh;
  flex: 1;
}

.fortera-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.fortera-panel--overlay img {
  filter: brightness(0.55);
}

.panel-overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.panel-overlay-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.panel-overlay-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
  line-height: 1.1;
}

.fortera-panel--short { height: 55vh; }
.fortera-panel--tall  { height: 65vh; }

.fortera-panel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fortera-panel-img--blurred {
  filter: blur(2px) brightness(0.7);
  transform: scale(1.04); /* prevent blur edge bleed */
}

.fortera-panel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.fortera-panel-overlay--centered {
  top: 0;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.fortera-panel-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
}

.fortera-panel-nav {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
}

.fortera-coming-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.fortera-coming-text span {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

/* ============================================================
   NEIGHBOURHOOD
   ============================================================ */
.section-neighbourhood {
  background: var(--cream);
  padding: 5rem 0;
}

.section-neighbourhood .container .section-label { margin-bottom: 1rem; }
.section-neighbourhood .section-h2 { margin-bottom: 4rem; }

.neighbourhood-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
}

.neighbourhood-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: rgba(28,26,24,0.7);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Accordion */
.accordion-item {
  border-bottom: 1px solid rgba(28,26,24,0.15);
}

.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  cursor: pointer;
  text-align: left;
}

.accordion-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: color 0.2s;
}

.accordion-icon::after {
  content: '+';
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: rgba(28,26,24,0.45);
  line-height: 1;
}
.accordion-item.open .accordion-icon::after { content: '\2212'; }

.accordion-item.open .accordion-label { color: var(--bronze); }

.accordion-body {
  display: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  color: rgba(28,26,24,0.6);
  line-height: 1.65;
  padding: 0.5rem 0 0.75rem;
}
.accordion-item.open .accordion-body { display: block; }

/* Map */
.neighbourhood-map {
  width: 100%;
  height: 480px;
  border: none;
  display: block;
}

/* ============================================================
   REGISTRATION
   ============================================================ */
.section-contact { }

/* Top */
.contact-top {
  background: var(--blush);
  padding: 4rem;
}

.contact-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1300px;
  margin: 0 auto;
  gap: 3rem;
}

.contact-top-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--charcoal);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.contact-top-detail {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  color: rgba(28,26,24,0.65);
  line-height: 1.8;
}

.contact-top-right {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}

.contact-top-right .btn-outline--dark {
  padding: 0.85rem 2.5rem;
  text-align: center;
}

/* Form */
.contact-form-section {
  background: var(--charcoal);
  padding: 6rem 2rem;
}

.contact-form-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.contact-form-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.0;
  letter-spacing: 0.03em;
  margin-bottom: 3.5rem;
}

.form-field {
  margin-bottom: 2rem;
  text-align: left;
}

.form-field label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  width: 100%;
  padding: 0.5rem 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  outline: none;
  border-radius: 0;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--bronze);
}

.form-field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  color: white;
  width: 100%;
  padding: 0.5rem 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-bottom-color 0.2s;
}

.form-field select:focus {
  border-bottom-color: #b2977d;
}

.form-field select option {
  background: #1c1a18;
  color: white;
  font-family: 'Montserrat', sans-serif;
}

.form-field select option:disabled {
  color: rgba(255,255,255,0.3);
}

.form-field textarea { resize: vertical; }

.form-error {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  color: #e07070;
  margin-top: 0.35rem;
  min-height: 1em;
}

.form-submit {
  border: 1px solid var(--white);
  background: transparent;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 3rem;
  border-radius: 0;
  margin-top: 1rem;
  transition: background 0.2s, color 0.2s;
}
.form-submit:hover {
  background: var(--white);
  color: var(--charcoal);
}

.form-privacy {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin-top: 1.5rem;
}

.form-success {
  text-align: center;
  padding: 2rem 0;
}

.form-success-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1rem;
}

.form-success-body {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--charcoal);
  padding-top: 4rem;
  overflow: hidden;
}

.footer-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(9rem, 20vw, 24rem);
  font-weight: 700;
  color: var(--white);
  text-align: center;
  line-height: 0.85;
  letter-spacing: 0.04em;
  width: 100%;
  display: block;
  white-space: nowrap;
}

.footer-byline {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bronze);
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 3rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  padding: 0 2rem;
}

.footer-nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-nav-link:hover { color: var(--white); }

.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-bar span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.25);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox[hidden] { display: none; }

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 2rem; }
  .hero-content { padding: 0 2rem; }

  .units-grid { grid-template-columns: 1fr 1fr; }

  .neighbourhood-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .neighbourhood-map { height: 320px; }

  .contact-top-inner {
    flex-direction: column;
    gap: 2rem;
  }
  .contact-top-right { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 768px) {

  /* NAV */
  .nav-logo { font-size: 1.6rem; }
  .nav-inner { padding: 0 1.25rem; }
  .nav-right .btn-outline--dark { display: none; }

  /* HERO */
  .hero-content { padding: 0 1.25rem; }
  .hero-title { font-size: clamp(3rem, 12vw, 5rem); }
  .hero-title-sub { font-size: 1rem; letter-spacing: 0.14em; }
  .hero-stats { font-size: 0.75rem; }
  .hero-bottom-row {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-ctas a,
  .hero-ctas button {
    width: 100%;
    max-width: 360px;
    text-align: center;
    justify-content: center;
    display: flex;
  }

  /* UNIT FILTERS */
  .unit-filters { gap: 0.5rem 1.5rem; }
  .unit-filter-tab { font-size: 0.72rem; }

  /* UNIT CARDS */
  .units-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 0 1.25rem;
  }

  /* PHOTO GRID */
  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* FEATURE LIST */
  .feature-list {
    grid-template-columns: 1fr;
    padding: 0 1.5rem;
    gap: 0.5rem;
  }
  .feature-item { font-size: 1.2rem; }

  /* FORTERA WAY — 3 panels stack vertically */
  .fortera-way-panels {
    grid-template-columns: 1fr;
    width: 100%;
    margin-left: 0;
  }
  .fortera-panel { height: 50vw; min-height: 200px; }

  /* SECTION HEADINGS — scale down so long words like NEIGHBOURHOOD fit */
  .section-h2 {
    font-size: clamp(1.8rem, 7vw, 3.5rem);
  }


  /* NEIGHBOURHOOD */
  .neighbourhood-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .neighbourhood-map { height: 300px; }
  .neighbourhood-categories { padding-right: 0; }

  /* REGISTRATION TOP */
  .contact-top {
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem 1.25rem;
  }
  .contact-top-right {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.75rem;
  }
  .contact-top-right a {
    width: 100%;
    max-width: 360px;
    text-align: center;
    justify-content: center;
    display: flex;
  }

  /* REGISTRATION FORM */
  .contact-form-section { padding: 4rem 1.25rem; }
  .contact-form-h2 { font-size: clamp(2.5rem, 10vw, 4rem); }

  /* FOOTER */
  .footer-wordmark {
    font-size: clamp(3rem, 16vw, 6rem);
    overflow: hidden;
  }
  .footer-nav { flex-wrap: wrap; gap: 1rem 1.5rem; justify-content: center; }
  .footer-bar {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    padding: 1.5rem 1.25rem;
  }

  /* CURSOR — disable on touch devices */
  .cursor-dot, .cursor-ring { display: none; }
  * { cursor: auto !important; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.5rem, 13vw, 4rem); }
  .photo-grid { grid-template-columns: 1fr; }
  .unit-filters { gap: 0.4rem 1rem; }
  .fortera-panel { height: 60vw; }
  .hero-title-sub { font-size: 0.85rem; }

}

/* ============================================================
   BLOG
   ============================================================ */

/* Listing page */
.section-blog {
  background: var(--cream);
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 6rem;
}

.section-blog .container .section-label { margin-bottom: 1rem; }
.section-blog .section-h2 { margin-bottom: 3.5rem; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 4rem;
}

.blog-card {
  border: 1px solid rgba(28,26,24,0.12);
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(28,26,24,0.1);
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  padding: 1.5rem 1.75rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
  display: block;
  margin-bottom: 0.6rem;
}

.blog-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.blog-card-excerpt {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  color: rgba(28,26,24,0.6);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.25rem;
}

.blog-card-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
  padding-bottom: 2px;
  display: inline-block;
  align-self: flex-start;
  transition: color 0.2s, border-color 0.2s;
}

.blog-card-link:hover {
  color: var(--bronze);
  border-color: var(--bronze);
}

/* Post page */
.blog-post-header {
  width: 100%;
  height: 520px;
  overflow: hidden;
  margin-top: var(--nav-h);
}

.blog-post-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.blog-post-body {
  background: var(--cream);
  padding: 4.5rem 0 6rem;
}

.blog-post-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 4rem;
}

.blog-back-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(28,26,24,0.5);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2.5rem;
  transition: color 0.2s;
}

.blog-back-link:hover { color: var(--charcoal); }

.blog-post-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
  display: block;
  margin-bottom: 0.75rem;
}

.blog-post-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(28,26,24,0.12);
  padding-bottom: 2rem;
}

.blog-post-content {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  color: rgba(28,26,24,0.78);
  line-height: 1.85;
}

.blog-post-content p { margin-bottom: 1.5rem; }

.blog-post-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.blog-post-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.blog-post-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.blog-post-content li { margin-bottom: 0.5rem; }

.blog-post-cta {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(28,26,24,0.12);
  text-align: center;
}

.blog-post-cta-lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

/* Blog responsive */
@media (max-width: 1024px) {
  .blog-grid { padding: 0 2rem; }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    padding: 0 1.25rem;
    gap: 1.5rem;
  }

  .blog-post-header { height: 260px; }

  .blog-post-container { padding: 0 1.5rem; }

  .blog-post-title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
}
