:root {
  --purple: #8c8da3;
  --purple-dark: #6f7088;
  --gold: #c1891c;
  --ink: #333;
  --muted: #7a7b8c;
  --line: #e1e4e9;
  --bg: #fff;
  --bg-soft: #f6f6f9;
  --header-h: 72px;
  --pad: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
  background: var(--bg);
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
img { display: block; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
  padding: 0 var(--pad);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header__brand { display: flex; align-items: center; gap: 18px; height: 100%; }
.header__sign { height: 44px; width: auto; }
.header__txt { height: 20px; width: auto; }
.header__note,
.header__back {
  font-family: "Unbounded", Arial, sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--purple);
  white-space: nowrap;
}
.header__back {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  color: #fff;
  background: var(--purple);
}
.header__back:active { background: var(--purple-dark); }

.eyebrow {
  margin: 0 0 12px;
  font-family: "Unbounded", Arial, sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

/* Front page */
.home { overflow: hidden; }
.hero {
  position: relative;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  min-height: 420px;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34, 35, 48, 0.72) 0%, rgba(34, 35, 48, 0.35) 55%, rgba(34, 35, 48, 0.15) 100%);
}
.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(28px, 7vh, 80px) var(--pad) 0;
  text-align: center;
}
.hero__title {
  margin: 0 0 clamp(20px, 4vh, 36px);
  font-family: "Unbounded", Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(30px, 5.2vw, 56px);
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
}

.picker { position: relative; width: min(560px, 100%); text-align: left; }
.picker__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 68px;
  padding: 0 24px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 20px;
  cursor: pointer;
}
.picker__btn svg { color: var(--gold); transition: transform 0.2s; }
.picker.is-open .picker__btn svg { transform: rotate(180deg); }
.picker__list {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: calc(100dvh - var(--header-h) - 68px - clamp(160px, 28vh, 300px));
  min-height: 180px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border-top: 2px solid var(--gold);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}
.picker__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 10px 24px;
  border-bottom: 1px solid var(--line);
}
.picker__item:active { background: var(--bg-soft); }
.picker__name { font-weight: 700; font-size: 19px; }
.picker__meta { font-size: 14px; color: var(--muted); text-align: right; }

/* Building page */
.banner { position: relative; height: clamp(240px, 42vh, 460px); background: var(--purple); }
.banner--plain { height: auto; padding-top: 72px; }
.banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34, 35, 48, 0) 40%, rgba(34, 35, 48, 0.78) 100%);
}
.banner__content { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--pad) 28px; }
.banner--plain .banner__content { position: static; }
.banner__title {
  margin: 0;
  font-family: "Unbounded", Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
}

.chips {
  position: sticky;
  top: var(--header-h);
  z-index: 10;
  display: flex;
  gap: 10px;
  padding: 12px var(--pad);
  overflow-x: auto;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--purple);
  color: var(--purple-dark);
  font-weight: 500;
  white-space: nowrap;
}
.chip span { color: var(--gold); font-weight: 700; }
.chip:active { background: var(--purple); color: #fff; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 var(--pad) 56px; }
.section { padding-top: 36px; scroll-margin-top: calc(var(--header-h) + 73px); }
.section__title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 14px;
  font-family: "Unbounded", Arial, sans-serif;
  font-weight: 400;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--purple);
}
.section__count { font-size: 15px; color: var(--gold); }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.props { width: 100%; border-collapse: collapse; }
.props th {
  padding: 12px 14px;
  border-bottom: 2px solid var(--purple);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  color: var(--muted);
  white-space: nowrap;
}
.props td { height: 60px; padding: 8px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.props tbody tr:nth-child(even) { background: var(--bg-soft); }
.props .num { text-align: right; font-variant-numeric: tabular-nums; }
.props__name { font-weight: 700; }
.props__price { font-weight: 700; color: var(--purple-dark); }
.props__action { width: 1%; text-align: right; }
.more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--purple);
  color: #fff;
  font-size: 16px;
}
.more:active { background: var(--gold); }

.footnote { margin: 32px 0 0; font-size: 14px; color: var(--muted); }
.empty { padding: 48px 0; color: var(--muted); }

@media (max-width: 700px) {
  body { font-size: 16px; }
  .header__txt { height: 15px; }
  .header__note { display: none; }
  .picker__item { flex-direction: column; align-items: flex-start; gap: 2px; }
  .props td, .props th { padding-left: 10px; padding-right: 10px; }
}
