/* MMK Residence — marketing site */
.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
@media (max-width: 640px) { .container { width: calc(100% - 32px); } }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.dark { background: var(--ink); color: #e9ecec; }
.dark .muted, .dark .lead { color: #a9b6ba; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { text-align: center; max-width: 820px; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem 4rem; flex-wrap: wrap; }
.section-head.split .lead { max-width: 440px; }
.section-title { font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: 1.02; margin: 1rem 0 1.2rem; font-weight: 500; }
.section-title em, .display em { font-style: italic; color: var(--gold); font-weight: 500; }
.lead { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--stone); line-height: 1.75; }
.hidden { display: none !important; }
[data-icon] { display: inline-flex; }
.ico { width: 1.15em; height: 1.15em; }

/* reveal animations */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 100; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  transition: opacity .9s var(--ease) .1s, visibility .9s;
}
.preloader .roof { width: 150px; color: var(--gold-2); }
.preloader .roof path { stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 1.5s var(--ease-in-out) forwards; }
.preloader .roof path:nth-child(2) { animation-delay: .35s; }
.preloader .roof path:nth-child(3) { animation-delay: .55s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pre-word { font-family: var(--font-display); letter-spacing: .42em; font-size: 1.35rem; padding-left: .42em; opacity: 0; animation: fadeUp .9s var(--ease) .7s forwards; }
.pre-script { color: var(--gold-2); font-size: 1.9rem; opacity: 0; animation: fadeUp .9s var(--ease) 1s forwards; margin-top: -6px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
body:not(.is-loading) .preloader { opacity: 0; visibility: hidden; }
body.is-loading { overflow: hidden; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 18px 0; transition: padding .4s var(--ease), background .4s, box-shadow .4s, transform .5s var(--ease); }
.nav-inner { width: min(1320px, 100% - 48px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand img { height: 44px; width: auto; transition: height .4s var(--ease); }
.brand .logo-dark { display: none; }
.nav-links { display: flex; gap: 2.1rem; }
.nav-links a { color: rgba(255,255,255,.88); font-size: .88rem; font-weight: 600; position: relative; padding: 6px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-2); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-login { display: inline-flex; align-items: center; gap: .45rem; color: #fff; font-size: .86rem; font-weight: 700; }
.nav.scrolled { padding: 10px 0; background: rgba(250, 248, 244, .82); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 1px 0 rgba(14,23,28,.06), 0 10px 30px -18px rgba(14,23,28,.25); }
.nav.scrolled .brand img { height: 36px; }
.nav.scrolled .logo-light { display: none; }
.nav.scrolled .logo-dark { display: block; }
.nav.scrolled .nav-links a, .nav.scrolled .nav-login { color: var(--ink); }
.nav.scrolled .nav-links a::after { background: var(--gold); }
.nav.hide { transform: translateY(-110%); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.nav.scrolled .burger { border-color: rgba(14,23,28,.18); } .nav.scrolled .burger span { background: var(--ink); }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: var(--ink); color: #fff; padding: 110px 28px 40px; display: flex; flex-direction: column; justify-content: space-between; clip-path: circle(0 at calc(100% - 46px) 40px); transition: clip-path .8s var(--ease-in-out); }
.mobile-menu nav { display: flex; flex-direction: column; gap: .4rem; }
.mobile-menu nav a { font-family: var(--font-display); font-size: 2.4rem; line-height: 1.25; opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 46px) 40px); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(n) { transition-delay: calc(.2s + var(--i, 0) * .05s); }
.menu-open .nav { background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .nav .logo-dark { display: none; } .menu-open .nav .logo-light { display: block; }
.menu-open .nav .burger span { background: #fff; }
@media (max-width: 1080px) { .nav-links { display: none; } .burger { display: block; } }
@media (max-width: 560px) { .nav-login { display: none; } .nav-cta .btn { display: none; } .brand img { height: 36px; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
/* the hero photo: the original photograph, with a slow opening zoom, a gentle "breath" and mouse depth
   (spare margin, so no edge ever shows) */
.hero-media { position: absolute; inset: -1.5%; --px: 0; --py: 0; --sy: 0; }
.hl-zoom { position: absolute; inset: 0; transform: translate3d(calc(var(--px) * -10px), calc(var(--py) * -6px + var(--sy) * .35px), 0); transition: transform 1.1s cubic-bezier(.22,.61,.36,1); }
.hl-scene { position: absolute; inset: 0; transform: scale(1.05); animation: kenburns 16s cubic-bezier(.22,.61,.36,1) forwards, breathe 34s ease-in-out 16s infinite alternate; }
body.is-loading .hl-scene { animation-play-state: paused; }
.hl-base { position: absolute; inset: 0; display: block; }
@keyframes kenburns { to { transform: scale(1); } }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.03); } }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; display: block; }
/* phones: the photo is shown at its own shape (the whole building, sky above, courtyard below) and melts into the dark below */
@media (max-aspect-ratio: 1/1) {
  .hero-media { inset: 0 -1.5% auto; height: min(calc(103vw * 1.6), calc(100svh + 60px)); -webkit-mask-image: linear-gradient(#000 72%, transparent 99%); mask-image: linear-gradient(#000 72%, transparent 99%); }
  .hero-media img { object-position: center 45%; }
}
@media (prefers-reduced-motion: reduce) { .hl-scene { animation: none; transform: none; } .hl-zoom { transform: none; } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(14,23,28,.45) 0%, rgba(14,23,28,0) 24%, rgba(14,23,28,.08) 50%, rgba(14,23,28,.82) 100%),
  linear-gradient(90deg, rgba(14,23,28,.58) 0%, rgba(14,23,28,.12) 45%, rgba(14,23,28,0) 65%); }
.hero-grain { position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-content { position: relative; z-index: 2; padding: 140px 0 clamp(70px, 12vh, 130px); }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.8rem; }
.hero-badge { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .95rem; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(12px); font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.hero-badge.gold { background: rgba(195,154,82,.22); border-color: rgba(223,194,138,.55); color: var(--gold-3); }
.hero-title { font-size: clamp(4rem, 11.5vw, 10.5rem); line-height: .86; letter-spacing: -.02em; font-weight: 500; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.hero-title .line:nth-child(2) > span { transition-delay: .12s; padding-left: .6em; }
.hero-title .line:nth-child(3) > span { transition-delay: .24s; padding-left: 1.2em; }
.hero-title em { color: var(--gold-2); }
body.ready .hero-title .line > span { transform: none; }
.hero-script { font-size: clamp(2rem, 4vw, 3.4rem); color: var(--gold-2); margin: .2rem 0 1.4rem 2.2em; line-height: 1; }
.hero-sub { max-width: 540px; font-size: clamp(1rem, 1.35vw, 1.15rem); color: rgba(255,255,255,.85); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero-card { position: absolute; z-index: 3; right: max(24px, calc((100% - 1240px) / 2)); bottom: clamp(70px, 12vh, 130px); width: 300px; padding: 1.4rem 1.5rem; border-radius: 22px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.hc-top { display: flex; justify-content: space-between; align-items: center; }
.hc-label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,.75); }
.hc-num { display: flex; align-items: baseline; gap: .6rem; margin: .5rem 0 .9rem; }
.hc-num .counter { font-family: var(--font-display); font-size: 4rem; line-height: 1; font-weight: 500; }
.hc-num small { color: rgba(255,255,255,.75); font-weight: 600; }
.hc-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.18); overflow: hidden; }
.hc-bar span { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--gold-2), var(--gold)); transition: width 2s var(--ease) .6s; }
.hc-foot { display: flex; justify-content: space-between; gap: .5rem; margin-top: .8rem; font-size: .76rem; color: rgba(255,255,255,.75); }
.hc-foot a { color: var(--gold-2); font-weight: 700; white-space: nowrap; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 3px; background: #fff; transform: translateX(-50%); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 14px); } 100% { opacity: 0; } }
@media (max-width: 980px) {
  .hero-card { position: relative; right: auto; bottom: auto; margin: -40px 0 50px; width: auto; }
  .hero { flex-direction: column; justify-content: flex-end; align-items: stretch; }
  .hero-card { margin-inline: 24px; }
  .scroll-cue { display: none; }
}
@media (max-width: 640px) { .hero-card { margin-inline: 16px; } .hero-title .line:nth-child(2) > span { padding-left: .3em; } .hero-title .line:nth-child(3) > span { padding-left: .6em; } .hero-script { margin-left: 1em; } }

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--gold-2); border-top: 1px solid rgba(255,255,255,.06); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; gap: 2.4rem; align-items: center; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: 1.6rem; font-style: italic; white-space: nowrap; color: #f0e7d4; }
.marquee i { font-style: normal; color: var(--gold); font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.intro-media { position: relative; aspect-ratio: 4/5; }
.intro-media figure { margin: 0; position: absolute; overflow: hidden; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.intro-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.intro-media figure:hover img { transform: scale(1.05); }
.im-1 { inset: 0 18% 12% 0; }
.im-2 { width: 46%; aspect-ratio: 3/4; right: 0; bottom: 0; border: 8px solid var(--cream); }
.im-stamp { position: absolute; left: -26px; bottom: 4%; width: 124px; height: 124px; border-radius: 50%; background: var(--ink); color: var(--gold-2); display: grid; place-items: center; box-shadow: var(--shadow); }
.im-stamp svg { position: absolute; inset: 0; animation: rotate 22s linear infinite; }
.im-stamp text { font-size: 8.4px; letter-spacing: 1.55px; fill: currentColor; font-weight: 700; font-family: var(--font-body); }
.im-stamp > span .ico { width: 30px; height: 30px; }
@keyframes rotate { to { transform: rotate(360deg); } }
.intro-copy .lead { margin-bottom: 1rem; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 2.6rem; background: var(--line); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.stat { background: var(--cream); padding: 1.5rem 1.4rem; }
.stat b { display: block; font-family: var(--font-display); font-size: 3rem; line-height: 1; font-weight: 500; color: var(--ink); }
.stat span { font-size: .82rem; color: var(--stone); font-weight: 600; }
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; } .intro-media { max-width: 520px; width: 100%; margin-inline: auto; } .im-stamp { left: 0; } }

/* ---------- living tour ---------- */
.living { overflow: hidden; }
.living::before { content: ''; position: absolute; width: 900px; height: 900px; border-radius: 50%; left: -300px; top: -300px; background: radial-gradient(circle, rgba(195,154,82,.14), transparent 60%); pointer-events: none; }
.tour-tabs { display: flex; justify-content: center; gap: .5rem; margin-bottom: 2.4rem; flex-wrap: wrap; }
.tour-tabs button { display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.4rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: #cfd7d9; font-weight: 700; font-size: .9rem; transition: all .35s var(--ease); }
.tour-tabs button:hover { border-color: rgba(255,255,255,.35); color: #fff; }
.tour-tabs button.active { background: var(--gold-2); color: var(--ink); border-color: var(--gold-2); }
.tour-stage { position: relative; display: grid; }
.tour-slide { grid-area: 1/1; display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; }
.tour-slide.active { opacity: 1; visibility: visible; }
.tour-img { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/3.4; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.tour-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.tour-slide.active .tour-img img { transform: scale(1); }
.hotspot { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.3), 0 4px 14px rgba(0,0,0,.4); animation: hs 2.4s infinite; padding: 0; }
.hotspot::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: var(--gold); }
.hotspot::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 14px); transform: translate(-50%, 6px); white-space: nowrap; padding: .5rem .8rem; border-radius: 10px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 600; opacity: 0; pointer-events: none; transition: all .3s var(--ease); box-shadow: var(--shadow); }
.hotspot:hover::after, .hotspot:focus::after, .hotspot.show::after { opacity: 1; transform: translate(-50%, 0); }
/* dots near an edge open their label inwards */
.hotspot.tip-r::after { left: -8px; transform: translate(0, 6px); }
.hotspot.tip-l::after { left: auto; right: -8px; transform: translate(0, 6px); }
.hotspot.tip-r:hover::after, .hotspot.tip-r:focus::after, .hotspot.tip-r.show::after, .hotspot.tip-l:hover::after, .hotspot.tip-l:focus::after, .hotspot.tip-l.show::after { transform: translate(0, 0); }
@keyframes hs { 0%, 100% { box-shadow: 0 0 0 6px rgba(255,255,255,.3), 0 4px 14px rgba(0,0,0,.4); } 50% { box-shadow: 0 0 0 12px rgba(255,255,255,.08), 0 4px 14px rgba(0,0,0,.4); } }
.tour-num { font-size: 5rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(223,194,138,.6); }
.tour-info h3 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin: .3rem 0 1rem; font-weight: 500; color: #fff; }
.tour-info p { color: #a9b6ba; line-height: 1.75; margin-bottom: 1.4rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.ticks li { display: flex; gap: .7rem; align-items: center; font-weight: 600; font-size: .95rem; }
.ticks li::before { content: ''; width: 20px; height: 20px; border-radius: 50%; flex: none; background: rgba(195,154,82,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dfc28a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat; }
@media (max-width: 900px) { .tour-slide { grid-template-columns: 1fr; } .hotspot::after { white-space: normal; width: 160px; text-align: center; } }

/* ---------- amenities bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); grid-auto-flow: dense; gap: 18px; }
.b-card { position: relative; padding: 1.7rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; overflow: hidden; }
.b-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.b-card h4 { font-size: 1.08rem; margin: 1.1rem 0 .45rem; font-weight: 800; letter-spacing: -.01em; }
.b-card p { font-size: .9rem; color: var(--stone); line-height: 1.6; }
.b-ico { width: 52px; height: 52px; border-radius: 16px; display: grid !important; place-items: center; background: var(--sand); color: var(--ink); transition: transform .5s var(--ease), background .3s; }
.b-ico .ico { width: 24px; height: 24px; }
.b-card:hover .b-ico { transform: rotate(-8deg) scale(1.08); background: var(--gold-3); }
.b-gold { background: linear-gradient(150deg, #20323a, var(--ink)); color: #fff; border-color: transparent; }
.b-gold p { color: #a9b6ba; } .b-gold .b-ico { background: rgba(223,194,138,.16); color: var(--gold-2); }
.b-photo { padding: 0; background: var(--ink) var(--img) center/cover; color: #fff; border: 0; display: flex; align-items: flex-end; min-height: 300px; }
.b-photo::before { content: ''; position: absolute; inset: 0; background: inherit; background-size: cover; transition: transform 1.2s var(--ease); }
.b-photo:hover::before { transform: scale(1.07); }
.b-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(14,23,28,.88)); }
.b-over { position: relative; z-index: 2; padding: 1.8rem; }
.b-over h3 { font-size: 2rem; margin: .7rem 0 .4rem; font-weight: 500; }
.b-over p { color: rgba(255,255,255,.8); font-size: .92rem; }
.b-over .pill { background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(6px); }
.b-tall { grid-row: span 2; }
/* the dark "common room" card that closes the grid */
.b-ink { background: radial-gradient(120% 90% at 100% 0%, rgba(223,194,138,.22), transparent 55%), linear-gradient(150deg, #24363f, #0e171c 70%); color: #fff; border: 0; }
.b-ink h4 { color: #fff; }
.b-ink p { color: rgba(255,255,255,.72); }
.b-ink .b-ico { background: rgba(223,194,138,.16); color: var(--gold-2, #dfc28a); }
.b-ink:hover .b-ico { background: rgba(223,194,138,.28); }
.b-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.b-tags span { font-size: .7rem; font-weight: 700; letter-spacing: .02em; padding: .28rem .6rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(223,194,138,.25); color: rgba(255,255,255,.86); }
.b-wide { grid-column: span 2; }
@media (max-width: 1080px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .b-wide { grid-column: auto; } .b-tall { grid-row: auto; } }

/* ---------- smart living ---------- */
.smart { overflow: hidden; }
.smart::after { content: ''; position: absolute; width: 800px; height: 800px; right: -250px; bottom: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(127,156,145,.18), transparent 60%); pointer-events: none; }
.smart-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.feature-list { display: grid; gap: 1.1rem; margin: 2rem 0 2.4rem; }
.feat { display: flex; gap: 1rem; align-items: flex-start; }
.feat > span { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid !important; place-items: center; background: rgba(223,194,138,.12); color: var(--gold-2); border: 1px solid rgba(223,194,138,.2); }
.feat b { color: #fff; font-size: 1rem; }
.feat p { color: #93a3a8; font-size: .9rem; margin-top: .15rem; }
.phone-wrap { position: relative; display: flex; justify-content: center; padding: 30px 0; }
.phone { width: 300px; border-radius: 46px; padding: 12px; background: linear-gradient(145deg, #2c3b42, #0b1216); box-shadow: 0 50px 100px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.08); transform: rotate(-4deg); transition: transform 1s var(--ease); position: relative; }
.phone-wrap:hover .phone { transform: rotate(0) translateY(-8px); }
.phone-notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 20px; background: #000; z-index: 2; }
.phone-screen { border-radius: 36px; background: var(--cream); color: var(--ink); padding: 52px 16px 20px; display: grid; gap: 12px; min-height: 560px; }
.ps-head { display: flex; justify-content: space-between; align-items: center; }
.ps-head small { color: var(--stone); font-size: .72rem; display: block; } .ps-head b { font-size: 1.15rem; }
.ps-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-3); font-weight: 800; font-size: .75rem; }
.ps-key { display: flex; justify-content: space-between; align-items: center; padding: 18px; border-radius: 20px; background: linear-gradient(135deg, var(--slate), var(--ink)); color: #fff; }
.ps-key small { color: var(--gold-2); font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; display: block; } .ps-key b { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; }
.ps-key .ico { width: 28px; height: 28px; color: var(--gold-2); }
.ps-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ps-tile { background: #fff; border-radius: 16px; padding: 12px; border: 1px solid var(--line); }
.ps-tile .ico { color: var(--gold); } .ps-tile small { display: block; color: var(--stone); font-size: .68rem; margin-top: 6px; } .ps-tile b { font-size: 1.05rem; }
.ps-issue { background: #fff; border-radius: 16px; padding: 12px; border: 1px solid var(--line); }
.ps-issue-top { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; }
.ps-status { font-size: .62rem; font-weight: 800; padding: 3px 8px; border-radius: 99px; background: #fff3dc; color: #a36b07; }
.ps-prog { height: 5px; border-radius: 5px; background: var(--sand); margin: 10px 0 6px; overflow: hidden; }
.ps-prog span { display: block; height: 100%; width: 66%; background: linear-gradient(90deg, var(--gold-2), var(--gold)); border-radius: 5px; animation: prog 3s var(--ease) infinite alternate; }
@keyframes prog { from { width: 40%; } to { width: 78%; } }
.ps-issue small { font-size: .7rem; color: var(--stone); }
.ps-event { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 10px; border: 1px solid var(--line); }
.ps-event > span { width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: var(--gold-2); display: grid; place-items: center; font-size: .65rem; font-weight: 800; letter-spacing: .1em; }
.ps-event b { font-size: .85rem; display: block; } .ps-event small { font-size: .7rem; color: var(--stone); }
.ps-event em { margin-left: auto; font-style: normal; font-size: .68rem; font-weight: 800; color: var(--success); }
.float-chip { position: absolute; display: flex; align-items: center; gap: .5rem; padding: .7rem 1rem; border-radius: 14px; background: rgba(255,255,255,.95); color: var(--ink); font-size: .8rem; font-weight: 700; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; }
.float-chip.c1 { left: 0; top: 22%; } .float-chip.c2 { right: 0; bottom: 18%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-14px); } }
@media (max-width: 900px) { .smart-grid { grid-template-columns: 1fr; } .float-chip.c1 { left: 4px; } .float-chip.c2 { right: 4px; } }

/* ---------- timeline ---------- */
.timeline { position: relative; max-width: 940px; margin: 0 auto; display: grid; gap: 28px; }
.tl-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--line); transform: translateX(-50%); }
.tl-line span { position: absolute; left: 0; top: 0; width: 100%; height: var(--p, 0%); background: linear-gradient(var(--gold-2), var(--gold)); border-radius: 2px; }
.tl-item { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; position: relative; }
.tl-item::before { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: var(--cream); border: 3px solid var(--gold); transform: translate(-50%, -50%); z-index: 1; }
.tl-item time { font-family: var(--font-display); font-size: 3rem; color: var(--gold); text-align: right; font-weight: 500; }
.tl-item:nth-child(odd) time { order: 2; text-align: left; }
.tl-card { padding: 1.4rem 1.5rem; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s; }
.tl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tl-card > span { color: var(--gold); } .tl-card > span .ico { width: 26px; height: 26px; }
.tl-card h4 { margin: .5rem 0 .3rem; font-size: 1.05rem; font-weight: 800; }
.tl-card p { font-size: .9rem; color: var(--stone); }
@media (max-width: 760px) {
  .tl-line { left: 8px; } .tl-item::before { left: 8px; }
  .tl-item, .tl-item:nth-child(odd) { grid-template-columns: 1fr; gap: 8px; padding-left: 36px; }
  .tl-item time, .tl-item:nth-child(odd) time { order: 0; text-align: left; font-size: 2.2rem; }
  .tl-item::before { top: 26px; }
}

/* ---------- gallery ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: .84rem; color: var(--slate); transition: all .3s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.masonry { columns: 4 260px; column-gap: 16px; }
.m-item { break-inside: avoid; margin-bottom: 16px; border-radius: var(--r); overflow: hidden; position: relative; cursor: zoom-in; background: var(--sand); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.m-item img { width: 100%; height: auto; transition: transform 1.2s var(--ease), filter .6s; }
.m-item:hover img { transform: scale(1.06); }
.m-item figcaption { position: absolute; left: 12px; bottom: 12px; padding: .35rem .7rem; border-radius: 999px; background: rgba(14,23,28,.65); color: #fff; font-size: .72rem; font-weight: 700; backdrop-filter: blur(6px); opacity: 0; transform: translateY(8px); transition: all .4s var(--ease); }
.m-item:hover figcaption { opacity: 1; transform: none; }
.m-item.hide { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,13,16,.94); backdrop-filter: blur(10px); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: 90vw; max-height: 86vh; text-align: center; }
.lightbox img { max-width: 90vw; max-height: 80vh; border-radius: 14px; margin: 0 auto; box-shadow: var(--shadow-lg); transform: scale(.96); transition: transform .5s var(--ease); }
.lightbox.open img { transform: none; }
.lightbox figcaption { color: #c7d0d2; margin-top: 1rem; font-size: .9rem; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center; transition: background .3s; }
.lightbox button:hover { background: rgba(255,255,255,.18); }
.lb-close { top: 20px; right: 20px; } .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); } .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- floor plan ---------- */
.plan-wrap { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-xl); padding: clamp(18px, 3vw, 36px); }
.plan-legend { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; font-size: .85rem; color: #b8c3c6; margin-bottom: 1.6rem; }
.plan-legend span { display: inline-flex; align-items: center; gap: .5rem; }
.lg { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.lg.available { background: #3ddc97; box-shadow: 0 0 12px rgba(61,220,151,.6); } .lg.held { background: var(--gold); } .lg.occupied { background: #3a4a52; }
.plan-count { margin-left: auto; color: #fff; } .plan-count b { color: var(--gold-2); font-size: 1.1rem; }
.plan { display: grid; gap: 26px; }
.floor-label { font-family: var(--font-display); font-size: 1.5rem; color: #fff; margin-bottom: 10px; display: flex; align-items: center; gap: .8rem; }
.floor-label small { font-family: var(--font-body); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.floor { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; }
.unit { position: relative; border-radius: 14px; padding: 10px 8px 8px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); text-align: center; transition: transform .35s var(--ease), border-color .3s, background .3s; }
.unit:hover { transform: translateY(-3px); border-color: rgba(223,194,138,.4); background: rgba(255,255,255,.07); }
.unit b { display: block; font-size: .72rem; color: #c9d2d4; letter-spacing: .06em; margin-bottom: 8px; }
.unit .beds { display: flex; gap: 5px; justify-content: center; }
.bed-dot { width: 100%; height: 26px; border-radius: 8px; border: 0; background: #3a4a52; transition: transform .3s var(--ease), box-shadow .3s; padding: 0; font-size: .64rem; font-weight: 800; color: rgba(255,255,255,.5); }
.bed-dot.available { background: #3ddc97; color: #08321f; cursor: pointer; box-shadow: 0 0 14px rgba(61,220,151,.35); }
.bed-dot.available:hover { transform: scale(1.12); box-shadow: 0 0 22px rgba(61,220,151,.7); }
.bed-dot.held { background: var(--gold); color: #3a2a0c; }
.bed-dot.maintenance { background: repeating-linear-gradient(45deg, #3a4a52, #3a4a52 4px, #2a363c 4px, #2a363c 8px); }
.plan-loading { color: #8b9a9f; padding: 30px; text-align: center; }
@media (max-width: 1080px) { .floor { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 520px) { .floor { grid-template-columns: repeat(4, 1fr); } .plan-count { margin-left: 0; } }

/* ---------- funding ---------- */
.funding { background: linear-gradient(180deg, var(--cream), var(--sand)); }
.funding-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.partner-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.2rem; }
.partner { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; padding: 1.1rem 1.1rem 1.15rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit;
  box-shadow: 0 1px 2px rgba(14,23,28,.04), 0 12px 28px -22px rgba(14,23,28,.35); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.partner:hover { transform: translateY(-4px); border-color: rgba(195,154,82,.45); box-shadow: 0 2px 4px rgba(14,23,28,.04), 0 24px 40px -24px rgba(14,23,28,.45); }
.partner:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.p-logo { width: 100%; height: 76px; display: grid; place-items: center; margin-bottom: .75rem; padding: .6rem; border-radius: 14px; background: linear-gradient(180deg, #fbf9f5, #f5f1ea); }
.p-logo img { display: block; max-width: 100%; max-height: 54px; width: auto; height: auto; object-fit: contain; }
.partner-nsfas .p-logo img { max-height: 48px; }
.partner-tnc .p-logo { padding: .3rem; } .partner-tnc .p-logo img { max-height: 66px; }
.p-tag { align-self: flex-start; } .partner .p-tag { margin-top: auto; } .partner .p-sub { margin-bottom: .55rem; }
.p-name { font-size: .8rem; font-weight: 800; color: var(--ink); line-height: 1.3; }
.p-sub { font-size: .72rem; color: var(--stone); line-height: 1.4; }
.p-tag { margin-top: .55rem; display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .6rem; border-radius: 999px; background: var(--gold-3); color: #7a5a1e; font-size: .66rem; font-weight: 800; letter-spacing: .03em; }
.p-tag.ok { background: #e2f4ec; color: #1f7a52; }
.price-card { position: relative; }
.price-card .pc-logo { position: absolute; top: 1.5rem; right: 1.5rem; height: 46px; width: auto; padding: 7px 11px; border-radius: 14px; background: #fff; box-shadow: 0 10px 24px -12px rgba(0,0,0,.6); }
@media (max-width: 1100px) and (min-width: 961px) { .p-name { font-size: .74rem; } }
@media (max-width: 560px) {
  .partner-logos { grid-template-columns: 1fr; gap: .75rem; }
  .partner { display: grid; grid-template-columns: 118px 1fr; grid-template-rows: auto auto auto; column-gap: .95rem; row-gap: .15rem; align-items: center; padding: .85rem; }
  .p-logo { grid-row: 1 / 4; width: 118px; height: 78px; margin: 0; }
  .p-logo img { max-height: 52px; } .partner-tut .p-logo img { max-height: none; width: 100%; } .partner-tnc .p-logo img { max-height: 64px; }
  .partner .p-name, .partner .p-sub, .partner .p-tag { grid-column: 2; }
  .partner .p-name { align-self: end; } .partner .p-sub { margin-bottom: 0; } .partner .p-tag { margin-top: .35rem; align-self: start; }
}
.price-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.price-card { padding: 2rem 1.8rem; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 1rem; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card h3 { font-size: 1.9rem; font-weight: 500; }
.price-card .pill { align-self: flex-start; }
.price b { font-family: var(--font-display); font-size: 2.8rem; line-height: 1; font-weight: 600; display: block; }
.price small { color: var(--stone); font-size: .82rem; }
.price-card .ticks { flex: 1; } .price-card .ticks li { font-size: .9rem; }
.price-card .ticks li::before { background-color: var(--gold-3); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a7535' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.price-card.featured { background: var(--ink); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); }
.price-card.featured .pill { background: rgba(223,194,138,.18); color: var(--gold-2); }
.price-card.featured .price b { color: var(--gold-2); } .price-card.featured .price small { color: #a9b6ba; }
.price-card.featured .ticks li::before { background-color: rgba(195,154,82,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dfc28a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
@media (max-width: 960px) { .funding-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .price-cards { grid-template-columns: 1fr; } }

/* ---------- steps ---------- */
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { padding: 2rem 1.6rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; position: relative; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-n { font-size: 4.6rem; line-height: 1; color: var(--gold); display: block; margin-bottom: .6rem; font-weight: 500; }
.step h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: .4rem; }
.step p { color: var(--stone); font-size: .9rem; }
.step:not(:last-child)::after { content: '→'; position: absolute; right: 20px; top: 28px; color: var(--mist); font-size: 1.4rem; }
.center-cta { text-align: center; margin-top: 3rem; }
@media (max-width: 980px) { .step-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .step-grid { grid-template-columns: 1fr; } }

/* ---------- location ---------- */
.location { background: var(--sand); }
.loc-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.loc-list { display: grid; gap: .8rem; margin: 2rem 0; }
.loc-item { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.2rem; background: #fff; border-radius: var(--r); border: 1px solid var(--line); }
.loc-item > span { width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: var(--gold-2); display: grid !important; place-items: center; flex: none; }
.loc-item b { display: block; font-size: .95rem; } .loc-item small { color: var(--stone); font-size: .8rem; }
.map { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/3.2; box-shadow: var(--shadow-lg); border: 8px solid #fff; background: #e9e5dd; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
@media (max-width: 900px) { .loc-grid { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.accordion { display: grid; gap: 12px; }
.accordion details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 0 1.4rem; transition: box-shadow .3s, border-color .3s; }
.accordion details[open] { box-shadow: var(--shadow); border-color: transparent; }
.accordion summary { list-style: none; cursor: pointer; padding: 1.25rem 0; font-weight: 800; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); font-size: 1.2rem; font-weight: 500; transition: transform .4s var(--ease), background .3s; flex: none; }
.accordion details[open] summary::after { transform: rotate(45deg); background: var(--gold-3); }
.accordion details p { padding-bottom: 1.3rem; color: var(--stone); line-height: 1.7; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.contact-lines { display: grid; gap: .8rem; margin-top: 2rem; }
.cl { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: var(--r); border: 1px solid rgba(255,255,255,.1); transition: background .3s, border-color .3s; }
.cl:hover { background: rgba(255,255,255,.05); border-color: rgba(223,194,138,.35); }
.cl > span { width: 42px; height: 42px; border-radius: 12px; display: grid !important; place-items: center; background: rgba(223,194,138,.14); color: var(--gold-2); flex: none; }
.cl small { display: block; color: #8d9da2; font-size: .75rem; } .cl b { color: #fff; }
.contact-card { background: #fff; color: var(--ink); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 34px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.cc-tabs { display: flex; gap: 4px; padding: 4px; background: var(--sand); border-radius: 14px; margin-bottom: 1.4rem; }
.cc-tabs button { flex: 1; padding: .7rem .5rem; border-radius: 11px; border: 0; background: transparent; font-weight: 700; font-size: .82rem; color: var(--stone); transition: all .3s var(--ease); }
.cc-tabs button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.cc-form { display: grid; gap: 1rem; }
.track-result:empty { display: none; }
.track-result { padding: 1.2rem; border-radius: var(--r); background: var(--sand); }
.track-steps { display: flex; justify-content: space-between; margin-top: 1rem; position: relative; }
.track-steps::before { content: ''; position: absolute; left: 12px; right: 12px; top: 11px; height: 2px; background: var(--line); }
.ts { position: relative; z-index: 1; text-align: center; font-size: .7rem; font-weight: 700; color: var(--stone); flex: 1; }
.ts i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 6px; background: #fff; border: 2px solid var(--line); font-style: normal; font-size: .7rem; }
.ts.done i { background: var(--gold); border-color: var(--gold); color: #fff; } .ts.done { color: var(--ink); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .cc-tabs button { font-size: .72rem; } }

/* ---------- final cta ---------- */
.final { position: relative; padding: clamp(120px, 16vw, 210px) 0; color: #fff; text-align: center; overflow: hidden; }
.final-bg { position: absolute; inset: -10% 0; background-size: cover; background-position: center; will-change: transform; }
.final::before { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at center, rgba(14,23,28,.55), rgba(14,23,28,.88)); }
.final-inner { position: relative; z-index: 2; }
.final .script { font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--gold-2); }
.final h2 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 1; max-width: 960px; margin: .5rem auto 0; font-weight: 500; }
.final h2 em { color: var(--gold-2); }
.final .hero-actions { justify-content: center; }

/* ---------- footer ---------- */
.footer { background: #0a1115; color: #9aa8ac; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.f-brand img { width: 230px; margin-bottom: 1.2rem; }
.f-brand p { max-width: 340px; font-size: .9rem; }
.footer h5 { color: #fff; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 1.1rem; }
.footer-grid > div:not(.f-brand) { display: flex; flex-direction: column; gap: .6rem; font-size: .9rem; }
.footer a:hover { color: var(--gold-2); }
.f-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }

.wa-float { position: fixed; z-index: 40; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(145deg, #24363f, #0e171c); color: #dfc28a; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(14,23,28,.7), 0 0 0 1px rgba(223,194,138,.35) inset; transition: transform .4s var(--ease); }
.wa-float:hover { transform: scale(1.1) rotate(-6deg); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- v2: hero floor counters ---------- */
.hc-floors { display: grid; gap: 8px; margin-bottom: 14px; }
.hc-floor { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); transition: background .3s, border-color .3s; }
.hc-floor:hover { background: rgba(255,255,255,.14); border-color: rgba(223,194,138,.5); }
.hc-floor b { display: block; font-size: .8rem; } .hc-floor small { font-size: .7rem; color: rgba(255,255,255,.65); }
.hc-floor i { margin-left: auto; font-style: normal; font-family: var(--font-display); font-size: 1.7rem; color: var(--gold-2); line-height: 1; }
.hc-g, .fs-g { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 1rem; font-weight: 700; flex: none; }
.hc-g.ladies, .fs-g.ladies { background: rgba(232,160,191,.18); color: #f2b6cf; }
.hc-g.gents, .fs-g.gents { background: rgba(122,170,224,.18); color: #9cc3ef; }
.hc-num small { font-size: .82rem; }
.hero-card { width: 320px; }

/* ---------- v2: floors / live plan ---------- */
.floors { overflow: hidden; }
.floors-glow { position: absolute; width: 1100px; height: 1100px; right: -380px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(195,154,82,.13), transparent 62%); pointer-events: none; }
.floors-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; position: relative; }
.floor-panel { position: sticky; top: 100px; display: grid; gap: 14px; }
.floor-switch { display: grid; gap: 8px; }
.floor-switch button { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); color: #cfd8da; text-align: left; transition: all .35s var(--ease); }
.floor-switch button b { display: block; color: #fff; font-size: .98rem; } .floor-switch button small { color: #8fa1a6; font-size: .76rem; }
.floor-switch button i { margin-left: auto; font-style: normal; font-family: var(--font-display); font-size: 2.1rem; color: var(--gold-2); line-height: 1; }
.floor-switch button:hover { border-color: rgba(223,194,138,.4); }
.floor-switch button.active { background: linear-gradient(120deg, rgba(223,194,138,.18), rgba(223,194,138,.04)); border-color: rgba(223,194,138,.6); box-shadow: 0 20px 40px -24px rgba(195,154,82,.6); }
.fp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: 16px; overflow: hidden; }
.fp-stats > div { background: #121e24; padding: 12px; text-align: center; }
.fp-stats b { display: block; font-family: var(--font-display); font-size: 1.8rem; color: #fff; line-height: 1; font-weight: 500; }
.fp-stats small { font-size: .7rem; color: #8fa1a6; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.fp-selected { border-radius: 20px; background: linear-gradient(150deg, #1c2d35, #111b20); border: 1px solid rgba(255,255,255,.08); padding: 18px; min-height: 150px; display: flex; flex-direction: column; justify-content: center; }
.fp-empty { text-align: center; color: #8fa1a6; font-size: .88rem; }
.fp-empty > span { width: 44px; height: 44px; border-radius: 14px; display: grid !important; place-items: center; margin: 0 auto 10px; background: rgba(61,220,151,.12); color: #3ddc97; }
.fp-empty b { color: #3ddc97; }
.fp-sel-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.fp-sel-top small { color: var(--gold-2); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; }
.fp-sel-top h4 { font-family: var(--font-display); font-weight: 500; font-size: 2rem; color: #fff; line-height: 1.05; }
.fp-sel-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.fp-sel-meta span { font-size: .72rem; font-weight: 700; padding: .3rem .6rem; border-radius: 999px; background: rgba(255,255,255,.07); color: #cfd8da; }
.fp-selected .btn { width: 100%; }
.fp-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .8rem; color: #a3b2b6; }
.fp-legend li { display: flex; align-items: center; gap: 8px; }
.fp-inside { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; border-radius: 16px; border: 1px dashed rgba(255,255,255,.14); font-size: .78rem; color: #cfd8da; }
.fp-inside b { grid-column: 1 / -1; color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.fp-inside > span { display: flex; align-items: center; gap: 6px; } .fp-inside > span > span { color: var(--gold-2); }
.floor-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.floor-card { border-radius: 26px; padding: 18px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); transition: opacity .5s var(--ease), transform .5s var(--ease), border-color .4s, box-shadow .4s; }
.floor-card.active { border-color: rgba(223,194,138,.45); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(223,194,138,.15) inset; }
.floor-card:not(.active) { opacity: .45; transform: scale(.97); }
.floor-card:not(.active):hover { opacity: .75; cursor: pointer; }
.fc-head { display: flex; justify-content: space-between; align-items: baseline; margin: 2px 6px 12px; }
.fc-head span { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: #8fa1a6; font-weight: 800; }
.fc-head b { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; color: #fff; }
.fc-plan { max-width: 380px; margin: 0 auto; }
@media (max-width: 1100px) { .floors-grid { grid-template-columns: 1fr; } .floor-panel { position: static; grid-template-columns: 1fr 1fr; } .floor-switch, .fp-selected { grid-column: 1 / -1; } }
@media (max-width: 680px) {
  .floor-panel { grid-template-columns: 1fr; }
  .floor-stage { grid-template-columns: 1fr; }
  .floor-card:not(.active) { display: none; }
  .fc-plan { max-width: 330px; }
}

/* ---------- nav: "Find your room" highlight ---------- */
.nav-links a.nav-room { display: inline-flex; align-items: center; gap: .5rem; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(223,194,138,.55); background: rgba(223,194,138,.12); color: var(--gold-3); transition: background .3s, border-color .3s, color .3s; }
.nav-links a.nav-room::after { display: none; }
.nav-links a.nav-room:hover, .nav-links a.nav-room.active { background: rgba(223,194,138,.24); border-color: var(--gold-2); color: #fff; }
.nav.scrolled .nav-links a.nav-room { color: var(--ink); border-color: rgba(195,154,82,.5); background: var(--gold-3); }
.nav.scrolled .nav-links a.nav-room:hover { background: var(--gold-2); }
.nav-room .pulse-dot { width: 7px; height: 7px; }

/* lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* image clip reveal */
.clip-reveal { clip-path: inset(12% 12% 12% 12% round 32px); transition: clip-path 1.4s var(--ease); }
.clip-reveal.in { clip-path: inset(0 0 0 0 round 32px); }
.link-x { border: 0; background: rgba(255,255,255,.08); color: #fff; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.lg { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.masonry:not(.all) .m-item.extra { display: none; }
.more-wrap { text-align: center; margin-top: 24px; }
.more-wrap .btn .ico { transition: transform .3s; }
@media (max-width: 640px) { .masonry { columns: 2; column-gap: 10px; } .m-item { margin-bottom: 10px; border-radius: 12px; } .masonry:not(.all) .m-item:nth-child(n+9) { display: none; } }

/* ---------- v3: never-a-dead-end bed selection ---------- */
.fp-empty .btn { margin-top: 12px; }
.fp-sel-meta .ok { background: rgba(61,220,151,.16) !important; color: #63e6aa !important; }
.fp-queue-note { font-size: .86rem; color: #b9c6c9; line-height: 1.6; margin: 10px 0 14px; }
.fp-queue-note b { color: var(--gold-2); }
.fp-alt { display: block; text-align: center; margin-top: 10px; font-size: .82rem; font-weight: 700; color: #a9b8bc; }
.fp-alt:hover { color: #fff; }

/* ---------- v3: open to every student ---------- */
.welcome-all { overflow: hidden; background: linear-gradient(180deg, var(--cream), #f6efe2); }
.wa-orb { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.wa-orb.o1 { width: 520px; height: 520px; left: -160px; top: -120px; background: radial-gradient(circle, rgba(195,154,82,.18), transparent 65%); }
.wa-orb.o2 { width: 420px; height: 420px; right: -120px; bottom: -140px; background: radial-gradient(circle, rgba(127,156,145,.2), transparent 65%); }
.wa-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.wa-live { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.6rem; padding: .7rem 1.1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .88rem; color: var(--slate); }
.wa-live b { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); }
.wa-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.wa-step { position: relative; display: flex; align-items: flex-start; gap: 18px; padding: 22px 24px; border-radius: 22px; background: rgba(255,255,255,.85); border: 1px solid var(--line); backdrop-filter: blur(6px); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.wa-step:nth-child(2) { margin-left: 28px; } .wa-step:nth-child(3) { margin-left: 56px; } .wa-step:nth-child(4) { margin-left: 28px; }
.wa-step:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: rgba(195,154,82,.5); }
.wa-n { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--gold); min-width: 46px; }
.wa-step h4 { font-size: 1.05rem; font-weight: 800; margin-bottom: 4px; }
.wa-step p { color: var(--stone); font-size: .9rem; }
.wa-ico { margin-left: auto; width: 42px; height: 42px; border-radius: 14px; display: grid !important; place-items: center; background: var(--sand); color: var(--ink); flex: none; }
.wa-step.gold { background: var(--ink); border-color: transparent; color: #fff; }
.wa-step.gold p { color: #a9b6ba; } .wa-step.gold .wa-n { color: var(--gold-2); } .wa-step.gold .wa-ico { background: rgba(223,194,138,.16); color: var(--gold-2); }
@media (max-width: 960px) { .wa-grid { grid-template-columns: 1fr; } .wa-step:nth-child(n) { margin-left: 0; } }
@media (max-width: 520px) { .wa-ico { display: none !important; } .wa-live { border-radius: 16px; } }

/* ---------- v4: fully-equipped unit kit ---------- */
.kit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(40px, 6vw, 70px); }
.kit-card { border-radius: 24px; overflow: hidden; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s; }
.kit-card:hover { transform: translateY(-6px); border-color: rgba(223,194,138,.45); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.kit-photo { height: 190px; background-size: cover; background-position: center; position: relative; }
.kit-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(14,23,28,.9)); }
.kit-body { padding: 0 22px 22px; margin-top: -28px; position: relative; }
.kit-tag { display: inline-block; padding: .35rem .8rem; border-radius: 999px; background: var(--gold-2); color: var(--ink); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.kit-body h3 { font-size: 1.55rem; font-weight: 500; color: #fff; margin: 12px 0 14px; }
.kit-items { display: flex; flex-wrap: wrap; gap: 8px; }
.kit-items > span { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .75rem; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: #dbe3e5; font-size: .8rem; font-weight: 600; }
.kit-items > span > span { color: var(--gold-2); }
@media (max-width: 980px) { .kit { grid-template-columns: 1fr; } .kit-card { flex-direction: row; } .kit-photo { width: 38%; height: auto; min-height: 180px; flex: none; } .kit-body { margin-top: 0; padding: 20px; } }
@media (max-width: 560px) { .kit-card { flex-direction: column; } .kit-photo { width: auto; height: 150px; min-height: 0; } .kit-body { margin-top: -24px; padding: 0 18px 18px; } }
.stat-u { font-size: 1.1rem; margin-left: 4px; color: var(--stone); font-family: var(--font-body); font-weight: 700; }

/* ---------- v4: shuttle departure boards ---------- */
.shuttle { background: radial-gradient(circle at 85% 20%, rgba(46,230,214,.12), transparent 45%), var(--ink); overflow: hidden; }
.shuttle-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.shuttle .section-title em { color: #4ff0e0; text-shadow: 0 0 24px rgba(79,240,224,.45); }
.next-dep { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.4rem; padding: .8rem 1.1rem; border-radius: 16px; background: rgba(79,240,224,.08); border: 1px solid rgba(79,240,224,.3); color: #d9fbf8; font-size: .92rem; }
.next-dep b { color: #4ff0e0; }
.campus-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.4rem; }
.campus-chips span { padding: .45rem .85rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); color: #c5d0d3; font-size: .78rem; font-weight: 700; }
.boards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.board { border-radius: 24px; padding: 20px; background: linear-gradient(160deg, #13232a, #0a1216); border: 1px solid rgba(79,240,224,.18); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), inset 0 0 40px rgba(79,240,224,.04); }
.board-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 10px; border-bottom: 1px dashed rgba(79,240,224,.25); }
.board-head > span { width: 42px; height: 42px; border-radius: 13px; display: grid !important; place-items: center; background: rgba(79,240,224,.12); color: #4ff0e0; flex: none; }
.board-head small { display: block; color: #7f9499; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
.board-head b { color: #fff; font-size: 1.1rem; }
.board-times { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.board-times li { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 12px; transition: background .3s; }
.board-times time { font-family: var(--font-display); font-size: 1.85rem; line-height: 1; color: #f1f6f7; font-variant-numeric: lining-nums; letter-spacing: .02em; }
.board-times li.gone time { color: #4a5d63; text-decoration: line-through; text-decoration-thickness: 1px; }
.board-times li.next { background: rgba(79,240,224,.1); box-shadow: inset 0 0 0 1px rgba(79,240,224,.4); }
.board-times li.next time { color: #4ff0e0; text-shadow: 0 0 18px rgba(79,240,224,.6); }
.board-times em { font-style: normal; font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: #4ff0e0; padding: .25rem .55rem; border-radius: 999px; }
@media (max-width: 960px) { .shuttle-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .boards { gap: 10px; } .board { padding: 14px; } .board-times time { font-size: 1.5rem; } .board-head > span { display: none !important; } }

/* ---------- v4: MMK Match ---------- */
.match { background: linear-gradient(180deg, var(--cream), #f3ece0); overflow: hidden; }
.match-orb { position: absolute; width: 700px; height: 700px; right: -220px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(195,154,82,.2), transparent 62%); pointer-events: none; }
.match-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.match-perks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem; }
.match-perks li { display: flex; gap: .7rem; align-items: center; font-weight: 600; color: var(--slate); }
.match-perks li > span { width: 34px; height: 34px; border-radius: 11px; display: grid !important; place-items: center; background: var(--ink); color: var(--gold-2); flex: none; }
.match-card { position: relative; min-height: 420px; padding: clamp(22px, 3vw, 34px); border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(14,23,28,.45); }
.mc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.mc-dots { display: flex; gap: 6px; }
.mc-dots i { width: 26px; height: 5px; border-radius: 5px; background: var(--line); transition: background .4s; }
.mc-dots i.done { background: var(--gold); } .mc-dots i.now { background: var(--ink); }
.match-card h3 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 500; margin: 18px 0 20px; line-height: 1.08; }
.match-card h3 em { color: var(--gold); }
.mc-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mc-opts button { text-align: left; padding: 18px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--cream); transition: all .3s var(--ease); animation: mcIn .5s var(--ease) both; }
.mc-opts button:nth-child(2) { animation-delay: .05s; } .mc-opts button:nth-child(3) { animation-delay: .1s; } .mc-opts button:nth-child(4) { animation-delay: .15s; }
@keyframes mcIn { from { opacity: 0; transform: translateY(10px); } }
.mc-opts button:hover { border-color: var(--gold); background: #fffaf0; transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.mc-opts button.on { border-color: var(--gold); background: #fffaf0; }
.mc-opts b { display: block; font-size: 1.02rem; } .mc-opts small { color: var(--stone); font-size: .8rem; }
.mc-back { margin-top: 16px; border: 0; background: none; font-weight: 700; font-size: .84rem; color: var(--stone); padding: 0; }
.mc-back:hover { color: var(--ink); }
.mc-live { display: inline-flex; align-items: center; gap: 6px; color: var(--success); }
.mc-result { display: grid; grid-template-columns: 170px 1fr; gap: 22px; align-items: center; margin-top: 14px; }
.mc-plan { border-radius: 16px; padding: 8px; background: var(--cream); border: 1px solid var(--line); }
.mc-floor { color: var(--stone); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mc-result h3 { margin: 6px 0 12px; }
.mc-why { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.mc-why li { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; color: var(--slate); }
.mc-why .ico { color: var(--success); margin-top: 3px; }
.mc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; }
.mc-actions .mc-back { margin-top: 0; }
.mc-note { color: var(--stone); font-size: .88rem; margin-top: 12px; }
@media (max-width: 960px) { .match-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .mc-opts { grid-template-columns: 1fr; } .mc-result { grid-template-columns: 1fr; } .mc-plan { max-width: 200px; } }

/* ---------- v4: socials & footer logins ---------- */
.cl-social { display: flex; gap: 10px; }
.cl-social a { flex: 1; display: flex; align-items: center; justify-content: center; gap: .55rem; padding: .9rem; border-radius: var(--r); border: 1px solid rgba(255,255,255,.1); color: #fff; font-weight: 700; font-size: .9rem; transition: background .3s, border-color .3s; }
.cl-social a:hover { background: rgba(255,255,255,.05); border-color: rgba(223,194,138,.4); }
.cl-social svg, .f-social svg { width: 20px; height: 20px; }
.f-social { display: flex; gap: 10px; margin-top: 1.2rem; }
.f-social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); color: #fff; transition: background .3s, color .3s; }
.f-social a:hover { background: var(--gold-2); color: var(--ink); }
.f-logins { display: inline-flex; gap: 18px; }
