/* Cinematic single-page "full project site" template — shared across showcase/*.html */

:root {
  --navy: #0B1B2B;
  --navy-deep: #081420;
  --navy-soft: #14263C;
  --ivory: #F6F3EC;
  --ivory-dim: #EDE8DB;
  --ink: #1C1E22;
  --gold: #C9A961;
  --gold-bright: #E4C784;
  --gold-dim: #8A7648;
  --white: #FFFFFF;
  --font-display: 'Erode', Georgia, 'Times New Roman', serif;
  --font-body: 'Switzer', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body.ms {
  background: var(--navy-deep);
  color: var(--ivory);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.ms-wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ---------- Top bar ---------- */
.ms-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  background: linear-gradient(180deg, rgba(8,20,32,0.85) 0%, rgba(8,20,32,0) 100%);
  transition: background 0.3s ease;
}
.ms-topbar.scrolled { background: rgba(8,20,32,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(201,169,97,0.15); }
.ms-topbar .ms-back {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ivory-dim);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.85;
}
.ms-topbar .ms-back:hover { color: var(--gold-bright); opacity: 1; }
.ms-topbar .ms-cta {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--navy-deep);
  background: var(--gold);
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.ms-topbar .ms-cta:hover { background: var(--gold-bright); transform: translateY(-1px); }

/* ---------- Hero ---------- */
.ms-hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.ms-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}
.ms-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,20,32,0.35) 0%, rgba(8,20,32,0.15) 40%, rgba(8,20,32,0.95) 100%);
}
.ms-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 32px 72px;
  max-width: 1180px;
  margin: 0 auto;
}
.ms-hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 18px;
  opacity: 0;
  animation: msFadeUp 0.9s ease 0.2s forwards;
}
.ms-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 20px;
  opacity: 0;
  animation: msFadeUp 0.9s ease 0.35s forwards;
}
.ms-hero-sub {
  font-size: clamp(15px, 1.6vw, 19px);
  color: var(--ivory-dim);
  max-width: 640px;
  line-height: 1.55;
  margin-bottom: 36px;
  opacity: 0;
  animation: msFadeUp 0.9s ease 0.5s forwards;
}
.ms-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  opacity: 0;
  animation: msFadeUp 0.9s ease 0.65s forwards;
}
.ms-hero-stats div { display: flex; flex-direction: column; gap: 4px; }
.ms-hero-stats span.n { font-family: var(--font-display); font-size: 26px; color: var(--gold-bright); }
.ms-hero-stats span.l { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ivory-dim); opacity: 0.7; }

.ms-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
  opacity: 0.6;
}

@keyframes msFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Section scaffolding ---------- */
.ms-section { padding: 120px 0; position: relative; }
.ms-section.dark { background: var(--navy); }
.ms-section.deep { background: var(--navy-deep); }
.ms-eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.ms-h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  color: var(--white);
  max-width: 760px;
}

.ms-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.ms-reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- About split ---------- */
.ms-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 56px;
}
.ms-about-grid img { width: 100%; border-radius: 4px; display: block; }
.ms-about-copy p { font-size: 16px; line-height: 1.75; color: var(--ivory-dim); margin-top: 20px; }
.ms-about-copy p:first-child { margin-top: 0; }

/* ---------- Highlights ---------- */
.ms-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201,169,97,0.15);
  margin-top: 56px;
  border: 1px solid rgba(201,169,97,0.15);
}
.ms-highlight {
  background: var(--navy);
  padding: 40px 32px;
}
.ms-highlight .num { font-family: var(--font-display); font-size: 15px; color: var(--gold-dim); margin-bottom: 18px; }
.ms-highlight h3 { font-family: var(--font-display); font-weight: 400; font-size: 21px; color: var(--white); margin-bottom: 12px; }
.ms-highlight p { font-size: 14.5px; line-height: 1.65; color: var(--ivory-dim); }

/* ---------- Gallery ---------- */
.ms-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 6px;
  margin-top: 56px;
}
.ms-gallery a { display: block; overflow: hidden; border-radius: 2px; position: relative; }
.ms-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; display: block; }
.ms-gallery a:hover img { transform: scale(1.06); }
.ms-gallery .span2 { grid-column: span 2; }
.ms-gallery .tall { grid-row: span 2; }
.ms-gallery.cols3 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; }

