:root {
  --char: #1D1D1F;
  --char-2: #2a2a2d;
  --wall: #E8E7E3;
  --wall-2: #D6D6D2;
  --ink: #1D1D1F;
  --muted: #5f5d58;
  --white: #ffffff;
  --sun: #E3A35F;           /* the one warm accent: Vice City haze */
  --line-d: rgba(255, 255, 255, 0.09);
  --line-l: rgba(29, 29, 31, 0.14);
  --wide: "Barlow", "Bahnschrift", system-ui, sans-serif;
  --cond: "Barlow Semi Condensed", "Barlow", "Bahnschrift", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }

body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font-family: var(--wide);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sun); outline-offset: 5px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 18px; background: var(--wall); color: var(--char); }
.skip-link:focus { top: 12px; }
.clip-credit { font-size: 14px; color: var(--muted); }

h1, h2 { margin: 0; font-weight: 700; letter-spacing: 0.04em; line-height: 1.05; }
h2 { font-size: clamp(30px, 4.6vw, 46px); text-transform: uppercase; margin-bottom: 16px; }

/* ---------- elevator nav ---------- */
.lift {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 24px;
  background: var(--char);
  color: var(--white);
  border-bottom: 1px solid #000;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: 0.14em; font-size: 15px; }
.brand img { width: 30px; height: 30px; border: 1px solid #3a3a3d; }
.lift-right { display: flex; align-items: center; gap: 14px; }

.floor-display {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 58px;
  justify-content: center;
  padding: 3px 10px;
  background: #0b0b0c;
  border: 1px solid #3a3a3d;
  border-radius: 4px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: var(--sun);
  text-shadow: 0 0 8px rgba(227, 163, 95, 0.6);
}
.floor-display .arrow { font-size: 11px; }

.floors { display: flex; gap: 6px; }
.floors a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px 3px 3px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #c9c8c4;
}
.floors b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(145deg, #eeede9, #b9b8b3);
  color: var(--char);
  font-family: var(--cond);
  font-size: 15px;
  box-shadow: inset 0 -2px 3px rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: box-shadow 0.2s, color 0.2s, background 0.2s;
}
.floors a:hover b { box-shadow: inset 0 -2px 3px rgba(0, 0, 0, 0.25), 0 0 0 2px #6d6c68; }
.floors a.on { color: var(--white); }
.floors a.on b {
  background: #0b0b0c;
  color: var(--sun);
  box-shadow: 0 0 0 2px var(--sun), 0 0 12px rgba(227, 163, 95, 0.55);
}

/* ---------- lobby (hero) ---------- */
.exterior {
  position: relative;
  min-height: min(58vh, 520px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 48px max(24px, calc((100vw - 1100px) / 2));
  overflow: hidden;
  background: #cdc3b8;
  isolation: isolate;
}
.exterior::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(0deg, rgba(29, 29, 31, 0.35) 0%, rgba(29, 29, 31, 0) 35%);
  pointer-events: none;
}
.wall-sign { position: relative; z-index: 1; }

/* live sky: slow push-in on the skyline, haze drifting through, sun glare breathing */
.sky { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.skyline {
  position: absolute;
  inset: -6%;
  background: url("assets/img/tower.jpg") 30% 0% / cover no-repeat;
  transform-origin: 30% 35%;
  animation: push 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes push {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.09) translate3d(-1.5%, -1%, 0); }
}
/* real skyline loop (Kling); fades in over the CSS sky once it's playing */
.sky-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 0%;
  opacity: 0;
  transition: opacity 1s ease;
}
.sky.has-video .sky-video { opacity: 1; }
.sky.has-video .skyline { animation: none; }
.sky.has-video .haze, .sky.has-video .glare { display: none; }
.haze {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70%;
  filter: blur(30px);
  opacity: 0.55;
  mix-blend-mode: screen;
  will-change: transform;
}
.haze.h1 {
  left: -70%;
  background: radial-gradient(50% 35% at 50% 40%, rgba(255, 238, 214, 0.9), transparent 70%);
  animation: drift 38s linear infinite;
}
.haze.h2 {
  left: -70%;
  top: 25%;
  background: radial-gradient(45% 30% at 50% 50%, rgba(255, 226, 196, 0.75), transparent 70%);
  animation: drift 52s linear -20s infinite;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(245%, 0, 0); }
}
.glare {
  position: absolute;
  right: 8%;
  top: -18%;
  width: 46%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 244, 222, 0.85) 0%, rgba(255, 214, 160, 0.35) 30%, transparent 62%);
  mix-blend-mode: screen;
  animation: breathe 7s ease-in-out infinite alternate;
}
@keyframes breathe {
  from { opacity: 0.45; transform: scale(0.94); }
  to { opacity: 0.9; transform: scale(1.06); }
}
.wall-sign {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 28px 22px 22px;
  background: var(--wall);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25), inset 0 1px 0 #fff;
}
.wall-sign img { width: 112px; height: 112px; flex: none; }
.wordmark h1 { font-size: clamp(46px, 6vw, 72px); font-weight: 700; letter-spacing: 0.07em; color: var(--char); }
.wordmark p {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--char);
}

