:root {
  color-scheme: dark;
  --espresso: #f7f4ec;
  --espresso-dark: #ffffff;
  --rust: #c59a46;
  --ivory: #11100f;
  --warm-line: rgba(228, 191, 113, 0.2);
  --text-brown: #f7f4ec;
  --muted-brown: #aaa49a;
  --sand: #171614;
  --red: #c59a46;
  --red-dark: #e4bf71;
  --ink: #f7f4ec;
  --soft: #201e1b;
  --accent-contrast: #151311;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.65;
}

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

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

.shell {
  width: min(var(--shell-width), calc(100% - 48px));
  margin: 0 auto;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy);
  border-radius: var(--radius-button);
  background: linear-gradient(135deg, #a67527 0%, #e5c177 52%, #9a6b22 100%);
  color: var(--accent-contrast);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

button,
.button,
.filter-pill,
.listing-tag {
  font-family: var(--font-sans);
}

.button:hover {
  background: linear-gradient(135deg, #bc8732 0%, #f0cf86 52%, #a87629 100%);
  border-color: #d6aa5c;
}

.button img {
  width: 15px;
  height: 15px;
  margin-right: 8px;
}

.button:not(.secondary) img {
  filter: brightness(0) invert(1);
}

.button.secondary {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--red-dark);
}

.button.secondary:hover {
  border-color: #d6aa5c;
  color: var(--red-dark);
  background: rgba(228, 191, 113, 0.08);
}

.project-hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(17, 16, 15, 0.98) 0%, rgba(17, 16, 15, 0.96) 52%, rgba(32, 30, 27, 0.86) 52%, rgba(32, 30, 27, 0.82) 100%),
    radial-gradient(circle at 84% 18%, rgba(228, 191, 113, 0.18), transparent 34%);
  padding: 64px 0 48px;
}

.project-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-family: "Cormorant SC", Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.project-title {
  margin: 0;
  color: var(--navy);
  font-family: "Cormorant", Georgia, serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 600;
  line-height: 1.04;
}

.district-hero .project-title {
  font-family: "Cormorant", Georgia, serif;
}

.project-summary {
  margin: 18px 0 0;
  padding-bottom: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.detail-chip-row,
.detail-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-chip-row {
  margin: 0 0 14px;
}

.detail-tag-row {
  margin-top: 18px;
}

.detail-tag-row--content {
  margin-top: 0;
}

.detail-chip,
.detail-tag-row span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: capitalize;
}

.detail-chip {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text-brown);
}

.detail-chip--accent {
  border-color: #d6e1ea;
  background: #edf4f8;
  color: #506270;
}

.detail-tag-row span {
  border: 1px solid #d9e0e6;
  background: #f7f9fb;
  color: var(--text-brown);
}

.blog-article-hero {
  min-height: 520px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #5b6670 0%, #3f4953 100%);
  color: #ffffff;
  padding: 78px 0;
  text-align: center;
}

.blog-article-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.blog-article-hero__media-image,
.blog-article-hero__media-placeholder {
  width: 100%;
  height: 100%;
}

.blog-article-hero__media-image {
  object-fit: cover;
  object-position: center;
}

.blog-article-hero__media-placeholder {
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #eef4f8 0%, #dbe6ee 100%);
}

.blog-article-hero__media-placeholder img {
  width: min(180px, 38vw);
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  opacity: 0.9;
}

.blog-article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  z-index: 0;
}

.blog-article-hero__content {
  max-width: 860px;
  position: relative;
  z-index: 1;
  padding-inline: 12px;
}

.blog-article-hero__meta {
  width: min(var(--shell-width), calc(100% - 48px));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: absolute;
  top: 46px;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%);
}

.blog-article-hero .eyebrow,
.blog-article-hero .project-summary {
  color: #ffffff;
}

.blog-article-hero .eyebrow {
  margin: 0;
}

.blog-article-hero .project-title {
  color: #ffffff;
}

.blog-article-hero__date {
  margin: 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.blog-article-hero .project-summary {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.project-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #ffffff;
}

.project-media img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
}

.project-media.placeholder-art img {
  width: min(42%, 180px);
  max-width: min(42%, 180px);
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  padding: 28px 0;
}

