:root {
  --ink: #0d0f10;
  --charcoal: #111315;
  --stone: #f4f1ea;
  --linen: #faf8f2;
  --taupe: #7d776c;
  --brass: #c4a45f;
  --sage: #465449;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 20px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
  color: var(--white);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-header.scrolled {
  background: rgba(251, 248, 242, 0.94);
  border-bottom: 1px solid rgba(37, 33, 29, 0.12);
  color: var(--ink);
  backdrop-filter: blur(14px);
}

.site-header.scrolled .brand img {
  filter: invert(1);
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: fit-content;
}

.brand img {
  height: 34px;
  width: auto;
}

.brand small,
.eyebrow,
.nav-links,
.nav-call,
.button,
.hero-facts span,
.detail-list dt,
.broker-panel span,
.site-footer {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: clamp(14px, 2.5vw, 32px);
}

.nav-links a,
.nav-call {
  opacity: 0.88;
}

.nav-links a:hover,
.nav-call:hover {
  opacity: 1;
}

.nav-call {
  border: 1px solid currentColor;
  padding: 10px 16px;
}

.hero {
  min-height: 96vh;
  overflow: hidden;
  position: relative;
}

.hero > img {
  height: 100%;
  min-height: 96vh;
  object-fit: cover;
  object-position: center 54%;
  position: absolute;
  inset: 0;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 9, 7, 0.78) 0%, rgba(10, 9, 7, 0.38) 45%, rgba(10, 9, 7, 0.06) 100%),
    linear-gradient(0deg, rgba(10, 9, 7, 0.42) 0%, rgba(10, 9, 7, 0) 48%);
  inset: 0;
  position: absolute;
}

.hero-content {
  color: var(--white);
  max-width: 780px;
  padding: 22vh clamp(20px, 5vw, 70px) 120px;
  position: relative;
  z-index: 1;
}

.hero-content h1,
.hero-content .eyebrow,
.hero-copy {
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.72);
}

.eyebrow {
  color: var(--brass);
  margin: 0 0 18px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  line-height: 0.98;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3.5rem, 10vw, 9.25rem);
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4.3vw, 4.7rem);
  letter-spacing: -0.035em;
  max-width: 980px;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.hero-copy {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
  max-width: 620px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
}

.button.primary {
  background: var(--brass);
  color: #17120d;
}

.button.secondary {
  border: 1px solid currentColor;
  color: inherit;
}

.program-section {
  background: var(--charcoal);
  color: var(--white);
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1fr);
  padding: clamp(66px, 8vw, 110px) clamp(20px, 5vw, 70px);
}

.program-intro h2 {
  max-width: 620px;
}

.program-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.program-grid div {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 132px;
  padding: clamp(20px, 3vw, 32px);
}

.program-grid span {
  color: var(--brass);
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.program-grid strong {
  display: block;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.intro,
.split-section,
.contact-section {
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  padding: clamp(78px, 10vw, 130px) clamp(20px, 5vw, 70px);
}

.intro-copy {
  border-left: 1px solid rgba(37, 33, 29, 0.18);
  color: #4e473e;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  padding-left: clamp(20px, 4vw, 44px);
}

.split-copy p,
.contact-card p {
  color: #665e54;
  font-size: 1.05rem;
}

.split-section {
  align-items: center;
  background: var(--stone);
}

.split-media img {
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow);
  height: 100%;
  object-fit: cover;
}

.split-copy {
  max-width: 640px;
}

.detail-list {
  border-top: 1px solid rgba(37, 33, 29, 0.14);
  margin: 34px 0 0;
}

.detail-list div {
  border-bottom: 1px solid rgba(37, 33, 29, 0.14);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.detail-list dt {
  color: var(--taupe);
}

.detail-list dd {
  margin: 0;
  text-align: right;
}

.gallery-section,
.story-section,
.floor-plan-section {
  padding: clamp(78px, 10vw, 130px) clamp(20px, 5vw, 70px);
}

.story-section {
  background: var(--charcoal);
  color: var(--white);
}

.story-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.story-item {
  background: var(--white);
  border: 0;
  color: var(--ink);
  cursor: zoom-in;
  min-width: 0;
  padding: 0;
  text-align: left;
}

.story-item img {
  aspect-ratio: 8.5 / 11;
  height: auto;
  object-fit: cover;
}

.story-item span {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 16px;
  text-transform: uppercase;
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 34px;
}

.gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.25fr 0.85fr;
}

.gallery-item {
  background: transparent;
  border: 0;
  color: var(--white);
  cursor: zoom-in;
  min-height: 320px;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: left;
}

.gallery-item.large {
  grid-row: span 2;
  min-height: 660px;
}

.gallery-item img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform 400ms ease;
}

