/* Mantrana Realty — site styles */
:root {
  --ink: #22231e;
  --ink-2: #3a3b33;
  --olive: #45463c;
  --olive-2: #5a5a50;
  --gold: #c9a95b;
  --gold-hover: #d6b96f;
  --gold-text: #6e5720;
  --gold-soft: #e8dcae;
  --paper: #f6f3ec;
  --stone: #ece7db;
  --card: #fffdf8;
  --line: #ddd6c6;
  --line-dark: rgba(246, 243, 236, .16);
  --soft: #66665c;
  --on-dark: #f6f3ec;
  --on-dark-soft: #c9c6b8;

  --serif: "Petrona", Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1280px;
  --pad: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 9vw, 136px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --head-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--gold); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; line-height: 1.08; text-wrap: balance; }
h4 { font-size: 17px; font-weight: 600; line-height: 1.35; }
p { text-wrap: pretty; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); }
.stone { background: var(--stone); }
.dark { background: var(--olive); color: var(--on-dark); }
.dark .soft, .dark .lead { color: var(--on-dark-soft); }
.soft { color: var(--soft); }
.small { font-size: 14px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }

/* Section headings */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 18px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.dark .kicker { color: var(--gold); }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head h2 { font-size: clamp(34px, 3.8vw, 54px); }
.sec-head .lead { font-size: 18px; color: var(--soft); max-width: 46ch; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 22px; border-radius: var(--radius);
  background: var(--gold); color: var(--ink); border: 1px solid var(--gold);
  font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.btn:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
.btn:active { transform: translateY(1px); }
.btn.ink { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn.ink:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn.line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn.line:hover { background: var(--ink); color: var(--paper); }
.dark .btn.line { border-color: var(--on-dark); color: var(--on-dark); }
.dark .btn.line:hover { background: var(--on-dark); color: var(--ink); }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn.block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--gold); }
.text-link:hover { text-decoration-thickness: 2px; }
.text-link .arr { transition: transform .2s var(--ease); }
.text-link:hover .arr { transform: translateX(3px); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 60; background: rgba(246, 243, 236, .97); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-head.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(34, 35, 30, .45); }
.head-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--head-h); }
.brand { display: block; flex: none; }
.brand img { width: 172px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) { position: relative; text-decoration: none; font-weight: 500; font-size: 15.5px; padding-block: 8px; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--gold-text); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav .btn { min-height: 44px; padding: 10px 18px; }
.menu-btn { display: none; align-items: center; gap: 10px; background: none; border: 0; padding: 10px 0; font-weight: 600; cursor: pointer; }
.menu-btn .bars { width: 22px; height: 12px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-btn .bars::before { top: 0; }
.menu-btn .bars::after { top: 10px; }
.menu-open .menu-btn .bars::before { top: 5px; transform: rotate(45deg); }
.menu-open .menu-btn .bars::after { top: 5px; transform: rotate(-45deg); }
@media (max-width: 1020px) {
  :root { --head-h: 64px; }
  .brand img { width: 144px; }
  .menu-btn { display: inline-flex; }
  .head-actions { display: flex; align-items: center; gap: 16px; }
  .head-actions .btn { min-height: 42px; padding: 8px 14px; font-size: 15px; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 24px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .site-nav a:not(.btn) { font-size: 19px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 18px; min-height: 50px; }
  .menu-open .site-nav { opacity: 1; visibility: visible; transform: none; }
}
@media (min-width: 1021px) { .head-actions { display: none; } }

/* Small phones: tighter header, icon-only menu button */
@media (max-width: 400px) {
  .brand img { width: 128px; }
  .head-in { gap: 12px; }
  .head-actions { gap: 6px; }
  .menu-btn { width: 44px; height: 44px; justify-content: center; padding: 0; }
  .menu-btn .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Comfortable tap targets */
.brand { padding-block: 10px; }
.text-link { padding-block: 10px; }
.mgroup h3 a { padding-block: 12px; margin-block: -12px; }
.port-thumbs button { min-height: 44px; }

/* Home hero */
.hero { padding-block: clamp(28px, 4vw, 56px) clamp(56px, 6vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(42px, 5vw, 74px); line-height: 1.02; letter-spacing: -0.025em; }
.hero .lead { margin-top: 24px; font-size: clamp(18px, 1.45vw, 21px); color: var(--ink-2); max-width: 36ch; }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; max-width: 580px; }
.path {
  display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: var(--radius);
  text-decoration: none; border: 1px solid var(--ink); transition: background-color .2s var(--ease), color .2s var(--ease);
}
.path strong { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 17px; }
.path span { font-size: 14.5px; line-height: 1.45; color: var(--soft); }
.path.buyer { background: var(--ink); color: var(--paper); }
.path.buyer span { color: var(--on-dark-soft); }
.path.buyer:hover { background: var(--ink-2); }
.path.dev:hover { background: var(--ink); color: var(--paper); }
.path.dev:hover span { color: var(--on-dark-soft); }
.path .arr { transition: transform .2s var(--ease); }
.path:hover .arr { transform: translateX(4px); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 44px; border-top: 1px solid var(--line); }
.stats div { padding: 18px 12px 0 0; }
.stats div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.stats strong { display: block; white-space: nowrap; font-family: var(--serif); font-size: clamp(22px, 1.9vw, 30px); font-weight: 600; line-height: 1.1; }
.stats span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--soft); line-height: 1.35; }
.hero-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1.08; max-height: calc(100vh - var(--head-h) - 72px); width: 100%; background: var(--stone); }
.hero-media .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero-media .slide.on { opacity: 1; }
.hero-chip {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--paper); border-radius: var(--radius); padding: 14px 18px; text-decoration: none;
  box-shadow: 0 10px 30px -16px rgba(0, 0, 0, .5);
}
.hero-chip b { display: block; font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.2; }
.hero-chip small { display: block; font-size: 14px; color: var(--soft); }
.hero-chip .price { text-align: right; font-weight: 600; white-space: nowrap; }
.hero-chip .price small { font-weight: 400; }
.hero-chip:hover b { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.hero-dots { position: absolute; top: 6px; right: 10px; z-index: 2; display: flex; gap: 8px; }
.hero-dots button { width: 44px; height: 36px; padding: 16px 4px; border: 0; background: none; cursor: pointer; }
.hero-dots button::before { content: ""; display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .55); }
.hero-dots button[aria-pressed="true"]::before { background: #fff; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 4 / 3.4; max-height: none; }
}
@media (max-width: 520px) {
  .paths { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats div:nth-child(n+3) { margin-top: 14px; border-top: 1px solid var(--line); }
  .hero-chip { left: 10px; right: 10px; bottom: 10px; padding: 10px 14px; }
  .hero-chip b { font-size: 18px; }
  .hero-chip small { font-size: 13px; }
}

/* Full-screen show flat film */
.film-band { position: relative; height: calc(100svh - var(--head-h)); min-height: 560px; max-height: 1000px; overflow: hidden; background: var(--ink); color: #fff; display: flex; align-items: flex-end; }
.film-poster, .film-poster img, .film-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-video { opacity: 0; transition: opacity .8s ease; }
.film-video.playing { opacity: 1; }
.film-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 20, 16, .82) 0%, rgba(20, 20, 16, .45) 38%, rgba(20, 20, 16, 0) 68%), linear-gradient(to right, rgba(20, 20, 16, .35), rgba(20, 20, 16, 0) 60%); }
.film-content { position: relative; z-index: 2; padding-bottom: clamp(36px, 6vh, 72px); }
.film-content .kicker { color: var(--gold-soft); }
.film-content h2 { font-size: clamp(36px, 5vw, 72px); line-height: 1.04; max-width: 15ch; color: #fff; }
.film-lead { margin-top: 18px; font-size: clamp(17px, 1.4vw, 20px); max-width: 44ch; color: rgba(255, 255, 255, .86); }
.film-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn.line-light { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn.line-light:hover { background: #fff; color: var(--ink); }
.film-toggle { position: absolute; z-index: 3; right: var(--pad); bottom: clamp(36px, 6vh, 72px); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); background: rgba(20, 20, 16, .35); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s; }
.film-toggle:hover { background: rgba(20, 20, 16, .65); }
.film-toggle svg { width: 20px; height: 20px; }
.film-toggle .i-play, .film-toggle.paused .i-pause { display: none; }
.film-toggle.paused .i-play { display: block; }
.film-band :focus-visible { outline-color: #fff; }
@media (max-width: 760px) {
  .film-band { height: calc(100svh - var(--head-h)); min-height: 520px; }
  .film-scrim { background: linear-gradient(to top, rgba(20, 20, 16, .88) 0%, rgba(20, 20, 16, .55) 45%, rgba(20, 20, 16, .05) 75%); }
  .film-actions .btn { flex: 1 1 100%; }
  .film-toggle { top: 16px; bottom: auto; right: 16px; width: 44px; height: 44px; }
  .film-content { padding-bottom: 92px; }
  .film-content .hide-sm { display: none; }
}

/* Project cards (home) */
.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.proj { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.proj-img { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 11; }
.proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.proj:hover .proj-img img { transform: scale(1.03); }
.tag { position: absolute; top: 14px; left: 14px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 3px; }
.proj-body { display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 2.4vw, 32px); flex: 1; }
.proj-body h3 { font-size: clamp(28px, 2.4vw, 36px); }
.proj-body h3 a { text-decoration: none; }
.proj-loc { color: var(--soft); margin-top: 6px; }
.proj-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.proj-facts div { padding: 14px 12px 14px 0; }
.proj-facts div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.proj-facts dt { font-size: 13px; color: var(--soft); }
.proj-facts dd { font-weight: 600; line-height: 1.35; }
.proj-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 4px; }
@media (max-width: 1100px) { .proj-grid { grid-template-columns: 1fr 1fr; } .proj-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 860px) { .proj-grid { grid-template-columns: 1fr; } .proj-grid > :last-child:nth-child(odd) { grid-column: auto; } }
@media (max-width: 460px) { .proj-facts { grid-template-columns: 1fr 1fr; } .proj-facts div:nth-child(3) { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } .proj-actions .btn { flex: 1 1 100%; } }

/* Buyers */
.buyers-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.buyers-grid h2 { font-size: clamp(34px, 3.8vw, 54px); }
.buyers-grid .lead { margin-top: 20px; font-size: 18px; color: var(--ink-2); }
.promises { margin-top: 32px; display: grid; gap: 20px; }
.promises li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.promises li::before { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2322231e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.promises h4 { margin-bottom: 2px; }
.promises p { color: var(--soft); font-size: 16px; }
.matcher { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.6vw, 36px); }
.matcher-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.matcher-top label { font-weight: 600; }
.matcher-top output { white-space: nowrap; font-family: var(--serif); font-size: clamp(30px, 3vw, 40px); font-weight: 600; line-height: 1; }
.range { width: 100%; margin: 10px 0 2px; accent-color: var(--ink); height: 44px; cursor: pointer; }
.range-scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--soft); }
.match-count { margin-top: 16px; padding: 12px 14px; background: var(--stone); border-radius: 3px; font-size: 15.5px; }
.mgroup { margin-top: 28px; }
.mgroup h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 22px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.mgroup h3 a { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.mrow { display: grid; grid-template-columns: 74px 1fr auto; gap: 12px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); transition: opacity .25s var(--ease); }
.mrow .kind { font-weight: 600; }
.mrow .area { color: var(--soft); font-variant-numeric: tabular-nums; }
.mrow .price { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.mrow .fit { display: inline-block; margin-right: 8px; font-size: 12px; font-weight: 600; padding: 2px 7px; border-radius: 3px; background: #dfe8d2; color: #33461f; vertical-align: 2px; }
.mrow.over { opacity: .38; }
.mrow.over .fit { visibility: hidden; }
.matcher-note { margin-top: 18px; font-size: 14px; color: var(--soft); }
@media (max-width: 900px) { .buyers-grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .mrow { grid-template-columns: 54px 1fr auto; gap: 8px; font-size: 15px; } .mrow .fit { display: none; } .mgroup h3 { font-size: 20px; } }

/* Developers */
.dev-top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.dev-top h2 { font-size: clamp(36px, 4.2vw, 60px); }
.dev-top .lead { margin-top: 22px; font-size: 18px; max-width: 48ch; }
.dev-top figure img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--radius); }
.dev-top figcaption { margin-top: 10px; font-size: 13.5px; color: var(--on-dark-soft); }
.big-figs { display: flex; flex-wrap: wrap; gap: 20px 48px; margin-top: 36px; }
.big-figs strong { display: block; font-family: var(--serif); font-size: clamp(36px, 3.6vw, 52px); font-weight: 600; color: var(--gold-soft); line-height: 1; }
.big-figs span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--on-dark-soft); max-width: 22ch; }
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, 6vw, 88px); border-top: 1px solid var(--line-dark); }
.services li { padding: 28px 24px 4px 0; }
.services li + li { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.services .num { font-family: var(--serif); font-size: 15px; color: var(--gold); }
.services h3 { font-size: 24px; margin: 10px 0; }
.services p { font-size: 15.5px; color: var(--on-dark-soft); }
.dev-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.dev-cta p { flex: 1 1 320px; font-size: 18px; }
@media (max-width: 980px) {
  .dev-top { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .services li:nth-child(3) { padding-left: 0; border-left: 0; }
  .services li:nth-child(n+3) { border-top: 1px solid var(--line-dark); margin-top: 20px; }
}
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .services li, .services li + li { padding: 24px 0 4px; border-left: 0; }
  .services li + li { border-top: 1px solid var(--line-dark); }
  .services li:nth-child(n+3) { margin-top: 0; }
}

/* About / track record */
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.about-grid h2 { font-size: clamp(34px, 3.8vw, 54px); }
.about-grid .lead { margin-top: 22px; font-size: 19px; color: var(--ink-2); max-width: 52ch; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.vm div { border-top: 2px solid var(--gold); padding-top: 16px; }
.vm h3 { font-size: 22px; margin-bottom: 6px; }
.vm p { color: var(--soft); font-size: 16px; }
.about-photo { margin-top: 36px; }
.about-photo img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius); }
.about-photo figcaption { margin-top: 10px; font-size: 13.5px; color: var(--soft); }
.map-card { background: var(--olive); color: var(--on-dark); border-radius: var(--radius); padding: 24px 24px 18px; }
.map-card h3 { font-size: 24px; }
.map-card p { font-size: 14.5px; color: var(--on-dark-soft); margin-top: 6px; }
.map-card svg { width: 100%; height: auto; margin-top: 8px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .vm { grid-template-columns: 1fr; } .map-card { padding: 20px 14px 14px; } .map-card svg g { font-size: 20px; } }