.facts-section {
  padding: 36px 0 16px;
}

.content-section {
  padding: 16px 0 56px;
}

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

.facts-grid--area {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fact-card {
  border: 1px solid var(--line);
  background: var(--sand);
  border-radius: 22px;
  padding: 12px 14px;
}

.fact-card span {
  display: block;
  color: var(--muted-brown);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.fact-card strong {
  display: block;
  margin-top: 7px;
  color: var(--espresso);
  font-size: 15px;
  line-height: 1.25;
}

.content-section {
  background: var(--ivory);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

.project-content {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--text-brown);
  font-size: 15px;
  line-height: 1.85;
}

.article-related {
  margin-top: 44px;
}

.detail-panel {
  margin: 0 0 34px;
}

.detail-list {
  margin: 0;
  padding-left: 20px;
}

.detail-list li + li {
  margin-top: 10px;
}

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

.property-detail-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.property-detail-card h3 {
  margin: 0 0 14px;
  color: var(--espresso);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.property-detail-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.9fr) minmax(0, 1.2fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(228, 191, 113, 0.14);
}

.property-detail-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.property-detail-row dt {
  color: var(--muted-brown);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.property-detail-row dd {
  min-width: 0;
  margin: 0;
  color: var(--text-brown);
  font-size: 14px;
  line-height: 1.6;
}

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

.detail-image-grid figure {
  margin: 0;
}

.detail-image-grid img {
  margin: 0;
}

.detail-image-tile {
  width: 100%;
  min-height: 0;
  aspect-ratio: 1.45 / 1;
  display: block;
  border: 1px solid var(--warm-line);
  border-radius: 8px;
  background-color: #050505;
  background-image: var(--listing-preview-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  cursor: pointer;
  padding: 0;
}

.detail-image-tile--plan {
  background-size: cover;
}

.detail-image-tile:hover,
.detail-image-tile:focus-visible {
  border-color: var(--gold-deep);
  outline: none;
  filter: brightness(1.08);
}

.listing-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 5, 0.88);
  padding: 28px;
}

.listing-lightbox.is-open {
  display: flex;
}

.listing-lightbox__image {
  width: auto;
  max-width: min(100%, 1100px);
  max-height: min(100%, 820px);
  object-fit: contain;
  border-radius: 8px;
  background: #050505;
}

.listing-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(228, 191, 113, 0.4);
  border-radius: 999px;
  background: rgba(17, 16, 15, 0.92);
  color: var(--text-brown);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.listing-lightbox__close:hover,
.listing-lightbox__close:focus-visible {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
  outline: none;
}

body.listing-lightbox-open {
  overflow: hidden;
}

.open-house-layout {
  display: block;
}

.open-house-calendar {
  height: auto;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--warm-line);
  border-radius: 24px;
  background: var(--sand);
  padding: 12px;
}

.open-house-calendar {
  overflow: visible;
  position: relative;
  z-index: 1;
}

.open-house-month-calendar {
  height: auto;
  min-width: 0;
}

.open-house-layout .fc {
  font-family: var(--font-sans);
  color: var(--text-brown);
}

.open-house-month-calendar .fc .fc-scrollgrid {
  border-bottom-width: 1px;
}

.open-house-month-calendar .fc .fc-daygrid-day-frame {
  min-height: 76px;
}

.open-house-month-calendar .fc .fc-daygrid-day-top {
  min-height: 20px;
}

.open-house-month-calendar .fc .fc-daygrid-day-number {
  position: relative;
  z-index: 5;
  color: var(--espresso);
  line-height: 1;
  text-align: right;
}

.open-house-month-calendar .fc .fc-day-other .fc-daygrid-day-number {
  color: var(--muted-brown);
  opacity: 0.62;
}

.open-house-month-calendar .fc .fc-daygrid-event {
  margin-top: 1px;
}

.open-house-month-calendar .fc .fc-daygrid-event .fc-event-main,
.open-house-month-calendar .fc .fc-daygrid-event .fc-event-time,
.open-house-month-calendar .fc .fc-daygrid-event .fc-event-title {
  font-size: 10px;
  line-height: 1.2;
}

.open-house-month-calendar .fc .fc-daygrid-more-link {
  margin-top: 0;
  color: var(--espresso);
  font-size: 10px;
  font-weight: 700;
}

.open-house-month-calendar .fc .fc-popover {
  z-index: 20;
}

.open-house-month-calendar .open-house-month-event {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.open-house-month-calendar .open-house-month-event__title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.open-house-month-calendar .open-house-month-event__time {
  flex: 0 0 auto;
  white-space: nowrap;
  font-weight: 700;
  opacity: 0.92;
}

.open-house-layout .fc .fc-toolbar.fc-header-toolbar {
  margin-bottom: 8px;
}

.open-house-layout .fc .fc-scrollgrid,
.open-house-layout .fc .fc-timegrid-slot,
.open-house-layout .fc .fc-timegrid-axis,
.open-house-layout .fc .fc-col-header-cell,
.open-house-layout .fc .fc-daygrid-day {
  border-color: #e6ebef;
}

.open-house-layout .fc .fc-toolbar-title {
  color: var(--espresso);
  font-size: 15px;
  font-weight: 700;
}

.open-house-layout .fc .fc-button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  font-weight: 700;
  text-transform: capitalize;
  font-size: 12px;
  padding: 0.35em 0.75em;
}

.open-house-layout .fc .fc-button:hover,
.open-house-layout .fc .fc-button:focus {
  border-color: #111111;
  background: #f4f6f8;
  color: #111111;
}

.open-house-layout .fc .fc-button-primary:not(:disabled).fc-button-active,
.open-house-layout .fc .fc-button-primary:not(:disabled):active {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.open-house-layout .fc .fc-daygrid-day.fc-day-today,
.open-house-layout .fc .fc-timegrid-col.fc-day-today {
  background: #f2f6f8;
}

.open-house-layout .fc .fc-daygrid-event,
.open-house-layout .fc .fc-timegrid-event {
  border-color: #58708a;
  background: #6d859f;
  color: #ffffff;
  border-radius: 8px;
}

.open-house-layout .fc .fc-event-main,
.open-house-layout .fc .fc-event-time,
.open-house-layout .fc .fc-event-title {
  color: #ffffff;
}

.open-house-layout .fc .fc-timegrid-event .fc-event-main {
  padding: 4px 6px;
  font-size: 10px;
  line-height: 1.15;
}

.open-house-layout .fc .fc-timegrid-event .fc-event-time,
.open-house-layout .fc .fc-timegrid-event .fc-event-title {
  font-size: 10px;
  line-height: 1.15;
  white-space: normal;
}

.open-house-layout .fc .fc-daygrid-event .fc-event-main,
.open-house-layout .fc .fc-daygrid-event .fc-event-time,
.open-house-layout .fc .fc-daygrid-event .fc-event-title {
  font-size: 9px;
  line-height: 1.1;
}

.open-house-layout .fc .fc-daygrid-event .fc-event-main {
  padding: 2px 4px;
}

.open-house-layout .fc .fc-timegrid-event .fc-event-title {
  font-weight: 700;
}

.open-house-layout .fc .fc-timegrid-slot-label,
.open-house-layout .fc .fc-col-header-cell-cushion,
.open-house-layout .fc .fc-daygrid-day-number {
  color: var(--muted-brown);
  font-weight: 700;
}

.open-house-layout .fc .fc-timegrid-slot-label {
  font-size: 12px;
}

.open-house-layout .fc .fc-col-header-cell-cushion,
.open-house-layout .fc .fc-daygrid-day-number {
  display: block;
  white-space: nowrap;
}

.open-house-layout .fc .fc-col-header-cell-cushion {
  padding: 2px 2px;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

.open-house-layout .fc .fc-daygrid-day-number {
  padding: 0;
  font-size: 11px;
}

.project-content h2 {
  margin: 0 0 14px;
  color: var(--espresso);
  font-size: 30px;
  line-height: 1.12;
}

.project-content h2:not(:first-child) {
  margin-top: 42px;
}

.project-content h3 {
  margin: 26px 0 6px;
  color: var(--text-brown);
  font-size: 20px;
  line-height: 1.2;
}

.project-content p {
  margin: 0 0 16px;
}

.project-content blockquote {
  margin: 0 0 22px;
  border: 1px solid var(--warm-line);
  border-radius: 8px;
  background: var(--sand);
  padding: 18px 20px;
  color: var(--text-brown);
}

.project-content blockquote p {
  margin: 0;
}

.project-content blockquote p + p {
  margin-top: 12px;
}

.project-content table,
.project-content .unit-table {
  width: 100%;
  max-width: 100%;
  margin: 18px 0 8px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: var(--sand);
  color: var(--text-brown);
  font-size: 14px;
}

.project-content table th,
.project-content table td,
.project-content .unit-table th,
.project-content .unit-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
  text-align: left;
  vertical-align: top;
}

.project-content .open-house-layout .fc table {
  display: table;
  width: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  overflow: visible;
  white-space: normal;
  background: transparent;
  color: inherit;
  font-size: 1em;
}

.project-content .open-house-layout .fc .fc-scrollgrid {
  border: 1px solid #e6ebef;
  border-collapse: separate;
}

.project-content .open-house-layout .fc th,
.project-content .open-house-layout .fc td {
  padding: 0;
  border: 1px solid #e6ebef;
  overflow-wrap: normal;
  vertical-align: top;
}

.project-content .open-house-layout .fc th {
  text-align: center;
}

.project-content .open-house-layout .fc td {
  text-align: left;
}

.project-content table th,
.project-content .unit-table th {
  background: var(--ivory);
  color: var(--espresso);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  line-height: 1.2;
  text-transform: uppercase;
}

.project-content table td:first-child,
.project-content table td:nth-child(3),
.project-content .unit-table td:first-child,
.project-content .unit-table td:nth-child(3) {
  color: var(--text-brown);
  font-weight: 500;
}

.project-content table td:last-child,
.project-content .unit-table td:last-child {
  color: var(--red);
  font-weight: 800;
}

.project-content table tr:last-child td,
.project-content .unit-table tr:last-child td {
  border-bottom: 0;
}

.map-embed {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--sand);
  overflow: hidden;
}

.project-content .map-embed {
  margin: 18px 0 8px;
}

.map-embed iframe {
  width: 100%;
  height: 360px;
  display: block;
  border: 0;
}

.project-content img {
  width: 100%;
  margin: 16px 0 8px;
  border: 1px solid var(--line);
  background: var(--sand);
}

.project-content figure {
  margin: 16px 0 8px;
}

.project-content figure img {
  margin: 0;
}

.project-content figcaption {
  margin-top: 7px;
  color: #8a8a8a;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.related-listings {
  margin-top: 44px;
}

.project-content .related-listings > h2,
.article-related .related-listings > h2 {
  margin-bottom: 18px;
  color: var(--gold-deep);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.25;
}

.related-listings .launch-grid,
.related-listings__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.related-listings .launch-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--sand);
  padding: 24px;
}

