/* ============================================================
   Premium real-estate landing page
   Display: Cormorant Garamond  ·  UI/body: Jost
   ============================================================ */

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'Jost', -apple-system, 'Segoe UI', sans-serif;

  --gold-light: #d9b876;
  --gold: #b6924f;
  --gold-deep: #8a6a30;
  --gold-tint: #f6f0e6;
  --gold-gradient: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));

  --ink: #16181c;
  --ink-2: #2a2e35;
  --muted: #6f7580;
  --line: #e6e1d8;
  --cream: #faf8f4;

  --shadow-sm: 0 4px 16px rgba(22,24,28,.06);
  --shadow-md: 0 18px 44px rgba(22,24,28,.1);
  --shadow-lg: 0 30px 70px rgba(22,24,28,.16);
  --shadow-gold: 0 14px 32px rgba(182,146,79,.28);
  --ease: cubic-bezier(.22,.68,.28,1);
}

body {
  font-family: var(--body);
  font-weight: 300;
  color: var(--ink-2);
  line-height: 1.75;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--ink); line-height: 1.18; letter-spacing: .005em; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 26px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
[data-parallax] { will-change: transform; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; background: transparent; }
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .1s linear; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::after { content: ""; flex: 0 0 40px; height: 1px; background: currentColor; opacity: .45; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { content: ""; flex: 0 0 40px; height: 1px; background: currentColor; opacity: .45; }
.eyebrow.light { color: #e0cba4; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--body);
  padding: 15px 34px;
  border-radius: 1px;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .35s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 11px 22px; font-size: 11px; }
.btn-primary {
  position: relative; overflow: hidden;
  background: var(--gold-gradient); background-size: 200% 100%; background-position: 0% 0;
  color: #fff; border-color: var(--gold);
}
.btn-primary:hover { background-position: 100% 0; border-color: var(--gold-deep); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-outline { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold-gradient); border-color: var(--gold); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); color: #fff; backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-2px); }

/* ---------- Gold accent text (used to highlight a word in headings) ---------- */
.accent { color: var(--gold); font-style: italic; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), padding .45s var(--ease);
  padding: 10px 0;
}
.site-header.scrolled { background: rgba(255,255,255,.97); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); padding: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 26px; gap: 26px; }

.logo-text { font-family: var(--display); font-size: 25px; font-weight: 500; color: #fff; letter-spacing: .01em; transition: color .45s var(--ease); }
.logo-text em { font-style: normal; color: var(--gold); margin-left: 7px; }
.site-header.scrolled .logo-text { color: var(--ink); }

nav { display: flex; gap: 30px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; }
nav a { position: relative; padding-bottom: 5px; color: rgba(255,255,255,.86); transition: color .35s var(--ease); }
.site-header.scrolled nav a { color: var(--muted); }
nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold); transition: width .38s var(--ease); }
nav a:hover { color: var(--gold); }
nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 22px; }
.phone { font-size: 14px; font-weight: 500; color: #fff; letter-spacing: .04em; white-space: nowrap; transition: color .45s var(--ease); }
.site-header.scrolled .phone { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--ink); }
.hero-bg {
  position: absolute; inset: -2%;
  background: url('../img/deskban1.webp') center/cover no-repeat;
  will-change: transform;
  animation: heroZoom 22s var(--ease) forwards;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(12,14,18,.82) 0%, rgba(12,14,18,.55) 45%, rgba(12,14,18,.3) 100%);
}
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }

.hero-content { position: relative; z-index: 3; max-width: 720px; padding: 120px 26px 100px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 78px); font-weight: 300; line-height: 1.08; margin-bottom: 24px; color: #fff; }
.hero-sub { font-size: 17px; font-weight: 300; opacity: .88; margin-bottom: 34px; max-width: 500px; line-height: 1.7; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.hero-tags span {
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(6px);
  padding: 8px 17px; border-radius: 1px;
  font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 400;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.scroll-cue { position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%); z-index: 3; width: 24px; height: 40px; border: 1px solid rgba(255,255,255,.4); border-radius: 14px; display: flex; justify-content: center; padding-top: 8px; }
.scroll-cue span { display: block; width: 3px; height: 7px; border-radius: 2px; background: #fff; animation: cue 1.9s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(13px); } }

/* ---------- Sections ---------- */
.section { padding: 118px 0; }
.section.alt { background: linear-gradient(180deg, var(--cream) 0%, var(--gold-tint) 100%); }
.section-head { margin-bottom: 56px; }
.section-head.centered { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.section h2 { font-size: clamp(30px, 3.9vw, 50px); font-weight: 300; max-width: 640px; }
.section-head.centered h2 { margin-left: auto; margin-right: auto; }

/* ---------- Overview ---------- */
.overview-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 76px; align-items: center; }
.overview-copy p { color: var(--muted); margin-bottom: 20px; font-size: 15.5px; }
.overview-copy h2 { margin-bottom: 26px; }
.overview-copy .btn { margin-top: 10px; }
.overview-media { position: relative; }
.overview-clip { overflow: hidden; border-radius: 2px; box-shadow: var(--shadow-md); }
.overview-media img { aspect-ratio: 4/3.2; object-fit: cover; }
.overview-badge {
  position: absolute; bottom: -26px; left: -26px;
  background: #fff; padding: 22px 30px; border-radius: 2px;
  box-shadow: var(--shadow-md); text-align: center; border-top: 2px solid var(--gold);
}
.overview-badge strong { display: block; font-family: var(--display); font-size: 27px; color: var(--gold); line-height: 1; }
.overview-badge span { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Highlights ---------- */
.highlight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.highlight { position: relative; background: #fff; padding: 44px 34px; transition: background .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease); }
.highlight::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--gold-gradient); transition: width .4s var(--ease); }
.highlight:hover { background: var(--gold-tint); transform: translateY(-3px); box-shadow: var(--shadow-sm); z-index: 1; }
.highlight:hover::before { width: 3px; }
.hl-icon { display: inline-flex; color: var(--gold); margin-bottom: 20px; transition: transform .45s var(--ease); }
.hl-icon svg { width: 34px; height: 34px; }
.highlight:hover .hl-icon { transform: translateY(-4px) scale(1.06); }
.highlight h3 { font-size: 21px; margin-bottom: 9px; }
.highlight p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }

/* ---------- Configurations ---------- */
.config-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 34px; }
.config-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.config-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold-gradient); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); z-index: 1; }
.config-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.config-card:hover::before { transform: scaleX(1); }
.config-media { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.config-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.config-card:hover .config-media img { transform: scale(1.06); }
.config-tag {
  position: absolute; top: 18px; left: 18px;
  background: rgba(255,255,255,.94); color: var(--ink);
  padding: 7px 15px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
}
.config-body { padding: 30px 30px 26px; }
.config-body h3 { font-size: 27px; margin-bottom: 5px; }
.config-body > p { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.config-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.config-specs li { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 6px 12px; }
.config-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 22px; flex-wrap: wrap; }
.price { font-family: var(--display); font-size: 20px; color: var(--gold); }

/* ============================================================
   AMENITIES CAROUSEL
   ============================================================ */
.amenities-section {
  position: relative; padding-bottom: 100px; background: var(--ink); color: #fff; overflow: hidden;
}
.amenities-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 15% 0%, rgba(182,146,79,.16), transparent 70%),
              radial-gradient(50% 40% at 100% 100%, rgba(182,146,79,.1), transparent 70%);
}
.amenities-section h2 { color: #fff; }
.amenities-section .eyebrow { color: var(--gold); }

.carousel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.carousel-controls { display: flex; align-items: center; gap: 14px; }
.carousel-count { font-family: var(--display); font-size: 19px; color: rgba(255,255,255,.5); letter-spacing: .08em; margin-right: 6px; }
.carousel-count b { color: var(--gold); font-weight: 500; }
.carousel-btn {
  width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.26);
  background: transparent; color: #fff;
  display: grid; place-items: center; cursor: pointer;
  transition: all .35s var(--ease);
}
.carousel-btn svg { width: 19px; height: 19px; }
.carousel-btn:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); transform: scale(1.06); }
.carousel-btn:disabled { opacity: .28; cursor: default; }

