:root {
  --paper: #fcfdfe;
  --ink: #0D2039;
  --ink-soft: rgba(13, 32, 57, 0.62);
  --line: rgba(13, 32, 57, 0.12);
  --line-strong: rgba(13, 32, 57, 0.18);
  --white: #ffffff;
  --grid: rgba(13, 32, 57, 0.055);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
html, body { min-height: 100%; }
body {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  background-attachment: fixed;
  color: var(--ink);
  font-family: Geist, Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01" on, "cv11" on;
}
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
.shell {
  width: min(1344px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 28px 0 0;
  pointer-events: none;
}
.topbar .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.brand, .pill { pointer-events: auto; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.mark {
  width: 26px;
  height: 26px;
  display: block;
}
.mark path { stroke: currentColor; }
body.on-dark .cover-only { opacity: 0; pointer-events: none; }
body.on-dark .brand { color: #fff; }
.cover-layer a, .cover-layer .scroll-hint, .cover-layer .globe, .cover-layer .foot-link { pointer-events: auto; }

.pill {
  display: flex;
  align-items: stretch;
  height: 44px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
}
.pill a, .pill button {
  display: flex;
  align-items: center;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.pill a:hover, .pill button:hover { background: rgba(13, 32, 57, 0.04); }
.pill .cta {
  border-left: 1px solid var(--line);
  font-weight: 600;
  gap: 6px;
}
.arrow { font-size: 13px; line-height: 1; }

/* Cover */
.story {
  height: 780vh;
  position: relative;
  background: #000;
}
.story-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}
#gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}
.paper-fade {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
}
.cover-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.cover {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}
.cover-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 0 96px;
}
.hero-box {
  width: min(960px, calc(100% - 40px));
  min-height: 160px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px 28px 22px;
  animation: rise 1.15s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.hero-box h1 {
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
  max-width: 16ch;
}
.hero-box .tag {
  align-self: end;
  justify-self: end;
  text-align: right;
  font-size: clamp(24px, 2.8vw, 40px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.12;
  max-width: 11em;
}
.scroll-hint {
  margin-top: 28px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink);
  animation: hint 1.15s 0.35s cubic-bezier(.22, 1, .36, 1) both;
}
.scroll-hint span {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  font-weight: 400;
  animation: bob 1.6s 1.2s ease-in-out infinite;
}
@keyframes hint {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
.cover-foot {
  position: absolute;
  left: 0; right: 0; bottom: 28px;
  pointer-events: none;
}
.cover-foot .shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.globe, .foot-link { pointer-events: auto; }
.globe {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
  display: grid;
  place-items: center;
  color: var(--ink);
}
.foot-link {
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.caption-box {
  position: absolute;
  left: 50%;
  bottom: 7vh;
  transform: translateX(-50%) translateY(12px);
  width: min(960px, calc(100% - 40px));
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 148px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 26px 28px 22px;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(.22, 1, .36, 1);
}
.caption-box.on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.caption-box.swap .cap-left,
.caption-box.swap .cap-right { opacity: 0; }
.cap-left {
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
  max-width: 16ch;
  transition: opacity 0.25s ease;
}
.cap-right {
  align-self: end;
  justify-self: end;
  text-align: right;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.12;
  transition: opacity 0.25s ease;
}

.lock {
  max-width: 960px;
  margin: 0 auto 72px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  padding: 40px 36px 36px;
  text-align: center;
}
.lock .k {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.lock .price {
  font-size: clamp(52px, 8vw, 84px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}
.lock .price span {
  font-size: 0.32em;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--ink-soft);
}
.lock .hold {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 600;
}
.lock p {
  margin: 14px auto 0;
  max-width: 42ch;
  color: var(--ink-soft);
  font-size: 15px;
}
.lock .go {
  display: inline-flex;
  margin-top: 22px;
  height: 48px;
  padding: 0 22px;
  align-items: center;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border: 0;
  cursor: pointer;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(.22, 1, .36, 1), transform 0.9s cubic-bezier(.22, 1, .36, 1);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-d="1"] { transition-delay: 0.1s; }
[data-reveal][data-d="2"] { transition-delay: 0.2s; }
[data-reveal][data-d="3"] { transition-delay: 0.3s; }

/* Feature inventory */
.band {
  padding: 88px 0 40px;
}
.band h2.display {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  max-width: 16ch;
  margin-bottom: 48px;
}
.inventory {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.inv-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) 1fr;
  gap: 32px;
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.inv-row h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.inv-row p {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  max-width: 54ch;
}

/* Rooms */
.rooms {
  margin: 24px 0 80px;
  border: 1px solid var(--line-strong);
  background: var(--white);
}
.room {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.6fr;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.room:last-child { border-bottom: 0; }
.room.open { background: #f6f8fb; }
.room .name { font-weight: 600; font-size: 18px; letter-spacing: -0.03em; }
.room .dues { font-weight: 600; font-size: 14px; }
.room .note { font-size: 14px; color: var(--ink-soft); }
.badge {
  display: inline-block;
  margin-left: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  padding: 3px 7px;
  vertical-align: middle;
}

/* Insights */
.insights-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
}
.insights-head h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.045em;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 96px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line-strong);
  min-height: 220px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card .when { font-size: 13px; color: var(--ink-soft); }
.card h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin-top: 24px;
}

/* About */
.page-main { padding: 48px 0 96px; }
.kicker {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}
.page-main h1 {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin-bottom: 48px;
}
.split {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.split h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.split p, .split li {
  font-size: 16px;
  line-height: 1.6;
  max-width: 58ch;
}
.principle {
  padding: 48px 0 12px;
  border-top: 1px solid var(--line);
}
.principle h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  max-width: 16ch;
  margin-bottom: 16px;
}
.principle p { max-width: 62ch; line-height: 1.6; }

/* Legal */
.legal { padding: 48px 0 96px; max-width: 720px; }
.legal h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.legal .muted { color: var(--ink-soft); font-size: 14px; margin-bottom: 28px; }
.legal h2 { font-size: 18px; font-weight: 600; margin: 28px 0 8px; letter-spacing: -0.02em; }
.legal p, .legal li { font-size: 15px; line-height: 1.65; }
.legal ul { padding-left: 1.2em; margin: 8px 0; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.box {
  border: 1px solid var(--line-strong);
  background: var(--white);
  padding: 16px 18px;
  margin: 16px 0;
}

/* Site footer */
.site-foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-foot a { color: var(--ink); font-weight: 500; }
.site-foot nav { display: flex; gap: 18px; }

/* Talk overlay */
.talk {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(13, 32, 57, 0.28);
  display: none;
  place-items: center;
  padding: 24px;
}
.talk.open { display: grid; }
.talk-card {
  width: min(480px, 100%);
  background: var(--white);
  border: 1px solid var(--line-strong);
  padding: 28px 28px 24px;
}
.talk-card h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.talk-card .lead {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 22px;
  line-height: 1.5;
}
.talk-card label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.talk-card input[type="email"] {
  width: 100%;
  padding: 14px 14px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  font-size: 16px;
  color: var(--ink);
  outline: none;
  margin-bottom: 14px;
}
.talk-card input:focus { border-color: var(--ink); }
.talk-actions { display: flex; gap: 10px; }
.talk-actions button {
  flex: 1;
  height: 44px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.talk-actions button.ghost {
  background: transparent;
  color: var(--ink);
}
.talk-actions button:disabled { opacity: 0.55; cursor: default; }
#talk-status { min-height: 20px; font-size: 13px; margin-top: 12px; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; pointer-events: none; }
.fine { margin-top: 14px; font-size: 12px; color: var(--ink-soft); line-height: 1.5; }

@media (max-width: 800px) {
  .hero-box, .caption-box {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-box .tag, .cap-right {
    justify-self: start;
    text-align: left;
  }
  .inv-row, .split, .room { grid-template-columns: 1fr; gap: 8px; }
  .cards { grid-template-columns: 1fr; }
  .pill a:not(.cta) { display: none; }
  .topbar { padding-top: 16px; }
  .story { height: 620vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-box, .scroll-hint, .scroll-hint span, [data-reveal] {
    animation: none !important;
    opacity: 1;
    transform: none;
    transition: none;
  }
}