.related-listings .launch-card[hidden] {
  display: none;
}

.related-listings .launch-media {
  width: 100%;
  aspect-ratio: 1.6 / 1;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: var(--sand);
}

.project-content .related-listings .launch-media img,
.article-related .related-listings .launch-media img {
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  background: transparent;
  object-fit: cover;
}

.project-content .related-listings .launch-media.placeholder-art img,
.article-related .related-listings .launch-media.placeholder-art img {
  width: min(40%, 132px);
  max-width: min(40%, 132px);
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}

.related-listings .launch-status {
  width: fit-content;
  min-height: 22px;
  display: flex;
  align-items: center;
  margin: 14px 0 10px;
  border-radius: 999px;
  background: var(--red);
  color: #ffffff;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.2;
  text-transform: capitalize;
}

.project-content .related-listings .launch-card h2,
.article-related .related-listings .launch-card h2 {
  margin: 16px 0 12px;
  color: var(--gold-deep);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.25;
}

.related-listings .listing-facts {
  display: grid;
  gap: 8px;
  margin: 0;
}

.related-listings .listing-facts div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.related-listings .listing-facts dt {
  color: #8a8a8a;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.related-listings .listing-facts dd {
  margin: 0;
  color: var(--gold-deep);
  font-size: 13px;
  line-height: 1.35;
}

