:root {
  --navy-950: #070f22;
  --navy-900: #0b1c3a;
  --navy-800: #122a52;
  --navy-700: #1a3868;
  --white: #ffffff;
  --cream: #f6f7fb;
  --ink: #14213d;
  --ink-soft: #4c5876;
  --saffron: #f28b2d;
  --saffron-dark: #d9741a;
  --saffron-light: #ffb066;
  --shadow: 0 24px 60px -20px rgba(11, 28, 58, 0.35);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; margin: 0; line-height: 1.08; color: var(--navy-900); }
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--saffron), var(--saffron-light));
  z-index: 999; transition: width 0.1s linear;
}

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 5vw;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), box-shadow 0.35s var(--ease);
  background: linear-gradient(to bottom, rgba(7,15,34,0.55), transparent);
}
.site-header.scrolled {
  background: rgba(7, 15, 34, 0.92);
  backdrop-filter: blur(10px);
  padding: 12px 5vw;
  box-shadow: 0 12px 30px -18px rgba(0,0,0,0.5);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo { height: 46px; width: auto; transition: height 0.35s var(--ease); }
.brand-logo--fortune {
  background: var(--navy-950); border-radius: 8px; padding: 7px 14px;
  box-shadow: 0 6px 18px -8px rgba(0,0,0,0.55);
}
.brand-logo--saffron { height: 42px; }
.site-header.scrolled .brand-logo { height: 34px; }
.brand-divider { width: 1px; height: 24px; background: rgba(255,255,255,0.3); }
.main-nav { display: flex; gap: 34px; }
.main-nav a {
  color: rgba(255,255,255,0.88); font-weight: 500; font-size: 0.93rem; letter-spacing: 0.02em;
  position: relative; padding-bottom: 4px;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--saffron); transition: width 0.3s var(--ease);
}
.main-nav a:hover::after { width: 100%; }
.header-cta {
  background: var(--saffron); color: var(--white); font-weight: 600; font-size: 0.88rem;
  padding: 10px 22px; border-radius: 999px; transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 10px 24px -10px rgba(242,139,45,0.7);
}
.header-cta:hover { background: var(--saffron-dark); transform: translateY(-2px); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: rgba(255,255,255,0.1); border: none; border-radius: 10px;
  cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; margin: 0 auto; background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 320px);
  background: var(--navy-950); z-index: 99; display: flex; flex-direction: column;
  padding: 100px 34px 40px; gap: 26px;
  transform: translateX(100%); transition: transform 0.4s var(--ease);
  box-shadow: -20px 0 50px -20px rgba(0,0,0,0.6);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { color: var(--white); font-size: 1.1rem; font-weight: 600; }
.mobile-nav-cta {
  margin-top: 12px; background: var(--saffron); text-align: center; padding: 14px; border-radius: 999px;
}

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,15,34,0.55) 0%, rgba(7,15,34,0.35) 40%, rgba(7,15,34,0.92) 100%);
}
.hero-content {
  position: relative; z-index: 1; color: var(--white);
  padding: 0 5vw 9vw; max-width: 900px;
}
.eyebrow {
  color: var(--saffron-light); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  font-size: 0.82rem; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(3rem, 8vw, 6.2rem); color: var(--white); margin-bottom: 22px; }
.hero-lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,0.86); max-width: 620px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  border: 1.5px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--saffron); color: var(--white); box-shadow: 0 14px 30px -12px rgba(242,139,45,0.65); }
.btn-primary:hover { background: var(--saffron-dark); transform: translateY(-3px); }
.btn-ghost { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }
.btn-block { width: 100%; }

.scroll-cue {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 1;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.55); border-radius: 999px;
}
.scroll-cue span {
  display: block; width: 4px; height: 8px; margin: 8px auto 0; border-radius: 999px;
  background: var(--saffron); animation: cueMove 1.8s ease-in-out infinite;
}
@keyframes cueMove {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- marquee ---------- */
.marquee-strip {
  background: var(--saffron); overflow: hidden; padding: 14px 0;
}
.marquee-track {
  display: inline-flex; gap: 28px; white-space: nowrap;
  animation: marquee 22s linear infinite;
  color: var(--navy-950); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em;
}
.marquee-track span { opacity: 0.92; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- cinematic pinned building zoom ---------- */
.cinematic { position: relative; height: 240vh; }
.cinematic-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: flex-end;
}
.cinematic-sticky img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1); will-change: transform, filter;
  filter: saturate(1) brightness(1);
}
.cinematic-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(7,15,34,0.88) 0%, rgba(7,15,34,0.1) 55%);
}
.cinematic-caption {
  position: relative; z-index: 1; color: var(--white); padding: 0 6vw 8vw;
}
.cinematic-caption h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 3.2rem); margin-top: 10px; }

