:root {
  --ink: #171716;
  --paper: #f6f3ec;
  --white: #fffdf8;
  --line: rgba(23, 23, 22, 0.17);
  --muted: #68655e;
  --signal: #f0c638;
  --signal-dark: #d7ad1d;
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a { color: inherit; }
img { display: block; width: 100%; }

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 243, 236, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 650; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-weight: 760;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button.signal { border-color: var(--signal); background: var(--signal); color: var(--ink); }
.button.outline { background: transparent; color: var(--ink); }
.button.small { min-height: 40px; padding: 8px 14px; font-size: 14px; }

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, .display {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
h1 { max-width: 940px; margin-bottom: 24px; font-size: clamp(48px, 8vw, 108px); }
h2 { margin-bottom: 26px; font-size: clamp(36px, 5vw, 64px); }
h3 { margin-bottom: 10px; font-size: 23px; line-height: 1.2; }
.lead { max-width: 760px; color: #3e3c37; font-size: clamp(18px, 2vw, 24px); line-height: 1.45; }

.home-hero { padding: 88px 0 54px; }
.home-intro { display: flex; justify-content: space-between; gap: 32px; align-items: end; }
.home-intro .lead { margin-bottom: 8px; }
.index-mark { color: var(--signal-dark); font: 500 clamp(72px, 10vw, 148px)/0.8 Georgia, serif; }

.properties {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 18px;
}

.property-card {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.property-card img { height: 100%; object-fit: cover; transition: transform 500ms ease; }
.property-card:hover img { transform: scale(1.02); }
.property-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.08) 20%, rgba(0,0,0,0.82) 100%);
}
.property-card .card-body { position: absolute; z-index: 2; inset: auto 0 0; padding: 34px; }
.property-card h2 { margin-bottom: 14px; font-size: clamp(34px, 4vw, 54px); }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 24px; color: #eee9de; font-weight: 650; }
.price { margin-bottom: 8px; font-size: clamp(28px, 4vw, 48px); font-weight: 850; letter-spacing: -0.035em; }

.booking-strip { margin: 0 auto 90px; background: var(--signal); }
.booking-inner { min-height: 160px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; padding: 28px 0; }
.booking-inner h2 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 52px); }
.booking-inner p { margin: 0; max-width: 720px; }

