/* ==========================================================================
   Keyspace Property: shared site styles
   Used by index.html, rooming-houses.html, how-it-works.html, projects.html.
   stocklist.html, blueprint-6bed.html and msaevv7/ keep their own inline styles.
   ========================================================================== */

:root {
  /* Colour: monochrome brand, ink on paper */
  --white: #ffffff;
  --paper: #f2f1f1;           /* brand background */
  --paper-2: #e8e6e3;
  --ink: #111111;
  --ink-2: #1a1a1a;           /* brand black (funnel, quiz) */
  --ink-3: #262626;
  --text: #3a3a3a;
  --muted: #676767;           /* AA on white and on paper */
  --line: rgba(17, 17, 17, 0.10);
  --line-strong: rgba(17, 17, 17, 0.2);
  --on-ink: #f2f1f1;
  --on-ink-muted: rgba(242, 241, 241, 0.66);
  --on-ink-line: rgba(242, 241, 241, 0.14);

  /* Type */
  --f-display: 'League Spartan', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Urbanist', 'Helvetica Neue', Arial, sans-serif;

  /* Shape + space (4px base unit per brand guidelines) */
  --r: 4px;
  --r-lg: 8px;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(80px, 11vw, 144px);

  /* Depth: base → elevated → floating */
  --shadow-1: 0 1px 2px rgba(17, 17, 17, 0.04), 0 4px 12px rgba(17, 17, 17, 0.04);
  --shadow-2: 0 2px 4px rgba(17, 17, 17, 0.04), 0 12px 32px rgba(17, 17, 17, 0.08);
  --shadow-3: 0 4px 8px rgba(17, 17, 17, 0.06), 0 24px 64px rgba(17, 17, 17, 0.16);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);

  /* The "nine rooms" brand glyph */
  --nine: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 11'%3E%3Cpath d='M0 0h3v3H0zM4 0h3v3H4zM8 0h3v3H8zM0 4h3v3H0zM4 4h3v3H4zM8 4h3v3H8zM0 8h3v3H0zM4 8h3v3H4zM8 8h3v3H8z'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.02;
  overflow-wrap: break-word;
}
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.on-ink :focus-visible { outline-color: var(--on-ink); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 12px 16px; border-radius: var(--r);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── Layout ───────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--on-ink-muted); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--on-ink); }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: 0.05; mix-blend-mode: multiply;
}
.section--ink.grain::after { mix-blend-mode: screen; opacity: 0.07; }
.grain > * { position: relative; z-index: 1; }

/* ── Type ─────────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
  font-family: var(--f-body); font-size: 12px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; line-height: 1.4;
  color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 11px; height: 11px; flex-shrink: 0;
  background: currentColor;
  -webkit-mask: var(--nine) center / contain no-repeat;
          mask: var(--nine) center / contain no-repeat;
}
.section--ink .eyebrow { color: var(--on-ink-muted); }

.display {
  font-size: clamp(52px, 8.2vw, 112px);
  line-height: 0.9;
  letter-spacing: -0.045em;
}
.display--sub { font-size: clamp(44px, 6.6vw, 92px); }
.h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1; letter-spacing: -0.035em; }
.h3 { font-size: clamp(21px, 1.9vw, 25px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }
.lead { font-size: clamp(18px, 1.45vw, 20px); line-height: 1.6; color: var(--text); max-width: 40ch; }
.section--ink .lead { color: var(--on-ink-muted); }
.muted { color: var(--muted); }
.num { font-family: var(--f-display); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.fine { font-size: 13px; line-height: 1.6; color: var(--muted); }
.section--ink .fine { color: var(--on-ink-muted); }

.sec-head {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px);
}
.sec-head p { max-width: 46ch; }
.sec-head--stack { grid-template-columns: 1fr; max-width: 760px; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* ── Buttons & links ──────────────────────────────────────────────────── */
.btn {
  --bg: var(--ink); --fg: var(--white);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 26px;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bg); border-radius: var(--r);
  font-family: var(--f-body); font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.12);
  transition: transform 0.4s var(--ease-spring);
}
.btn::after {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  box-shadow: 0 14px 32px -10px rgba(17, 17, 17, 0.55);
  opacity: 0; transition: opacity 0.3s ease;
}
.btn .arrow { transition: transform 0.4s var(--ease-spring); }
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { opacity: 1; }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:active::after { opacity: 0.4; }
.btn--light { --bg: var(--paper); --fg: var(--ink); }
.btn--light::after { box-shadow: 0 14px 36px -10px rgba(0, 0, 0, 0.8); }
.btn--outline { --bg: transparent; --fg: var(--ink); border-color: var(--line-strong); box-shadow: none; }
.btn--outline::after { box-shadow: 0 10px 24px -12px rgba(17, 17, 17, 0.3); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 12px; letter-spacing: 0.12em; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none;
  padding-block: 6px; position: relative;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; right: 26px; bottom: 2px; height: 1.5px;
  background: currentColor; transform-origin: left; transition: transform 0.45s var(--ease-out);
}
button.link-arrow { background: none; border: 0; padding: 6px 0; cursor: pointer; font-family: inherit; }
.link-arrow .arrow { transition: transform 0.4s var(--ease-spring); }
.link-arrow:hover::after { transform: scaleX(0.3); }
.link-arrow:hover .arrow { transform: translateX(4px); }
.link-arrow:active .arrow { transform: translateX(1px); }
.section--ink .link-arrow { color: var(--on-ink); }