.carousel-viewport {
  display: flex; gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: max(26px, calc((100vw - 1200px) / 2 + 26px));
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  padding: 4px 0 40px;
}
.carousel-viewport::-webkit-scrollbar { display: none; }
.carousel-viewport.dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel-track { display: flex; gap: 22px; padding: 0 max(26px, calc((100vw - 1200px) / 2 + 26px)); }

.am-card {
  position: relative;
  flex: 0 0 auto;
  width: 380px;
  aspect-ratio: 3/4;
  border-radius: 2px;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--ink-2);
}
.am-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.am-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,12,15,.92) 0%, rgba(10,12,15,.45) 42%, rgba(10,12,15,.06) 72%);
  transition: opacity .5s var(--ease);
}
.am-card:hover img { transform: scale(1.07); }

.am-overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 32px 30px; }
.am-num { font-family: var(--display); font-size: 13px; letter-spacing: .3em; color: var(--gold); display: block; margin-bottom: 10px; }
.am-overlay h3 { color: #fff; font-size: 27px; margin-bottom: 8px; font-weight: 400; }
.am-overlay p {
  font-size: 14px; color: rgba(255,255,255,.72); line-height: 1.6;
  opacity: 0; max-height: 0; overflow: hidden;
  transform: translateY(8px);
  transition: opacity .45s var(--ease), max-height .45s var(--ease), transform .45s var(--ease);
}
.am-card:hover .am-overlay p { opacity: 1; max-height: 90px; transform: translateY(0); }

.carousel-progress { height: 1px; background: rgba(255,255,255,.14); position: relative; margin-top: 4px; }
.carousel-progress span { position: absolute; left: 0; top: -1px; height: 3px; width: 12%; background: var(--gold); transition: left .25s var(--ease), width .25s var(--ease); }
.carousel-hint { margin-top: 16px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.35); }

/* ---------- Stats ---------- */
.stats-section { background: linear-gradient(135deg, var(--gold-tint), #fff 60%, var(--gold-tint)); padding: 74px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 34px; text-align: center; }
.stat b, .stat .plus { font-family: var(--display); font-size: clamp(38px, 4.6vw, 58px); font-weight: 400; color: var(--gold); line-height: 1; }
.stat p { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }

/* ---------- Location ---------- */
.location-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.landmark-list { margin-bottom: 30px; }
.landmark-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 19px 0; border-bottom: 1px solid var(--line);
  font-size: 15.5px; transition: padding-left .35s var(--ease), color .35s var(--ease);
}
.landmark-list li:first-child { border-top: 1px solid var(--line); }
.landmark-list li:hover { padding-left: 10px; color: var(--ink); }
.landmark-list li span:last-child { font-family: var(--display); font-size: 17px; color: var(--gold); white-space: nowrap; }
.map-embed { border-radius: 2px; overflow: hidden; box-shadow: var(--shadow-sm); }
.map-embed img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.map-embed iframe { width: 100%; aspect-ratio: 16/11; border: 0; display: block; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 2px; aspect-ratio: 1/1; cursor: zoom-in; background: var(--line); }
.gallery-item.wide { grid-column: span 2; aspect-ratio: 2/1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,12,15,.5), transparent 60%);
  opacity: 0; transition: opacity .45s var(--ease);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { opacity: 1; }

