/* =========================================================
   SOUTH EX PLAZA — microsite identity (layers on css/style.css)
   ========================================================= */

.sep-site {
  --ink: #0c1822;
  --ink-2: #102030;
  --ink-3: #172a3b;
  --paper: #f7f4ee;
  --paper-2: #efe9dd;
  --f-brand: "Italiana", "Cormorant Garamond", serif;
}

/* ---------- Header: centred wordmark, split navigation ---------- */
.sep-header { justify-content: space-between; }
.sep-header .main-nav { margin-left: 0; flex: 1; }
.sep-nav-right { justify-content: flex-end; }
.sep-nav-right .btn { margin-left: 10px; }
.sep-nav-right .btn::after { display: none; }

.sep-brand { display: inline-flex; align-items: center; gap: 14px; flex-shrink: 0; color: var(--white); }
.sep-mark { width: 40px; height: 40px; color: var(--gold-2); transition: transform .8s var(--ease); }
.sep-brand:hover .sep-mark { transform: rotate(-90deg); }
.sep-brand span { display: grid; line-height: 1; }
.sep-brand strong { font-family: var(--f-brand); font-weight: 400; font-size: 24px; letter-spacing: .22em; white-space: nowrap; }
.sep-footer .sep-brand strong { font-size: 18px; letter-spacing: .16em; }
.sep-brand em { font-style: normal; font-size: 10px; letter-spacing: .38em; text-transform: uppercase; color: var(--gold-2); margin-top: 6px; }

/* ---------- Dot navigation ---------- */
.dot-nav {
  position: fixed; right: 26px; top: 50%; transform: translateY(-50%); z-index: 800;
  display: grid; gap: 14px;
}
.dot-nav a {
  position: relative; width: 10px; height: 10px; border-radius: 50%;
  border: 1px solid var(--gold); background: transparent; transition: background .4s ease, transform .4s var(--ease);
}
.dot-nav a:hover, .dot-nav a.is-active { background: var(--gold); transform: scale(1.3); }
.dot-nav a::after {
  content: attr(data-label); position: absolute; right: 22px; top: 50%; transform: translate(8px, -50%);
  white-space: nowrap; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--white); background: var(--ink); padding: 6px 12px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .4s var(--ease);
}
.dot-nav a:hover::after { opacity: 1; transform: translate(0, -50%); }

.mobile-enquire { display: none; }

/* ---------- Hero ---------- */
.sep-hero { align-items: center; text-align: center; }
.sep-hero .hero-media::after {
  background:
    radial-gradient(ellipse at center, rgba(12, 24, 34, .35) 0%, rgba(12, 24, 34, .75) 75%),
    linear-gradient(180deg, rgba(12, 24, 34, .5) 0%, rgba(12, 24, 34, 0) 30%, rgba(12, 24, 34, .9) 100%);
}
.sep-hero-frame {
  position: absolute; inset: 100px clamp(14px, 3vw, 36px) clamp(14px, 3vw, 36px); border: 1px solid rgba(228, 201, 140, .35); pointer-events: none;
  clip-path: inset(0 0 100% 0); transition: clip-path 2s var(--ease) .3s;
}
.sep-hero.is-in .sep-hero-frame { clip-path: inset(0 0 0 0); }
.sep-hero-content { display: grid; justify-items: center; gap: 26px; padding-top: 120px; padding-bottom: 120px; }
.sep-title {
  font-family: var(--f-brand); font-weight: 400; font-size: clamp(56px, 11vw, 170px); line-height: .95;
  letter-spacing: .06em; text-transform: uppercase;
}
.sep-title-2 { color: transparent; -webkit-text-stroke: 1.5px var(--gold-2); }
.sep-tagline {
  font-family: var(--f-display); font-style: italic; font-size: clamp(22px, 2.4vw, 32px); color: rgba(255, 255, 255, .85); margin: 0;
}
.sep-dev-badge {
  position: absolute; left: var(--gutter); bottom: clamp(30px, 5vw, 56px); display: flex; align-items: center; gap: 12px;
  color: var(--white); font-family: var(--f-display); font-size: 20px; letter-spacing: .14em; z-index: 2;
  transition: opacity .3s ease;
}
.sep-dev-badge .logo-mark { width: 40px; height: 40px; }
.sep-dev-badge small { display: block; font-family: var(--f-body); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); }
.sep-dev-badge:hover { opacity: .8; }

