/* ============================================================
   KNOWLEDGE BOULEVARD — Plot A-8A, Sector 62, Noida
   Graph-paper blueprint academic. IBM Plex. Navy ink.
   The 81,000 sq ft floor plate does the talking.
   ============================================================ */

:root {
  --paper: #f7f9fc;
  --grid: rgba(30, 58, 110, 0.10);
  --grid-major: rgba(30, 58, 110, 0.18);
  --ink: #16305e;
  --ink-deep: #0e2145;
  --body: #2b3a55;
  --muted: #64748f;
  --red: #c2402a;
  --card: #ffffff;
  --sans: 'IBM Plex Sans', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  --serif: 'IBM Plex Serif', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background:
    linear-gradient(var(--grid-major) 1px, transparent 1px) 0 0 / 100% 120px,
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px) 0 0 / 120px 100%,
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 100% 24px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 24px 100%,
    var(--paper);
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

img { display: block; max-width: 100%; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  background:
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 100% 24px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 24px 100%,
    var(--paper);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__plot { text-align: center; border: 2px solid var(--ink); background: var(--card); padding: 26px 36px; }
.preloader__coord { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--red); }
.preloader__name {
  display: block; margin-top: 8px;
  font-family: var(--mono); font-weight: 600; font-size: 18px; letter-spacing: 0.14em;
  color: var(--ink);
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--ink); z-index: 150;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(247, 249, 252, 0.92);
  border-bottom: 2px solid var(--ink);
  backdrop-filter: blur(8px);
}
.nav__inner {
  max-width: 1140px; margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; gap: 28px;
}
.nav__brand {
  font-family: var(--mono); font-weight: 600; font-size: 14px; letter-spacing: 0.08em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.nav__brand em {
  font-style: normal; font-weight: 400; font-size: 11.5px; color: var(--muted);
  display: block; letter-spacing: 0.06em;
}
.nav__links { display: flex; gap: 22px; margin-left: auto; }
.nav__link {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em;
  color: var(--body); text-decoration: none;
  border-bottom: 1px dotted transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav__link:hover { color: var(--ink); border-bottom-color: var(--ink); }
.nav__cta {
  font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em;
  text-decoration: none; color: var(--paper); background: var(--ink);
  border: 2px solid var(--ink); padding: 8px 16px; white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav__cta:hover { background: transparent; color: var(--ink); }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  margin: 5px 0; transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 88px; }
.hero__meta {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em;
  color: var(--red);
}
.hero__title {
  margin-top: 16px;
  font-size: clamp(46px, 7.4vw, 96px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.0;
  color: var(--ink);
}
.hero__line { display: block; }
.hero__title .word { display: inline-block; white-space: nowrap; }
.hero__title .char {
  display: inline-block; opacity: 0; transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.hero__title .char.in { opacity: 1; transform: translateY(0); }
.hero__sub {
  max-width: 680px; margin: 22px 0 0;
  font-family: var(--serif); font-size: 19.5px; line-height: 1.6; color: var(--body);
}

.hero__grid {
  margin-top: 54px;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px;
  align-items: start;
}

/* ---------- Figures ---------- */
.fig { margin: 0; }
.fig__frame {
  position: relative;
  border: 2px solid var(--ink);
  padding: 10px; background: var(--card);
}
.fig__frame::before, .fig__frame::after {
  content: '+';
  position: absolute; font-family: var(--mono); font-size: 15px; color: var(--red);
  line-height: 1;
}
.fig__frame::before { top: -9px; left: -7px; }
.fig__frame::after { bottom: -9px; right: -7px; }
.fig__frame img { width: 100%; object-fit: cover; }
.fig figcaption {
  margin-top: 12px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--muted);
}
.fig figcaption b { color: var(--ink); font-weight: 600; }
.fig--hero .fig__frame img { min-height: 360px; height: 100%; }

/* ---------- Fade / reveal ---------- */
.fade-in { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.show { opacity: 1; transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Enquiry panel ---------- */
.panel--hero {
  background: var(--card);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(22, 48, 94, 0.14);
  padding: 30px 28px;
}
.panel__flag {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--red);
}
.panel__head { font-size: 23px; font-weight: 700; color: var(--ink); margin: 6px 0 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 12px; }
.field label {
  display: block; margin-bottom: 5px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
}
.field input, .field select {
  width: 100%; padding: 11px 12px;
  font-family: var(--sans); font-size: 15.5px; color: var(--body);
  background: var(--paper); border: 1.5px solid #c6d0e0; border-radius: 0;
  transition: border-color 0.2s ease;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); }
.field--hidden { display: none; }

.btn {
  display: inline-block; cursor: pointer;
  font-family: var(--mono); font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  text-decoration: none; text-align: center;
  color: var(--paper); background: var(--ink);
  border: 2px solid var(--ink); padding: 13px 26px;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn:hover { background: var(--ink-deep); border-color: var(--ink-deep); }
.btn--full { width: 100%; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.section--ink .btn { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.section--ink .btn:hover { background: #e8edf5; }
.section--ink .btn--line { background: transparent; color: var(--paper); }
.section--ink .btn--line:hover { background: var(--paper); color: var(--ink); }

.contact__note { margin-top: 10px; font-size: 14px; color: var(--muted); min-height: 20px; }
.contact__note.ok { color: var(--ink); }
.contact__note.err { color: var(--red); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--ink {
  background: var(--ink); color: #dfe7f4;
  border-top: 2px solid var(--ink-deep); border-bottom: 2px solid var(--ink-deep);
}
.section__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  border-bottom: 2px solid currentColor; padding-bottom: 14px; margin-bottom: 46px;
}
.section__head h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 700; letter-spacing: -0.01em; color: var(--ink);
}
.section--ink .section__head h2 { color: var(--paper); }
.section__no { font-family: var(--mono); font-weight: 500; color: var(--red); margin-right: 6px; }
.section--ink .section__no { color: #9fb6dd; }
.section__tag { font-family: var(--mono); font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.section--ink .section__tag { color: #9fb6dd; }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-bottom: 52px;
}
.stat {
  background: var(--card); border: 2px solid var(--ink);
  padding: 22px 20px;
}
.stat__num {
  font-family: var(--mono); font-weight: 600;
  font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.02em; color: var(--ink);
}
.stat p { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* ---------- Table ---------- */
.table { background: var(--card); border: 2px solid var(--ink); padding: 6px 24px; }
.table__row {
  display: grid; grid-template-columns: 220px 1fr; gap: 22px;
  padding: 14px 2px; border-bottom: 1px dashed #c6d0e0;
}
.table__row:last-child { border-bottom: none; }
.table__row span {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); padding-top: 4px;
}
.table__row b { font-weight: 600; font-size: 16.5px; color: var(--body); }
.section .btn--line.reveal { margin-top: 30px; }

/* ---------- The plate ---------- */
.plate { text-align: center; padding: 20px 0 8px; }
.plate__num {
  font-family: var(--mono); font-weight: 600;
  font-size: clamp(80px, 17vw, 230px);
  line-height: 0.95; letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 2px #dfe7f4;
}
.plate__unit {
  margin-top: 12px;
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.22em;
  text-transform: uppercase; color: #9fb6dd;
}
.plategrid {
  margin-top: 46px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.platefact { border: 1px solid rgba(223, 231, 244, 0.35); padding: 24px 22px; }
.platefact b { display: block; font-size: 16.5px; font-weight: 700; color: var(--paper); margin-bottom: 8px; }
.platefact p { font-size: 15px; color: #b9c8e2; }

/* ---------- Amenities ---------- */
.amgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.am {
  position: relative; background: var(--card); border: 2px solid var(--ink);
  padding: 26px 24px 24px;
}
.am b {
  position: absolute; top: 14px; right: 18px;
  font-family: var(--mono); font-size: 13px; color: var(--red);
}
.am h3 { font-size: 17.5px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.am p { font-size: 15px; color: var(--body); }

/* ---------- Occupiers ---------- */
.occ { max-width: 900px; }
.occ__names { display: flex; flex-wrap: wrap; gap: 12px; }
.occ__names span {
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.04em;
  color: var(--paper); border: 1.5px solid rgba(223, 231, 244, 0.5);
  padding: 9px 18px;
}
.occ__note { margin-top: 24px; font-family: var(--serif); font-size: 18.5px; color: #cdd9ee; }

/* ---------- Contact ---------- */
.contactrow {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
}
.contactrow__big { font-family: var(--mono); font-weight: 600; font-size: clamp(21px, 3vw, 30px); letter-spacing: -0.01em; }
.contactrow__big a { color: var(--paper); text-decoration: none; border-bottom: 1px dotted rgba(223, 231, 244, 0.5); }
.contactrow__big a:hover { border-bottom-style: solid; }
.contactrow__sub { margin-top: 12px; font-size: 15px; color: #9fb6dd; }
.contactrow__cta { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 46px; text-align: center; }
.footer__brand {
  font-family: var(--mono); font-weight: 600; font-size: 15px;
  letter-spacing: 0.18em; color: var(--ink);
}
.footer__meta { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.footer__legal { margin-top: 14px; font-size: 13px; color: #8f9cb5; }
.footer__legal a { color: var(--muted); }

/* ---------- Chat ---------- */
.chat { position: fixed; right: 24px; bottom: 24px; z-index: 120; }
.chat__fab {
  cursor: pointer;
  font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--paper); background: var(--ink);
  border: 2px solid var(--ink);
  padding: 13px 20px;
  box-shadow: 6px 6px 0 rgba(22, 48, 94, 0.2);
  transition: background 0.2s ease;
}
.chat__fab:hover { background: var(--ink-deep); }
.chat__panel {
  position: absolute; right: 0; bottom: 62px;
  width: min(380px, calc(100vw - 48px));
  background: var(--card); border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(22, 48, 94, 0.14);
  padding: 22px;
  display: none; flex-direction: column; max-height: 560px;
}
.chat.open .chat__panel { display: flex; }
.chat__close {
  position: absolute; top: 6px; right: 12px;
  background: none; border: none; cursor: pointer;
  font-size: 24px; color: var(--muted);
}
.chat__flag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--red);
}
.chat__panel h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 4px 0 12px; }
.chat__msgs { flex: 1; overflow-y: auto; min-height: 120px; max-height: 330px; margin-bottom: 12px; }
.chat__msg { margin-bottom: 10px; font-size: 15px; line-height: 1.5; }
.chat__msg--user { text-align: right; color: var(--ink); font-weight: 500; }
.chat__msg--assistant { color: var(--body); }
.chat__msg--typing { color: var(--muted); font-style: italic; }
.chat__form { display: flex; gap: 8px; }
.chat__form input {
  flex: 1; padding: 10px 12px;
  font-family: var(--sans); font-size: 15px;
  background: var(--paper); border: 1.5px solid #c6d0e0;
}
.chat__form input:focus { outline: none; border-color: var(--ink); }
.chat__send {
  cursor: pointer; background: var(--ink); color: var(--paper);
  border: 2px solid var(--ink); font-size: 16px; padding: 0 14px;
}

/* ---------- To top ---------- */
.to-top {
  position: fixed; left: 24px; bottom: 24px; z-index: 110;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--card); color: var(--ink);
  border: 2px solid var(--ink); text-decoration: none; font-size: 17px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .fig--hero .fig__frame img { min-height: 280px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .amgrid, .plategrid { grid-template-columns: repeat(2, 1fr); }
  .contactrow { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav__links {
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(247, 249, 252, 0.98);
    border-bottom: 2px solid var(--ink);
    flex-direction: column; align-items: center; gap: 0;
    padding: 10px 0; display: none;
  }
  .nav__links.open { display: flex; }
  .nav__link { padding: 12px 0; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; margin-left: auto; }
  .nav__brand em { display: none; }
  .hero { padding: 122px 0 64px; }
  .section { padding: 64px 0; }
  .section__head { flex-direction: column; gap: 6px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .amgrid, .plategrid { grid-template-columns: 1fr; }
  .table__row { grid-template-columns: 1fr; gap: 3px; }
  .stats { gap: 12px; }
  .chat { right: 14px; bottom: 14px; }
  .to-top { left: 14px; bottom: 14px; }
}