/* ── Navigation ───────────────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
          backdrop-filter: saturate(1.5) blur(14px);
}
.site-nav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--line); opacity: 0; transition: opacity 0.3s ease;
}
.site-nav.is-scrolled::after { opacity: 1; }
.nav-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nav-logo { display: inline-flex; padding: 6px 0; flex: 0 1 auto; min-width: 0; }
.nav-logo img { width: clamp(148px, 40vw, 250px); max-width: none; height: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav-links a {
  position: relative; padding-block: 8px; white-space: nowrap;
  font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1.5px;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 12px; }
@media (min-width: 921px) and (max-width: 1100px) {
  .nav-inner { gap: 20px; }
  .nav-links { gap: 18px; }
  .nav-logo img { width: 180px; }
}
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--r);
  background: var(--white); cursor: pointer; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease-spring);
}
.nav-toggle:active { transform: scale(0.94); }
.nav-toggle span, .nav-toggle span::before {
  display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative;
  transition: transform 0.35s var(--ease-out);
}
.nav-toggle span::before { content: ""; position: absolute; top: 6px; left: 0; }
.nav-toggle span { transform: translateY(-3px); }
.nav-toggle[aria-expanded="true"] span { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(-6px) rotate(-90deg); }

.mobile-menu {
  position: fixed; left: 0; right: 0; top: 76px; z-index: 55;
  background: var(--white); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-3);
  padding: 8px var(--gutter) 28px;
  opacity: 0; transform: translateY(-12px); pointer-events: none;
  transition: opacity 0.25s ease, transform 0.4s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu a:not(.btn) {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
}
.mobile-menu .btn { margin-top: 24px; }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-inner { height: 64px; }
  .mobile-menu { top: 64px; }
}
@media (max-width: 420px) {
  .nav-inner { gap: 12px; }
  .nav-right { gap: 8px; }
  .nav-right .btn { padding: 0 12px; font-size: 11px; letter-spacing: 0.08em; }
}
@media (max-width: 359px) { .nav-right .btn { display: none; } }

/* ── Reveal on scroll ─────────────────────────────────────────────────── */
.js .reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ── Home hero ────────────────────────────────────────────────────────── */
.hero { padding-block: clamp(32px, 5vw, 72px) clamp(96px, 10vw, 140px); overflow-x: clip; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 5vw, 80px); align-items: center;
}
.hero-copy .display { margin-bottom: 28px; }
.hero-copy .display span { display: block; }
.hero-copy .display .soft { color: #8c8c8c; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 40px; }
.hero-proof {
  display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-proof div { font-size: 14px; line-height: 1.4; color: var(--muted); }
.hero-proof strong {
  display: block; margin-bottom: 4px;
  font-family: var(--f-display); font-size: 26px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink);
}

.hero-media { position: relative; padding-bottom: 112px; }
.hero-photo {
  position: relative; aspect-ratio: 5 / 4; overflow: hidden;
  border-radius: var(--r-lg) 0 0 var(--r-lg);
  margin-right: calc(-1 * (max(0px, (100vw - var(--container)) / 2) + var(--gutter)));
  box-shadow: var(--shadow-3);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent 40%);
}
.photo-chip {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  padding: 7px 12px; border-radius: var(--r);
  background: rgba(17, 17, 17, 0.55); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
}

