/* =========================================================
   Global Time Realty — luxury developer theme (Bootstrap 5.3)
   ========================================================= */
:root {
  --black: #0b0b0c;
  --char: #131315;
  --char-2: #1b1b1e;
  --char-3: #26262a;
  --gold: #c5a572;
  --gold-2: #dcc59b;
  --gold-deep: #a4854f;
  --ivory: #f6f2eb;
  --stone: #ebe4d8;
  --line: #ddd4c5;
  --line-dark: rgba(255, 255, 255, .12);
  --text: #1c1b19;
  --muted: #7a746a;
  --brand: #e2381f;
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --bs-body-font-family: var(--sans);
  --bs-body-color: var(--text);
  --bs-body-bg: #fff;
  --bs-link-color-rgb: 164, 133, 79;
  --bs-link-hover-color-rgb: 11, 11, 12;
}

html { scroll-behavior: smooth; overflow-x: clip; }
body { font-family: var(--sans); font-weight: 400; font-size: 1rem; line-height: 1.75; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); font-weight: 500; color: inherit; letter-spacing: -.005em; line-height: 1.1; }
em { font-style: italic; }
a { text-decoration: none; transition: color .3s var(--ease); }
img { max-width: 100%; height: auto; }
::selection { background: var(--gold); color: var(--black); }
.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 3000; background: #fff; padding: .5rem 1rem; }
.container-xxl { --bs-gutter-x: 2.5rem; max-width: 1480px; }
@media (max-width: 575.98px) { .container-xxl { --bs-gutter-x: 1.5rem; } }
/* g-5 rows (3rem gutter) would poke 12px past a 1.5rem-gutter container on phones */
@media (max-width: 767.98px) { .row.g-5 { --bs-gutter-x: 1.5rem; } }

/* ---------- Type ---------- */
.eyebrow { font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1.2rem; display: flex; align-items: center; gap: .9rem; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; flex: none; }
.eyebrow-light { color: var(--gold); }
.sec-title { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 400; margin: 0; line-height: 1.02; }
.sec-title em, .display-serif em { color: var(--gold-deep); }
.text-white em, .statement-text em { color: var(--gold); }
.display-serif { font-size: clamp(2rem, 3.8vw, 3.4rem); font-weight: 400; line-height: 1.15; margin: 0; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; margin-bottom: clamp(1.9rem, 3.75vw, 3rem); }
.sec-lead { max-width: 480px; color: var(--muted); margin: 0; }
.section { padding: clamp(3.75rem, 7.5vw, 6.75rem) 0; }