.page-hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  background: var(--ink);
  color: var(--white);
}
.page-copy { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(42px, 6vw, 86px); }
.page-copy h1 { margin-bottom: 28px; font-size: clamp(52px, 7vw, 96px); }
.hero-price { margin: 0 0 26px; color: var(--signal); font-size: clamp(32px, 4.6vw, 62px); font-weight: 850; letter-spacing: -0.045em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.page-image { min-height: 640px; }
.page-image img { height: 100%; object-fit: cover; }
.page-image.actual-building img { object-position: center 44%; }

.facts { border-bottom: 1px solid var(--line); background: var(--white); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 34px 28px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact strong { display: block; margin-bottom: 6px; font-size: clamp(24px, 3vw, 40px); line-height: 1; }
.fact span { color: var(--muted); font-size: 14px; }

.section { padding: 92px 0; }
.section.dark { background: var(--ink); color: var(--white); }
.section-head { display: grid; grid-template-columns: 0.6fr 1.4fr; gap: 48px; margin-bottom: 46px; }
.section-head p { max-width: 760px; font-size: 19px; }
.section-head .eyebrow { padding-top: 8px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.feature { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.feature:nth-child(3n+2), .feature:nth-child(3n+3) { padding-left: 28px; border-left: 1px solid var(--line); }
.feature p { margin-bottom: 0; color: var(--muted); }
.dark .feature p, .dark .eyebrow { color: #b8b4aa; }
.dark .feature-grid { border-color: rgba(255,255,255,.18); }
.dark .feature { border-color: rgba(255,255,255,.18); }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.gallery figure { margin: 0; overflow: hidden; background: #ddd; }
.gallery figure:nth-child(1) { grid-column: span 7; }
.gallery figure:nth-child(2) { grid-column: span 5; }
.gallery figure:nth-child(3) { grid-column: span 5; }
.gallery figure:nth-child(4) { grid-column: span 7; }
.gallery img { height: 420px; object-fit: cover; }
.gallery .render img { object-position: center; }
.caption { margin-top: 12px; color: var(--muted); font-size: 13px; }
.dark .caption { color: #b8b4aa; }

.legal-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.legal-card { padding: 30px; border: 1px solid rgba(255,255,255,.18); }
.legal-card p { margin-bottom: 0; color: #c9c5bb; }
.legal-card.accent { border-color: var(--signal); }

.revenue { display: grid; gap: 12px; margin-top: 38px; }
.revenue-row { display: grid; grid-template-columns: 64px minmax(120px, 1fr) 100px; gap: 16px; align-items: center; }
.bar-track { height: 13px; background: #ded9cf; }
.bar { height: 100%; background: var(--signal-dark); }
.value { text-align: right; font-weight: 760; }
.note { max-width: 850px; margin-top: 28px; color: var(--muted); font-size: 14px; }

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.story-card {
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--white);
}

.story-card p:last-child { margin-bottom: 0; color: var(--muted); }
.story-card .number { margin-bottom: 18px; color: var(--signal-dark); font: 500 44px/1 Georgia, serif; }
.dark .story-card { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.035); }
.dark .story-card p:last-child { color: #c9c5bb; }

.contact {
  padding: 78px 0;
  background: var(--signal);
}
.contact-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.contact h2 { max-width: 820px; margin-bottom: 16px; }
.contact p { margin-bottom: 0; max-width: 760px; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }

.footer { padding: 32px 0; background: var(--ink); color: #b8b4aa; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; font-size: 13px; }
.footer a { color: var(--white); }

.mobile-bar { display: none; }

@media (max-width: 900px) {
  .nav-links a:not(.button) { display: none; }
  .home-hero { padding-top: 58px; }
  .home-intro { display: block; }
  .index-mark { display: none; }
  .properties, .page-hero { grid-template-columns: 1fr; }
  .property-card { min-height: 560px; }
  .page-hero { min-height: 0; }
  .page-copy { min-height: 600px; padding: 48px 28px; }
  .page-image { min-height: 560px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .fact:nth-child(4) { border-top: 1px solid var(--line); }
  .section-head { grid-template-columns: 1fr; gap: 10px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(n) { padding: 24px; border-left: 0; }
  .feature:nth-child(even) { border-left: 1px solid var(--line); }
  .legal-panel { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .booking-inner, .contact-grid { grid-template-columns: 1fr; }
  .contact-actions { justify-content: flex-start; }
}

@media (max-width: 620px) {
  body { padding-bottom: 70px; }
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 62px; }
  .brand { font-size: 12px; }
  .nav-links .button { display: none; }
  .home-hero { padding: 48px 0 34px; }
  .property-card { min-height: 520px; }
  .property-card .card-body { padding: 24px; }
  .page-copy { min-height: 540px; padding: 42px 20px; }
  .page-image { min-height: 430px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact { padding: 24px 16px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature:nth-child(n) { padding: 22px 0; border-left: 0; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:nth-child(n) { grid-column: auto; }
  .gallery img { height: 290px; }
  .revenue-row { grid-template-columns: 52px minmax(90px, 1fr) 82px; gap: 10px; font-size: 14px; }
  .contact { padding: 58px 0; }
  .footer { padding-bottom: 24px; }
  .footer-inner { display: grid; }
  .mobile-bar {
    position: fixed;
    z-index: 30;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(255,255,255,.2);
    background: var(--ink);
  }
  .mobile-bar a { min-height: 64px; display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; font-weight: 760; }
  .mobile-bar a:first-child { background: var(--signal); color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