/* The ledger: nine rooms, nine rents */
.ledger {
  position: absolute; z-index: 3; left: clamp(-48px, -3.5vw, -16px); bottom: 0;
  width: min(372px, 86%);
  background: var(--white); border-radius: var(--r-lg); padding: 20px;
  box-shadow: var(--shadow-3), 0 0 0 1px var(--line);
}
.ledger-head {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.live { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); }
.live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.75); } }
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.room {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 1.45; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 3px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.room::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.55s var(--ease-out);
}
.room.is-let::before { transform: scaleY(1); }
.room span { color: #fff; mix-blend-mode: difference; line-height: 1; }
.room .room-n { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.room .room-rent { font-family: var(--f-display); font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.ledger-total {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
}
.ledger-total .label { font-size: 13px; font-weight: 600; color: var(--muted); }
.ledger-total .num { font-size: 44px; font-weight: 700; line-height: 1; color: var(--ink); }
.ledger-total .num small { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.ledger-foot { margin-top: 8px; font-size: 12px; line-height: 1.5; color: var(--muted); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { margin-right: calc(-1 * var(--gutter)); aspect-ratio: 4 / 3; }
  .hero-media { padding-bottom: 0; margin-top: 8px; }
  .ledger { position: relative; left: auto; bottom: auto; width: auto; margin: -64px 0 0 0; max-width: 420px; }
}

/* ── Proof band ───────────────────────────────────────────────────────── */
.proof { background: var(--ink); color: var(--on-ink); padding-block: clamp(56px, 7vw, 88px); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 8px clamp(16px, 2.5vw, 36px); border-left: 1px solid var(--on-ink-line); }
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-num { font-family: var(--f-display); font-size: clamp(48px, 5.6vw, 80px); font-weight: 700; line-height: 0.95; letter-spacing: -0.045em; color: var(--on-ink); font-variant-numeric: tabular-nums; }
.proof-label { margin-top: 14px; font-size: 15px; line-height: 1.45; color: var(--on-ink-muted); max-width: 22ch; }
.proof-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--on-ink-line); font-size: 13px; color: var(--on-ink-muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.proof .link-arrow { color: var(--on-ink); }
@media (max-width: 860px) {
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .proof-item:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ── Calculator ───────────────────────────────────────────────────────── */
.calc { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.calc-controls { display: flex; flex-direction: column; gap: 30px; }
.field-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 10px; }
.field-top label { font-weight: 700; font-size: 15px; color: var(--ink); }
.field-top output { font-family: var(--f-display); font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.field-hint { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--muted); }

.range { --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; margin: 0; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--ink) var(--p), var(--line-strong) var(--p)); }
.range::-moz-range-track { height: 4px; border-radius: 2px; background: var(--line-strong); }
.range::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--ink); }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--ink); box-shadow: var(--shadow-2);
  transition: transform 0.3s var(--ease-spring);
}
.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink); box-shadow: var(--shadow-2); }
.range:hover::-webkit-slider-thumb { transform: scale(1.12); }
.range:active::-webkit-slider-thumb { transform: scale(0.95); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--ink); outline-offset: 3px; }
.range:focus-visible::-moz-range-thumb { outline: 2px solid var(--ink); outline-offset: 3px; }

.calc-panel {
  position: sticky; top: 104px;
  background: var(--ink); color: var(--on-ink); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-3);
}
.calc-panel-top { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--on-ink-line); }
.mini-rooms { display: grid; grid-template-columns: repeat(3, 26px); gap: 5px; }
.mini-rooms i {
  width: 26px; height: 26px; border-radius: 3px; border: 1.5px solid var(--on-ink-muted);
  position: relative; overflow: hidden; transition: opacity 0.3s ease;
}
.mini-rooms i::before { content: ""; position: absolute; inset: 0; background: var(--on-ink); transform: scale(0); transition: transform 0.45s var(--ease-spring); }
.mini-rooms i.is-let::before { transform: scale(1); }
.mini-rooms i.is-off { opacity: 0.18; border-style: dashed; }
.calc-big-label { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-ink-muted); }
.calc-big { font-family: var(--f-display); font-size: clamp(52px, 6vw, 80px); font-weight: 700; line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; margin-top: 6px; }
.calc-big small { font-size: 0.3em; letter-spacing: 0; color: var(--on-ink-muted); font-weight: 600; }
.calc-stats { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 24px; border-bottom: 1px solid var(--on-ink-line); }
.calc-stats div { padding-right: 12px; }
.calc-stats div + div { padding-left: 16px; border-left: 1px solid var(--on-ink-line); }
.calc-stats dt { font-size: 12px; line-height: 1.35; color: var(--on-ink-muted); }
.calc-stats dd { margin-top: 8px; font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.bars { padding-top: 24px; display: grid; gap: 16px; }
.bar-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 14px; align-items: center; font-size: 13px; }
.bar-row b { font-family: var(--f-display); font-size: 16px; font-variant-numeric: tabular-nums; }
.bar { height: 10px; border-radius: 2px; background: var(--on-ink-line); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--on-ink); transform-origin: left; transform: scaleX(var(--w, 0)); transition: transform 0.7s var(--ease-out); }
.bar--dim i { background: var(--on-ink-muted); }
.calc-insight { margin-top: 24px; padding: 16px 18px; border-radius: var(--r); background: rgba(242, 241, 241, 0.06); font-size: 15px; line-height: 1.55; color: var(--on-ink); }
.calc-disclaimer { margin-top: 16px; font-size: 12px; line-height: 1.55; color: var(--on-ink-muted); }
@media (max-width: 960px) {
  .calc { grid-template-columns: 1fr; }
  .calc-panel { position: relative; top: 0; }
}
@media (max-width: 520px) {
  .calc-stats { grid-template-columns: 1fr; gap: 16px; }
  .calc-stats div + div { padding-left: 0; border-left: 0; padding-top: 16px; border-top: 1px solid var(--on-ink-line); }
  .bar-row { grid-template-columns: 1fr auto; }
  .bar-row .bar { grid-column: 1 / -1; grid-row: 2; }
}

