:root {
  color-scheme: light;
  --ink: #10231c;
  --ink-soft: #24443a;
  --paper: #f4f0e7;
  --paper-2: #eae3d5;
  --white: #fffdf8;
  --gold: #d79242;
  --gold-deep: #a85e20;
  --green: #167248;
  --green-bright: #2bbf74;
  --line: rgba(16, 35, 28, .16);
  --muted: #647169;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); margin: 0; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
.hidden { display: none !important; }
.eyebrow {
  color: var(--gold-deep); font-size: .7rem; font-weight: 850; letter-spacing: .16em;
  margin: 0 0 .7rem; text-transform: uppercase;
}

.site-header {
  align-items: center; background: rgba(244,240,231,.92); border-bottom: 1px solid var(--line);
  display: grid; gap: 2rem; grid-template-columns: 1fr auto 1fr; left: 0;
  padding: .85rem clamp(1rem,4vw,4.5rem); position: sticky; right: 0; top: 0;
  backdrop-filter: blur(18px); z-index: 20;
}
.brand { align-items: center; display: flex; gap: .7rem; justify-self: start; }
.brand-mark {
  align-items: center; background: var(--ink); border-radius: 12px; color: var(--paper);
  display: flex; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 700;
  height: 42px; justify-content: center; width: 42px;
}
.brand > span:last-child { display: flex; flex-direction: column; }
.brand strong { font-size: 1rem; letter-spacing: -.01em; }
.brand small { color: var(--muted); font-size: .68rem; margin-top: .1rem; }
nav { display: flex; gap: clamp(1rem,3vw,2.4rem); }
nav a { color: var(--ink-soft); font-size: .78rem; font-weight: 750; }
nav a:hover { color: var(--gold-deep); }

.button {
  align-items: center; background: var(--ink); border: 1px solid var(--ink);
  border-radius: 999px; color: var(--white); display: inline-flex; font-weight: 800;
  justify-content: center; padding: .82rem 1.15rem; transition: .18s ease;
}
.button:hover { background: var(--green); border-color: var(--green); transform: translateY(-1px); }
.button-small { font-size: .75rem; justify-self: end; padding: .68rem 1rem; }
.button-outline { background: transparent; color: var(--ink); }
.button-quiet { background: transparent; border-color: transparent; color: var(--ink); }

.hero {
  display: grid; grid-template-columns: minmax(0,1.05fr) minmax(390px,.95fr);
  min-height: min(760px,calc(100vh - 70px)); overflow: hidden;
}
.hero-copy {
  align-self: center; max-width: 720px; padding: clamp(4rem,9vw,8rem) clamp(1.2rem,8vw,8rem);
}
.hero h1 {
  font-family: Georgia, "Times New Roman", serif; font-size: clamp(4.2rem,9vw,8rem);
  font-weight: 400; letter-spacing: -.065em; line-height: .78; margin: 1.2rem 0 2rem;
}
.hero-lede {
  color: var(--ink-soft); font-size: clamp(1rem,1.5vw,1.22rem); line-height: 1.65;
  max-width: 570px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.trust-row {
  border-top: 1px solid var(--line); display: grid; gap: 1rem;
  grid-template-columns: repeat(3,1fr); margin: 3rem 0 0; padding-top: 1.2rem;
}
.trust-row div { display: grid; gap: .2rem; }
.trust-row dt { font-size: .75rem; font-weight: 850; }
.trust-row dd { color: var(--muted); font-size: .68rem; margin: 0; }

.hero-visual {
  align-items: end; background: var(--ink); display: grid; gap: 8px;
  grid-template-columns: .85fr 1.2fr .95fr; overflow: hidden; padding: clamp(2rem,5vw,5rem);
  position: relative;
}
.hero-visual::before {
  background: radial-gradient(circle, rgba(215,146,66,.25), transparent 62%);
  content: ""; height: 700px; position: absolute; right: -250px; top: -260px; width: 700px;
}
.door {
  background: repeating-linear-gradient(0deg,#d9d5ca 0,#d9d5ca 7px,#a7aaa3 8px,#d9d5ca 9px);
  border: 8px solid #e7e1d7; border-bottom: 18px solid #5e635d; display: flex;
  min-height: 57%; position: relative;
}
.door-two { min-height: 76%; }
.door-three { min-height: 66%; }
.door span {
  background: var(--ink); color: var(--white); font-size: .72rem; font-weight: 850;
  left: 12px; letter-spacing: .08em; padding: .35rem .45rem; position: absolute; top: 12px;
}
.available-door { box-shadow: 0 0 0 4px var(--green-bright), 0 0 40px rgba(43,191,116,.45); }
.available-door::after {
  background: var(--green-bright); color: #062d1b; content: "AVAILABLE";
  font-size: .55rem; font-weight: 900; letter-spacing: .1em; padding: .35rem .5rem;
  position: absolute; right: 10px; top: 12px;
}
.availability-stamp {
  background: var(--paper); border-radius: 50%; bottom: clamp(1rem,3vw,2.5rem); color: var(--ink);
  display: flex; flex-direction: column; height: 142px; justify-content: center;
  position: absolute; right: clamp(1rem,3vw,2.5rem); text-align: center; transform: rotate(-8deg);
  width: 142px;
}
.availability-stamp span { font-family: Georgia, serif; font-size: 2.7rem; line-height: 1; }
.availability-stamp small { font-size: .6rem; font-weight: 800; margin: .35rem auto 0; max-width: 88px; text-transform: uppercase; }

.availability-section, .sizes-section {
  padding: clamp(4rem,8vw,7rem) clamp(1rem,7vw,7rem);
}
.availability-section { background: var(--white); }
.section-heading {
  align-items: end; display: flex; gap: 2rem; justify-content: space-between;
  margin: 0 auto 2rem; max-width: 1260px;
}
.section-heading.compact { margin-bottom: 2rem; }
.section-heading h2, .location-card h2 {
  font-family: Georgia, serif; font-size: clamp(2.5rem,5vw,4.6rem); font-weight: 400;
  letter-spacing: -.05em; line-height: .95; margin: 0;
}
.section-heading > div > p:last-child {
  color: var(--muted); line-height: 1.6; margin: 1rem 0 0; max-width: 620px;
}
.updated-pill {
  align-items: center; background: #ecf6f0; border: 1px solid rgba(22,114,72,.16);
  border-radius: 999px; color: var(--green); display: flex; font-size: .68rem;
  font-weight: 800; gap: .45rem; padding: .58rem .75rem; white-space: nowrap;
}
.updated-pill i { background: var(--green-bright); border-radius: 50%; height: 7px; width: 7px; }
.size-filters {
  display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 auto 1rem; max-width: 1260px;
}
.size-filters button {
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); font-size: .72rem; font-weight: 800; padding: .55rem .8rem;
}
.size-filters button.active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.map-shell {
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  margin: 0 auto; max-width: 1260px; overflow: hidden; padding: 1rem;
}
.map-key {
  color: var(--muted); display: flex; font-size: .65rem; gap: 1rem;
  justify-content: flex-end; margin-bottom: .6rem;
}
.map-key span { align-items: center; display: flex; gap: .35rem; }
.map-key i { border-radius: 3px; display: block; height: 10px; width: 10px; }
.available-key { background: var(--green-bright); }
.unavailable-key { background: #d8d6cf; border: 1px solid #bbb9b0; }
.map-scroll { overflow-x: auto; }
.facility-map {
  background: #f8f6ef; color: #111; height: 700px; min-width: 1120px; position: relative;
}
.facility-map.loading::after, .unavailable-map {
  align-items: center; color: var(--muted); content: "Loading the live map…";
  display: flex; justify-content: center;
}
.map-section {
  color: #6b716c; font-size: .64rem; font-weight: 900; letter-spacing: .11em;
  position: absolute; text-align: center; transform: translateX(-50%);
}
.map-unit {
  align-items: center; border: 1.35px solid #6d706a; color: #222; display: flex;
  flex-direction: column; justify-content: center; min-height: 12px; min-width: 12px;
  overflow: hidden; padding: 2px; position: absolute; transition: .15s ease;
}
button.map-unit { cursor: pointer; font: inherit; }
.map-unit.unavailable { background: #e4e2dc; color: #777b75; }
.map-unit.available {
  background: #dff5e8; border: 2px solid var(--green); box-shadow: inset 0 -5px 0 var(--green-bright);
}
.map-unit.available:hover, .map-unit.available:focus-visible {
  box-shadow: 0 0 0 3px var(--green), 0 10px 24px rgba(16,35,28,.2);
  transform: translateY(-1px); z-index: 4;
}
.map-unit.filtered-out { opacity: .12; pointer-events: none; }
.map-unit-number { font-size: clamp(.52rem,.77vw,.76rem); font-weight: 900; line-height: 1; }
.map-unit-detail { font-size: clamp(.36rem,.47vw,.52rem); line-height: 1.15; margin-top: 3px; }
.map-unit.micro .map-unit-detail { display: none; }
.map-unit.micro .map-unit-number { font-size: .46rem; }

.unit-list {
  display: grid; gap: .8rem; grid-template-columns: repeat(3,minmax(0,1fr));
  margin: 1rem auto 0; max-width: 1260px;
}
.unit-list article {
  align-items: center; background: var(--paper); border: 1px solid var(--line);
  border-radius: 16px; display: flex; justify-content: space-between; padding: 1.1rem;
}
.unit-list h3 { font-family: Georgia, serif; font-size: 1.25rem; font-weight: 400; margin: 0; }
.unit-list article p:last-child { color: var(--muted); font-size: .72rem; margin: .35rem 0 0; }
.unit-list .button { font-size: .7rem; }
.filter-empty {
  border: 1px dashed var(--line); border-radius: 14px; color: var(--muted);
  grid-column: 1 / -1; margin: 0; padding: 1rem; text-align: center;
}
.waitlist-card {
  align-items: center; background: var(--ink); border-radius: 20px; color: var(--white);
  display: flex; justify-content: space-between; margin: 1rem auto 0; max-width: 1260px;
  padding: clamp(1.4rem,4vw,2.4rem);
}
.waitlist-card .eyebrow { color: #efba79; }
.waitlist-card h3 { font-family: Georgia, serif; font-size: clamp(1.8rem,3vw,2.7rem); font-weight: 400; margin: 0; }
.waitlist-card p:last-child { color: #b9c6bf; line-height: 1.55; margin-bottom: 0; max-width: 680px; }
.waitlist-card .button { background: var(--gold); border-color: var(--gold); color: var(--ink); white-space: nowrap; }

.sizes-section { background: var(--paper); }
.size-guide {
  display: grid; gap: 1rem; grid-template-columns: repeat(4,minmax(0,1fr));
  margin: 0 auto; max-width: 1260px;
}
.size-guide article {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  min-height: 330px; padding: 2rem;
}
.size-guide h3 { font-family: Georgia, serif; font-size: 1.8rem; font-weight: 400; margin: 0; }
.size-guide article > p:last-child { color: var(--muted); line-height: 1.6; }
.size-icon {
  background: repeating-linear-gradient(0deg,#ddd9cf 0,#ddd9cf 5px,#b6b7b0 6px,#ddd9cf 7px);
  border: 5px solid var(--ink); display: block; margin-bottom: 3rem;
}
.size-small { height: 62px; width: 34%; }
.size-medium { height: 84px; width: 58%; }
.size-large { height: 108px; width: 92%; }
.size-extra-large { height: 132px; width: 100%; }

.location-section {
  background: var(--ink); color: var(--white); display: grid;
  grid-template-columns: 1.1fr .9fr; min-height: 520px;
}
.location-card { align-self: center; padding: clamp(4rem,8vw,8rem); }
.location-card .eyebrow { color: #efba79; }
.location-card address { color: #c5d1ca; font-size: 1.05rem; line-height: 1.7; margin-top: 1.5rem; }
.location-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2rem; }
.location-card .button { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.location-card .button-outline { background: transparent; border-color: #72837a; color: var(--white); }
.location-art {
  align-items: center; background: var(--gold); color: var(--ink); display: flex;
  flex-direction: column; justify-content: center; overflow: hidden; position: relative;
}
.location-art span { font-size: clamp(1rem,2vw,1.5rem); font-weight: 900; letter-spacing: .22em; z-index: 1; }
.location-art strong { font-family: Georgia, serif; font-size: clamp(7rem,18vw,16rem); line-height: .8; z-index: 1; }
.location-art i {
  border: 2px solid rgba(16,35,28,.3); border-radius: 50%; height: 420px; position: absolute; width: 420px;
}
.location-art i::after {
  border: 2px solid rgba(16,35,28,.2); border-radius: 50%; content: ""; inset: 65px; position: absolute;
}

footer {
  align-items: center; background: #091610; color: #a9b7af; display: grid; gap: 2rem;
  grid-template-columns: 1fr 1.5fr 1fr; padding: 2rem clamp(1rem,5vw,5rem);
}
footer div { display: flex; flex-direction: column; }
footer strong { color: var(--white); }
footer span, footer p { font-size: .68rem; line-height: 1.5; }
footer > span { text-align: right; }

.dialog-backdrop {
  align-items: center; background: rgba(6,16,11,.72); display: flex; inset: 0;
  justify-content: center; padding: 1rem; position: fixed; z-index: 50;
}
.unit-dialog {
  background: var(--white); border-radius: 22px; box-shadow: 0 30px 90px rgba(0,0,0,.3);
  max-width: 480px; padding: 2rem; position: relative; width: 100%;
}
.dialog-close {
  background: transparent; border: 0; color: var(--muted); font-size: 1.7rem;
  line-height: 1; position: absolute; right: 1rem; top: 1rem;
}
.unit-dialog h2 { font-family: Georgia, serif; font-size: 2.8rem; font-weight: 400; margin: 0 0 1rem; }
.unit-dialog dl { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); margin: 0; }
.unit-dialog dl div { display: flex; justify-content: space-between; padding: .8rem 0; }
.unit-dialog dt { color: var(--muted); }
.unit-dialog dd { font-weight: 800; margin: 0; }
.dialog-note { color: var(--muted); line-height: 1.55; }
.unit-dialog .button { width: 100%; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 520px; }
  .unit-list { grid-template-columns: 1fr; }
  .size-guide { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .size-guide article { min-height: 260px; }
  .location-section { grid-template-columns: 1fr; }
  .location-art { min-height: 380px; }
  footer { grid-template-columns: 1fr; }
  footer > span { text-align: left; }
}

@media (max-width: 640px) {
  .site-header { gap: .7rem; }
  .brand small { display: none; }
  .button-small { font-size: 0; padding: .62rem .8rem; }
  .button-small::after { content: "Call"; font-size: .72rem; }
  .hero h1 { font-size: clamp(4rem,22vw,6.5rem); }
  .hero-visual { gap: 5px; min-height: 420px; padding: 2rem 1rem; }
  .door { border-width: 5px; }
  .availability-stamp { height: 112px; width: 112px; }
  .availability-stamp span { font-size: 2rem; }
  .section-heading, .waitlist-card { align-items: stretch; flex-direction: column; }
  .updated-pill { align-self: flex-start; }
  .trust-row { gap: .55rem; }
  .size-guide { grid-template-columns: 1fr; }
  .location-actions, .location-actions .button { width: 100%; }
}

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