/* ---------- Buttons ---------- */
.btn { font-family: var(--sans); font-size: .76rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; border-radius: 0; padding: 1.05rem 2rem; transition: all .4s var(--ease); display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }
.btn-sm { padding: .75rem 1.3rem; font-size: .7rem; }
.btn-gold { background: var(--gold); color: var(--black); border: 1px solid var(--gold); }
.btn-gold:hover, .btn-gold:focus-visible { background: var(--gold-2); border-color: var(--gold-2); color: var(--black); }
.btn-line-light { border: 1px solid rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn-line-light:hover { background: #fff; color: var(--black); border-color: #fff; }
.btn-dark { background: var(--black); color: #fff; border: 1px solid var(--black); }
.btn-dark:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.btn-line-dark { border: 1px solid var(--black); color: var(--black); background: transparent; }
.btn-line-dark:hover { background: var(--black); color: #fff; }
.link-line { display: inline-flex; align-items: center; gap: .7rem; font-size: .74rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--black); padding-bottom: .4rem; border-bottom: 1px solid currentColor; }
.link-line i { transition: transform .4s var(--ease); }
.link-line:hover { color: var(--gold-deep); }
.link-line:hover i { transform: translateX(5px); }
.circle-btn { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; color: var(--black); font-size: 1.05rem; transition: all .35s var(--ease); }
.circle-btn:hover { background: var(--black); border-color: var(--black); color: #fff; }
.circle-btn-light { border-color: var(--line-dark); color: #fff; }
.circle-btn-light:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 1030; color: #fff; transition: border-color .5s; border-bottom: 1px solid rgba(255, 255, 255, .12); }
/* blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed offcanvas menus */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11, 11, 12, .84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transition: opacity .5s var(--ease); }
.site-header.is-scrolled::before, body:not(.has-hero) .site-header::before { opacity: 1; }
.site-header.is-scrolled { border-color: transparent; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 96px; transition: height .5s var(--ease); }
.site-header.is-scrolled .header-inner { height: 74px; }
.brand img { height: 48px; width: auto; transition: height .5s var(--ease); }
.site-header.is-scrolled .brand img { height: 40px; }
.main-nav ul { list-style: none; display: flex; gap: .1rem; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav a { display: block; color: rgba(255, 255, 255, .85); font-size: .74rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; padding: .6rem .7rem; position: relative; white-space: nowrap; }
.main-nav > ul > li > a::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .2rem; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a.active::after { transform: scaleX(1); transform-origin: left; }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav .bi-chevron-down { font-size: .6rem; margin-left: .2rem; }
.main-nav .sub { position: absolute; top: 100%; left: .2rem; min-width: 210px; flex-direction: column; background: var(--black); border: 1px solid var(--line-dark); padding: .7rem 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .35s var(--ease); }
.main-nav .has-sub:hover .sub, .main-nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub a { padding: .55rem 1.3rem; }
.main-nav .sub a:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 1.2rem; }
.header-phone { align-items: center; gap: .55rem; color: #fff; font-size: .82rem; letter-spacing: .06em; white-space: nowrap; }
.header-phone i { width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; display: grid; place-items: center; font-size: .8rem; }
.header-phone:hover { color: var(--gold); }
@media (min-width: 1200px) and (max-width: 1599.98px) { .header-phone span { display: none; } }
.menu-toggle { width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: none; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.menu-toggle span { width: 18px; height: 1px; background: #fff; }
@media (max-width: 767.98px) { .header-inner { height: 74px; } .brand img { height: 36px; } .site-header.is-scrolled .brand img { height: 32px; } }

/* ---------- Drawers (menu + enquiry) ---------- */
.menu-drawer, .enquiry-drawer { background: var(--black); color: #fff; border-left: 1px solid var(--line-dark) !important; }
.enquiry-drawer { --bs-offcanvas-width: min(500px, 100%); }
.menu-drawer { --bs-offcanvas-width: 100%; }
@media (min-width: 768px) { .menu-drawer { --bs-offcanvas-width: 560px; } }
.menu-drawer .offcanvas-header, .enquiry-drawer .offcanvas-header { padding: 1.6rem 2rem; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.drawer-logo { height: 34px; width: auto; }
.drawer-close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark); background: none; color: #fff; display: grid; place-items: center; flex: none; transition: all .3s; }
.drawer-close:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.menu-drawer .offcanvas-body, .enquiry-drawer .offcanvas-body { padding: 1rem 2rem 2.5rem; }
.drawer-nav { list-style: none; padding: 0; margin: 0 0 2.5rem; }
.drawer-nav a { display: flex; align-items: baseline; gap: 1.2rem; padding: .65rem 0; border-bottom: 1px solid var(--line-dark); font-family: var(--serif); font-size: clamp(1.5rem, 6vw, 2rem); color: #fff; line-height: 1.2; transition: all .35s var(--ease); }
.drawer-nav a span { font-family: var(--sans); font-size: .68rem; letter-spacing: .15em; color: var(--gold); }
.drawer-nav a:hover, .drawer-nav a.active { color: var(--gold); padding-left: .4rem; }
.drawer-contact { font-size: .9rem; color: rgba(255, 255, 255, .6); }
.drawer-contact a { color: #fff; }
.drawer-title { font-size: 2.1rem; font-weight: 400; margin: 0; }
.drawer-direct { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 2rem; background: var(--line-dark); border: 1px solid var(--line-dark); }
.drawer-direct a { display: flex; align-items: center; gap: .9rem; padding: 1.1rem; background: var(--black); color: #fff; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.drawer-direct a:hover { background: var(--char-2); }
.drawer-direct i { font-size: 1.3rem; color: var(--gold); }
.drawer-direct strong { display: block; font-weight: 400; font-size: .92rem; letter-spacing: .02em; text-transform: none; }

/* ---------- Form ---------- */
.enquiry-form .field { position: relative; margin-bottom: 1.3rem; }
.enquiry-form input, .enquiry-form textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .25); color: #fff; padding: 1.4rem 0 .6rem; font-size: 1rem; outline: none; border-radius: 0; resize: none; transition: border-color .3s; }
.enquiry-form label { position: absolute; left: 0; top: 1.3rem; font-size: .92rem; color: rgba(255, 255, 255, .55); pointer-events: none; transition: all .3s var(--ease); }
.enquiry-form input:focus, .enquiry-form textarea:focus { border-color: var(--gold); }
.enquiry-form input:focus + label, .enquiry-form input:not(:placeholder-shown) + label,
.enquiry-form textarea:focus + label, .enquiry-form textarea:not(:placeholder-shown) + label { top: 0; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.enquiry-form.was-validated :invalid { border-color: #e5484d; }
.enquiry-form .btn { margin-top: .8rem; }
.form-note { font-size: .74rem; color: rgba(255, 255, 255, .45); margin: 1rem 0 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-light input, .form-light textarea { color: var(--text); border-color: var(--line); }
.form-light label { color: var(--muted); }
.form-light .form-note { color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 680px; color: #fff; background: var(--black); overflow: hidden; display: flex; align-items: flex-end; }
.hero-media, .hero-slide, .hero-shade { position: absolute; inset: 0; }
.hero-slide { background-size: cover; background-position: center; opacity: 0; transform: scale(1.12); transition: opacity 1.8s var(--ease), transform 9s linear; }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-shade { background: linear-gradient(180deg, rgba(11, 11, 12, .6) 0%, rgba(11, 11, 12, .1) 28%, rgba(11, 11, 12, .2) 55%, rgba(11, 11, 12, .94) 100%), linear-gradient(90deg, rgba(11, 11, 12, .6), transparent 65%); }
.hero-inner { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 3rem; padding-bottom: clamp(7.5rem, 13vh, 10rem); }
.hero-copy { max-width: 780px; }
.hero-copy .eyebrow { color: var(--gold-2); }
.hero-title { font-size: clamp(3.4rem, 9vw, 8.4rem); font-weight: 300; line-height: .9; letter-spacing: -.02em; margin: 0 0 1.6rem; }
.hero-title em { color: var(--gold); font-weight: 400; }
.hero-lead { font-size: clamp(1rem, 1.3vw, 1.15rem); font-weight: 300; color: rgba(255, 255, 255, .8); max-width: 520px; margin-bottom: 2.4rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-now { width: 370px; flex: none; border-top: 1px solid rgba(255, 255, 255, .25); padding-top: 1.4rem; }
.hero-now-label { font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.hero-now-item { display: none; color: #fff; margin: .7rem 0 1.4rem; }
.hero-now-item.is-active { display: block; animation: nowIn .9s var(--ease-out) both; }
.hero-now-dev { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.hero-now-item strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 400; line-height: 1.15; margin: .3rem 0 .5rem; }
.hero-now-item:hover strong { color: var(--gold-2); }
.hero-now-meta { font-size: .82rem; color: rgba(255, 255, 255, .7); }
.hero-progress { display: flex; align-items: center; gap: 1.2rem; }
.hero-count { font-size: .78rem; letter-spacing: .12em; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.hero-count b { color: #fff; font-weight: 500; }
.hero-bars { display: flex; gap: .45rem; flex: 1; }
.hero-bar { flex: 1; height: 16px; background: none; border: 0; padding: 0; display: flex; align-items: center; }
.hero-bar i { display: block; width: 100%; height: 2px; background: rgba(255, 255, 255, .25); position: relative; overflow: hidden; }
.hero-bar i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero-bar.is-active i::after { animation: barFill 6s linear forwards; }
.hero-scroll { position: absolute; left: 50%; bottom: 4.6rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .6rem; color: rgba(255, 255, 255, .7); font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; }
.hero-scroll i { width: 1px; height: 44px; background: rgba(255, 255, 255, .25); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--gold); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes barFill { to { transform: scaleX(1); } }
@keyframes scrollLine { to { top: 100%; } }
@keyframes nowIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 1199.98px) { .hero-scroll { display: none; } }
@media (max-width: 991.98px) {
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 2rem; padding-bottom: 6.5rem; }
  .hero-now { width: 100%; max-width: 440px; }
}
@media (max-width: 575.98px) {
  .hero { min-height: 720px; }
  .hero-inner { padding-bottom: 5rem; }
  .hero-title { margin-bottom: 1.2rem; }
  .hero-lead { margin-bottom: 1.8rem; }
  .hero-now-item strong { font-size: 1.3rem; }
  .hero-now-item { margin-bottom: 1rem; }
  .hero-cta .btn { flex: 1; padding-inline: .8rem; letter-spacing: .14em; }
}

/* ---------- Finder ---------- */
.finder-wrap { position: relative; z-index: 3; margin-top: -3.4rem; }
.finder { background: #fff; box-shadow: 0 30px 80px -30px rgba(11, 11, 12, .4); }
.finder-tabs { display: flex; border-bottom: 1px solid var(--stone); }
.finder-tabs label { cursor: pointer; padding: 1.1rem 1.8rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); position: relative; transition: color .3s; margin: 0; }
.finder-tabs label::after { content: ""; position: absolute; left: 1.8rem; right: 1.8rem; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease); }
.finder-tabs .btn-check:checked + label { color: var(--black); }
.finder-tabs .btn-check:checked + label::after { transform: scaleX(1); }
.finder-tabs .btn-check:focus-visible + label { outline: 2px solid var(--gold); }
.finder-fields { display: flex; align-items: stretch; }
.finder-field { padding: 1.1rem 1.8rem; border-right: 1px solid var(--stone); min-width: 220px; }
.finder-field-grow { flex: 1; }
.finder-field label { display: block; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .2rem; }
.finder-field select, .finder-field input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 1rem; color: var(--black); padding: .2rem 0; font-family: var(--sans); }
.finder-field select { cursor: pointer; }
.finder-submit { border: 0; background: var(--black); color: #fff; padding: 0 2.8rem; display: flex; align-items: center; gap: .8rem; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; transition: background .35s, color .35s; }
.finder-submit:hover { background: var(--gold); color: var(--black); }
@media (max-width: 991.98px) {
  .finder-fields { flex-wrap: wrap; }
  .finder-field { flex: 1 1 50%; border-bottom: 1px solid var(--stone); }
  .finder-field-grow { flex-basis: 100%; }
  .finder-submit { flex: 1 1 100%; justify-content: center; padding: 1.2rem; }
}
@media (max-width: 575.98px) {
  .finder-wrap { margin-top: -2rem; }
  .finder-tabs label { flex: 1; text-align: center; padding: 1rem .3rem; font-size: .6rem; letter-spacing: .1em; }
  .finder-tabs label::after { left: .5rem; right: .5rem; }
  .finder-field { flex-basis: 100%; min-width: 0; padding: .9rem 1.2rem; }
}

/* ---------- Intro & stats ---------- */
.intro-copy { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.8rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(2.6rem, 5.25vw, 4.5rem); border-top: 1px solid var(--line); }
.stat { padding: 2.2rem 1.5rem 0 0; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 2rem; }
.stat strong { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 6vw, 5.2rem); line-height: 1; color: var(--black); }
.stat > span { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); display: block; margin-top: .8rem; }
@media (max-width: 767.98px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 2rem; }
  .stat + .stat { padding-left: 1.2rem; }
  .stat:nth-child(3) { padding-left: 0; }
}

/* ---------- Signature ---------- */
.signature { background: var(--ivory); }
.sig-nav { display: flex; align-items: center; gap: .8rem; }
.sig-count { font-size: .82rem; letter-spacing: .14em; color: var(--muted); margin-right: .8rem; }
.sig-count b { color: var(--black); font-weight: 500; }
.sig-slide { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.sig-media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 11; background: var(--stone); }
.sig-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.sig-media:hover img { transform: scale(1.05); }
.carousel-item.active .sig-media img { animation: kenIn 1.8s var(--ease-out) both; }
.sig-num { position: absolute; left: 1.5rem; bottom: .2rem; font-family: var(--serif); font-size: clamp(4rem, 9vw, 8rem); line-height: 1; color: rgba(255, 255, 255, .92); font-weight: 300; text-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.sig-dev { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .8rem; }
.sig-name { font-size: clamp(2rem, 3.2vw, 2.9rem); font-weight: 400; margin-bottom: 1.2rem; }
.sig-name a { color: var(--black); }
.sig-name a:hover { color: var(--gold-deep); }
.sig-intro { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 1.8rem; }
.sig-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 1rem; border-top: 1px solid var(--line); }
.sig-facts div { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.sig-facts div:nth-child(odd) { padding-right: 1rem; }
.sig-facts dt { font-size: .62rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.sig-facts dd { margin: 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.25; color: var(--black); }
.sig-rera { font-size: .76rem; color: var(--muted); letter-spacing: .05em; margin-bottom: 1.6rem; }
.sig-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.carousel-fade .carousel-item { transition-duration: .9s; }
@keyframes kenIn { from { transform: scale(1.12); } to { transform: scale(1); } }
@media (max-width: 991.98px) { .sig-slide { grid-template-columns: 1fr; } }

/* ---------- Project rail ---------- */
.rail-section { background: var(--black); color: #fff; overflow: hidden; }
.rail-controls { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.rail-filter { display: flex; gap: .3rem; margin-right: 1rem; border: 1px solid var(--line-dark); padding: .3rem; }
.rail-filter button { background: none; border: 0; color: rgba(255, 255, 255, .6); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; padding: .6rem 1rem; transition: all .3s; white-space: nowrap; }
.rail-filter button:hover { color: #fff; }
.rail-filter button.is-active { background: var(--gold); color: var(--black); }
.rail { --pad: max(1.25rem, calc((100vw - 1480px) / 2 + 1.25rem)); display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding: 0 var(--pad) 1rem; scrollbar-width: none; outline: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex: 0 0 clamp(280px, 26vw, 400px); }
.rail > .is-hidden { display: none; }
@media (max-width: 575.98px) {
  .rail { --pad: .75rem; gap: 1rem; }
  .rail > * { flex-basis: 82vw; }
  .rail-controls .circle-btn { display: none; }
  .rail-filter { margin: 0; width: 100%; overflow-x: auto; }
}

.p-card { position: relative; }
.p-card-link { display: block; position: relative; aspect-ratio: 4 / 5.2; overflow: hidden; color: #fff; background: var(--char-2); }
.p-card-link:hover { color: #fff; }
.p-card-media, .p-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.p-card-media img { object-fit: cover; transition: transform 1.4s var(--ease-out); }
.p-card-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 12, .5) 0%, transparent 25%, transparent 38%, rgba(11, 11, 12, .96) 100%); }
.p-card-link:hover .p-card-media img { transform: scale(1.08); }
.p-card-top { position: absolute; top: 1.2rem; left: 1.2rem; right: 1.2rem; z-index: 2; display: flex; justify-content: space-between; gap: .5rem; }
.p-tag { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; padding: .38rem .7rem; border: 1px solid rgba(255, 255, 255, .45); color: #fff; backdrop-filter: blur(6px); background: rgba(11, 11, 12, .25); line-height: 1.4; }
.p-tag-rera { border-color: var(--gold); color: var(--gold-2); }
.p-card-body { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.4rem; z-index: 2; display: block; }
.p-card-dev { display: block; font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.p-card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--serif); font-size: 1.55rem; line-height: 1.15; margin-bottom: .6rem; }
.p-card-meta { display: flex; gap: .45rem; font-size: .82rem; color: rgba(255, 255, 255, .72); }
.p-card-foot { display: grid; grid-template-columns: 1fr auto; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .2); font-size: .9rem; max-height: 0; opacity: 0; overflow: hidden; transition: all .6s var(--ease); }
.p-card-foot small { display: block; font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.p-card-link:hover .p-card-foot, .p-card-link:focus-visible .p-card-foot { max-height: 120px; opacity: 1; }
@media (hover: none) { .p-card-foot { max-height: 120px; opacity: 1; } }
.rail-more { display: flex; flex-direction: column; justify-content: space-between; padding: 2rem; border: 1px solid var(--line-dark); color: #fff; font-family: var(--serif); font-size: 2rem; line-height: 1.15; aspect-ratio: 4 / 5.2; transition: all .4s; }
.rail-more i { font-size: 2.2rem; align-self: flex-end; color: var(--gold); }
.rail-more:hover { background: var(--gold); color: var(--black); }
.rail-more:hover i { color: var(--black); }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.svc { position: relative; min-height: 580px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.svc > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease-out); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 11, 12, .05) 15%, rgba(11, 11, 12, .93) 82%); transition: opacity .6s; }
.svc:hover > img { transform: scale(1.07); }
.svc-body { padding: 2.2rem; }
.svc-num { font-family: var(--serif); font-size: 1rem; color: var(--gold); letter-spacing: .1em; }
.svc h3 { font-size: 2.6rem; font-weight: 400; margin: .4rem 0 .9rem; }
.svc p { color: rgba(255, 255, 255, .78); font-size: .95rem; margin-bottom: 1.4rem; }
.svc-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.svc-links a, .svc-links button { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: #fff; border: 1px solid rgba(255, 255, 255, .4); padding: .6rem .95rem; background: transparent; transition: all .3s; }
.svc-links a:hover, .svc-links button:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.svc-links button { border-color: var(--gold); color: var(--gold-2); }
@media (max-width: 991.98px) { .svc-grid { grid-template-columns: 1fr; } .svc { min-height: 460px; } }

/* ---------- Locations ---------- */
.locations { background: var(--char); color: #fff; }
.loc-list { list-style: none; padding: 0; margin: 2.8rem 0 0; }
.loc-list a { display: grid; grid-template-columns: 3rem 1fr auto; align-items: center; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line-dark); color: rgba(255, 255, 255, .5); transition: all .45s var(--ease); }
.loc-list li:first-child a { border-top: 1px solid var(--line-dark); }
.loc-num { font-size: .7rem; letter-spacing: .15em; color: var(--gold); }
.loc-name { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.1; }
.loc-count { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; }
.loc-thumb { display: none; }
.loc-list a:hover, .loc-list a.is-active { color: #fff; padding-left: .8rem; }
.loc-list a.is-active .loc-count { color: var(--gold); }
.loc-stage { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.loc-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1s var(--ease), transform 1.6s var(--ease-out); }
.loc-stage img.is-active { opacity: 1; transform: scale(1); }
@media (max-width: 991.98px) {
  .loc-list a { grid-template-columns: 2.2rem 1fr 72px; color: #fff; }
  .loc-list a:hover, .loc-list a.is-active { padding-left: 0; }
  .loc-count { grid-column: 2; grid-row: 2; margin-top: -.7rem; color: var(--gold); }
  .loc-thumb { display: block; grid-column: 3; grid-row: 1 / span 2; width: 72px; height: 56px; object-fit: cover; }
  .loc-num { grid-row: 1 / span 2; }
}

/* ---------- Developers marquee ---------- */
.developers { padding-bottom: clamp(3rem, 6vw, 5.25rem); }
.marquee { overflow: hidden; border-top: 1px solid var(--stone); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee:last-child { border-bottom: 1px solid var(--stone); }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee-reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.dev-logo { flex: none; width: 220px; height: 120px; display: grid; place-items: center; padding: 1.8rem 2.2rem; border-right: 1px solid var(--stone); }
.dev-logo img { max-height: 56px; width: auto; max-width: 100%; object-fit: contain; transition: transform .4s; }
.dev-logo:hover img { transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 575.98px) { .dev-logo { width: 160px; height: 96px; padding: 1.2rem 1.4rem; } }

/* ---------- Statement ---------- */
.statement { position: relative; padding: clamp(5.25rem, 12vw, 9.75rem) 0; color: #fff; background: var(--black) var(--bg) center / cover fixed; isolation: isolate; }
.statement::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 11, 12, .92), rgba(11, 11, 12, .5)); }
.statement-text { font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 300; line-height: 1.1; max-width: 1050px; margin-bottom: 2.8rem; }
@media (hover: none), (max-width: 991.98px) { .statement { background-attachment: scroll; } }

/* ---------- Insights ---------- */
.insights { background: var(--ivory); }
.post-media { display: block; overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 1.6rem; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.post:hover .post-media img { transform: scale(1.06); }
.post-meta { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .7rem; }
.post-title { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 400; line-height: 1.2; margin-bottom: .9rem; }
.post-title a { color: var(--black); }
.post-title a:hover { color: var(--gold-deep); }
.post-excerpt { color: var(--muted); margin-bottom: 1.4rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: rgba(255, 255, 255, .6); font-size: .92rem; padding-top: clamp(3.75rem, 6.75vw, 6rem); overflow: hidden; }
.site-footer .eyebrow { color: var(--gold); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2rem; padding-bottom: clamp(3.5rem, 7vw, 5.5rem); border-bottom: 1px solid var(--line-dark); }
.footer-headline { color: #fff; font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 300; line-height: 1.05; margin: 0; max-width: 820px; }
.footer-headline em { color: var(--gold); }
.footer-top-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-main { padding: 4rem 0 3rem; }
.footer-about { line-height: 1.85; max-width: 380px; }
.footer-title { font-family: var(--sans); font-size: .66rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.4rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .65rem; }
.footer-links a, .footer-projects a { color: rgba(255, 255, 255, .65); }
.footer-links a:hover, .footer-projects a:hover, .footer-contact a:hover { color: var(--gold-2); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { margin-bottom: 1.2rem; line-height: 1.6; color: rgba(255, 255, 255, .8); }
.footer-contact span { display: block; font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .4); margin-bottom: .2rem; }
.footer-contact a { color: rgba(255, 255, 255, .85); }
.footer-projects { border-top: 1px solid var(--line-dark); padding: 2.2rem 0; }
.footer-projects ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 2rem; font-size: .84rem; }
.footer-wordmark { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 11.5vw, 12rem); line-height: .85; text-align: center; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(197, 165, 114, .38); letter-spacing: -.02em; padding: 1.5rem 0 .5rem; user-select: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; border-top: 1px solid var(--line-dark); padding: 1.6rem 0; font-size: .8rem; }
.footer-bottom a { color: #fff; }
.footer-bottom a:hover { color: var(--gold); }
.small-note { color: rgba(255, 255, 255, .4); }

/* ---------- Floating UI ---------- */
.side-enquire { position: fixed; right: 0; top: 50%; z-index: 1035; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; background: var(--gold); color: var(--black); border: 0; padding: 1.4rem .75rem; font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; transition: background .3s, padding .3s; }
.side-enquire:hover { background: var(--gold-2); padding-left: 1rem; }
.float-actions { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 1034; display: flex; flex-direction: column; gap: .7rem; }
.float-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.35rem; border: 0; color: #fff; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); transition: transform .3s, opacity .3s; }
.float-btn:hover { transform: translateY(-3px); color: #fff; }
.float-wa { background: #25d366; }
.float-top { background: var(--black); border: 1px solid var(--line-dark); font-size: 1rem; opacity: 0; pointer-events: none; }
.float-top.is-visible { opacity: 1; pointer-events: auto; }
.mobile-bar { position: fixed; inset: auto 0 0; z-index: 1036; display: grid; grid-template-columns: 1fr 1fr 1.2fr; background: var(--black); border-top: 1px solid var(--line-dark); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a, .mobile-bar button { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 1rem 0; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: none; border: 0; }
.mobile-bar a + a { border-left: 1px solid var(--line-dark); }
.mobile-bar i { font-size: 1rem; color: var(--gold); }
.mobile-bar button { background: var(--gold); color: var(--black); }
.mobile-bar button i { color: var(--black); }
@media (max-width: 991.98px) { body { padding-bottom: 56px; } .float-actions { bottom: 4.8rem; right: 1rem; } }

/* ---------- Toast ---------- */
.toast-container { z-index: 1090; }
.toast { border-radius: 0; color: #fff; font-size: .9rem; }
.toast-success { background: var(--black); border-left: 3px solid var(--gold) !important; }
.toast-error { background: #7a1c1c; }

/* ---------- Motion ---------- */
.anim { animation: fadeUp 1.2s var(--ease-out) both; }
.hero-copy .anim:nth-child(2) { animation-delay: .12s; }
.hero-copy .anim:nth-child(3) { animation-delay: .24s; }
.hero-copy .anim:nth-child(4) { animation-delay: .36s; }
.hero-now.anim { animation-delay: .5s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* images: soft zoom-settle as they enter */
.reveal-img { overflow: hidden; }
.js .reveal-img:not(.is-in) img { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal-img:not(.is-in) img { transform: none; }
}

/* ---------- Mobile refinements ---------- */
@media (max-width: 767.98px) {
  .hero-shade { background: linear-gradient(180deg, rgba(11, 11, 12, .7) 0%, rgba(11, 11, 12, .55) 35%, rgba(11, 11, 12, .7) 60%, rgba(11, 11, 12, .96) 100%); }
  .rail-controls { width: 100%; min-width: 0; }
  .rail-filter { min-width: 0; flex: 1; margin-right: 0; }
  .rail-filter button { flex: 1; padding: .6rem .5rem; letter-spacing: .1em; font-size: .6rem; }
}

/* Mobile menu: compact type */
@media (max-width: 767.98px) {
  .menu-drawer .offcanvas-header { padding: 1.2rem 1.5rem; }
  .menu-drawer .offcanvas-body { padding: .5rem 1.5rem 2rem; }
  .drawer-nav { margin-bottom: 1.4rem; }
  .drawer-nav a { font-size: 1.2rem; padding: .42rem 0; gap: .9rem; }
  .drawer-nav a span { font-size: .6rem; min-width: 1.2rem; }
  .drawer-close { width: 40px; height: 40px; }
  .drawer-nav a.active { padding-left: 0; }
  .drawer-contact { font-size: .8rem; line-height: 1.6; }
  .drawer-contact p { margin-bottom: .4rem; }
}
/* drawers never show a scrollbar or scroll sideways */
.menu-drawer .offcanvas-body, .enquiry-drawer .offcanvas-body { overflow-x: hidden; scrollbar-width: none; }
.menu-drawer .offcanvas-body::-webkit-scrollbar, .enquiry-drawer .offcanvas-body::-webkit-scrollbar { display: none; }

/* Mobile bottom bar: slimmer */
.mobile-bar a, .mobile-bar button { padding: .5rem 0; font-size: .58rem; gap: .4rem; line-height: 1.4; }
.mobile-bar i { font-size: .85rem; }
@media (max-width: 991.98px) { body { padding-bottom: 38px; } .float-actions { bottom: 3.4rem; } }

/* Hero on short / narrow screens: grow with content instead of sliding under the header */
@media (max-width: 991.98px) {
  .hero { height: auto; min-height: 100svh; padding-top: 96px; }
}

/* Footer wordmark: a gold shine sweeps across the outlined letters, start to end, on loop */
.footer-wordmark {
  background-image: linear-gradient(100deg, transparent 0%, transparent 42%, rgba(220, 197, 155, .15) 45%, rgba(236, 214, 170, .95) 50%, rgba(220, 197, 155, .15) 55%, transparent 58%, transparent 100%);
  background-size: 250% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  animation: wordShine 5.5s linear infinite;
}
@keyframes wordShine {
  0% { background-position: 150% 0; }
  100% { background-position: -50% 0; }
}
/* room for the descender of "y" so it never touches the bottom border */
.footer-wordmark { line-height: 1; padding: 1.5rem 0 .28em; }

/* ---------- Awards & Recognition (same strip style as developers) ---------- */
.awards { background: #fff; }
.award-tile { position: relative; flex: none; width: 300px; height: 340px; padding: 1rem; border-right: 1px solid var(--stone); display: block; overflow: hidden; }
.award-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.award-tile:hover img { transform: scale(1.06); }
.award-tile::after { content: ""; position: absolute; inset: 1rem; border: 1px solid transparent; transition: border-color .4s; pointer-events: none; }
.award-tile:hover::after { border-color: var(--gold); }
.award-cap { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: 2rem .9rem .7rem; background: linear-gradient(0deg, rgba(11, 11, 12, .85), transparent); color: #fff; font-size: .74rem; letter-spacing: .04em; opacity: 0; transform: translateY(6px); transition: all .4s var(--ease); }
.award-tile:hover .award-cap { opacity: 1; transform: none; }
@media (hover: none) { .award-cap { opacity: 1; transform: none; } }
@media (max-width: 575.98px) { .award-tile { width: 220px; height: 260px; padding: .7rem; } .award-tile::after { inset: .7rem; } .award-cap { left: .7rem; right: .7rem; bottom: .7rem; } }

/* Math captcha field */
.enquiry-form .captcha-row { margin: .4rem 0 1.4rem; }
.enquiry-form .captcha-label { position: static; display: block; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; pointer-events: auto; }
.enquiry-form .captcha-label i { margin-right: .3rem; }
.enquiry-form .captcha-box { display: flex; align-items: stretch; border: 1px solid rgba(255, 255, 255, .25); }
.enquiry-form .captcha-q { display: flex; align-items: center; padding: .7rem 1.1rem; background: rgba(197, 165, 114, .14); color: var(--gold-2); font-family: var(--serif); font-size: 1.5rem; letter-spacing: .06em; white-space: nowrap; border-right: 1px solid rgba(255, 255, 255, .25); }
.enquiry-form .captcha-box .captcha-input { flex: 1; min-width: 0; width: auto; border: 0; padding: .7rem 1rem; font-size: 1.3rem; font-weight: 500; text-align: center; color: #fff; background: transparent; }
.enquiry-form .captcha-box .captcha-input::placeholder { color: rgba(255, 255, 255, .35); }
.enquiry-form .captcha-box:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(197, 165, 114, .2); }
.enquiry-form.was-validated .captcha-input:invalid { background: rgba(229, 72, 77, .12); }
.form-light .captcha-box { border-color: var(--line); }
.form-light .captcha-q { background: var(--ivory); color: var(--black); border-color: var(--line); }
.form-light .captcha-box .captcha-input { color: var(--black); }
.form-light .captcha-box .captcha-input::placeholder { color: var(--muted); }
.form-light .captcha-label { color: var(--gold-deep); }

/* Footer social + Google review */
.footer-social { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.6rem; }
.footer-social a { width: 40px; height: 40px; border: 1px solid var(--line-dark); border-radius: 50%; display: grid; place-items: center; color: rgba(255, 255, 255, .75); transition: all .3s; }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.footer-social .footer-review { width: auto; border-radius: 999px; padding: 0 1rem; display: inline-flex; gap: .5rem; font-size: .78rem; letter-spacing: .04em; }
