/* Hallmark · macrostructure: bespoke (studied: ZZDP Architects) · tone: architectural monograph · anchor hue: signal red 25deg
 * theme: studied-DNA (source: https://www.zzdp.nl/) · paper #ecebe4 · accent #e8401c · Archivo (display + body)
 * nav: fixed bottom block + top-right chrome · footer: statement wordmark · contrast: pass (40-41) · mobile: pass (34, 49, 50-57)
 * Hallmark · pre-emit critique: P5 H4 E4 S5 R4 V5 */
/* RENT: architect's monograph, built to ZZDP Architects (brand/INSPO.md) */
[hidden] { display: none !important; }
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-wdth-wght.woff2") format("woff2-variations"), url("/assets/fonts/archivo-wdth-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --stone: #ecebe4;
  --paper: #f7f6f1;
  --ink: #1c1b18;
  --signal: #e8401c;
  --olive: #5f5d48;
  --amber: #ffb33a;
  --cream: #ede6d6;
  --line: rgba(28, 27, 24, 0.14);
  --shade: rgba(28, 27, 24, 0.4);
  --win: #c9c6b8;
  --brick: #b8341a;
  --night-2: #26241f;
  --hint: #75735f;
  --cream-82: var(--cream-82);
  --cream-70: rgba(237, 230, 214, 0.72);
  --cream-25: var(--cream-25);
  --cream-14: var(--cream-14);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --m: clamp(16px, 2.8vw, 40px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-width: thin; scrollbar-color: var(--olive) var(--stone); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--stone); }
::-webkit-scrollbar-thumb { background: var(--olive); border-radius: 8px; }
::-webkit-scrollbar-button { display: none; }

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.45;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html { overflow-x: clip; }
h1, h2, h3, .caps, .photo-title, .closing-title, .card-floor { overflow-wrap: anywhere; min-width: 0; }
button:active, .btn:active { transform: translateY(1px); }
button:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 14px; }
.skip:focus { left: 8px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 16px;
  font: inherit; font-size: 14px; font-weight: 500; line-height: 1;
  text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color 0.4s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.45s var(--ease);
}
.btn:hover::after { transform: scaleY(1); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark::after { background: var(--brick); }
.btn-buy { background: var(--brick); color: var(--paper); }
.btn-buy::after { background: var(--ink); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.link { color: var(--olive); font-size: 14px; text-underline-offset: 4px; }
.link:hover { color: var(--brick); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--olive); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.link-btn:hover { color: var(--brick); }

/* ---------- fixed coin chrome ---------- */
.chrome {
  position: fixed; top: 14px; right: var(--m); z-index: 40;
  display: flex; align-items: center; gap: 6px;
}
.chrome-logo img { width: 40px; height: 40px; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; background: var(--ink); color: var(--cream); transition: background 0.3s; }
.icon-btn:hover { background: var(--brick); }
.icon-btn svg { width: 17px; height: 17px; fill: currentColor; }
.ca-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line);
  font: inherit; font-size: 13px; cursor: pointer; font-variant-numeric: tabular-nums;
}
.ca-chip[data-state="pending"] { cursor: default; color: var(--olive); }
.ca-dot { width: 8px; height: 8px; background: var(--olive); }
.ca-chip[data-state="live"] .ca-dot { background: var(--signal); animation: blink 2.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

/* ---------- hero ---------- */
.hero { min-height: 100svh; padding: 92px var(--m) 0; display: flex; flex-direction: column; }
.wordmark {
  margin: 0; display: flex; justify-content: space-between;
  color: var(--signal); font-weight: 560; font-variation-settings: "wdth" 125;
  font-size: clamp(120px, 27vw, 640px); line-height: 0.78; letter-spacing: -0.03em;
}
.wm-mask { display: block; overflow: hidden; padding-bottom: 0.04em; }
.wm-l { display: block; }
.hero-promise {
  margin-top: auto; padding: 44px 0 40px;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end;
  border-top: 1px solid var(--line);
}
.promise-lead {
  grid-column: 1 / span 6; margin: 0;
  font-size: clamp(30px, 3.6vw, 58px); line-height: 1; letter-spacing: -0.025em;
  font-variation-settings: "wdth" 108; font-weight: 500;
}
.promise-list { grid-column: 8 / span 5; list-style: none; margin: 0; padding: 0; }
.promise-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--olive); }
.promise-list li:first-child { border-top: 1px solid var(--line); }
.promise-list b { color: var(--ink); font-weight: 600; }

