:root {
  color-scheme: light;
  --ink: #20251f;
  --paper: #f8f6f0;
  --night: #151a20;
  --muted: #565c50;
  --accent: #e2c083;
  --display: "Baskervville", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--body); }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .3em; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 3px solid #b68138; outline-offset: 4px; }
::selection { background: var(--accent); color: var(--night); }
.header {
  padding: 1rem clamp(1.25rem, 6vw, 6rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--night); color: var(--paper);
}
.brand { font: 1.55rem/1.1 var(--display); text-decoration: none; white-space: nowrap; }
.brand i { color: var(--accent); }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem 1.55rem; }
nav a { text-decoration: none; font-size: .9rem; }
nav a:hover { text-decoration: underline; }
.hero {
  min-height: min(720px, 85svh); position: relative; display: flex; align-items: center;
  padding: 4rem clamp(1.25rem, 8vw, 8rem); color: var(--paper);
  background: linear-gradient(90deg, #10151ddd, #10151d35 60%, #10151d0d), var(--night) url("assets/tower.webp") center 48% / cover no-repeat;
}
.hero-copy { max-width: 26rem; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.03em; }
h1 { font-size: clamp(4rem, 9vw, 6rem); line-height: .9; }
h1 em { color: var(--accent); }
.hero-copy p { margin: 1.4rem 0 1.75rem; max-width: 22ch; font-size: 1.12rem; }
.hero-caption { position: absolute; right: clamp(1.25rem, 6vw, 6rem); bottom: 1rem; background: var(--night); padding: .35rem .65rem; font-size: .8rem; }
.action { display: inline-flex; min-height: 46px; align-items: center; padding: .65rem 1.2rem; border-radius: 3px; text-decoration: none; font-weight: 650; }
.action:hover { text-decoration: underline; }
.primary { background: var(--accent); color: var(--night); }
.section { width: min(1250px, 100%); margin-inline: auto; padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 5vw, 4rem); }
h2 { font-size: clamp(2.5rem, 5vw, 4.1rem); line-height: 1.05; }
.section-intro p { margin-top: .65rem; color: var(--muted); }
.explorer-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(17rem, 1fr); column-gap: clamp(1.5rem, 4vw, 4rem); margin-top: 2rem; align-items: start;
  grid-template-areas: "tower picker" "tower details";
  grid-template-rows: auto 1fr; }
.tower-view { grid-area: tower; position: relative; overflow: hidden; background: var(--night); }
.tower-view img { aspect-ratio: 3/2; object-fit: fill; }
.hotspots { position: absolute; top: var(--tower-top, 11%); left: var(--tower-left, 40.8%); width: var(--tower-width, 24.1%); height: var(--tower-height, 71.4%); display: grid; grid-template-rows: repeat(11, minmax(0, 1fr)); }
.hotspots button { position: relative; appearance: none; border: 1px solid transparent; background: transparent; cursor: pointer; min-height: 0; }
@media (hover: hover) {
  .hotspots button:hover { border-color: #e2c08acc; }
}
.hotspots button[aria-pressed="true"] { border-color: var(--accent); background: #e2c08778; }
.hotspots button:focus-visible { z-index: 1; outline: 2px solid white; outline-offset: 1px; }
.hotspots button:active { background: #e2c087a1; }
.hotspots button[aria-pressed="true"]::after { content: attr(data-floor); position: absolute; top: 50%; left: calc(100% + .45rem); transform: translateY(-50%); background: var(--accent); color: var(--night); padding: .15rem .45rem; font: 700 .8rem/1.2 var(--body); }
.floor-picker { grid-area: picker; }
.selection { grid-area: details; }
.floor-picker label { display: block; font-weight: 650; margin-bottom: .4rem; }
select { width: 100%; border: 1px solid #858977; border-radius: 3px; padding: .65rem 2.5rem .65rem .8rem; background: #fffdf8; color: var(--ink); min-height: 46px; font: inherit; }
.unit-summary { padding: 1.5rem 0; }
.plan-preview {
  display: flex; align-items: center; gap: 1rem; min-height: 64px;
  padding: .5rem; border: 1px solid #c9c7b9; border-radius: 3px;
  color: #29342a; text-decoration: none; font-weight: 650;
}
.plan-preview img { width: 5.75rem; aspect-ratio: 1; object-fit: cover; background: #eeeadf; }
.plan-preview:hover span { text-decoration: underline; }
.plan-preview:active { background: #eae8dc; }
.status { font-size: .9rem; font-weight: 650; color: #37583c; }
.status[data-reserved="true"] { color: #854d2c; }
h3 { font-size: clamp(1.9rem, 3vw, 2.75rem); line-height: 1.15; margin: .35rem 0; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding-top: .9rem; border-top: 1px solid #d3d3c6; margin-top: 1.2rem; }
.facts dt { color: var(--muted); font-size: .875rem; }
.facts dd { font-size: 1.1rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.residence { background: #eae8dc; }
.residence-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(1.5rem, 5vw, 5rem); }
.residence p { margin-top: 1rem; max-width: 37ch; }
.disclaimer, figcaption { color: var(--muted); font-size: .875rem; }
#plan { aspect-ratio: 1; object-fit: cover; background: #eeeadf; }
figcaption { padding-top: .6rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.65rem; }
.gallery img { aspect-ratio: 3/2; object-fit: cover; background: #eae8dc; }
.footer p { font-size: .875rem; text-align: right; }
@media (max-width: 680px) {
  .header { padding-inline: 1rem; }
  .brand { font-size: 1.2rem; }
  nav { gap: .5rem .85rem; }
  nav a { font-size: .85rem; }
  .hero {
    display: block; min-height: auto; padding: 0; background: #10151d;
  }
  .hero::before {
    content: ""; display: block; height: clamp(14rem, 58vw, 22rem);
    background: linear-gradient(0deg, #10151d, transparent 26%), url("assets/tower.webp") 54% center / cover;
  }
  .hero-copy { padding: .25rem 1.25rem 1.75rem; }
  .hero-caption { position: static; padding: 0 1.25rem 1rem; background: transparent; }
  .explorer-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "picker" "tower" "details";
    grid-template-rows: auto;
    row-gap: .9rem;
  }
  .unit-summary { padding-top: .25rem; }
  .residence-grid, .gallery-grid { grid-template-columns: 1fr; }
}