/* ── Photo bento ──────────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(170px, 17vw, 250px); gap: 12px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--paper-2); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.tile:hover img { transform: scale(1.045); }
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: rgba(46, 38, 30, 0.08); mix-blend-mode: multiply;
}
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 48%);
}
.tile figcaption {
  position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2;
  color: #fff; font-size: 14px; font-weight: 600; line-height: 1.35;
}
.tile figcaption small { display: block; font-size: 12px; font-weight: 500; opacity: 0.8; }
.tile--xl { grid-column: span 2; grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; }
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .tile--xl { grid-row: span 2; }
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r);
  font-size: 14px; font-weight: 600; color: var(--ink); background: var(--white);
}
.chip::before { content: ""; width: 9px; height: 9px; background: currentColor; -webkit-mask: var(--nine) center / contain no-repeat; mask: var(--nine) center / contain no-repeat; }

/* ── Steps ────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 clamp(20px, 3vw, 40px); }
.step { position: relative; padding-top: 32px; border-top: 1px solid var(--line-strong); }
.step::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 180ms + 200ms);
}
.step.is-in::before, .no-js .step::before { transform: scaleX(1); }
.step-num { font-family: var(--f-display); font-size: 14px; font-weight: 700; letter-spacing: 0.12em; color: var(--muted); }
.step h3 { margin: 16px 0 10px; }
.step p { font-size: 15px; line-height: 1.65; color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; gap: 48px 32px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; gap: 40px; } }

/* ── Project cards ────────────────────────────────────────────────────── */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.proj {
  position: relative; display: flex; flex-direction: column; gap: 22px;
  padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  transition: transform 0.45s var(--ease-spring), opacity 0.3s ease;
}
.proj::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--shadow-3); opacity: 0; transition: opacity 0.35s ease; pointer-events: none; }
.proj:hover { transform: translateY(-4px); }
.proj:hover::after, .proj.is-hl::after { opacity: 1; }
.proj.is-dim { opacity: 0.35; }
.proj-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.status {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 3px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.2;
}
.status--sold { background: var(--ink); color: var(--white); }
.status--available, .status--under-offer { border: 1px solid var(--ink); color: var(--ink); }
.status--available::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); animation: pulse 2s ease-in-out infinite; }
.proj-type { font-size: 12px; font-weight: 600; color: var(--muted); }
.proj-suburb { font-family: var(--f-display); font-size: 26px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; color: var(--ink); }
.proj-yield { display: flex; align-items: baseline; gap: 10px; }
.proj-yield .num { font-size: 56px; font-weight: 700; line-height: 0.9; letter-spacing: -0.045em; color: var(--ink); }
.proj-yield span:last-child { font-size: 13px; line-height: 1.3; color: var(--muted); max-width: 12ch; }
.proj-metrics { display: grid; grid-template-columns: 1fr 1fr; padding-top: 16px; border-top: 1px solid var(--line); }
.proj-metrics div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.proj-metrics dt { font-size: 12px; color: var(--muted); }
.proj-metrics dd { font-family: var(--f-display); font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.proj-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.proj-foot .link-arrow { font-size: 14px; }
@media (max-width: 960px) { .proj-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .proj-grid { grid-template-columns: 1fr; }
  .proj { padding: 20px; gap: 16px; }
  .proj-yield .num { font-size: 46px; }
}

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-wrap .sec-head { position: sticky; top: 112px; margin-bottom: 0; }
.faq details { border-top: 1px solid var(--line-strong); }
.faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-size: clamp(18px, 1.7vw, 21px); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover .faq-icon { transform: scale(1.08); }
.faq-icon {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; transition: transform 0.4s var(--ease-spring);
}
.faq-icon svg { width: 12px; height: 12px; transition: transform 0.4s var(--ease-spring); }
.faq details[open] .faq-icon svg { transform: rotate(45deg); }
.faq-body { padding: 0 56px 28px 0; color: var(--text); animation: faqIn 0.5s var(--ease-out); }
.faq-body p + p { margin-top: 12px; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap .sec-head { position: static; }
  .faq-body { padding-right: 0; }
}

/* ── Closing CTA ──────────────────────────────────────────────────────── */
.cta { position: relative; overflow: hidden; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.cta .display { font-size: clamp(48px, 7vw, 100px); }
.cta-card { border-top: 1px solid var(--on-ink-line); padding-top: 28px; }
.cta-card h3 { font-size: 15px; font-family: var(--f-body); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-ink); margin-bottom: 16px; }
.ticks { display: grid; gap: 12px; margin-bottom: 32px; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; font-size: 16px; line-height: 1.5; }
.ticks li::before { content: ""; width: 11px; height: 11px; margin-top: 6px; background: currentColor; -webkit-mask: var(--nine) center / contain no-repeat; mask: var(--nine) center / contain no-repeat; opacity: 0.8; }
.section--ink .ticks li { color: var(--on-ink); }
.cta-glyph {
  position: absolute; left: -7vw; bottom: -22vw; width: min(52vw, 700px); aspect-ratio: 1;
  pointer-events: none; opacity: 0.035;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 5%;
}
.cta-glyph i { background: var(--on-ink); border-radius: 6px; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: minmax(0, 1fr); } .cta-glyph { display: none; } }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer { background: #0b0b0b; color: var(--on-ink-muted); padding: clamp(64px, 8vw, 96px) 0 36px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--on-ink-line); }
.footer-brand img { height: 16px; width: auto; filter: invert(1); opacity: 0.95; margin-bottom: 32px; }
.footer-tag { font-family: var(--f-display); font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; color: var(--on-ink); }
.footer-col h4 { font-family: var(--f-body); font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-ink-muted); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col button {
  color: var(--on-ink); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
  font-size: 15px; opacity: 0.85; transition: opacity 0.2s ease;
}
.footer-col a:hover, .footer-col button:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer-legal { padding-top: 28px; display: grid; grid-template-columns: 1fr auto; gap: 16px 48px; font-size: 12px; line-height: 1.6; }
.footer-legal p:first-child { max-width: 84ch; }
.footer-col a, .footer-col span { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-legal { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
}

/* ── Sub-page hero ────────────────────────────────────────────────────── */
.page-hero { padding-block: clamp(48px, 7vw, 104px) clamp(56px, 7vw, 96px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 32px clamp(40px, 6vw, 96px); align-items: end; }
.page-hero .lead { max-width: 44ch; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* ── Spec list ────────────────────────────────────────────────────────── */
.specs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.specs div { padding: 20px 20px 0 0; }
.specs div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.specs dt { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin-top: 8px; font-family: var(--f-display); font-size: clamp(26px, 2.8vw, 36px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; color: var(--ink); }
.specs dd small { font-size: 14px; letter-spacing: 0; color: var(--muted); font-weight: 600; }
.specs--2 { grid-template-columns: 1fr 1fr; }
.specs--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) {
  .specs:not(.specs--2):not(.specs--3) { grid-template-columns: 1fr 1fr; }
  .specs:not(.specs--2):not(.specs--3) div:nth-child(3) { padding-left: 0; border-left: 0; }
  .specs:not(.specs--2):not(.specs--3) div:nth-child(n+3) { padding-top: 24px; }
  .specs--3 div { padding-right: 10px; }
  .specs--3 div + div { padding-left: 12px; }
  .specs--3 dt { font-size: 11px; letter-spacing: 0.1em; }
}

/* Floor plan stage */
.plan-stage {
  position: relative; border-radius: var(--r-lg); background: var(--paper);
  padding: clamp(16px, 4vw, 56px); overflow: hidden;
}
.plan-stage { padding-top: clamp(56px, 6vw, 72px); }
.plan-stage img { width: 100%; height: auto; border-radius: var(--r); box-shadow: var(--shadow-3); }
.plan-stage .photo-chip { top: 16px; right: auto; left: 16px; background: var(--ink); }

/* ── Tabbed photo viewer ──────────────────────────────────────────────── */
.viewer { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.viewer-tabs { display: grid; gap: 4px; margin-bottom: 8px; }
.viewer-tab {
  display: grid; grid-template-columns: 36px 1fr; gap: 4px 12px; align-items: start; text-align: left;
  padding: 18px 18px 18px 14px; border: 0; border-radius: var(--r); background: transparent; cursor: pointer;
  position: relative; transition: transform 0.35s var(--ease-spring);
}
.viewer-tab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--white); box-shadow: var(--shadow-2); opacity: 0; transition: opacity 0.3s ease; }
.viewer-tab > * { position: relative; }
.viewer-tab:hover::before { opacity: 0.5; }
.viewer-tab:active { transform: scale(0.99); }
.viewer-tab[aria-selected="true"]::before { opacity: 1; }
.viewer-tab .n { grid-row: span 2; font-family: var(--f-display); font-size: 14px; font-weight: 700; color: var(--muted); padding-top: 3px; }
.viewer-tab strong { font-family: var(--f-display); font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: -0.015em; }
.viewer-tab span:last-child { font-size: 15px; line-height: 1.55; color: var(--muted); display: none; }
.viewer-tab[aria-selected="true"] span:last-child { display: block; }
.viewer-stage { position: relative; aspect-ratio: 3 / 2; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-3); background: var(--paper-2); }
.viewer-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity 0.6s ease, transform 1.2s var(--ease-out); }
.viewer-stage img.is-active { opacity: 1; transform: none; }
@media (max-width: 860px) { .viewer { grid-template-columns: 1fr; } .viewer-stage { order: -1; } }

/* ── Feature grid (standards) ─────────────────────────────────────────── */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--on-ink-line); border-left: 1px solid var(--on-ink-line); }
.feat { padding: 28px 24px 32px; border-right: 1px solid var(--on-ink-line); border-bottom: 1px solid var(--on-ink-line); }
.feat svg { width: 28px; height: 28px; stroke: var(--on-ink); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 28px; }
.feat h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 8px; }
.feat p { font-size: 15px; line-height: 1.6; }
.section:not(.section--ink) .feat-grid { border-color: var(--line); }
.section:not(.section--ink) .feat { border-color: var(--line); }
.section:not(.section--ink) .feat svg { stroke: var(--ink); }
.section:not(.section--ink) .feat p { color: var(--muted); }
@media (max-width: 960px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .feat-grid { grid-template-columns: 1fr; } }