.inside {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 56px max(24px, calc((100vw - 1100px) / 2)) 64px;
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(227, 163, 95, 0.08), transparent 60%),
    var(--char);
  color: var(--white);
}

/* the engraved directory plate */
.directory {
  padding: 26px 30px 18px;
  background: linear-gradient(170deg, #2e2b29 0%, #1f1d1c 55%, #191817 100%);
  border: 1px solid #3b3734;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 0 0 6px rgba(0, 0, 0, 0.18);
}
.dir-head { display: grid; justify-items: center; gap: 6px; padding-bottom: 18px; margin-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.dir-head img { width: 40px; height: 40px; opacity: 0.85; outline: 1px solid rgba(255, 255, 255, 0.18); }
.dir-name { font-size: 30px; font-weight: 600; letter-spacing: 0.34em; padding-left: 0.34em; text-transform: uppercase; color: #bdb7ae; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7); }
.dir-sub { font-size: 11px; font-weight: 600; letter-spacing: 0.46em; padding-left: 0.46em; text-transform: uppercase; color: #8f8a83; }
.tenants { list-style: none; margin: 0; padding: 0; }
.tenants li {
  position: relative;
  padding: 11px 0 11px 22px;
  border-bottom: 1px solid var(--line-d);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6f6a64;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.75), 0 -1px 0 rgba(255, 255, 255, 0.04);
}
.tenants li:last-child { border-bottom: 0; }
.tenants li.lit {
  color: var(--white);
  font-weight: 700;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.55), 0 0 2px rgba(255, 255, 255, 0.8);
}
.tenants li.lit::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 10px var(--sun);
}

.kicker {
  margin: 0 0 12px;
  font-family: var(--cond);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sun);
}
.lead { margin: 0 0 24px; font-size: 22px; line-height: 1.5; color: #f1f0ec; }

.terminal {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 14px;
  margin-bottom: 16px;
  background: #0d0d0e;
  border: 1px solid #3a3a3d;
  border-radius: 6px;
  font-family: var(--cond);
}
.t-label { font-weight: 700; font-size: 13px; letter-spacing: 0.14em; color: var(--sun); }
.terminal code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, Consolas, monospace; font-size: 15px; color: var(--wall-2); }
.terminal button, .copy-big {
  border: 0;
  border-radius: 4px;
  padding: 7px 14px;
  background: var(--wall);
  color: var(--char);
  font: 700 14px var(--cond);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.terminal button:hover, .copy-big:hover { background: var(--white); }

.buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.buttons a {
  padding: 11px 20px;
  border: 1px solid var(--char);
  border-radius: 4px;
  text-decoration: none;
  font: 700 15px var(--cond);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--char);
}
.buttons a.btn-main { background: var(--char); color: var(--white); }
.buttons a:hover { border-color: var(--sun); }
.inside .buttons a { border-color: #5a5a5e; color: var(--white); }
.inside .buttons a.btn-main { background: var(--wall); border-color: var(--wall); color: var(--char); }
.buttons.center { justify-content: center; }

/* ---------- floors ---------- */
main { width: min(1040px, 100%); margin: 0 auto; padding: 0 24px; }
main > section { padding: 64px 0; border-bottom: 1px solid var(--line-l); }
main > section:last-child { border-bottom: 0; }
main p { margin: 0 0 16px; color: #2c2b29; }

.floor-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px !important;
  font: 700 13px var(--cond);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted) !important;
}
.floor-tag b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--char);
  color: var(--sun);
  font-size: 13px;
  letter-spacing: 0;
}