/* Portfolio */
.port-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.port { display: flex; flex-direction: column; }
.port-main { position: relative; aspect-ratio: 4 / 3.3; overflow: hidden; border-radius: var(--radius); background: var(--stone); }
.port-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease); }
.port-main img.on { opacity: 1; }
.port-thumbs { display: flex; gap: 8px; margin-top: 8px; }
.port-thumbs button { flex: 1; padding: 0; border: 2px solid transparent; border-radius: 3px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 3 / 2; opacity: .6; transition: opacity .2s, border-color .2s; }
.port-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.port-thumbs button:hover { opacity: 1; }
.port-thumbs button[aria-pressed="true"] { opacity: 1; border-color: var(--ink); }
.port h3 { font-size: 26px; margin-top: 18px; }
.port .meta { margin-top: 4px; color: var(--soft); font-size: 15.5px; }
.port .status { display: inline-block; align-self: flex-start; margin-top: 12px; font-size: 13px; font-weight: 600; padding: 4px 9px; border-radius: 3px; background: var(--stone); }
@media (max-width: 900px) { .port-grid { grid-template-columns: 1fr; gap: 40px; } .port-main { aspect-ratio: 4 / 3; } }

/* Clients */
.clients { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: clamp(72px, 8vw, 112px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.clients h2 { font-size: clamp(30px, 3vw, 42px); }
.clients .lead { margin-top: 14px; color: var(--soft); }
.client-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.client-list li { font-family: var(--serif); font-size: 20px; font-weight: 500; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); }
.client-list.assoc li { font-family: var(--sans); font-size: 15.5px; color: var(--soft); padding-block: 10px; }
.assoc-label { margin: 28px 0 4px; font-size: 14px; font-weight: 600; color: var(--soft); }
@media (max-width: 900px) { .clients { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .client-list { grid-template-columns: 1fr 1fr; } .client-list li { font-size: 18px; } }

/* Leadership */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.person { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 32px); }
.person-head { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: end; }
.portrait { width: 120px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--stone); }
.person h3 { font-size: 28px; }
@media (max-width: 900px) { .person-head { grid-template-columns: 112px 1fr; } .portrait { width: 112px; } }
@media (max-width: 380px) { .person-head { grid-template-columns: 96px 1fr; gap: 16px; } .portrait { width: 96px; } .person h3 { font-size: 24px; } }
.person .cred { margin-top: 6px; font-size: 14.5px; font-weight: 600; color: var(--gold-text); }
.person .bio { margin-top: 14px; color: var(--ink-2); font-size: 16px; }
@media (max-width: 900px) { .people { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-grid h2 { font-size: clamp(34px, 3.8vw, 54px); }
.contact-grid .lead { margin-top: 18px; font-size: 18px; max-width: 40ch; }
.contact-lines { margin-top: 32px; border-top: 1px solid var(--line-dark); }
.contact-lines > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.contact-lines dt { color: var(--on-dark-soft); font-size: 14.5px; }
.contact-lines dd { font-weight: 500; }
.contact-lines a { text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.form-card { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.form-card h3 { font-size: 28px; }
.form-card > p { margin-top: 6px; color: var(--soft); font-size: 15.5px; }
.form { margin-top: 22px; display: grid; gap: 18px; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend, .field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; padding: 0; }
.field label span { font-weight: 400; color: var(--soft); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { display: block; text-align: center; padding: 11px 8px; border: 1px solid var(--line); border-radius: 3px; background: var(--card); cursor: pointer; font-weight: 500; font-size: 15.5px; transition: background-color .15s, border-color .15s, color .15s; }
.seg label:hover { border-color: var(--ink); }
.seg input:checked + label { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.seg input:focus-visible + label { outline: 2px solid var(--gold-text); outline-offset: 2px; }
.field input, .field select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #c9c2b1; border-radius: 3px; background: #fff; font-size: 16px; }
.field input:focus, .field select:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: var(--ink); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .fine { font-size: 13.5px; color: var(--soft); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } .contact-lines > div { grid-template-columns: 1fr; gap: 2px; } }

/* Contact block on light sections (project pages) */
.visit-lines { border-top-color: var(--line); }
.visit-lines > div { border-bottom-color: var(--line); }
.visit-lines dt { color: var(--soft); }
.form-card.on-stone { background: var(--card); border: 1px solid var(--line); }

/* Footer */
.site-foot { background: var(--ink); color: var(--on-dark); padding-top: clamp(56px, 6vw, 88px); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 40px; }
.foot-brand img { width: 150px; }
.foot-brand p { margin-top: 18px; color: var(--on-dark-soft); font-size: 15.5px; max-width: 34ch; }
.foot-col h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.foot-col li + li { margin-top: 8px; }
.foot-col a { text-decoration: none; color: var(--on-dark-soft); }
.foot-col a[href^="tel:"], .contact-lines a[href^="tel:"] { white-space: nowrap; }
.foot-col a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 4px; }
.foot-bottom { margin-top: 56px; padding-block: 24px 32px; border-top: 1px solid var(--line-dark); font-size: 13.5px; color: var(--on-dark-soft); display: grid; gap: 8px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 760px) { .site-foot { padding-bottom: 72px; } }

/* WhatsApp button on phones */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: none; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 999px; background: #1f7a4d; color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .55); }
.wa-float svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .wa-float { display: inline-flex; } .menu-open .wa-float { display: none; } }

/* ---------- Project pages ---------- */
.crumbs { font-size: 14px; color: var(--soft); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.p-hero { padding-block: clamp(24px, 3vw, 44px) clamp(48px, 5vw, 72px); }
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.p-hero h1 { font-size: clamp(46px, 5.6vw, 84px); line-height: 1; letter-spacing: -0.025em; }
.p-hero .by { margin-top: 12px; font-size: 18px; color: var(--soft); }
.p-hero .lead { margin-top: 20px; font-size: 18px; color: var(--ink-2); max-width: 40ch; }
.keyfacts { display: grid; grid-template-columns: 1fr 1fr; margin-top: 28px; border-top: 1px solid var(--line); }
.keyfacts div { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); }
.keyfacts div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.keyfacts dt { font-size: 13px; color: var(--soft); }
.keyfacts dd { font-weight: 600; font-size: 17px; line-height: 1.35; }
.keyfacts dd.big { font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.p-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.p-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 7 / 6; max-height: calc(100vh - var(--head-h) - 64px); width: 100%; background: var(--stone); }
.p-media > img, .p-media .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-media .slide { opacity: 0; transition: opacity 1.4s ease; }
.p-media .slide.on { opacity: 1; }
.p-media .tag { z-index: 2; }
@media (max-width: 900px) { .p-hero-grid { grid-template-columns: 1fr; } .p-media { aspect-ratio: 4 / 3; max-height: none; } }
@media (max-width: 460px) { .p-actions .btn { flex: 1 1 100%; } .keyfacts dd.big { font-size: 21px; } }

.subnav { position: sticky; top: var(--head-h); z-index: 40; background: var(--paper); border-block: 1px solid var(--line); }
.subnav ul { display: flex; align-items: center; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 14px 0; font-size: 15px; font-weight: 500; white-space: nowrap; text-decoration: none; color: var(--soft); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.subnav a:hover { color: var(--ink); }
.subnav a.active { color: var(--ink); border-bottom-color: var(--gold-text); }
.subnav .sub-cta { margin-left: auto; }
.subnav .sub-cta a { color: var(--gold-text); font-weight: 600; }

.overview { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.overview h2 { font-size: clamp(34px, 3.8vw, 54px); }
.overview p:not(.kicker) { margin-top: 18px; font-size: 18px; color: var(--ink-2); max-width: 50ch; }
.overview figure img { width: 100%; border-radius: var(--radius); aspect-ratio: 5 / 4; object-fit: cover; }
.overview figure video { width: 100%; border-radius: var(--radius); aspect-ratio: 5 / 4; object-fit: cover; background: var(--stone); }
.overview figcaption { margin-top: 8px; font-size: 13.5px; color: var(--soft); }
@media (max-width: 900px) { .overview { grid-template-columns: 1fr; } }

/* Plan picker */
.picker { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.picker-tabs { display: grid; gap: 8px; position: sticky; top: calc(var(--head-h) + 72px); }
.picker-tabs button { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; text-align: left; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
.picker-tabs button:hover { border-color: var(--ink); }
.picker-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.picker-tabs .t-name { font-weight: 600; font-size: 17px; }
.picker-tabs .t-price { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.picker-tabs .t-sub { grid-column: 1 / -1; font-size: 14px; opacity: .75; }
.picker-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 2vw, 28px); }
.picker-panel [hidden] { display: none; }
.picker-panel img { width: 100%; height: auto; }
.picker-panel .tall img { max-height: 78vh; width: auto; margin-inline: auto; }
.panel-facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.panel-facts strong { display: block; font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.1; }
.panel-facts span { font-size: 13.5px; color: var(--soft); }
.panel-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; }
@media (max-width: 900px) { .picker { grid-template-columns: 1fr; } .picker-tabs { position: static; grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .picker-tabs { grid-template-columns: 1fr; } .picker-panel .tall img { max-height: none; width: 100%; } }

/* Price table (Aura) */
.ptable { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ptable th, .ptable td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.ptable thead th { font-size: 13px; font-weight: 600; color: var(--soft); letter-spacing: .04em; text-transform: uppercase; background: var(--stone); }
.ptable tbody th { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.ptable td.num { font-variant-numeric: tabular-nums; }
.ptable td.pr { font-weight: 600; white-space: nowrap; }
.ptable tbody th { white-space: nowrap; }
.ptable tr:last-child > * { border-bottom: 0; }
@media (max-width: 400px) { .ptable tbody th { white-space: normal; } .ptable thead th { letter-spacing: 0; } }
@media (max-width: 560px) { .ptable th, .ptable td { padding: 14px 10px; font-size: 15px; } .ptable tbody th { font-size: 18px; } }

/* Film */
.film video, .overview .film video { width: 100%; aspect-ratio: 1920 / 800; object-fit: contain; background: var(--ink); border-radius: var(--radius); }

/* Galleries */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--stone); }
.gallery img, .gallery video { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(246, 243, 236, .94); font-size: 13px; font-weight: 600; padding: 5px 9px; border-radius: 3px; }
.g-sf .g1 { grid-column: span 4; grid-row: span 2; }
.g-sf .g2 { grid-column: span 5; aspect-ratio: 4 / 3; }
.g-sf .g3 { grid-column: span 3; aspect-ratio: 3 / 4; }
.g-sf .g4 { grid-column: span 3; aspect-ratio: 3 / 4; }
.g-sf .g5 { grid-column: span 5; aspect-ratio: 4 / 3; }
.g-aw figure { grid-column: span 4; aspect-ratio: 4 / 3; }
.g-aw figure.wide { grid-column: span 8; aspect-ratio: auto; }
@media (max-width: 900px) {
  .g-sf .g1 { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 5; max-height: 80vh; }
  .g-sf .g2, .g-sf .g5 { grid-column: 1 / -1; }
  .g-sf .g3, .g-sf .g4 { grid-column: span 6; }
  .g-aw figure, .g-aw figure.wide { grid-column: span 6; aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) { .g-aw figure, .g-aw figure.wide { grid-column: 1 / -1; } }
.ov-gallery { margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 901px) { .g-fill figure:not(.wide) { aspect-ratio: auto; } }

/* Amenities */
.amen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(16px, 2.4vw, 32px); }
.amen img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); background: var(--stone); }
.amen h3 { font-size: 22px; margin-top: 14px; }
.amen-lists { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(32px, 5vw, 80px); }
.amen-lists h3, .specs-grid h3 { font-size: 22px; margin-bottom: 14px; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { padding: 5px 0; color: var(--ink-2); }
.plain.cols { columns: 2; column-gap: 32px; }
.plain.cols li { break-inside: avoid; }
.spec-block { margin-top: clamp(72px, 9vw, 120px); }
.nearby { margin-top: clamp(72px, 9vw, 120px); }
.specs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 56px); }
.plain.near li { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.plain.near .meta { color: var(--soft); white-space: nowrap; font-size: 14px; }
.text-link.dl { display: inline; }
.credits { margin-top: 28px; display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; font-size: 14px; }
.credits dt { color: var(--soft); }
.credits dd { margin: 0; }
.foot-btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) { .amen-lists { grid-template-columns: 1fr; } .specs-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .plain.cols { columns: 1; } .specs-grid { grid-template-columns: 1fr; } .plain.near li { flex-direction: column; gap: 0; } .foot-btns .btn { flex: 1 1 100%; } }
@media (max-width: 760px) { .amen { grid-template-columns: 1fr 1fr; gap: 24px 14px; } .amen h3 { font-size: 18px; } .amen-odd li:last-child { grid-column: 1 / -1; } }

/* Specs */
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.spec { padding: 22px 0; border-top: 1px solid var(--line); }
.spec h3 { font-size: 21px; }
.spec ul { margin-top: 10px; display: grid; gap: 6px; }
.spec li { position: relative; padding-left: 16px; font-size: 15.5px; color: var(--ink-2); }
.spec li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@media (max-width: 900px) { .specs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .specs { grid-template-columns: 1fr; } }

/* Location */
.loc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.loc-grid h2 { font-size: clamp(34px, 3.8vw, 54px); }
.loc-grid .addr { margin-top: 18px; font-size: 18px; color: var(--ink-2); }
.loc-grid .text-link { margin-top: 20px; }
.loc-photo { margin-top: 28px; }
.loc-photo img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; }
.loc-photo figcaption { margin-top: 8px; font-size: 13.5px; color: var(--soft); }
.conn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; }
.conn h3 { font-size: 21px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.conn li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.conn li span:last-child { color: var(--soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .loc-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .conn-grid { grid-template-columns: 1fr; } }

/* Developer band on project pages */
.builder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.builder h2 { font-size: clamp(32px, 3.4vw, 48px); }
.builder p:not(.kicker) { margin-top: 16px; color: var(--on-dark-soft); font-size: 17px; }
.builder .big-figs { margin-top: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .builder { grid-template-columns: 1fr; } .builder .big-figs { grid-template-columns: 1fr 1fr; } }

.disclaimer { margin-top: 40px; font-size: 13.5px; color: var(--soft); max-width: 80ch; }

/* Reveal: only once JS is running; a fallback in site.js shows anything the observer misses */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .hero-media .slide, .p-media .slide, .port-main img { transition: none; }
  .proj:hover .proj-img img { transform: none; }
}