/* ---------- photo chapter ---------- */
.photo { background: var(--paper); }
.photo-frame { position: relative; height: 100svh; overflow: hidden; background: var(--ink); }
.photo-img { position: absolute; inset: -12% 0 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.photo-title {
  position: absolute; left: var(--m); top: 13vh; margin: 0;
  color: var(--cream); text-transform: uppercase; font-weight: 500;
  font-variation-settings: "wdth" 112; font-size: clamp(56px, 9.5vw, 170px); line-height: 1; letter-spacing: -0.03em;
  text-shadow: 0 2px 40px var(--shade);
}
.intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding: 56px var(--m) 140px; }
.intro-text {
  grid-column: 1 / span 8; margin: 0;
  font-size: clamp(24px, 2.4vw, 36px); line-height: 1.2; letter-spacing: -0.015em; color: var(--ink);
}
.intro-text .ln { display: block; }

/* ---------- section heads ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 0 var(--m); margin-bottom: 44px; }
.caps {
  margin: 0; text-transform: uppercase; color: var(--olive);
  font-weight: 500; font-variation-settings: "wdth" 112;
  font-size: clamp(48px, 5.6vw, 96px); line-height: 1; letter-spacing: -0.025em;
}
.caps .line { display: block; overflow: hidden; }
.caps .line > span { display: block; }

/* ---------- building ---------- */
.building { background: var(--paper); padding: 0 0 140px; }
.building-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding: 0 var(--m); align-items: start; }
.facade-wrap { grid-column: 1 / span 6; margin: 0; }
.facade { background: var(--stone); aspect-ratio: 5 / 6; max-height: 88vh; width: 100%; display: grid; place-items: end center; padding: 6% 12% 0; overflow: hidden; }
.facade svg { width: 100%; height: auto; max-height: 100%; display: block; }
figcaption { margin-top: 12px; font-size: 13px; line-height: 1.35; display: grid; }
figcaption strong { font-weight: 600; }
figcaption span { color: var(--olive); }
.numbers { grid-column: 8 / span 5; padding-top: 4px; }
.stat-list { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 24px; }
.stat { padding: 18px 0 22px; border-top: 1px solid var(--line); }
.stat dt { font-size: 13px; color: var(--olive); }
.stat dd { margin: 6px 0 0; display: flex; align-items: baseline; gap: 8px; font-size: clamp(34px, 3.4vw, 54px); line-height: 1; letter-spacing: -0.02em; font-variation-settings: "wdth" 108; }
.stat dd small { font-size: 15px; color: var(--olive); letter-spacing: 0; }
.pool-note { font-size: 15px; color: var(--olive); max-width: 46ch; margin: 8px 0 10px; }
.tenants { grid-column: 8 / span 5; margin: 40px 0 0; }