.clip { margin: 24px 0; border-radius: 8px; overflow: hidden; background: #000; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18); }
.clip video { display: block; width: 100%; height: auto; }

.statement {
  margin: 28px 0 0 !important;
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--char) !important;
}

/* go see it: map + objectives */
.mapcard {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  margin: 24px 0 16px;
  background: var(--char);
  border-radius: 8px;
  overflow: hidden;
  color: var(--white);
}
.map { position: relative; }
.map img { width: 100%; height: 100%; object-fit: cover; }
.waypoint {
  position: absolute;
  left: 49.25%;
  top: 45.8%;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border: 3px solid var(--sun);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.35), 0 0 18px rgba(227, 163, 95, 0.8);
  animation: ping 2s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(0.8); opacity: 1; } 80% { transform: scale(1.35); opacity: 0.35; } 100% { transform: scale(1.35); opacity: 0; } }
.wp-label {
  position: absolute;
  left: 49.25%;
  top: calc(45.8% - 60px);
  transform: translateX(-50%);
  padding: 4px 10px;
  background: rgba(13, 13, 14, 0.88);
  border: 1px solid var(--sun);
  border-radius: 3px;
  font: 700 12px var(--cond);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--white);
}
.objectives {
  list-style: none;
  counter-reset: obj;
  margin: 0;
  padding: 28px 26px;
  display: grid;
  align-content: center;
  gap: 18px;
}
.objectives li {
  counter-increment: obj;
  position: relative;
  padding-left: 44px;
  font-size: 18px;
  line-height: 1.45;
  color: #ecebe7;
}
.objectives li::before {
  content: counter(obj);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--sun);
  font: 700 15px var(--cond);
  color: var(--sun);
}
.objectives b { color: var(--sun); font-weight: 700; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pair img { border-radius: 8px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* blue chip board */
.board {
  margin: 24px 0 22px;
  background: var(--char);
  border-radius: 8px;
  overflow: hidden;
  color: var(--white);
}
.b-row {
  display: grid;
  grid-template-columns: 0.75fr 1fr 1fr;
  gap: 18px;
  padding: 15px 24px;
  border-bottom: 1px solid var(--line-d);
  font-size: 16px;
  line-height: 1.45;
}
.b-row:last-child { border-bottom: 0; }
.b-head { padding-top: 20px; padding-bottom: 16px; background: #141415; }
.b-head span { font-weight: 700; font-size: 22px; letter-spacing: 0.1em; text-transform: uppercase; }
.b-head > .b-dacity, .b-head > .b-bun { display: flex; align-items: center; gap: 12px; }
.b-logo { width: 42px; height: 42px; flex: none; outline: 1px solid rgba(255, 255, 255, 0.18); }
.b-logo.round { border-radius: 50%; outline: 0; }
.b-head small { display: block; margin-top: 2px; font: 600 12px var(--cond); letter-spacing: 0.16em; color: #8d8a84; }
.b-head .b-bun { color: var(--white); }
.b-head .b-bun small { color: var(--sun); }
.b-label { font: 700 13px var(--cond); letter-spacing: 0.16em; text-transform: uppercase; color: #8d8a84; padding-top: 2px; }
.b-dacity { color: #a8a5a0; }
.b-bun { color: var(--white); font-weight: 600; border-left: 2px solid var(--sun); padding-left: 14px; }
.b-head .b-dacity { color: #a8a5a0; }

.leak {
  margin: 26px 0;
  padding: 20px 22px;
  background: var(--wall-2);
  border-left: 4px solid var(--char);
  border-radius: 0 6px 6px 0;
}
.leak-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  background: var(--char);
  color: var(--white);
  font: 700 12px var(--cond);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.leak p { margin-bottom: 8px; }
.leak-line { font-weight: 700; margin-bottom: 0 !important; color: var(--char) !important; }

/* buy: bank card */
.card-wrap { display: grid; justify-items: center; gap: 14px; margin: 30px 0 26px; }
.bank-card {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 1.586;
  padding: 22px 24px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  border-radius: 16px;
  color: var(--white);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(227, 163, 95, 0.22), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 9px),
    linear-gradient(160deg, #2c2c30, #18181a 60%, #111112);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.bc-top { display: flex; align-items: center; gap: 12px; }
.bc-top img { width: 44px; height: 44px; outline: 1px solid rgba(255, 255, 255, 0.2); }
.bc-name { font-size: 24px; font-weight: 700; letter-spacing: 0.14em; }
.bc-chip {
  align-self: center;
  width: 46px;
  height: 34px;
  border-radius: 6px;
  background:
    linear-gradient(90deg, transparent 30%, rgba(0, 0, 0, 0.25) 30% 33%, transparent 33% 66%, rgba(0, 0, 0, 0.25) 66% 69%, transparent 69%),
    linear-gradient(0deg, transparent 45%, rgba(0, 0, 0, 0.25) 45% 55%, transparent 55%),
    linear-gradient(135deg, #f0c48e, #c98a45);
}
.bc-ca { display: grid; gap: 2px; margin-bottom: 12px; }
.bc-label { font: 600 11px var(--cond); letter-spacing: 0.2em; text-transform: uppercase; color: #9a978f; }
.bc-ca code { font-family: ui-monospace, Consolas, monospace; font-size: 16px; letter-spacing: 0.06em; overflow-wrap: anywhere; color: #f1f0ec; }
.bc-foot { display: flex; justify-content: space-between; font: 600 12px var(--cond); letter-spacing: 0.22em; text-transform: uppercase; color: #b7b4ad; }
.copy-big { background: var(--char); color: var(--white); padding: 11px 22px; font-size: 15px; }
.copy-big:hover { background: #000; }

footer {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 36px 24px 44px;
  background: var(--char);
  color: #b7b4ad;
  text-align: center;
}
footer img { width: 36px; height: 36px; opacity: 0.9; }
footer p { margin: 0; font-size: 14px; }

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .lift { padding: 8px 12px; gap: 8px; }
  .brand span, .floors span { display: none; }
  .lift-right { gap: 8px; }
  .floors { gap: 4px; }
  .floors a { padding: 0; }
  .floors b { width: 32px; height: 32px; }
  .floor-display { min-width: 46px; padding: 2px 7px; font-size: 18px; }

  .exterior { min-height: 0; padding: 150px 16px 24px; justify-content: center; }
  .skyline { background-position: 28% 30%; }
  .haze { width: 110%; }
  .glare { width: 80%; right: -10%; }
  .wall-sign { gap: 14px; padding: 14px 18px 14px 14px; }
  .wall-sign img { width: 72px; height: 72px; }
  .wordmark h1 { font-size: clamp(28px, 8vw, 40px); }
  .wordmark p { font-size: 12px; letter-spacing: 0.14em; margin-top: 6px; }

  .inside { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 36px 16px 44px; }
  .inside > * { min-width: 0; }
  .directory { padding: 20px 18px 12px; }
  .dir-name { font-size: 24px; }
  .tenants li { font-size: 14px; letter-spacing: 0.12em; padding-left: 20px; }
  .lead { font-size: 19px; }

  main { padding: 0 16px; }
  main > section { padding: 48px 0; }
  .mapcard { grid-template-columns: 1fr; }
  .map img { height: auto; }
  .objectives { padding: 22px 18px 24px; }
  .objectives li { font-size: 17px; }
  .pair { grid-template-columns: 1fr; }

  .b-row { grid-template-columns: 1fr 1fr; gap: 6px 14px; padding: 14px 16px; font-size: 15px; }
  .b-row .b-label { grid-column: 1 / -1; }
  .b-head > span:first-child { display: none; }
  .b-head span { font-size: 18px; }
  .b-head > .b-dacity, .b-head > .b-bun { gap: 8px; }
  .b-logo { width: 32px; height: 32px; }
  .bank-card { padding: 18px; border-radius: 14px; }
  .bc-name { font-size: 20px; }
  .bc-ca code { font-size: 14px; }
  .bc-foot { font-size: 12px; letter-spacing: 0.08em; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .waypoint { animation: none; }
  .skyline, .haze, .glare { animation: none; }
  .haze { display: none; }
}