/* ---------- Floor plans ---------- */
.ms-fp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 56px;
}
.ms-fp-card { background: var(--navy-soft); border: 1px solid rgba(201,169,97,0.15); padding: 20px; }
.ms-fp-card img { width: 100%; max-height: 420px; object-fit: contain; display: block; background: var(--white); margin-bottom: 16px; }
.ms-fp-card .label { font-family: var(--font-display); font-size: 18px; color: var(--white); margin-bottom: 4px; }
.ms-fp-card .meta { font-size: 13px; color: var(--gold-dim); }
.ms-fp-card.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 220px;
}
.ms-fp-card.placeholder .status {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.ms-fp-card.placeholder p:not(.status) { font-size: 13.5px; color: var(--ivory-dim); line-height: 1.5; max-width: 260px; }

/* ---------- Unit table ---------- */
.ms-table { width: 100%; margin-top: 56px; border-collapse: collapse; }
.ms-table th, .ms-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid rgba(201,169,97,0.15); font-size: 14.5px; }
.ms-table th { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-dim); font-weight: 500; }
.ms-table td { color: var(--ivory-dim); }
.ms-table td:first-child, .ms-table th:first-child { color: var(--white); }

/* ---------- Location ---------- */
.ms-location-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; margin-top: 56px; }
.ms-location-grid img { width: 100%; border-radius: 4px; display: block; }
.ms-location-list { list-style: none; }
.ms-location-list li {
  display: flex; gap: 14px; padding: 16px 0;
  border-bottom: 1px solid rgba(201,169,97,0.12);
  font-size: 15px; color: var(--ivory-dim); line-height: 1.5;
}
.ms-location-list li:first-child { padding-top: 0; }
.ms-location-list li .dot { color: var(--gold); flex-shrink: 0; }

/* ---------- Final CTA ---------- */
.ms-final { position: relative; padding: 0; }
.ms-final-img { position: relative; height: 560px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ms-final-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ms-final-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,20,32,0.55) 0%, rgba(8,20,32,0.85) 100%); }
.ms-final-content { position: relative; z-index: 2; text-align: center; padding: 0 24px; max-width: 620px; }
.ms-final-content .ms-eyebrow { justify-content: center; }
.ms-final-content h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 4vw, 42px); color: var(--white); margin-bottom: 16px; }
.ms-final-content p { font-size: 16px; color: var(--ivory-dim); line-height: 1.6; margin-bottom: 32px; }
.ms-final-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ms-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  padding: 15px 30px; border-radius: 999px; text-decoration: none; cursor: pointer; border: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.ms-btn.gold { background: var(--gold); color: var(--navy-deep); }
.ms-btn.gold:hover { background: var(--gold-bright); transform: translateY(-1px); }
.ms-btn.outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.35); }
.ms-btn.outline:hover { border-color: var(--gold); color: var(--gold-bright); }

/* ---------- Footer ---------- */
.ms-footer {
  background: var(--navy-deep);
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(201,169,97,0.12);
}
.ms-footer p { font-size: 12.5px; color: var(--ivory-dim); opacity: 0.6; }
.ms-footer a { color: var(--gold-dim); text-decoration: none; }
.ms-footer a:hover { color: var(--gold-bright); }

/* ---------- Float WhatsApp ---------- */
.ms-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
  display: flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--navy-deep);
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600;
  padding: 14px 22px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}
.ms-float:hover { background: var(--gold-bright); transform: translateY(-2px); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .ms-about-grid, .ms-location-grid { grid-template-columns: 1fr; gap: 32px; }
  .ms-highlights { grid-template-columns: 1fr; }
  .ms-gallery, .ms-gallery.cols3 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .ms-gallery .span2 { grid-column: span 2; }
  .ms-gallery .tall { grid-row: span 1; }
  .ms-section { padding: 80px 0; }
  .ms-hero-stats { gap: 24px; }
  .ms-final-img { height: 420px; }
}
@media (max-width: 560px) {
  .ms-wrap { padding: 0 20px; }
  .ms-hero-content { padding: 0 20px 56px; }
  .ms-table { display: block; overflow-x: auto; }
}