/* ── Comparison table ─────────────────────────────────────────────────── */
.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { text-align: left; padding: 18px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-strong); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 34%; }
.compare td:last-child { font-weight: 700; color: var(--ink); background: rgba(17, 17, 17, 0.035); }
.compare thead th:last-child { color: var(--ink); background: rgba(17, 17, 17, 0.035); }
@media (max-width: 640px) {
  .compare { font-size: 14px; }
  .compare th, .compare td { padding: 14px 10px; }
}
@media (max-width: 400px) {
  .compare { font-size: 13px; }
  .compare th, .compare td { padding: 12px 6px; }
  .compare thead th { font-size: 10px; letter-spacing: 0.08em; }
}

/* ── Columns ──────────────────────────────────────────────────────────── */
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.col-card { padding-top: 24px; border-top: 2px solid var(--ink); }
.col-card h3 { margin-bottom: 12px; }
.col-card p { color: var(--muted); font-size: 16px; }
.section--ink .col-card { border-color: var(--on-ink); }
.section--ink .col-card p { color: var(--on-ink-muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.split-photos .tile { aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .cols-3, .split { grid-template-columns: 1fr; } }
.col-card .link-arrow { margin-top: 18px; }
button.link-arrow { background: none; border: 0; padding-inline: 0; cursor: pointer; }

/* Company details (About, Contact) */
.facts { border-top: 1px solid var(--line-strong); }
.facts div { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.facts dd { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.facts a { text-underline-offset: 3px; }
@media (max-width: 480px) { .facts div { grid-template-columns: 1fr; } }

/* Long-form text (Privacy) */
.legal-wrap { display: grid; grid-template-columns: minmax(0, 0.5fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.legal-nav { position: sticky; top: 112px; }
.legal-nav ol { display: grid; gap: 10px; counter-reset: legal; font-size: 15px; line-height: 1.4; }
.legal-nav li { counter-increment: legal; display: grid; grid-template-columns: 28px 1fr; }
.legal-nav li::before { content: counter(legal, decimal-leading-zero); font-family: var(--f-display); font-weight: 700; color: var(--muted); }
.legal-nav a { text-decoration: none; color: var(--text); }
.legal-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.1; letter-spacing: -0.02em; margin: 56px 0 14px; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 600; margin: 28px 0 8px; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 14px; }
.prose ul { display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 28px; }
.prose li::before { content: ""; position: absolute; left: 0; top: 10px; width: 9px; height: 9px; background: var(--ink); -webkit-mask: var(--nine) center / contain no-repeat; mask: var(--nine) center / contain no-repeat; }
.prose a { color: var(--ink); text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) {
  .legal-wrap { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
}

/* Guides */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 20px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); text-underline-offset: 3px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: 0.6; }
.display--guide { font-size: clamp(38px, 5vw, 68px); line-height: 0.98; }
.byline { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--muted); }
.byline b { color: var(--ink); font-weight: 600; }
.prose .short { margin-bottom: 48px; padding: 24px 28px; background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.prose .short h2 { margin: 0 0 14px; font-family: var(--f-body); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.prose blockquote { margin: 20px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--ink); color: var(--ink); }
.prose blockquote p { color: var(--ink); }
.prose blockquote cite { display: block; margin-top: 6px; font-size: 13px; font-style: normal; color: var(--muted); }
.prose .table-wrap { margin: 20px 0; overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { padding: 10px 16px 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose thead th { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--line-strong); }
.prose td.n, .prose th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-right: 0; }
.prose tr.total td { font-weight: 700; color: var(--ink); border-bottom-color: var(--line-strong); }
.prose .table-note { margin-top: -8px; font-size: 13px; color: var(--muted); }
.prose ul.checks li::before { top: 8px; width: 13px; height: 13px; background: none; border: 1.5px solid var(--ink); border-radius: 2px; -webkit-mask: none; mask: none; }
.prose ol { display: grid; gap: 8px; padding-left: 1.4em; list-style: decimal; font-size: 15px; }
.prose ol li { padding-left: 4px; }
.prose ol li::before { content: none; }
.org-box { margin-top: 56px; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.org-box img { width: 56px; height: 56px; border-radius: var(--r); border: 1px solid var(--line); }
.org-box .org-title { margin-bottom: 6px; font-family: var(--f-display); font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.org-box p { font-size: 15px; }
.prose .disclaimer { margin-top: 24px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.guide-card {
  display: flex; flex-direction: column; gap: 12px; padding: 28px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1);
  color: inherit; text-decoration: none; transition: transform 0.45s var(--ease-spring), box-shadow 0.45s var(--ease-out);
}
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.guide-card:active { transform: translateY(-1px); }
.guide-card .meta { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.guide-card p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.guide-card .link-arrow { margin-top: auto; align-self: flex-start; }
@media (max-width: 960px) { .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .guide-grid { grid-template-columns: 1fr; } .org-box { grid-template-columns: 1fr; } }
@media (hover: none) { .guide-card:hover { transform: none; } }

/* Persona cards */
.persona { padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); transition: transform 0.45s var(--ease-spring); }
.persona:hover { transform: translateY(-4px); }
.persona h3 { margin-bottom: 18px; }
.persona ul { display: grid; gap: 10px; }
.persona li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 15px; line-height: 1.55; color: var(--text); }
.persona li::before { content: ""; width: 10px; height: 10px; margin-top: 6px; background: var(--ink); -webkit-mask: var(--nine) center / contain no-repeat; mask: var(--nine) center / contain no-repeat; }

/* ── Journey strip (how it works) ─────────────────────────────────────── */
.journey { display: grid; grid-template-columns: 0.62fr 1fr 1.2fr; grid-template-rows: clamp(260px, 29vw, 420px); gap: 12px; }
@media (max-width: 760px) {
  .journey { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 220px; }
  .journey .tile:nth-child(3) { grid-column: 1 / -1; }
}

/* ── Timeline ─────────────────────────────────────────────────────────── */
.timeline { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.timeline-nav { position: sticky; top: 112px; display: grid; gap: 2px; }
.timeline-nav a {
  display: grid; grid-template-columns: 34px 1fr; align-items: center; padding: 12px 0;
  font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none;
  transition: transform 0.4s var(--ease-spring);
}
.timeline-nav a .n { font-family: var(--f-display); font-size: 13px; }
.timeline-nav a:hover { transform: translateX(4px); color: var(--ink); }
.timeline-nav a.is-active { color: var(--ink); }
.timeline-nav a.is-active .n::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; background: var(--ink); border-radius: 50%; vertical-align: middle; }
.timeline-progress { height: 2px; background: var(--line); margin-top: 18px; overflow: hidden; border-radius: 1px; }
.timeline-progress i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 0.3s linear; }
.stage { padding-block: 48px; border-top: 1px solid var(--line-strong); }
.stage:first-child { border-top: 0; padding-top: 0; }
.stage-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 20px; }
.stage-head .n { font-family: var(--f-display); font-size: 16px; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); }
.stage > p { font-size: 18px; line-height: 1.65; max-width: 60ch; margin-bottom: 28px; }
.stage-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stage-box { padding: 22px 24px; border-radius: var(--r-lg); background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-2); }
.stage-box h4 { font-family: var(--f-body); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-ink-muted); margin-bottom: 14px; }
.stage-box ul { display: grid; gap: 8px; }
.stage-box li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; font-size: 15px; line-height: 1.5; }
.stage-box li::before { content: ""; width: 8px; height: 8px; margin-top: 7px; background: currentColor; -webkit-mask: var(--nine) center / contain no-repeat; mask: var(--nine) center / contain no-repeat; }
.stage-box li::before { opacity: 0.6; }
.stage-box--you { background: var(--white); color: var(--text); border: 1px solid var(--line-strong); box-shadow: none; }
.stage-box--you h4 { color: var(--muted); }
.stage-out { margin-top: 16px; display: flex; gap: 12px; align-items: baseline; font-size: 15px; }
.stage-out b { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.stage-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.stage-photos .tile { aspect-ratio: 4 / 3; }
@media (max-width: 960px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline-nav { display: none; }
}
@media (max-width: 600px) { .stage-cols { grid-template-columns: 1fr; } }

/* ── Projects page ────────────────────────────────────────────────────── */
.projects-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.map-card { position: sticky; top: 100px; background: var(--paper); border-radius: var(--r-lg); padding: 20px; }
.map-card svg { width: 100%; height: auto; }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); }
.map-legend i.sold { background: var(--ink); }
.map-land { fill: var(--paper); }
.map-water { fill: #dfddd9; }
.map-label { font-family: var(--f-body); font-size: 30px; font-weight: 700; fill: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.map-water-label { font-family: var(--f-body); font-size: 26px; font-style: italic; fill: #8c8a86; }
.map-city { fill: var(--muted); }
.map-dot { cursor: pointer; transition: transform 0.35s var(--ease-spring), opacity 0.3s ease; transform-box: fill-box; transform-origin: center; outline: none; }
.map-dot .hit { fill: transparent; }
.map-dot.is-muted { opacity: 0.2; }
.map-dot:hover, .map-dot:focus-visible, .map-dot.is-hl { transform: scale(1.35); }
.map-dot:focus-visible circle:not(.hit):not(.ring) { stroke-width: 7; }
.map-dot .ring { pointer-events: none; fill: none; stroke: var(--ink); stroke-width: 2; opacity: 0.5; transform-box: fill-box; transform-origin: center; animation: ring 2.4s var(--ease-out) infinite; }
@keyframes ring { from { transform: scale(1); opacity: 0.55; } to { transform: scale(2.6); opacity: 0; } }
.map-tip {
  position: absolute; z-index: 5; pointer-events: none; padding: 10px 12px; border-radius: var(--r);
  background: var(--ink); color: var(--on-ink); font-size: 13px; line-height: 1.45; box-shadow: var(--shadow-3);
  opacity: 0; transform: translate(-50%, calc(-100% - 10px)) scale(0.96); transition: opacity 0.2s ease, transform 0.3s var(--ease-spring);
  white-space: nowrap;
}
.map-tip.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 14px)); }
.map-tip.is-below { transform: translate(-50%, 10px) scale(0.96); }
.map-tip.is-below.is-on { transform: translate(-50%, 14px); }
.map-tip b { font-family: var(--f-display); font-size: 15px; display: block; }
.map-wrap { position: relative; }