/* ---------- Facts strip ---------- */
.sep-facts { background: var(--ink); color: var(--white); border-top: 1px solid var(--line-dark); }
.sep-facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.sep-facts-grid > div { padding: 30px 26px; border-right: 1px solid var(--line-dark); }
.sep-facts-grid > div:first-child { padding-left: 0; }
.sep-facts-grid > div:last-child { border-right: 0; }
.sep-facts small { display: block; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 6px; }
.sep-facts strong { font-family: var(--f-display); font-weight: 500; font-size: 24px; }

/* ---------- Overview ---------- */
.sep-overview { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.sep-overview-media .img-reveal { aspect-ratio: 4 / 5; border-radius: 4px 160px 4px 4px; }
.sep-caption { margin-top: 16px; font-size: 13px; color: var(--muted); display: flex; gap: 12px; align-items: center; }
.sep-caption span { font-family: var(--f-display); font-size: 18px; color: var(--gold-3); }
.sep-quote { position: relative; margin-top: 36px; padding: 28px 0 0 56px; border-top: 1px solid var(--line); }
.sep-quote span { position: absolute; left: 0; top: 14px; font-family: var(--f-display); font-size: 80px; line-height: 1; color: var(--gold); }
.sep-quote p { font-family: var(--f-display); font-style: italic; font-size: 24px; line-height: 1.35; color: var(--ink); margin: 0; }

.sep-highlights { grid-template-columns: repeat(3, 1fr); }

/* ---------- Gallery ---------- */
.sep-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.sep-gallery .g-item { margin: 0; }
.sep-gallery .sep-g-main { grid-row: span 1; }
.sep-gallery .sep-g-main img { height: 100%; aspect-ratio: auto; }
.sep-gallery .g-item.tall img { aspect-ratio: 9 / 14; }
.sep-gallery .g-item:last-child { grid-column: 1 / -1; }
.sep-gallery .g-item:last-child img { aspect-ratio: 21 / 8; }

/* ---------- Developer band & footer ---------- */
.sep-dev-band { background: var(--ink-2); color: var(--white); padding: clamp(80px, 10vw, 140px) 0; }
.sep-dev-band-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: end; }
.sep-dev { display: flex; align-items: center; gap: 14px; color: var(--white); padding: 16px; border: 1px solid var(--line-dark); border-radius: 14px; transition: border-color .4s ease, background .4s ease; }
.sep-dev:hover { border-color: var(--gold); background: rgba(200, 164, 92, .06); }
.sep-dev .logo-mark { width: 40px; height: 40px; flex-shrink: 0; }
.sep-dev strong { display: block; font-family: var(--f-display); font-size: 19px; letter-spacing: .12em; font-weight: 600; white-space: nowrap; }
.sep-dev small { font-size: 12px; color: var(--muted-light); }
.sep-giant { font-family: var(--f-brand); font-size: clamp(60px, 13vw, 210px); }
.sep-footer .footer-top { grid-template-columns: 1.3fr .9fr 1.1fr 1.2fr; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .sep-brand strong { font-size: 20px; }
  .sep-header .main-nav > a { padding: 10px 9px; }
}
@media (max-width: 1024px) {
  .sep-header .main-nav { display: none; }
  .dot-nav { display: none; }
  .sep-overview, .sep-dev-band-inner { grid-template-columns: 1fr; }
  .sep-highlights { grid-template-columns: repeat(2, 1fr); }
  .sep-facts-grid { grid-template-columns: repeat(2, 1fr); }
  .sep-facts-grid > div { padding: 22px 16px; border-bottom: 1px solid var(--line-dark); }
  .sep-facts-grid > div:nth-child(2) { border-right: 0; }
  .sep-facts-grid > div:nth-child(odd) { padding-left: 0; }
  .sep-footer .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .sep-hero-frame { inset: 84px 12px 12px; }
  .sep-brand strong { font-size: 17px; letter-spacing: .16em; }
  .sep-brand em { font-size: 9px; letter-spacing: .28em; }
  .sep-mark { width: 34px; height: 34px; }
  .sep-highlights, .sep-gallery { grid-template-columns: 1fr; }
  .sep-gallery .g-item:last-child img { aspect-ratio: 16 / 9; }
  .sep-footer .footer-top { grid-template-columns: 1fr; }
  .sep-dev-badge { display: none; }
  .sep-facts strong { font-size: 19px; }
  .sep-overview-media .img-reveal { border-radius: 4px 90px 4px 4px; }
  .mobile-enquire {
    position: fixed; left: 12px; right: 76px; bottom: 16px; z-index: 850;
    display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; border-radius: 999px;
    background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
    box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .55);
  }
  .mobile-enquire svg { width: 16px; height: 16px; }
  .sep-site .site-footer { padding-bottom: 70px; }
}