/* ---------- building line-draw accent ---------- */
.building-draw {
  position: absolute; right: 0; bottom: 0; width: min(46vw, 480px); height: auto;
  opacity: 0.35; pointer-events: none;
}
.building-draw path {
  fill: none; stroke: var(--saffron-light); stroke-width: 1.4;
  stroke-dasharray: 2400; stroke-dashoffset: 2400;
  transition: stroke-dashoffset 1.6s var(--ease);
}
.building-draw-windows { stroke-dasharray: 900 !important; stroke-dashoffset: 900 !important; transition-delay: 0.3s !important; }
.building-draw.in-view path { stroke-dashoffset: 0; }

/* ---------- sections ---------- */
.section { padding: 110px 0; }
.section-inner { max-width: 1080px; margin: 0 auto; padding: 0 6vw; }
.tag {
  color: var(--saffron-dark); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  font-size: 0.8rem; margin-bottom: 16px;
}
.tag--light { color: var(--saffron-light); }
.section h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); max-width: 760px; margin-bottom: 26px; }
.body-text { font-size: 1.08rem; line-height: 1.7; color: var(--ink-soft); max-width: 700px; }
.body-text--light { color: rgba(255,255,255,0.82); }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- features ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; margin-top: 44px;
}
.feature-card {
  background: var(--cream); border-radius: var(--radius); padding: 32px 26px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
  border: 1px solid rgba(20,33,61,0.06);
}
.feature-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow); background: var(--white);
}
.feature-icon {
  width: 54px; height: 54px; border-radius: 14px; background: rgba(242,139,45,0.12);
  display: flex; align-items: center; justify-content: center; color: var(--saffron-dark);
  margin-bottom: 20px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.6; }
.feature-grid .feature-card:nth-child(2) { transition-delay: 0.08s; }
.feature-grid .feature-card:nth-child(3) { transition-delay: 0.16s; }
.feature-grid .feature-card:nth-child(4) { transition-delay: 0.24s; }

/* ---------- sustainability band ---------- */
.sustainability {
  background: radial-gradient(ellipse at top left, var(--navy-700), var(--navy-950) 70%);
  padding: 130px 0;
  position: relative; overflow: hidden;
}
.sustainability-inner { max-width: 760px; margin: 0 auto; padding: 0 6vw; text-align: left; }
.sustainability h2 { color: var(--white); }

/* ---------- location ---------- */
.map-embed {
  margin-top: 40px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid rgba(20,33,61,0.08);
}
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- developer strip ---------- */
.developer-strip { background: var(--cream); padding: 70px 0; }
.developer-inner {
  display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; text-align: center;
}
.dev-logo { height: 58px; opacity: 0.95; }
.dev-logo--fortune {
  background: var(--navy-950); border-radius: 10px; padding: 8px 16px;
}
.dev-copy { max-width: 480px; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.6; }

/* ---------- enquire ---------- */
.enquire { background: var(--navy-900); }
.enquire .tag { color: var(--saffron-light); }
.enquire h2 { color: var(--white); }
.enquire .body-text { color: rgba(255,255,255,0.75); margin-bottom: 34px; }
.enquiry-form {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 34px; max-width: 560px; backdrop-filter: blur(6px);
}
.form-row { display: flex; gap: 16px; margin-bottom: 16px; }
.enquiry-form input, .enquiry-form textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06); color: var(--white); font-family: inherit; font-size: 0.95rem;
  margin-bottom: 16px; transition: border 0.3s var(--ease), background 0.3s var(--ease);
}
.enquiry-form input::placeholder, .enquiry-form textarea::placeholder { color: rgba(255,255,255,0.45); }
.enquiry-form input:focus, .enquiry-form textarea:focus {
  outline: none; border-color: var(--saffron); background: rgba(255,255,255,0.1);
}
.form-note { font-size: 0.8rem; color: rgba(255,255,255,0.45); text-align: center; margin-top: 14px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); padding: 50px 6vw 40px; text-align: center; }
.footer-brands { display: flex; justify-content: center; gap: 24px; margin-bottom: 22px; }
.footer-logo { height: 40px; opacity: 0.95; }
.footer-logo--fortune {
  background: var(--navy-800); border-radius: 8px; padding: 6px 12px;
}
.footer-logo--saffron { height: 44px; }
.footer-inner p { color: rgba(255,255,255,0.7); font-size: 0.92rem; margin-bottom: 6px; }
.footer-fine { color: rgba(255,255,255,0.4) !important; font-size: 0.8rem !important; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .form-row { flex-direction: column; gap: 0; }
  .developer-inner { flex-direction: column; }
  .site-header { padding: 18px 6vw; }
  .site-header.scrolled { padding: 12px 6vw; }
  .hero-content { padding: 0 6vw 16vw; }
  .section { padding: 76px 0; }
  .cinematic { height: 180vh; }
  .cinematic-caption { padding: 0 6vw 14vw; }
  .map-embed iframe { height: 280px; }
  .building-draw { width: 70vw; opacity: 0.22; }
  .enquiry-form { padding: 24px; }
}

@media (max-width: 480px) {
  .brand-divider { display: none; }
  .brand-logo--fortune { padding: 4px 8px; }
  .hero h1 { font-size: 2.5rem; }
  .marquee-track { font-size: 0.72rem; gap: 18px; }
}
