:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #1e201f;
  --muted: #68716d;
  --paper: #f5f6f3;
  --white: #ffffff;
  --line: #d9ddd7;
  --gold: #d6af5c;
  --green: #2f6657;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

a { color: inherit; }

.site-header,
.listing-intro,
.tour-feature,
.details,
footer {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand__mark {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #251b09;
  background: var(--gold);
  font-size: 10px;
  font-weight: 850;
}

.site-header p,
footer {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
}

.site-header p span {
  margin-left: 7px;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--green);
  font-size: 10px;
  text-transform: uppercase;
}

.listing-intro {
  padding: 56px 0 36px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 9px;
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.04;
}

h2 {
  margin-bottom: 0;
  font-size: 23px;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.18;
}

.location {
  margin-bottom: 31px;
  color: var(--muted);
  font-size: 16px;
}

.property-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 760px;
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.property-facts div {
  min-width: 0;
  padding: 13px 15px 14px 0;
}

.property-facts div + div { border-left: 1px solid var(--line); padding-left: 15px; }

dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 760;
}

.tour-feature { padding-bottom: 72px; }

.tour-feature__bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 15px;
}

.tour-feature__bar .eyebrow { margin-bottom: 7px; }

.tour-feature__bar a {
  flex: 0 0 auto;
  padding-bottom: 3px;
  color: var(--green);
  font-size: 13px;
  font-weight: 760;
  text-underline-offset: 4px;
}

.tour-frame {
  height: min(72vh, 810px);
  min-height: 520px;
  overflow: hidden;
  border: 1px solid #292a27;
  border-radius: 6px;
  background: #11100d;
  box-shadow: 0 20px 50px rgba(34, 38, 35, 0.14);
}

.tour-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #11100d;
  color-scheme: dark;
}

.tour-fallback-exit {
  position: fixed;
  z-index: 101;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: none;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 5px;
  color: #fff;
  background: rgba(20, 18, 13, 0.9);
  cursor: pointer;
}

.tour-fallback-exit svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

body.is-tour-expanded { overflow: hidden; }

body.is-tour-expanded .tour-frame {
  position: fixed;
  z-index: 100;
  inset: 0;
  width: 100vw;
  height: 100svh;
  min-height: 0;
  border: 0;
  border-radius: 0;
}

body.is-tour-expanded .tour-fallback-exit:not([hidden]) { display: grid; }

.details {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(36px, 8vw, 128px);
  padding: 52px 0 76px;
  border-top: 1px solid var(--line);
}

.details > div > p:last-child {
  max-width: 590px;
  margin: 20px 0 0;
  color: #4d5752;
  font-size: 16px;
  line-height: 1.65;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  margin: 0;
  border-top: 1px solid var(--line);
}

.detail-list div {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.detail-list div:nth-child(odd) { padding-right: 18px; }
.detail-list div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 0 28px;
  border-top: 1px solid var(--line);
}

@media (max-width: 720px) {
  .site-header,
  .listing-intro,
  .tour-feature,
  .details,
  footer { width: min(100% - 28px, 1320px); }

  .site-header { min-height: 58px; }
  .site-header p { font-size: 10px; }
  .listing-intro { padding: 38px 0 28px; }
  .property-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .property-facts div:nth-child(3) { border-left: 0; }
  .property-facts div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .tour-feature { padding-bottom: 48px; }
  .tour-feature__bar { align-items: start; flex-direction: column; gap: 10px; }
  .tour-frame { height: 68vh; min-height: 460px; }
  .details { grid-template-columns: 1fr; gap: 34px; padding: 42px 0 52px; }
  footer { flex-direction: column; gap: 7px; }
}