/* ---------- Lead section ---------- */
.lead-section { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.lead-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(45% 60% at 0% 50%, rgba(182,146,79,.14), transparent 70%);
}
.lead-section .container { position: relative; }
.lead-section h2 { color: #fff; }
.lead-copy { color: rgba(255,255,255,.66); margin-bottom: 28px; font-size: 15.5px; max-width: 400px; }
.lead-phone { font-family: var(--display); font-size: 30px; color: var(--gold); letter-spacing: .02em; }
.lead-inline { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.lead-form { background: #fff; border-radius: 2px; padding: 40px 36px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-lg); }
.lead-form h3 { font-size: 26px; }
.form-note { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }

.lead-form input, .lead-form select,
.modal-box input, .modal-box select {
  font-family: var(--body); font-weight: 300;
  padding: 14px 16px; border-radius: 1px;
  border: 1px solid var(--line); font-size: 14.5px;
  color: var(--ink); background: #fff;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.lead-form input:focus, .lead-form select:focus,
.modal-box input:focus, .modal-box select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(182,146,79,.14);
}
.form-status { font-size: 13px; color: #15803d; min-height: 18px; }
.form-status.error { color: #b91c1c; }

/* ---------- Footer ---------- */
.site-footer { background: #0f1114; color: rgba(255,255,255,.42); padding: 54px 0 40px; text-align: center; font-size: 13px; }
.footer-inner .logo-text { color: #fff; display: inline-block; margin-bottom: 20px; }
.disclaimer { max-width: 720px; margin: 0 auto 18px; font-size: 11.5px; line-height: 1.75; color: rgba(255,255,255,.3); }
.copy { font-size: 12.5px; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; }
.mobile-bar a, .mobile-bar button {
  flex: 1; padding: 16px; border: none; cursor: pointer;
  font-family: var(--body); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  text-align: center;
}
.mb-call { background: var(--ink); color: #fff; }
.mb-enquire { background: var(--gold); color: #fff; }

/* ---------- Modal ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(10,12,15,.76); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; z-index: 150; padding: 20px; }
.modal-overlay.open { display: flex; animation: fadeIn .3s var(--ease); }
.modal-box { background: #fff; border-radius: 2px; padding: 42px 38px; width: 100%; max-width: 430px; position: relative; animation: modalIn .45s var(--ease); max-height: 92vh; overflow-y: auto; }
.modal-box h3 { font-size: 28px; margin-bottom: 4px; }
.modal-close { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 30px; line-height: 1; cursor: pointer; color: #b6bac1; transition: color .3s var(--ease); }
.modal-close:hover { color: var(--ink); }
.modal-box form { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(8,9,12,.95); z-index: 200; display: none; align-items: center; justify-content: center; padding: 60px 20px; }
.lightbox.open { display: flex; animation: fadeIn .3s var(--ease); }
.lightbox img { max-width: 90vw; max-height: 82vh; object-fit: contain; border-radius: 2px; animation: modalIn .4s var(--ease); }
.lb-close { position: absolute; top: 22px; right: 28px; background: none; border: none; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; opacity: .7; transition: opacity .3s; }
.lb-close:hover { opacity: 1; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; transition: all .3s var(--ease); }
.lb-nav:hover { background: var(--gold); border-color: var(--gold); }
.lb-prev { left: 26px; } .lb-next { right: 26px; }
.lb-count { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.6); font-size: 12px; letter-spacing: .2em; }

/* ============================================================
   Scroll reveal
   ============================================================ */
[data-animate] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-animate].in-view { opacity: 1; transform: none; }
.highlight-grid [data-animate]:nth-child(2), .gallery-grid [data-animate]:nth-child(2), .stats-grid [data-animate]:nth-child(2) { transition-delay: .08s; }
.highlight-grid [data-animate]:nth-child(3), .gallery-grid [data-animate]:nth-child(3), .stats-grid [data-animate]:nth-child(3) { transition-delay: .16s; }
.highlight-grid [data-animate]:nth-child(4), .gallery-grid [data-animate]:nth-child(4), .stats-grid [data-animate]:nth-child(4) { transition-delay: .24s; }
.highlight-grid [data-animate]:nth-child(5), .gallery-grid [data-animate]:nth-child(5) { transition-delay: .32s; }
.highlight-grid [data-animate]:nth-child(6), .gallery-grid [data-animate]:nth-child(6) { transition-delay: .4s; }
.gallery-grid [data-animate]:nth-child(7) { transition-delay: .48s; }
.gallery-grid [data-animate]:nth-child(8) { transition-delay: .56s; }
.config-grid [data-animate]:nth-child(2) { transition-delay: .12s; }

/* Hero entrance */
.hero-content > * { opacity: 0; transform: translateY(24px); animation: heroIn 1s var(--ease) forwards; }
.hero-content .eyebrow      { animation-delay: .25s; }
.hero-content h1            { animation-delay: .38s; }
.hero-content .hero-sub     { animation-delay: .54s; }
.hero-content .hero-tags    { animation-delay: .68s; }
.hero-content .hero-actions { animation-delay: .82s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .overview-grid, .location-grid, .lead-inline { grid-template-columns: 1fr; gap: 44px; }
  .overview-badge { left: 20px; bottom: -20px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  nav, .phone { display: none; }
  .section { padding: 78px 0; }
  .hero { min-height: 92vh; }
  .hero-content { padding: 110px 26px 90px; }
  .am-card { width: 300px; }
  .carousel-track { padding: 0 26px; }
  .carousel-viewport { scroll-padding-left: 26px; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 54px; }
  .scroll-cue { display: none; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
  .gallery-item.wide { grid-column: span 2; aspect-ratio: 16/9; }
}
@media (max-width: 560px) {
  .am-card { width: 76vw; }
  .lead-form, .modal-box { padding: 30px 24px; }
  .carousel-head { align-items: flex-start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-animate], .hero-content > * { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .hero-bg, .scroll-cue span { animation: none !important; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Logo image (used when a logo file is supplied) ---------- */
.logo-img { height: 42px; width: auto; display: block; }
.site-header.scrolled .logo-img { height: 38px; }
/* A white/light logo needs inverting once the header turns white on scroll.
   Add class="logo-img invert-on-scroll" if your logo is light-coloured. */
.site-header.scrolled .logo-img.invert-on-scroll { filter: invert(1) brightness(.2); }

/* ---------- Video ---------- */
.video-section { background: var(--cream); }
.video-frame {
  position: relative; max-width: 940px; margin: 0 auto;
  aspect-ratio: 16/9; overflow: hidden; border-radius: 2px;
  box-shadow: var(--shadow-lg); cursor: pointer; background: var(--ink);
}
.video-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; }
.video-frame:hover img { transform: scale(1.03); opacity: .82; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-play {
  position: absolute; inset: 0; margin: auto;
  width: 82px; height: 82px; border-radius: 50%;
  background: var(--gold-gradient); border: none; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 10px 40px rgba(0,0,0,.4);
  transition: transform .4s var(--ease);
}
.video-frame:hover .video-play { transform: scale(1.08); }
.video-play span {
  display: block; width: 0; height: 0; margin-left: 6px;
  border-top: 13px solid transparent; border-bottom: 13px solid transparent;
  border-left: 21px solid #fff;
}
@media (max-width: 560px) { .video-play { width: 62px; height: 62px; } }

/* ============================================================
   Embassy Knowledge Park — project-specific components
   ============================================================ */

/* The supplied logo is dark ink + red on white. The header is transparent
   over a dark hero, so knock the mark out to white until the header turns
   white on scroll, then restore the real colours. */
.logo-img { filter: brightness(0) invert(1); transition: filter .45s var(--ease); }
.site-header.scrolled .logo-img { filter: none; }
.footer-logo { filter: brightness(0) invert(1); }

/* ---------- EOI strip ---------- */
.eoi-strip { background: linear-gradient(135deg, var(--gold-tint), #fff 55%, var(--gold-tint)); border-bottom: 1px solid var(--line); padding: 42px 0; }
.eoi-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.eoi-copy .eyebrow { margin-bottom: 10px; }
.eoi-copy h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 300; }
.eoi-figures { display: flex; gap: 40px; flex-wrap: wrap; }
.eoi-fig b { display: block; font-family: var(--display); font-size: 30px; font-weight: 500; color: var(--gold); line-height: 1.1; }
.eoi-fig span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Pricing table ---------- */
.price-table { border: 1px solid var(--line); border-radius: 2px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.price-row { display: grid; grid-template-columns: 1fr 1.2fr 1.4fr auto; gap: 20px; align-items: center; padding: 20px 28px; border-bottom: 1px solid var(--line); transition: background .35s var(--ease); }
.price-row:last-child { border-bottom: none; }
.price-row:not(.price-head):hover { background: var(--cream); }
.price-head { background: var(--ink); color: rgba(255,255,255,.7); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; padding: 16px 28px; }
.pt-type { font-family: var(--display); font-size: 24px; color: var(--ink); }
.pt-area { font-size: 15px; color: var(--muted); }
.pt-price { font-family: var(--display); font-size: 21px; color: var(--gold); }
.pt-cta { justify-self: end; }

/* ---------- Inline CTA band ---------- */
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-top: 40px; padding: 28px 32px; background: var(--cream); border-left: 3px solid var(--gold); }
.section.alt .inline-cta { background: #fff; }
.inline-cta p { font-size: 15.5px; color: var(--muted); margin: 0; max-width: 560px; }

/* ---------- Master plan ---------- */
.masterplan { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 2px; padding: 30px; box-shadow: var(--shadow-sm); }
.masterplan-media { overflow: hidden; border-radius: 2px; background: var(--cream); }
.masterplan-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.masterplan:hover .masterplan-media img { transform: scale(1.03); }
.masterplan-copy h3 { font-size: 30px; margin-bottom: 12px; }
.masterplan-copy p { font-size: 15.5px; color: var(--muted); margin-bottom: 26px; }

/* Floor plans are line drawings, not photography — contain them and give
   them a light ground so they don't get cropped by the photo aspect rule. */
.plans-grid { margin-top: 64px; }
.plan-media { background: var(--cream); }
.plan-media img { object-fit: contain; padding: 10px; }
.config-card:hover .plan-media img { transform: none; }

/* ---------- Location ---------- */
.landmark-note { font-size: 13.5px; color: var(--muted); margin: -14px 0 26px; line-height: 1.7; }

/* ---------- Lead promises ---------- */
.promise-list { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.promise-list li { border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.05); padding: 8px 16px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); }

/* ---------- Developer ---------- */
.developer-inner { text-align: center; max-width: 760px; }
.developer-inner h2 { margin: 0 auto 20px; }
.developer-copy { font-size: 16.5px; color: var(--muted); line-height: 1.85; }

/* ---------- Footer ---------- */
.footer-address { max-width: 720px; margin: 0 auto 10px; font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,.5); }
.footer-address b { color: rgba(255,255,255,.72); font-weight: 500; }
.footer-inner .logo-img { height: 46px; margin: 0 auto 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .masterplan { grid-template-columns: 1fr; gap: 30px; }
  .eoi-inner { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .price-row { grid-template-columns: 1fr 1fr; gap: 10px 18px; padding: 20px; }
  .price-head { display: none; }
  .pt-type { grid-column: 1; }
  .pt-area { grid-column: 2; text-align: right; }
  .pt-price { grid-column: 1; font-size: 17px; white-space: nowrap; }
  .pt-cta { grid-column: 2; justify-self: end; }
  .inline-cta { padding: 24px; }
  .eoi-figures { gap: 26px; }
}

/* Four floor plans read better as a tidy 2x2 than 3-plus-a-stray-one. */
@media (min-width: 761px) { .plans-grid { grid-template-columns: repeat(2, 1fr); } }
