:root {
  --ink: #12232a;
  --ink-soft: #4a5a60;
  --line: #dfe5e6;
  --bg: #ffffff;
  --bg-alt: #f3f6f5;
  --brand: #12333b;
  --accent: #2f8f83;
  --accent-ink: #ffffff;
  --gold: #c8a96a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 35, 42, .10);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.4rem; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--bg-alt); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 600; color: var(--accent); margin: 0 0 .75rem; }
.lede { font-size: 1.08rem; color: var(--ink-soft); max-width: 62ch; }
.fine { font-size: .82rem; color: var(--ink-soft); margin-top: 1rem; }

.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600; padding: .85em 1.4em; border-radius: 999px; border: 2px solid var(--accent); cursor: pointer; font: 600 .95rem var(--sans); transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); background: #287d72; border-color: #287d72; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.8); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline { background: transparent; color: var(--accent); }
.btn-outline:hover { color: #fff; }
.btn-small { padding: .5em 1.05em; font-size: .85rem; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; background: var(--brand); color: #fff; border-radius: 10px; padding: 6px 9px; }
.brand-text { font-weight: 600; font-size: .95rem; line-height: 1.15; display: flex; flex-direction: column; }
.brand-text small { font-weight: 500; color: var(--ink-soft); font-size: .74rem; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a:not(.btn) { text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--ink-soft); }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Hero */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,25,30,.10) 15%, rgba(10,25,30,.55) 45%, rgba(10,25,30,.88) 100%); }
.hero-inner { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.hero-inner { position: relative; max-width: 1180px; width: 100%; margin: 0 auto; padding: 120px 20px clamp(48px, 8vw, 96px); }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin-bottom: .2em; }
.hero-address { font-size: 1.15rem; font-weight: 500; margin: 0 0 1rem; opacity: .95; }
.hero-lede { max-width: 56ch; font-size: 1.05rem; opacity: .92; margin: 0 0 1.6rem; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--brand); color: #fff; }
.stat { padding: 28px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 600; }
.stat span { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }

/* Availability table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.avail { width: 100%; border-collapse: collapse; min-width: 640px; }
.avail th, .avail td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.avail th { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); background: var(--bg-alt); }
.avail td.num, .avail th.num { text-align: right; font-variant-numeric: tabular-nums; }
.avail tbody tr:hover { background: #fafcfb; }
.avail tfoot td { font-weight: 600; border-bottom: 0; }
.suite-id { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.pill { display: inline-block; font-size: .75rem; font-weight: 600; padding: .25em .7em; border-radius: 999px; background: #e6f2f0; color: #1f6b62; }
.pill.ready { background: var(--accent); color: #fff; }
.avail a { color: var(--accent); font-weight: 600; text-decoration: none; white-space: nowrap; }

/* Suite cards */
.suite-card { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 32px; }
.suite-card:last-child { margin-bottom: 0; }
.suite-media { position: relative; min-height: 320px; background: #dfe7e6; }
.suite-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.suite-media .thumbs { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; }
.suite-media .thumbs img { position: static; width: 64px; height: 44px; border-radius: 6px; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.suite-media .count.caption { cursor: default; left: 14px; right: auto; }
.suite-media .count { position: absolute; right: 14px; bottom: 14px; background: rgba(18,35,42,.8); color: #fff; font-size: .8rem; padding: .35em .8em; border-radius: 999px; border: 0; cursor: pointer; font-family: var(--sans); }
.suite-media .no-photo { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--ink-soft); padding: 24px; font-size: .95rem; }
.suite-body { padding: clamp(24px, 3.5vw, 40px); }
.suite-body h3 { font-size: 1.9rem; margin-bottom: .1em; }
.suite-body .sub { color: var(--accent); font-weight: 600; margin: 0 0 1rem; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 1.2rem 0 1.4rem; padding: 0; list-style: none; }
.specs li { background: var(--bg-alt); border-radius: 10px; padding: 10px 12px; }
.specs b { display: block; font-size: 1.05rem; }
.specs span { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }

/* Staging */
.staging-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 28px; }
.ba { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); user-select: none; touch-action: pan-y; background: #ddd; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: #fff; transform: translateX(-1.5px); box-shadow: 0 0 10px rgba(0,0,0,.35); }
.ba .handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--brand); display: grid; place-items: center; font-size: 1.1rem; box-shadow: 0 2px 10px rgba(0,0,0,.3); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba .tag { position: absolute; top: 12px; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .35em .75em; border-radius: 999px; pointer-events: none; }
.ba .tag-before { left: 12px; background: rgba(18,35,42,.75); color: #fff; }
.ba .tag-after { right: 12px; background: var(--gold); color: #1d1606; }

/* Building */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.features { list-style: none; padding: 0; margin: 1.4rem 0; }
.features li { padding: .55rem 0 .55rem 28px; position: relative; border-bottom: 1px solid var(--line); }
.features li::before { content: ""; position: absolute; left: 4px; top: 1.05rem; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.building-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.building-photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; cursor: zoom-in; }
.tenants { margin-top: 56px; }
.tenant-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tenant-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .5em 1em; font-size: .9rem; font-weight: 500; }

/* Gallery */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 24px; }
.tabs button { font: 500 .9rem var(--sans); border: 1px solid var(--line); background: #fff; color: var(--ink-soft); padding: .55em 1.1em; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; position: relative; }
.gallery img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .35s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery .badge { position: absolute; left: 8px; top: 8px; background: var(--gold); color: #1d1606; font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .3em .6em; border-radius: 999px; }

/* Location */
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; background: #e5e9e8; }
.map iframe { width: 100%; height: 100%; border: 0; }
.address-block { font-weight: 600; margin: 0 0 1.2rem; }

/* Contact */
.contact { background: var(--brand); color: #fff; }
.contact .eyebrow { color: var(--gold); }
.contact .lede, .contact .fine { color: rgba(255,255,255,.75); }
.contact-card { display: flex; flex-direction: column; gap: 4px; margin-top: 1.4rem; font-size: 1.05rem; }
.contact-card b { font-size: 1.25rem; font-family: var(--serif); }
.contact-card a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); align-self: flex-start; }
.form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; box-shadow: var(--shadow); }
.form label { display: grid; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.form input, .form select, .form textarea { font: 400 1rem var(--sans); padding: .7em .85em; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .fine { color: var(--ink-soft); margin: 0; }

.footer { background: #0c2228; color: rgba(255,255,255,.85); padding: 40px 0; font-size: .92rem; }
.footer .fine { color: rgba(255,255,255,.55); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6,14,17,.94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 6px; }
.lightbox figcaption { color: rgba(255,255,255,.8); margin-top: 10px; font-size: .9rem; text-align: center; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; cursor: pointer; font-size: 2rem; width: 52px; height: 52px; border-radius: 50%; line-height: 1; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 12px; text-align: center; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .suite-card, .two-col { grid-template-columns: 1fr; }
  .suite-media { min-height: 0; aspect-ratio: 3/2; }
  .hero-shade { background: linear-gradient(180deg, rgba(10,25,30,.25) 0%, rgba(10,25,30,.7) 35%, rgba(10,25,30,.9) 100%); }
  .staging-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .nav { padding: 10px 16px; }
  .specs { grid-template-columns: 1fr 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .lightbox button.lb-prev, .lightbox button.lb-next { top: auto; bottom: 16px; transform: none; }
}