.filter-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.segmented { display: inline-flex; padding: 4px; gap: 2px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--white); }
.segmented button {
  position: relative; padding: 9px 16px; border: 0; border-radius: 3px; background: transparent; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--muted); transition: transform 0.3s var(--ease-spring);
}
.segmented button:hover { color: var(--ink); }
.segmented button:active { transform: scale(0.96); }
.segmented button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.filter-count { font-size: 14px; color: var(--muted); }
.clear-hl { border: 0; background: none; padding: 0; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: var(--ink); }
.projects-layout .proj-grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 1060px) {
  .projects-layout { grid-template-columns: 1fr; }
  .map-card { position: relative; top: 0; }
}
@media (max-width: 600px) { .projects-layout .proj-grid { grid-template-columns: 1fr; } }

/* ── Blueprint modal (lead capture) ───────────────────────────────────── */
.modal {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px;
  background: rgba(11, 11, 11, 0.6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal-box {
  position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-3);
  transform: translateY(20px) scale(0.98); transition: transform 0.5s var(--ease-spring);
}
.modal.is-open .modal-box { transform: none; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 26px 28px 0; }
.modal-head h2 { font-size: 26px; letter-spacing: -0.025em; }
.modal-head p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.modal-close {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--white);
  display: grid; place-items: center; cursor: pointer; transition: transform 0.35s var(--ease-spring);
}
.modal-close:hover { transform: rotate(90deg); }
.modal-close:active { transform: rotate(90deg) scale(0.92); }
.kp-bar { height: 3px; background: var(--paper); margin: 22px 28px 0; border-radius: 2px; overflow: hidden; }
.kp-fill { height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0.5); transition: transform 0.5s var(--ease-out); }
.kp-step { display: none; padding: 22px 28px 28px; }
.kp-step.is-active { display: block; animation: kpIn 0.45s var(--ease-out) both; }
@keyframes kpIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.kp-label { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.kp-q { font-family: var(--f-display); font-size: 21px; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 18px; }
.kp-opts { display: grid; gap: 8px; margin-bottom: 18px; border: 0; padding: 0; }
.kp-opt {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer;
  border: 1.5px solid var(--line-strong); border-radius: var(--r); font-weight: 600; color: var(--ink);
  transition: transform 0.3s var(--ease-spring);
}
.kp-opt:hover { transform: translateX(3px); }
.kp-opt:active { transform: scale(0.99); }
.kp-opt input { position: absolute; opacity: 0; pointer-events: none; }
.kp-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; flex-shrink: 0; }
.kp-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--white); transform: scale(0); transition: transform 0.3s var(--ease-spring); }
.kp-opt.is-checked, .kp-opt:has(input:checked) { border-color: var(--ink); background: #f7f7f6; }
.kp-opt.is-checked .kp-dot, .kp-opt:has(input:checked) .kp-dot { border-color: var(--ink); background: var(--ink); }
.kp-opt.is-checked .kp-dot::after, .kp-opt:has(input:checked) .kp-dot::after { transform: scale(1); }
.kp-opt:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.kp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.kp-fields .full { grid-column: 1 / -1; }
.kp-input {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--r);
  font: inherit; font-size: 16px; color: var(--ink); background: var(--white); -webkit-appearance: none; appearance: none;
}
.kp-input::placeholder { color: #8a8a8a; }
.kp-input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08); }
.kp-input[aria-invalid="true"] { border-color: #b3261e; }
.kp-error { min-height: 20px; margin: -8px 0 10px; font-size: 13px; font-weight: 600; color: #b3261e; }
.kp-back { display: block; width: 100%; margin-top: 8px; padding: 12px; border: 0; background: none; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--muted); }
.kp-back:hover { color: var(--ink); }
.kp-note { margin-top: 8px; text-align: center; font-size: 12px; color: var(--muted); }
@keyframes kpShake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.shake { animation: kpShake 0.3s ease; }
@media (max-width: 480px) { .kp-fields { grid-template-columns: 1fr; } .modal-head, .kp-step { padding-inline: 20px; } .kp-bar { margin-inline: 20px; } }

/* ── Utilities ────────────────────────────────────────────────────────── */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.center { text-align: center; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }

/* Smallest phones (320–380px) */
@media (max-width: 380px) {
  .btn { white-space: normal; text-align: center; line-height: 1.3; padding-block: 12px; }
  .display { font-size: 44px; }
  .display--sub, .cta .display { font-size: 40px; }
  .h2 { font-size: 30px; }
  .proof-num { font-size: 44px; }
  .calc-big { font-size: 46px; }
}

@media (hover: none) {
  .btn:hover, .proj:hover, .persona:hover, .kp-opt:hover, .viewer-tab:active, .timeline-nav a:hover { transform: none; }
  .btn:hover::after, .proj:hover::after { opacity: 0; }
  .tile:hover img { transform: none; }
  .map-dot:hover:not(.is-hl) { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