.gallery-item::after {
  background: linear-gradient(0deg, rgba(13, 11, 9, 0.72), transparent 48%);
  content: "";
  inset: 0;
  position: absolute;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-item span {
  bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  left: 22px;
  position: absolute;
  z-index: 1;
}

.floor-plan-section {
  background: var(--stone);
  padding-top: 0;
}

.floor-plan-card {
  background: var(--linen);
  border: 1px solid rgba(17, 19, 21, 0.12);
  display: block;
  overflow: hidden;
}

.floor-plan-card img {
  background: #fff;
  max-height: 720px;
  object-fit: contain;
  padding: clamp(16px, 3vw, 34px);
}

.floor-plan-card span {
  align-items: center;
  background: var(--charcoal);
  color: var(--white);
  display: flex;
  font-size: 0.82rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.14em;
  min-height: 58px;
  padding: 16px;
  text-transform: uppercase;
}

.contact-section {
  align-items: stretch;
  background: var(--charcoal);
  color: var(--stone);
}

.contact-card {
  max-width: 720px;
}

.contact-card p {
  color: rgba(242, 238, 232, 0.72);
  max-width: 560px;
}

.broker-panel {
  align-self: center;
  border: 1px solid rgba(242, 238, 232, 0.2);
  padding: clamp(28px, 4vw, 48px);
}

.broker-panel h3 {
  margin-bottom: 8px;
}

.broker-panel p {
  color: rgba(242, 238, 232, 0.68);
}

.broker-panel a {
  color: var(--brass);
  display: inline-block;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  margin-top: 18px;
  overflow-wrap: anywhere;
}

.broker-panel a + a {
  display: block;
  margin-top: 12px;
}

.site-footer {
  background: #14110e;
  color: rgba(242, 238, 232, 0.7);
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr auto;
  padding: 24px clamp(20px, 5vw, 70px);
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  align-items: center;
  display: flex;
  gap: 16px;
}

.site-footer div img {
  height: 30px;
  width: auto;
}

.site-footer .disclosure {
  align-self: end;
  grid-column: 1 / -1;
  justify-self: end;
  max-width: min(414px, 100%);
  width: auto;
}

.monomental-link {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  grid-column: 1 / -1;
  justify-content: center;
  min-height: 150px;
  padding: 32px 20px;
}

.monomental-link img {
  filter: invert(1);
  max-width: min(440px, 82vw);
  width: 100%;
}

.lightbox {
  background: #0f0d0b;
  border: 0;
  box-shadow: var(--shadow);
  max-height: 90vh;
  max-width: min(1100px, 92vw);
  padding: 0;
}

.lightbox::backdrop {
  background: rgba(11, 9, 7, 0.82);
}

.lightbox img {
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  background: rgba(251, 248, 242, 0.92);
  border: 0;
  cursor: pointer;
  font: inherit;
  padding: 10px 14px;
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 100vh;
  }

  .hero > img {
    min-height: 100vh;
  }

  .hero-content {
    padding-bottom: 90px;
    padding-top: 18vh;
  }

  .program-section,
  .intro,
  .split-section,
  .contact-section,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    border-left: 0;
    padding-left: 0;
  }

  .gallery-item,
  .gallery-item.large {
    min-height: 420px;
  }

  .section-heading {
    align-items: start;
    display: block;
  }

  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .site-header {
    padding-inline: 16px;
  }

  .hero-content {
    margin: 18vh 18px 0;
    padding: 22px 18px 20px;
  }

  .hero-content::before {
    background: linear-gradient(135deg, rgba(6, 7, 8, 0.76), rgba(6, 7, 8, 0.48));
    border-left: 3px solid var(--brass);
    content: "";
    inset: 0;
    position: absolute;
    z-index: -1;
  }

  h1 {
    font-size: clamp(2.85rem, 13vw, 3.6rem);
    letter-spacing: -0.035em;
    margin-bottom: 16px;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .eyebrow {
    margin-bottom: 12px;
  }

  .hero-actions,
  .contact-actions,
  .site-footer {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .program-grid {
    grid-template-columns: 1fr;
  }

  .story-grid {
    display: flex;
    margin-right: -18px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
  }

  .story-item {
    flex: 0 0 78vw;
    scroll-snap-align: start;
  }

  .gallery-item,
  .gallery-item.large {
    min-height: 320px;
  }
}