.related-listings .listing-facts .highlight {
  color: var(--red);
  font-weight: 500;
}

.project-content .related-listings .launch-details,
.article-related .related-listings .launch-details {
  margin: 14px 0 18px;
  color: #777777;
  font-size: 12px;
  line-height: 1.6;
}

.related-listings .card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: auto;
}

.related-listings .button,
.related-listings .details-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-button);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.related-listings .details-button {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--espresso);
}

.related-listings .details-button:hover {
  border-color: #111111;
  color: #111111;
  background: #f4f6f8;
}

.related-listings__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.related-listings .page-pill {
  min-height: 34px;
  min-width: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted-brown);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.related-listings .page-pill.active {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.related-listings .page-pill.disabled {
  color: #aaaaaa;
  pointer-events: none;
}

.sidebar-stack {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 106px;
  align-self: start;
  max-height: calc(100vh - 126px);
  grid-template-rows: auto minmax(0, 1fr);
}

.sticky-enquiry {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--sand);
  padding: 18px;
}

.sticky-enquiry .button {
  width: 100%;
}

.sticky-enquiry .button .button__icon {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
}

.sticky-enquiry .button:not(.secondary) .button__icon {
  color: #ffffff;
}

.sticky-enquiry .button.secondary .button__icon {
  color: currentColor;
}