.roll { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.roll th { text-align: left; font-weight: 500; color: var(--olive); font-size: 13px; padding: 0 8px 10px 0; border-bottom: 1px solid var(--ink); }
.roll td { padding: 11px 8px 11px 0; border-bottom: 1px solid var(--line); }
.roll td a { text-underline-offset: 3px; }
.roll td a:hover { color: var(--brick); }
.roll .empty { color: var(--olive); padding: 20px 0; }
.tag { display: inline-block; padding: 2px 6px; background: var(--ink); color: var(--amber); font-size: 12px; }

/* building windows */
.win { fill: var(--win); }
.win.lit { fill: var(--amber); }
.win.lit.flick { animation: flick 6s ease-in-out infinite; }
@keyframes flick { 0%, 100% { opacity: 1; } 47% { opacity: 1; } 50% { opacity: 0.55; } 53% { opacity: 1; } }
.slab { fill: var(--signal); }
.slab-dark { fill: var(--brick); }
.frame-line { stroke: var(--ink); stroke-width: 1; fill: none; opacity: 0.35; }
.floor-label { font: 500 11px "Archivo", sans-serif; fill: var(--olive); }

/* ---------- lease rules (night) ---------- */
.lease-rules { background: var(--ink); color: var(--cream); }
.rules-pin { min-height: 100svh; padding: 110px 0 80px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.rules-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding: 0 var(--m); }
.rules-head .caps { grid-column: 1 / span 6; color: var(--cream); }
.rules-head p { grid-column: 8 / span 5; margin: 0; font-size: 18px; line-height: 1.45; color: var(--cream-82); align-self: end; }
.floors-track { display: flex; gap: 24px; padding: 64px var(--m) 0; width: max-content; will-change: transform; }
.floor-card { width: clamp(260px, 30vw, 760px); flex: none; border-top: 1px solid var(--cream-25); padding-top: 16px; }
.fc-art { aspect-ratio: 4 / 3; background: var(--night-2); margin-bottom: 16px; overflow: hidden; display: grid; place-items: end center; }
.fc-art svg { width: 62%; height: auto; }
.floor-card h3 { margin: 0; font-weight: 500; font-variation-settings: "wdth" 112; font-size: 30px; line-height: 1; text-transform: uppercase; letter-spacing: -0.01em; }
.fc-mult { margin: 10px 0 2px; color: var(--amber); font-size: 44px; line-height: 1; letter-spacing: -0.02em; font-variation-settings: "wdth" 108; }
.fc-when { margin: 6px 0 0; font-size: 14px; color: var(--cream-70); }

/* ---------- your lease ---------- */
.your-lease { background: var(--stone); padding: 140px 0; }
.lease-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding: 0 var(--m); align-items: start; }
.lookup { grid-column: 1 / span 5; }
.lookup label { display: block; font-size: 13px; color: var(--olive); margin-bottom: 10px; }
.lookup-row { display: flex; gap: 6px; }
.lookup input {
  flex: 1; min-width: 0; height: 52px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 0;
  background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; font-variant-numeric: tabular-nums;
}
.lookup input::placeholder { color: var(--hint); }
.lookup input:hover { background: var(--stone); }
.lookup .btn { min-height: 52px; }
.lookup .link-btn { margin-top: 16px; }
.form-msg { min-height: 1.4em; font-size: 14px; color: var(--brick); margin: 12px 0 0; }

.card {
  grid-column: 7 / span 6; background: var(--ink); color: var(--cream); padding: 28px 30px 30px;
  position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; background: var(--brick); transform: rotate(45deg); opacity: 0.9; }
.card > * { position: relative; }
.card-top { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--cream-70); }
.card-top img { width: 34px; height: 34px; }
.card-unit { margin-left: auto; color: var(--cream); font-variant-numeric: tabular-nums; }
.card-floor { margin: 54px 0 0; text-transform: uppercase; font-weight: 500; font-variation-settings: "wdth" 115; font-size: clamp(52px, 6vw, 104px); line-height: 1; letter-spacing: -0.03em; }
.card-mult { margin: 10px 0 0; font-size: clamp(26px, 2.4vw, 38px); color: var(--amber); letter-spacing: -0.01em; }
.card-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 34px 0 0; }
.card-facts div { border-top: 1px solid var(--cream-25); padding-top: 10px; }
.card-facts dt { font-size: 12px; color: var(--cream-70); }
.card-facts dd { margin: 4px 0 0; font-size: 20px; font-variant-numeric: tabular-nums; }
.card-next { margin: 26px 0 0; font-size: 15px; color: var(--cream-82); max-width: 52ch; }
.card-actions { margin-top: 18px; }
.card-paid { list-style: none; margin: 18px 0 0; padding: 0; font-size: 13px; max-height: 180px; overflow: auto; scrollbar-width: thin; scrollbar-color: var(--olive) transparent; }
.card-paid::-webkit-scrollbar-track { background: transparent; }
.card-paid li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--cream-14); }
.card-paid a { color: var(--amber); }
.card.flash { animation: cardin 0.9s var(--ease); }
@keyframes cardin { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- rent roll ---------- */
.rentroll { background: var(--paper); padding: 140px 0; }
.roll-lead { max-width: 36ch; margin: 0; font-size: 18px; color: var(--olive); text-align: right; }
.roll-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; padding: 0 var(--m); align-items: start; }

