/* Colours lifted from the printed lease flyer so the site and sign match. */
:root {
  --blue: #17509f;
  --blue-dark: #0f3a75;
  --yellow: #f6b42a;
  --red: #c8202f;
  --ink: #16181c;
  --muted: #5b6069;
  --paper: #f4f2ee;
  --card: #ffffff;
  --line: #dedad3;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1; margin: 0; letter-spacing: .01em; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8em 1.4em;
  font: 700 1.125rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--radius); border: 2px solid transparent;
  transition: transform .15s, background-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--small { font-size: .95rem; padding: .6em 1em; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #ffc444; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--ghost-dark { border-color: var(--ink); color: var(--ink); }
.btn--ghost-dark:hover { background: rgba(0,0,0,.05); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 10px 16px;
  background: var(--blue); color: #fff;
}
.topbar__brand { font: 700 1.35rem/1 var(--display); text-decoration: none; letter-spacing: .03em; }
.topbar__nav { display: flex; gap: 20px; margin-left: auto; }
.topbar__nav a { text-decoration: none; font-weight: 500; opacity: .85; }
.topbar__nav a:hover { opacity: 1; }
@media (max-width: 720px) {
  .topbar__nav { display: none; }
  .topbar .btn { margin-left: auto; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(82vh, 760px);
  display: flex; align-items: flex-end;
  color: #fff;
}
.hero__img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 55% 90%; /* favour the building over the sky */
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(10,16,30,.94) 0%, rgba(10,16,30,.75) 50%, rgba(10,16,30,.4) 100%);
}
.hero__inner { width: min(1160px, 100% - 32px); margin: 0 auto; padding: 48px 0 56px; }
.kicker {
  margin: 0 0 14px; font: 600 1rem/1.2 var(--display);
  letter-spacing: .14em; text-transform: uppercase; color: var(--yellow);
}
.hero h1 { font-size: clamp(3.4rem, 11vw, 7.5rem); text-transform: uppercase; letter-spacing: .02em; }
.hero__lede { max-width: 34em; margin: 18px 0 28px; font-size: clamp(1.1rem, 2.2vw, 1.35rem); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- facts ---------- */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--ink); color: #fff;
}
.fact { padding: 26px 16px; text-align: center; border-left: 1px solid rgba(255,255,255,.12); }
.fact:first-child { border-left: 0; }
.fact__num { display: block; font: 700 clamp(2.2rem, 5vw, 3.2rem)/1 var(--display); color: var(--yellow); }
.fact__label { display: block; margin-top: 6px; font-size: .95rem; color: #c9ccd2; }
@media (max-width: 640px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
}

.features { padding: 28px 0 8px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips li {
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); font-weight: 500; font-size: .98rem;
}

/* ---------- units ---------- */
.section-title {
  font-size: clamp(2.4rem, 6vw, 3.6rem); text-transform: uppercase; margin-bottom: 28px;
}
.section-title::after {
  content: ""; display: block; width: 64px; height: 5px; margin-top: 12px; background: var(--red);
}
.units { padding: 56px 0 24px; }
.unit {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  margin-bottom: 36px;
}
@media (max-width: 860px) { .unit { grid-template-columns: 1fr; } }

.unit__info { padding: 28px 28px 32px; display: flex; flex-direction: column; align-items: flex-start; }
.unit__tag {
  margin: 0 0 8px; padding: 4px 10px; border-radius: 4px;
  background: #e5f3e8; color: #1d6b34; font: 700 .85rem/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase;
}
.unit h3 { font-size: 3rem; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0 0 24px; }
.specs dt { font: 600 1.05rem/1.5 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.specs dd { margin: 0; }
.specs ul { margin: 0; padding-left: 1.1em; }
.unit__note { margin: -8px 0 20px; color: var(--muted); font-style: italic; }
.unit .btn { margin-top: auto; }

/* gallery: a big lead photo, then a strip of thumbs */
.unit__media { background: #e9e6e0; }
.gallery__lead {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; position: relative;
  background: #ddd;
}
.gallery__lead img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery__badge {
  position: absolute; right: 12px; bottom: 12px;
  padding: 6px 12px; border-radius: 4px; background: rgba(15,20,30,.78); color: #fff;
  font: 600 .95rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase;
}
.gallery__thumbs {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 4px;
}
.gallery__thumbs button { position: relative; padding: 0; border: 0; cursor: zoom-in; background: #ddd; }
.gallery__more {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(15,20,30,.62); color: #fff; font: 700 1.6rem/1 var(--display);
}
.gallery__thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .15s; }
.gallery__thumbs button:hover img { opacity: .8; }

/* ---------- location ---------- */
.location { padding: 56px 0; background: var(--card); border-block: 1px solid var(--line); }
.location__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .location__grid { grid-template-columns: 1fr; } }
.location__addr { font: 600 1.6rem/1.2 var(--display); margin: 0 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px;
  border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg);
}
.map { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #e9e6e0; }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- contact ---------- */
.contact { background: var(--red); color: #fff; text-align: center; padding: 64px 0; }
.contact h2 { font-size: clamp(2.6rem, 7vw, 4.2rem); text-transform: uppercase; }
.contact__actions { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.contact__big {
  padding: 16px 26px; border: 2px solid #fff; border-radius: var(--radius);
  font: 700 clamp(1.4rem, 4.5vw, 2rem)/1 var(--display); text-decoration: none; letter-spacing: .02em;
  overflow-wrap: anywhere; transition: background-color .15s, color .15s;
}
.contact__big:hover { background: #fff; color: var(--red); }

.footer { padding: 28px 0 40px; font-size: .82rem; color: var(--muted); }

/* ---------- lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(8,10,14,.96); color: #fff;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(0,0,0,.6); }
.lightbox figure { margin: 0; max-width: min(1600px, 100% - 120px); }
.lightbox img { max-height: calc(100vh - 110px); width: auto; margin: 0 auto; border-radius: 4px; }
.lightbox figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 12px 2px 0; font-size: 1rem; }
.lightbox__count { color: #9aa0aa; white-space: nowrap; }
.lightbox button {
  position: absolute; border: 0; background: rgba(255,255,255,.08); color: #fff; cursor: pointer;
  font-size: 2.6rem; line-height: 1; width: 52px; height: 52px; border-radius: 50%;
}
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lightbox__close { top: 16px; right: 16px; font-size: 2.2rem; }
.lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox figure { max-width: 100%; }
  .lightbox figcaption { padding-inline: 12px; }
  .lightbox__nav { top: auto !important; bottom: 18px; transform: none !important; }
}