.sticky-enquiry .button + .button {
  margin-top: 12px;
}

.sticky-enquiry h2 {
  margin: 0 0 8px;
  color: var(--espresso);
  font-size: 18px;
  line-height: 1.2;
}

.sticky-enquiry p {
  margin: 0 0 14px;
  color: var(--text-brown);
  font-size: 12px;
  line-height: 1.55;
}

.sticky-enquiry .enquiry-meta {
  margin-bottom: 8px;
  color: var(--muted-brown);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.enquiry-portrait {
  width: 84px;
  margin: 0 auto 14px;
  text-align: center;
}

.enquiry-portrait img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
}

.sidebar-map {
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--sand);
  overflow: hidden;
}

.sidebar-map .map-embed {
  height: 100%;
}

.sidebar-map .map-embed iframe {
  height: 100%;
  min-height: 180px;
}

@media (max-width: 900px) {
  .project-hero-inner,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .related-listings .launch-grid,
  .related-listings__grid {
    grid-template-columns: 1fr;
  }

  .sidebar-stack {
    position: static;
    top: auto;
    max-height: none;
    grid-template-rows: auto;
  }

  .open-house-layout {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 1100px) {
  .content-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-stack {
    position: static;
    top: auto;
    max-height: none;
    grid-template-rows: auto;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .related-listings .launch-grid,
  .related-listings__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-height: 650px) {
  .content-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-stack {
    position: static;
    top: auto;
    max-height: none;
    grid-template-rows: auto;
  }
}

@media (max-width: 760px) {
  .related-listings__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .project-hero-inner,
  .content-layout {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 560px) {
  .shell {
    width: min(var(--shell-width), calc(100% - 24px));
  }

  .project-hero {
    padding: 46px 0 38px;
  }

  .project-title {
    font-size: clamp(30px, 8vw, 42px);
    line-height: 1.08;
  }

  .project-summary {
    font-size: 14px;
    line-height: 1.72;
  }

  .facts-section {
    padding: 30px 0 16px;
  }

  .content-section {
    padding: 16px 0 46px;
  }

  .launch-card {
    padding: 18px;
  }

  .related-listings .launch-card {
    padding: 14px;
  }

  .related-listings .listing-facts div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .related-listings .button,
  .related-listings .details-button {
    min-height: 44px;
    padding: 11px 14px;
    white-space: normal;
  }

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

  .facts-grid--area {
    grid-template-columns: 1fr;
  }


  .detail-fact-list div,
  .detail-image-grid,
  .open-house-layout {
    grid-template-columns: 1fr;
  }

  .property-details-grid {
    grid-template-columns: 1fr;
  }

  .fact-card,
  .sticky-enquiry,
  .open-house-calendar,
  .sidebar-map {
    border-radius: 20px;
  }

  .fact-card {
    padding: 18px;
  }

  .property-detail-card {
    padding: 16px 16px 8px;
    border-radius: 20px;
  }

  .property-detail-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .detail-image-grid {
    gap: 12px;
  }

  .open-house-calendar,
  .sticky-enquiry {
    padding: 16px;
  }

  .open-house-month-calendar {
    min-height: 280px;
    flex: initial;
  }

  .open-house-calendar {
    height: auto;
    display: block;
  }

  .open-house-month-calendar,
  .open-house-month-calendar .fc .fc-view-harness,
  .open-house-month-calendar .fc .fc-dayGridMonth-view {
    min-height: 420px;
  }

  .open-house-layout .fc .fc-toolbar {
    gap: 10px;
  }

  .open-house-layout .fc .fc-toolbar.fc-header-toolbar {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .open-house-layout .fc .fc-toolbar-title {
    font-size: 16px;
  }

  .project-content table,
  .project-content .unit-table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  .project-content table th,
  .project-content table td,
  .project-content .unit-table th,
  .project-content .unit-table td {
    overflow-wrap: normal;
  }
}

@media (max-width: 420px) {
  .open-house-calendar {
    min-height: 0;
    padding: 12px;
    overflow: visible;
  }

  .open-house-layout .fc .fc-toolbar.fc-header-toolbar {
    gap: 8px;
    margin-bottom: 6px;
  }

  .open-house-layout .fc .fc-toolbar-title {
    font-size: 14px;
    line-height: 1.2;
  }

  .open-house-layout .fc .fc-button {
    min-height: 28px;
    padding: 0.3em 0.6em;
    font-size: 11px;
  }

  .open-house-layout .fc .fc-col-header-cell-cushion {
    padding: 1px 0;
    font-size: 9px;
    letter-spacing: 0;
  }

  .open-house-layout .fc .fc-daygrid-day-number {
    font-size: 10px;
  }

  .open-house-month-calendar .fc .fc-daygrid-day-frame {
    min-height: 60px;
  }

  .open-house-month-calendar .fc .fc-daygrid-day-top {
    min-height: 18px;
  }

  .open-house-month-calendar .fc .fc-daygrid-event .fc-event-main,
  .open-house-month-calendar .fc .fc-daygrid-event .fc-event-time,
  .open-house-month-calendar .fc .fc-daygrid-event .fc-event-title,
  .open-house-month-calendar .fc .fc-daygrid-more-link {
    font-size: 9px;
  }

  .open-house-month-calendar .fc .fc-popover {
    max-width: calc(100vw - 24px);
  }
}

.project-hero,
.result-hero {
  background: linear-gradient(180deg, #fafbfd 0%, #f2f5f7 100%);
}

.facts-section,
.content-section {
  background: var(--ivory);
}

.fact-card,
.sticky-enquiry,
.sidebar-map,
.project-content table,
.project-content .unit-table,
.project-content img {
  border-color: var(--warm-line);
  background: var(--sand);
}

.project-content .placeholder-art img {
  width: min(40%, 132px);
  max-width: min(40%, 132px);
  height: auto;
  margin: 0 auto;
  border: 0;
  background: transparent;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.project-content table th,
.project-content .unit-table th {
  background: var(--ivory);
  color: var(--espresso);
}

.project-content table td,
.project-content .unit-table td,
.project-content,
.sticky-enquiry p,
.project-summary {
  color: var(--text-brown);
}

.project-content h2,
.project-content h3,
.fact-card strong,
.sticky-enquiry h2 {
  color: var(--espresso);
}

.project-content table td:last-child,
.project-content .unit-table td:last-child {
  color: var(--rust);
}

.project-media,
.fact-card,
.property-detail-card,
.sticky-enquiry,
.sidebar-map,
.project-content table,
.project-content .unit-table,
.project-content img,
.related-listings .launch-card,
.open-house-calendar {
  border-color: var(--warm-line);
  border-radius: 8px;
  background: linear-gradient(180deg, #1c1a17 0%, #141311 100%);
}

.project-media,
.related-listings .launch-media {
  overflow: hidden;
}

.property-details-grid .property-detail-card {
  border-color: transparent;
  border-radius: 0;
  background: transparent;
}

.project-media img,
.project-content img,
.related-listings .launch-media img {
  border-radius: 6px;
  filter: saturate(0.84) contrast(1.08);
}

.detail-chip,
.detail-tag-row span,
.related-listings .launch-status {
  border-color: rgba(228, 191, 113, 0.22);
  background: rgba(228, 191, 113, 0.11);
  color: var(--red-dark);
}

.project-title,
.fact-card strong,
.property-detail-card h3,
.project-content h2,
.project-content h3,
.project-content .related-listings .launch-card h2 {
  color: var(--text-brown);
}

.project-summary,
.project-content,
.property-detail-row dt,
.property-detail-row dd,
.related-listings .listing-facts dt,
.related-listings .listing-facts dd,
.project-content .related-listings .launch-details {
  color: var(--muted-brown);
}

.related-listings .details-button,
.related-listings .page-pill {
  border-color: var(--warm-line);
  background: transparent;
  color: var(--red-dark);
}

.related-listings .details-button:hover {
  border-color: #d6aa5c;
  background: rgba(228, 191, 113, 0.08);
  color: var(--red-dark);
}

.related-listings .page-pill.active {
  border-color: #d6aa5c;
  background: linear-gradient(135deg, #a67527 0%, #e5c177 52%, #9a6b22 100%);
  color: #151311;
}

.project-hero,
.result-hero {
  background:
    linear-gradient(90deg, rgba(17, 16, 15, 0.98) 0%, rgba(17, 16, 15, 0.96) 52%, rgba(32, 30, 27, 0.86) 52%, rgba(32, 30, 27, 0.82) 100%),
    radial-gradient(circle at 84% 18%, rgba(228, 191, 113, 0.18), transparent 34%);
}

.article-hero {
  min-height: clamp(430px, 58vw, 620px);
  display: flex;
  align-items: center;
  position: relative;
  margin-top: -86px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(17, 16, 15, 0.98) 0%, rgba(17, 16, 15, 0.88) 56%, rgba(32, 30, 27, 0.78) 100%),
    radial-gradient(circle at 84% 18%, rgba(228, 191, 113, 0.18), transparent 34%);
  padding: 198px 0 84px;
}

.article-hero::before,
.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.article-hero::before {
  background: rgba(10, 9, 8, 0.5);
  backdrop-filter: blur(1px);
}

.article-hero::after {
  background:
    linear-gradient(90deg, rgba(17, 16, 15, 0.92) 0%, rgba(17, 16, 15, 0.66) 54%, rgba(17, 16, 15, 0.34) 100%),
    linear-gradient(0deg, rgba(17, 16, 15, 0.74) 0%, rgba(17, 16, 15, 0.12) 46%, rgba(17, 16, 15, 0.56) 100%);
}

.article-hero__background {
  width: calc(100% + 56px);
  max-width: none;
  height: calc(100% + 56px);
  position: absolute;
  inset: -28px;
  z-index: -2;
  object-fit: cover;
  object-position: center;
  filter: blur(18px) saturate(0.96) contrast(1.06);
  transform: scale(1.04);
}

.article-hero.is-fallback::before,
.article-hero.is-fallback::after,
.article-hero:not(.article-hero--has-image)::before,
.article-hero:not(.article-hero--has-image)::after {
  display: none;
}

.article-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 42px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.article-hero__content {
  max-width: 900px;
}

.article-hero__media {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.article-hero__media.is-fallback {
  display: none;
}

.article-hero .eyebrow,
.article-hero .project-title,
.article-hero .project-summary {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.42);
}

.article-hero .eyebrow {
  color: var(--gold-deep);
}

.article-hero .project-title {
  color: #ffffff;
}

.article-hero .project-summary {
  max-width: 760px;
  color: rgba(247, 244, 236, 0.84);
}

@media (max-width: 900px) {
  .article-hero {
    margin-top: -78px;
    padding-top: 156px;
  }

  .article-hero__inner {
    grid-template-columns: 1fr;
  }
}

.facts-section,
.content-section,
.project-content table th,
.project-content .unit-table th {
  background: #11100f;
}
