/* ===================== TOKENS ===================== */
:root {
  --ink: #2b2620;
  --ink-soft: #6b6154;
  --paper: #fffdfa;
  --sand: #f5efe3;
  --line: #e6ddcd;
  --gold: #a68a54;
  --gold-dark: #8a7143;
  --gold-bright: #f0bd4f;
  --dark: #362f26;
  --dark-2: #453c30;
  --radius: 2px;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0 0 .5em; letter-spacing: .01em; }
p { margin: 0 0 1em; }

.section { padding: 96px 24px; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-inner.narrow { max-width: 720px; }
.kicker { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; color: var(--gold-dark); font-weight: 600; margin-bottom: 14px; }
.kicker.light { color: var(--gold); }
.section-lead { max-width: 640px; color: var(--ink-soft); font-size: 17px; }
.section-lead.light { color: #d9d0bd; }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h2.light { color: var(--paper); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 32px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
  font-family: var(--sans); font-weight: 600; transition: all .25s ease;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--gold-dark); }
.btn-light { background: var(--gold); color: #fff; }
.btn-light:hover { background: var(--gold-dark); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }

/* ===================== TOPBAR ===================== */
.topbar { background: var(--dark); color: #c9bfab; font-size: 12.5px; }
.topbar-inner { max-width: var(--max); margin: 0 auto; padding: 8px 24px; display: flex; justify-content: flex-end; align-items: center; }
.topbar a { color: #e8dfcc; }
.topbar a:hover { color: var(--gold); }
.topbar .divider { margin: 0 8px; opacity: .4; }
.lang-btn { background: none; border: none; color: #c9bfab; font-size: 12.5px; cursor: pointer; padding: 0; font-family: var(--sans); }
.lang-btn.active { color: var(--gold); font-weight: 600; }

/* ===================== HEADER / NAV ===================== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main { font-family: var(--serif); font-size: 22px; letter-spacing: .12em; }
.logo-sub { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.main-nav a:hover { color: var(--ink); }
.nav-cta.btn { padding: 11px 22px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; position: relative; z-index: 61; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hamburger span { transition: transform .25s ease, opacity .25s ease; }
.nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(54,47,38,.55); z-index: 40; }
.nav-backdrop.open { display: block; }
.hamburger span { width: 22px; height: 2px; background: var(--ink); display: block; }

/* ===================== HERO ===================== */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; padding: 140px 24px 0; }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center 30%;
  opacity: .5; pointer-events: none;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(30,26,20,.55) 0%, rgba(35,30,23,.82) 65%, var(--dark) 100%);
}
.hero-lines {
  position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(166,138,84,.14) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(0deg, rgba(166,138,84,.10) 0 1px, transparent 1px 120px);
}
.hero-content { position: relative; max-width: 780px; margin: 0 auto; text-align: center; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: 12.5px; color: var(--gold); margin-bottom: 22px; }
.hero h1 { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.15; margin-bottom: 22px; }
.hero-sub { font-size: 17px; color: #d9d0bd; max-width: 560px; margin: 0 auto 36px; }
.price-badge {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px; margin: 6px 0 10px;
  padding: 16px 40px; border: 1px solid rgba(240,189,79,.55);
  background: rgba(240,189,79,.12); border-radius: 4px;
}
.price-badge-row { display: flex; align-items: baseline; gap: 12px; }
.price-badge-label { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-bright); font-weight: 600; }
.price-badge-num { font-family: var(--serif); font-size: clamp(42px, 6vw, 64px); color: var(--gold-bright); line-height: 1; font-weight: 700; text-shadow: 0 0 28px rgba(240,189,79,.45); }
.price-badge-unit { font-family: var(--sans); font-size: 19px; color: var(--gold-bright); font-weight: 600; margin-left: 4px; }
.price-badge-caption { font-size: 13px; color: #e8dfcc; margin-top: 4px; }
.hero-incentive { margin: 4px 0 0; }
.hero-incentive a { display: inline-block; color: #d9d0bd; font-size: 14px; border: none; background: none; padding: 0; }
.hero-incentive a:hover { color: var(--gold-bright); }
.hero-actions { margin-bottom: 70px; }
.hero-stats { position: relative; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.12); }
.stat { text-align: center; padding: 26px 12px; border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: none; }
.stat-num { display: block; font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); color: #fff; }
.stat-label { display: block; font-size: 11px; letter-spacing: .14em; color: #b7ab93; margin-top: 4px; }
.stat-price .stat-num { color: var(--gold-bright); }
.mini-stat-price .mini-stat-num { color: var(--gold-dark); font-weight: 700; }

/* ===================== RELEASE STRIP ===================== */
.release-strip { background: var(--gold); color: #fff; text-align: center; padding: 16px 20px; }
.release-strip a { display: block; cursor: pointer; }
.release-strip a:hover { background: var(--gold-dark); margin: -16px -20px; padding: 16px 20px; }
.release-strip p { margin: 0; font-size: 13.5px; letter-spacing: .01em; }
.release-strip strong { display: block; margin: 0 0 4px; font-size: 21px; font-weight: 800; letter-spacing: .01em; font-family: var(--serif); }
@media (min-width: 640px) {
  .release-strip strong { display: inline; margin: 0 10px 0 0; font-size: 19px; }
}

/* ===================== FEATURE GRID ===================== */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 56px; margin-top: 48px; }
.feature-index { font-family: var(--serif); font-size: 13px; color: var(--gold); letter-spacing: .1em; }
.feature h3 { font-size: 21px; margin: 10px 0 10px; }
.feature p { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* ===================== RESIDENCE / PLANS ===================== */
.residence { background: var(--sand); }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 44px; }
.plan-card { display: block; background: var(--paper); border: 1px solid var(--line); padding: 0 0 22px; text-align: center; transition: box-shadow .25s ease, transform .25s ease; }
.plan-card:hover { box-shadow: 0 14px 30px rgba(43,38,32,.14); transform: translateY(-3px); }
.plan-visual { aspect-ratio: 5 / 3; background: #fbf9f5; position: relative; margin-bottom: 20px; overflow: hidden; }
.plan-visual img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.plan-card h4 { margin: 0 0 6px; font-size: 17px; }
.plan-card .locked { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); margin: 0; }

/* ===================== COLLECTIONS (two-building layout) ===================== */
.collections { background: var(--sand); }
.collection-block { padding: 56px 0; }
.collection-block + .collection-block { border-top: 1px solid var(--line); }
.collection-header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.collection-badge { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; }
.collection-address { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 22px; }
.mini-stats { display: flex; flex-wrap: wrap; gap: 28px 40px; margin: 0 0 30px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mini-stat { text-align: left; }
.mini-stat-num { display: block; font-family: var(--serif); font-size: 24px; color: var(--ink); }
.mini-stat-label { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-top: 2px; }
.collection-photos { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; margin: 30px 0; }
.collection-photos a { display: block; overflow: hidden; }
.collection-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.collection-photos a:hover img { transform: scale(1.04); }
.cp-main { grid-row: 1 / 3; aspect-ratio: 4/5; }
.cp-main img { aspect-ratio: 4/5; }
.cp-sub { aspect-ratio: 16/10; }
.cp-sub img { aspect-ratio: 16/10; }
.collection-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 8px; }

.locked-panel {
  position: relative; aspect-ratio: 21/9; background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden;
  margin: 30px 0 26px;
}
.locked-panel::before { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(54,47,38,.82), rgba(54,47,38,.62)); }
.locked-panel-content { position: relative; color: #fff; padding: 24px; max-width: 480px; }
.locked-panel-content .lock-icon { font-size: 26px; display: block; margin-bottom: 12px; opacity: .85; }
.locked-panel-content h4 { color: #fff; font-size: 21px; margin: 0 0 10px; }
.locked-panel-content p { color: #e8dfcc; font-size: 14px; margin: 0 0 18px; }
.center-cta { text-align: center; margin-top: 42px; }

/* ===================== TWO COL / NEIGHBOURHOOD ===================== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.amenity-list { margin-top: 26px; }
.amenity-list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); position: relative; padding-left: 22px; }
.amenity-list li::before { content: ''; position: absolute; left: 0; top: 20px; width: 8px; height: 1px; background: var(--gold); }
.col-map iframe { width: 100%; height: 380px; border: 0; filter: grayscale(.15); }

/* ===================== GALLERY ===================== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 44px; }
.gallery-tile {
  aspect-ratio: 4/3; background: linear-gradient(150deg, #453c30, #6b5c46);
  display: flex; align-items: flex-end; justify-content: center; text-align: center; padding: 20px;
  position: relative; overflow: hidden;
}
.gallery-tile span { color: #ddd2ba; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.gallery-tile.has-photo { background-size: cover; background-position: center; align-items: flex-end; justify-content: flex-start; padding: 0; }
.gallery-tile.has-photo .photo-caption {
  width: 100%; text-align: left; padding: 28px 16px 12px; margin: 0;
  background: linear-gradient(0deg, rgba(15,13,10,.75), transparent);
  color: #f1ece0; font-size: 11.5px;
}
.video-wrap { margin-top: 44px; }
.video-embed { position: relative; padding-top: 56.25%; background: var(--dark); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ===================== DEVELOPER ===================== */
.developer { background: var(--sand); }
.developer-visual { aspect-ratio: 4/3; background: linear-gradient(160deg, #efe9db, #ddd3bd); background-size: cover; background-position: center; }
.disclaimer-note { font-size: 13px; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 20px; }

/* ===================== FAQ ===================== */
.accordion { margin-top: 40px; border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 0; font-family: var(--serif); font-size: 18px; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.accordion-trigger::after { content: '+'; font-size: 22px; color: var(--gold); font-family: var(--sans); flex-shrink: 0; }
.accordion-item.open .accordion-trigger::after { content: '\2212'; }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.accordion-item.open .accordion-panel { max-height: 260px; }
.accordion-panel p { padding-bottom: 22px; color: var(--ink-soft); font-size: 15px; max-width: 640px; }

/* ===================== REGISTER FORM ===================== */
.register { background: var(--dark); text-align: center; }
.register-form { text-align: left; margin-top: 36px; background: var(--dark-2); padding: 36px; border: 1px solid rgba(255,255,255,.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #b7ab93; margin-bottom: 8px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; background: #2b251d; border: 1px solid rgba(255,255,255,.14);
  color: #fff; font-family: var(--sans); font-size: 14.5px; border-radius: var(--radius);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--gold); }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #c9bfab; margin: 6px 0 22px; }
.consent input { margin-top: 3px; }
.form-note { font-size: 12.5px; color: #a89b83; text-align: center; margin: 14px 0 0; }

/* ===================== FOOTER ===================== */
.site-footer { background: #241f19; color: #b7ab93; padding: 64px 24px 0; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-col h5 { color: #fff; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; font-family: var(--sans); }
.footer-col p { font-size: 14px; margin: 0 0 10px; }
.footer-col a:hover { color: var(--gold); }
.site-footer .logo-main { color: #fff; font-size: 20px; letter-spacing: .12em; display: block; margin-bottom: 10px; }
.footer-legal { max-width: var(--max); margin: 0 auto; padding: 26px 0 30px; font-size: 12px; color: #948870; line-height: 1.7; }

/* ===================== MOBILE CTA ===================== */
.mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: var(--dark); border-top: 1px solid rgba(255,255,255,.1); padding: 10px; gap: 10px; }
.btn-outline-sm, .btn-light-sm { flex: 1; text-align: center; padding: 12px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; border-radius: var(--radius); }
.btn-outline-sm { border: 1px solid rgba(255,255,255,.3); color: #fff; }
.btn-light-sm { background: var(--gold); color: #fff; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .main-nav { position: fixed; top: 0; right: -100%; height: 100vh; width: 78%; max-width: 340px; z-index: 55;
    background: #fff; flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px;
    padding: 40px; transition: right .3s ease; box-shadow: -10px 0 30px rgba(0,0,0,.1); }
  .main-nav.open { right: 0; }
  .hamburger { display: flex; }
  .two-col, .two-col.reverse { grid-template-columns: 1fr; direction: ltr; }
  .feature-grid { grid-template-columns: 1fr; gap: 34px; }
  .plan-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .collection-photos { grid-template-columns: 1fr 1fr; }
  .cp-main { grid-column: 1 / 3; grid-row: auto; aspect-ratio: 16/10; }
  .cp-main img { aspect-ratio: 16/10; }
  .locked-panel { aspect-ratio: 4/3; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 62px; }
  .section { padding: 64px 20px; }
}