/* ---------- closing pin ---------- */
.closing { background: var(--paper); }
.closing-pin { position: relative; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.closing-frame { position: absolute; inset: 0; clip-path: inset(18% 24% 18% 24%); will-change: clip-path; }
.closing-frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transform: scale(1.12); }
.closing-copy { position: relative; text-align: center; display: grid; justify-items: center; gap: 30px; }
.closing-title { margin: 0; color: var(--cream); text-transform: uppercase; font-weight: 500; font-variation-settings: "wdth" 112; font-size: clamp(56px, 10vw, 190px); line-height: 1; letter-spacing: -0.03em; text-shadow: 0 2px 40px var(--shade); }

/* ---------- footer ---------- */
.foot { background: var(--stone); padding: 80px var(--m) 110px; }
.foot-mark { margin: 0; color: var(--signal); font-weight: 560; font-variation-settings: "wdth" 125; font-size: clamp(90px, 22vw, 420px); line-height: 0.8; letter-spacing: -0.03em; }
.foot-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-top: 40px; font-size: 14px; color: var(--olive); }
.foot-row p { grid-column: 1 / span 6; margin: 0; max-width: 60ch; }
.foot-row nav { grid-column: 9 / span 4; display: flex; gap: 20px; justify-content: flex-end; }
.foot-row nav a { text-underline-offset: 4px; }

/* ---------- bottom menu (ZZDP's red block) ---------- */
.menu { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 45; display: grid; justify-items: center; }
.menu-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; background: var(--brick); color: var(--paper); border: 0; font: inherit; font-size: 14px; cursor: pointer; }
.menu-btn span { margin-right: 10px; }
.menu-btn i { width: 10px; height: 10px; background: var(--stone); }
.menu-btn i:nth-of-type(2) { background: var(--amber); }
.menu-btn i:nth-of-type(3) { background: var(--ink); }
.menu-panel { background: var(--brick); display: grid; min-width: 220px; padding: 10px 0; margin-bottom: 2px; overflow: hidden; }
.menu-panel[hidden] { display: none; }
.menu-panel a { color: var(--paper); text-decoration: none; padding: 10px 18px; font-size: 22px; font-variation-settings: "wdth" 110; letter-spacing: -0.01em; }
.menu-panel a:hover { background: var(--ink); }

/* ---------- reveal helpers ---------- */
.js .reveal-up { opacity: 0; transform: translateY(24px); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-promise, .intro, .building-grid, .lease-grid, .rules-head, .foot-row { grid-template-columns: minmax(0, 1fr); }
  .promise-lead, .promise-list, .intro-text, .facade-wrap, .numbers, .tenants, .lookup, .card, .rules-head .caps, .rules-head p, .foot-row p, .foot-row nav { grid-column: 1 / -1; }
  .roll-grid { grid-template-columns: minmax(0, 1fr); }
  .roll-lead { text-align: left; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .foot-row nav { justify-content: flex-start; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .chrome { left: var(--m); right: var(--m); top: 10px; gap: 4px; }
  .chrome-logo { margin-right: auto; }
  .chrome-logo img { width: 36px; height: 36px; }
  .ca-chip { height: 36px; padding: 0 8px; font-size: 12px; max-width: 132px; overflow: hidden; white-space: nowrap; }
  .icon-btn { width: 36px; height: 36px; }
  #phantom { display: none; }
  .chrome .btn-buy { min-height: 36px; padding: 0 10px; font-size: 13px; }
  .hero { padding-top: 70px; }
  .wordmark { font-size: 31vw; }
  .promise-list li { font-size: 15px; }
  .rules-pin { min-height: 0; }
  .floors-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--olive) transparent; }
  .floor-card { width: 78vw; scroll-snap-align: start; }
  .card { padding: 22px 18px 24px; }
  .card-facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stat-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .roll { font-size: 13px; }
  .closing-frame { clip-path: inset(10% 6% 10% 6%); }
  .your-lease, .rentroll { padding: 96px 0; }
  .building { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal-up { opacity: 1; transform: none; }
  .closing-frame { clip-path: inset(0); }
}
