* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

button,input,select {
  font: inherit;
}

button,a,input,select {
  -webkit-tap-highlight-color: transparent;
}

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

button,a,select {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
  opacity: .45;
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible,[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

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

figure {
  margin: 0;
}

h1,h2,h3,h4,p {
  margin: 0;
}

h1,h2,h3,h4 {
  font-family: var(--sans);
  font-weight: 550;
  letter-spacing: -.045em;
  line-height: 1.18;
}

h1 {
  font-size: 44px;
}

h2 {
  font-size: 32px;
}

h3 {
  font-size: 23px;
}

h1 em,h2 em,h3 em {
  font: inherit;
  color: inherit;
}

.wrap {
  width: min(1160px,calc(100% - 80px));
  margin-inline: auto;
}

.eyebrow {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: .13em;
  color: var(--accent);
  margin-bottom: 16px;
}

.fine {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 13px 20px;
  background: var(--accent);
  color: white;
  border: 0;
  border-radius: var(--radius-control);
  font-size: 12px;
  font-weight: 600;
  transition: background .15s;
}

.button:hover {
  background: var(--accent-hover);
}

.text-link {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 34px;
  line-height: 1;
  font-weight: 650;
  letter-spacing: -.065em;
}

.brand span {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  border-left: 1px solid #c9cbc5;
  padding-left: 16px;
}

.hero {
  height: 495px;
  position: relative;
}

.hero-photo {
  height: 100%;
  border-radius: var(--radius-panel);
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.hero-photo figcaption {
  position: absolute;
  right: 15px;
  top: 15px;
  border-radius: var(--radius-panel);
  background: var(--photo-label);
  color: #4b4b46;
  padding: 6px 10px;
  font-size: 12px;
}

.hero-copy {
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: 420px;
  background: #fff;
  padding: 30px 32px 32px;
  border-radius: var(--radius-panel);
  box-shadow: none;
}

.hero-copy h1 {
  margin-bottom: 16px;
}

.hero-copy>p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 22px;
}

.hero-copy .eyebrow {
  margin-bottom: 17px;
}

.quick-facts {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.quick-facts>span {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.quick-facts strong {
  color: var(--ink);
  font-weight: 550;
}

.quick-facts>a {
  font-size: 12px;
  color: var(--accent);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 26px;
}

.section-head>p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}

.listing {
  padding-block: 62px 56px;
}

.listing .eyebrow {
  margin-bottom: 9px;
}

.filters {
  display: flex;
  gap: 6px;
  margin-bottom: 17px;
  flex-wrap: wrap;
}

.filters button {
  padding: 6px 13px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  background: var(--surface);
  color: #565752;
  font-size: 12px;
}

.filters button[aria-pressed=true] {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  font-weight: 600;
}

.filters span {
  margin-left: 8px;
  font-size: 12px;
}

.offer-table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  table-layout: fixed;
  font-size: 12px;
}

.offer-table th,.offer-table td {
  padding: 0 18px;
  vertical-align: middle;
}

.offer-table thead {
  background: var(--surface);
}

.offer-table thead th {
  font-size: 12px;
  color: var(--muted);
}

.offer-table thead th:first-child {
  border-radius: var(--radius-panel);
}

.offer-table thead th:last-child {
  border-radius: var(--radius-panel);
}

.offer-table tbody tr {
  border-bottom: 1px solid var(--line);
  transition: background .15s;
}

.offer-table tbody tr:hover {
  background: #faf8f5;
}

.offer-table tbody th {
  font-weight: 600;
}

.offer-table td {
  font-variant-numeric: tabular-nums;
}

.offer-table tbody th>a {
  display: inline-block;
  padding: 8px 0;
}

.offer-table th:first-child {
  width: 15%;
}

.offer-table th:nth-child(2) {
  width: 15%;
}

.offer-table th:nth-child(3) {
  width: 18%;
}

.offer-table th:nth-child(4) {
  width: 18%;
}

.offer-table th:nth-child(5) {
  width: 17%;
}

.offer-table th:last-child {
  width: 17%;
}

.unit-open {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  color: var(--accent);
  padding-block: 12px;
}

.unit-open b {
  font-size: 17px;
  font-weight: 400;
}

.unit-open:hover span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mobile-floor,.mobile-terrace {
  display: none;
}

.listing>.fine {
  font-size: 12px;
}

.project {
  border-top: 1px solid var(--line);
  padding-block: 52px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 66px;
  align-items: center;
}

.project-photo {
  position: relative;
}

.project-photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center 48%;
  border-radius: var(--radius-panel);
}

.project-photo figcaption {
  position: absolute;
  left: 13px;
  bottom: 13px;
  font-size: 12px;
  padding: 5px 9px;
  border-radius: var(--radius-panel);
  background: var(--photo-label);
}

.project-copy h2 {
  margin-bottom: 18px;
}

.project-copy>p:not(.eyebrow) {
  font-size: 14px;
  color: var(--muted);
  max-width: 390px;
  line-height: 1.8;
  margin-bottom: 24px;
}

/* Locality stays visually light. Season controls also change the matching map. */

.seasons {
  padding-block: 52px 25px;
  background: #f6f6f3;
}

.seasons .section-head {
  margin-bottom: 18px;
}

.seasons h2 {
  font-size: 30px;
}

.seasons .eyebrow {
  margin-bottom: 10px;
}

.season-switch {
  display: flex;
  gap: 24px;
  margin-bottom: 22px;
  border-bottom: 1px solid #dedfd9;
}

.season-switch button {
  font-size: 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  padding: 9px 0;
  color: var(--muted);
  min-width: 42px;
}

.season-switch button[aria-pressed=true] {
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}

.season-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}

.season-photo {
  position: relative;
  height: 305px;
  border-radius: var(--radius-panel);
  overflow: hidden;
}

.season-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.season-photo figcaption {
  position: absolute;
  left: 13px;
  bottom: 13px;
  background: var(--photo-label);
  font-size: 12px;
  letter-spacing: .1em;
  padding: 6px 9px;
  border-radius: var(--radius-panel);
}

.season-number {
  display: none;
}

.season-copy {
  max-width: 390px;
}

.season-copy h3 {
  font-size: 27px;
  margin-bottom: 16px;
}

.season-copy>p:not(.fine) {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 20px;
}

.season-copy .text-link {
  font-size: 12px;
}

.season-copy .fine {
  font-size: 12px;
  margin-top: 16px;
  max-width: 340px;
}

.locality-extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 28px;
}

.map-panel {
  background: white;
  border-radius: var(--radius-panel);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 21px;
  align-items: center;
}

.map-panel h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.map-panel .eyebrow {
  font-size: 12px;
  margin-bottom: 10px;
}

.map-panel>div>p:not(.eyebrow) {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.map-panel .button {
  background: none;
  color: var(--accent);
  padding: 0;
  gap: 12px;
  font-size: 12px;
}

.map-preview {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  border-radius: var(--radius-panel);
  overflow: hidden;
  background: #f6f6f6;
}

.map-preview img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.map-preview span {
  position: absolute;
  bottom: 7px;
  right: 7px;
  padding: 4px 6px;
  background: white;
  font-size: 12px;
  border-radius: var(--radius-panel);
}

.map-credit {
  font-size: 12px !important;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 6px;
}

.map-credit a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.trip-story {
  background: white;
  border-radius: var(--radius-panel);
  padding: 21px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
}

.trip-story h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.trip-story .eyebrow {
  font-size: 12px;
  margin-bottom: 10px;
}

.trip-story p:not(.eyebrow) {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.7;
}

.trip-story .text-link {
  font-size: 12px;
}

.trip-story img {
  height: 160px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-panel);
}

.trip-story figcaption {
  display: none;
}

.photo-source {
  font-size: 12px;
  color: var(--muted);
  margin-top: 17px;
}

.photo-source a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact {
  padding-block: 55px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 65px;
}

.contact h2 {
  font-size: 28px;
  margin-bottom: 14px;
}

.contact .eyebrow {
  margin-bottom: 10px;
}

.contact #interest-summary {
  font-size: 12px;
  color: var(--muted);
  max-width: 440px;
}

.contact-pending {
  font-size: 13px;
  font-weight: 550;
}

.contact .fine {
  font-size: 12px;
  margin-top: 7px;
}

.contact a {
  color: var(--accent);
}

footer {
  padding-block: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

footer .brand {
  font-size: 28px;
}

footer .brand span {
  font-size: 12px;
}

footer p,footer>a:last-child {
  font-size: 12px;
  color: var(--muted);
}

/* Dedicated apartment detail: the model is the main surface. */

.explore {
  padding-block: 26px 45px;
}

.back {
  font-size: 12px;
  color: var(--muted);
  display: inline-block;
  margin-bottom: 22px;
}

.explore .section-head {
  margin-bottom: 17px;
}

.explore .eyebrow {
  font-size: 12px;
  margin-bottom: 8px;
}

.explore h1 {
  font-size: 32px;
}

.unit-tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 22px;
}

.unit-tabs button {
  font-size: 12px;
  border: 1px solid var(--line);
  padding: 6px 15px;
  background: white;
  color: var(--muted);
  border-radius: var(--radius-control);
}

.unit-tabs button[aria-pressed=true] {
  border-color: var(--accent);
  color: white;
  background: var(--accent);
  font-weight: 600;
}

.explorer {
  display: grid;
  gap: 26px;
  align-items: start;
}

.viewer-column {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  overflow: hidden;
}

.viewer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  background: white;
  border-bottom: 1px solid #eeefeb;
}

.segmented {
  display: flex;
  gap: 3px;
}

.segmented button {
  border: 0;
  background: white;
  padding: 7px 12px;
  border-radius: var(--radius-control);
  color: var(--muted);
  font-size: 12px;
  min-height: 44px;
}

.segmented button[aria-pressed=true] {
  background: var(--accent);
  color: white;
  font-weight: 550;
}

.icon-btn {
  font-size: 22px;
  background: white;
  border: 0;
  line-height: 1;
  color: var(--ink);
}

.viewport {
  height: 590px;
  position: relative;
  background: #fafafa;
  overflow: hidden;
  isolation: isolate;
}

.viewport canvas {
  height: 100%;
  width: 100%;
  display: block;
  touch-action: none;
  cursor: grab;
}

.viewport canvas:active {
  cursor: grabbing;
}

.viewport>img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  background: #fff;
}

.view-stamp {
  position: absolute;
  left: 18px;
  top: 15px;
  font-size: 12px;
  letter-spacing: .09em;
  pointer-events: none;
  font-weight: 550;
}

.view-stamp span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
  font-weight: 400;
}

.zoom-controls {
  position: absolute;
  right: 13px;
  bottom: 16px;
  padding: 3px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: white;
  box-shadow: none;
}

.zoom-controls button {
  border: 0;
  background: white;
  border-radius: var(--radius-control);
  width: 44px;
  height: 44px;
  color: var(--ink);
  font-size: 21px;
}

.zoom-controls button:hover {
  background: var(--surface);
}

#model-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  z-index: 5;
  padding: 25px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.viewer-bottom {
  border-top: 1px solid #eeefeb;
  padding: 12px 14px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

.viewer-bottom>div {
  display: flex;
  align-items: center;
}

.viewer-bottom select {
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: white;
  color: var(--ink);
}

.check {
  display: flex;
  gap: 4px;
  align-items: center;
}

.check input {
  accent-color: var(--accent);
}

.model-note {
  font-size: 12px;
  padding: 0 14px 12px;
  margin-top: 0;
  background: white;
}

.level-control {
  position: absolute;
  bottom: 15px;
  left: 15px;
  display: flex;
  gap: 3px;
  border: 1px solid var(--line);
  padding: 3px;
  background: white;
  border-radius: var(--radius-panel);
}

.level-control button {
  padding: 7px 10px;
  font-size: 12px;
  background: white;
  border: 0;
  border-radius: var(--radius-control);
  color: var(--muted);
  min-height: 44px;
}

.level-control button[aria-pressed=true] {
  background: var(--accent);
  color: white;
}

.unit-info {
  padding: 18px 0 0;
}

.unit-info .eyebrow {
  margin-bottom: 8px;
}

.unit-info h3 {
  font-size: 25px;
  margin-bottom: 12px;
}

.unit-description {
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 22px;
}

.unit-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 12px;
  margin: 0 0 24px;
}

.unit-facts dt {
  font-size: 12px;
  color: var(--muted);
}

.unit-facts dd {
  margin: 3px 0 0;
  font-size: 21px;
  letter-spacing: -.035em;
  font-weight: 500;
}

.room-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}

.room-heading h4 {
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 600;
}

.room-heading span {
  font-size: 12px;
  color: var(--muted);
}

.room-list {
  list-style: none;
  margin: 9px 0 0;
  padding: 0;
}

.room-list li {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  padding-block: 5px;
  color: var(--muted);
}

.room-list strong {
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.room-selected {
  font-size: 12px;
  color: var(--muted);
  min-height: 18px;
  margin: 14px 0 18px;
}

.download {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  border-top: 1px solid var(--line);
  padding-block: 14px;
}

.interest {
  width: 100%;
  padding: 13px 15px;
  font-size: 12px;
  gap: 12px;
}

.detail .contact {
  border-top: 1px solid var(--line);
}

.viewer-column:fullscreen,.viewer-column.expanded {
  background: #fafafa;
  display: flex;
  flex-direction: column;
  padding: 10px;
  border: 0;
  border-radius: 0;
}

.viewer-column:fullscreen .viewport,.viewer-column.expanded .viewport {
  flex: 1;
  height: auto;
}

.viewer-column:fullscreen .model-note,.viewer-column.expanded .model-note {
  display: none;
}

.viewer-column.expanded {
  position: fixed;
  inset: 0;
  z-index: 100;
}

/* Map dialog. */

.map-dialog {
  border: 0;
  padding: 0;
  border-radius: var(--radius-panel);
  width: calc(100vw - 48px);
  max-width: 1600px;
  height: calc(100dvh - 48px);
  max-height: none;
  background: #f7f7f4;
  color: var(--ink);
  overflow: hidden;
}

.map-dialog::backdrop {
  background: #252626b8;
}

.map-dialog[open] {
  display: flex;
  flex-direction: column;
}

.map-dialog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 20px;
  background: white;
  border-bottom: 1px solid var(--line);
}

.map-dialog h2 {
  font-size: 20px;
  margin: 0;
}

.map-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

.map-tools button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: white;
  color: var(--ink);
  font-size: 21px;
}

.map-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: pan-x pan-y;
}

.map-stage {
  min-width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-stage img {
  max-width: none;
  flex: none;
  object-fit: contain;
}

.map-dialog-note {
  padding: 10px 20px;
  margin: 0;
  font-size: 12px;
  background: white;
}

.map-dialog-note a {
  text-decoration: underline;
}

.map-dialog-open {
  overflow: hidden;
}

.skip {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  background: white;
  padding: 12px;
}

.skip:focus {
  top: 10px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

@media (min-width:1500px) {
  .hero {
    height: 530px;
  }
  .hero-copy {
    width: 438px;
    padding: 34px;
  }
  .viewport {
    height: 620px;
  }
}

@media (max-width:1000px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .hero {
    height: 460px;
  }
  .hero-copy {
    width: 370px;
    padding: 25px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .quick-facts {
    gap: 15px;
  }
  .quick-facts>a {
    display: none;
  }
  .project {
    gap: 40px;
  }
  .season-layout {
    gap: 35px;
  }
  .map-panel,.trip-story {
    padding: 18px;
    gap: 13px;
    grid-template-columns: 1fr 1fr;
  }
  .locality-extras {
    gap: 16px;
  }
  .map-panel h3,.trip-story h3 {
    font-size: 18px;
  }
  .explorer {
    gap: 22px;
  }
  .viewport {
    height: 555px;
  }
  .viewer-bottom {
    flex-wrap: wrap;
  }
  .contact {
    gap: 40px;
  }
}

@media (max-width:760px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .brand {
    font-size: 30px;
  }
  .brand span {
    display: none;
  }
  .hero {
    height: 455px;
  }
  .hero-copy {
    left: 18px;
    bottom: 18px;
    width: 345px;
    padding: 24px;
  }
  .hero h1 {
    font-size: 37px;
  }
  .quick-facts {
    padding-block: 20px;
  }
  .quick-facts>span {
    display: block;
  }
  .quick-facts strong {
    display: block;
    margin-bottom: 3px;
  }
  .section-head {
    align-items: flex-start;
    gap: 18px;
  }
  .section-head>p {
    font-size: 12px;
    max-width: 210px;
  }
  .section-head>p br {
    display: none;
  }
  h2 {
    font-size: 29px;
  }
  .listing {
    padding-block: 43px;
  }
  .project {
    gap: 28px;
    padding-block: 38px;
  }
  .project-photo img {
    height: 280px;
  }
  .project-copy>p:not(.eyebrow) {
    font-size: 12px;
    line-height: 1.8;
  }
  .project-copy h2 {
    font-size: 27px;
  }
  .season-layout {
    gap: 28px;
  }
  .season-photo {
    height: 290px;
  }
  .season-copy h3 {
    font-size: 23px;
  }
  .season-copy>p:not(.fine) {
    font-size: 12px;
  }
  .season-copy .text-link {
    font-size: 12px;
  }
  .locality-extras {
    grid-template-columns: 1fr;
  }
  .map-panel,.trip-story {
    grid-template-columns: 1fr 1fr;
    padding: 20px;
  }
  .map-preview img {
    height: 155px;
  }
  .trip-story img {
    height: 150px;
  }
  .seasons {
    padding-block: 40px 24px;
  }
  .seasons h2 {
    font-size: 28px;
  }
  .contact {
    gap: 30px;
    padding-block: 40px;
  }
  .contact h2 {
    font-size: 25px;
  }
  .offer-table .floor-col {
    display: none;
  }
  .offer-table th:first-child {
    width: 17%;
  }
  .offer-table th:nth-child(2) {
    width: 18%;
  }
  .offer-table th:nth-child(4) {
    width: 24%;
  }
  .offer-table th:nth-child(5) {
    width: 20%;
  }
  .offer-table th:last-child {
    width: 21%;
  }
  .mobile-floor {
    display: block;
    font-size: 12px;
    color: var(--muted);
    font-weight: 400;
    line-height: 1.25;
  }
  .offer-table tbody th>a {
    padding: 0;
  }
  .offer-table tbody tr {
    height: 58px;
  }
  .offer-table {
    font-size: 12px;
  }
  .unit-open {
    font-size: 12px;
    gap: 9px;
  }
  .explorer {
    gap: 22px;
  }
  .viewport {
    height: 570px;
  }
  .unit-info {
    padding: 0 5px;
  }
  .unit-facts {
    grid-template-columns: repeat(4,1fr);
  }
  .viewer-bottom {
    flex-wrap: nowrap;
  }
  .explore {
    padding-top: 18px;
  }
  .back {
    margin-bottom: 17px;
  }
  .detail .contact {
    grid-template-columns: 1fr 1fr;
  }
  .unit-info h3 {
    font-size: 23px;
  }
  .room-list li {
    font-size: 12px;
  }
  .interest {
    font-size: 12px;
  }
  footer p {
    display: none;
  }
}

@media (max-width:480px) {
  .brand {
    font-size: 29px;
  }
  .hero {
    height: auto;
    display: flex;
    flex-direction: column;
  }
  .hero-photo {
    height: 295px;
    border-radius: var(--radius-panel);
  }
  .hero-photo img {
    object-position: 66% center;
  }
  .hero-photo figcaption {
    top: 10px;
    right: 10px;
    font-size: 12px;
  }
  .hero-copy {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin: -34px 12px 0;
    padding: 24px 20px 0;
    border-radius: var(--radius-panel);
    box-shadow: none;
  }
  .hero h1 {
    font-size: 34px;
    line-height: 1.16;
    margin-bottom: 14px;
  }
  .hero-copy .eyebrow {
    font-size: 12px;
    margin-bottom: 13px;
  }
  .hero-copy>p:not(.eyebrow) {
    font-size: 12px;
    margin-bottom: 20px;
  }
  .hero-copy>p br {
    display: none;
  }
  .hero-copy .button {
    font-size: 12px;
    padding: 12px 16px;
    gap: 28px;
  }
  .quick-facts {
    margin-top: 27px;
    padding-block: 19px;
    gap: 12px;
    border-top: 1px solid var(--line);
  }
  .section-head {
    display: block;
    margin-bottom: 21px;
  }
  .section-head>p {
    margin-top: 13px;
    max-width: none;
    font-size: 12px;
  }
  .listing {
    padding-block: 36px;
  }
  .eyebrow {
    font-size: 12px;
    margin-bottom: 10px;
  }
  h2 {
    font-size: 27px;
  }
  .offer-table .terrace-col {
    display: none;
  }
  .offer-table th:first-child {
    width: 23%;
  }
  .offer-table th:nth-child(2) {
    width: 21%;
  }
  .offer-table th:nth-child(4) {
    width: 37%;
  }
  .offer-table th:last-child {
    width: 19%;
  }
  .offer-table thead th {
    height: 34px;
    font-size: 12px;
  }
  .offer-table tbody th {
    font-size: 13px;
  }
  .offer-table tbody tr {
    height: 53px;
  }
  .offer-table td {
    font-size: 12px;
  }
  .mobile-floor {
    font-size: 12px;
  }
  .mobile-terrace {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
  }
  .unit-open {
    justify-content: flex-end;
    padding: 9px 0;
  }
  .unit-open span {
    display: none;
  }
  .unit-open b {
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border-radius: var(--radius-panel);
    background: #f7f2ef;
    font-size: 16px;
  }
  .listing>.fine {
    font-size: 12px;
  }
  .filters {
    gap: 5px;
    margin-bottom: 14px;
  }
  .filters button {
    font-size: 12px;
    padding: 6px 11px;
  }
  .project {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-block: 30px 37px;
  }
  .project-photo img {
    height: 250px;
  }
  .project-copy>p:not(.eyebrow) {
    font-size: 13px;
    margin-bottom: 20px;
  }
  .project-copy h2 {
    font-size: 27px;
    margin-bottom: 14px;
  }
  .season-layout {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .season-photo {
    height: 245px;
  }
  .season-copy {
    max-width: none;
  }
  .season-copy h3 {
    font-size: 24px;
    margin-bottom: 12px;
  }
  .season-copy h3 br {
    display: none;
  }
  .season-copy>p:not(.fine) {
    font-size: 12px;
    margin-bottom: 15px;
  }
  .season-copy .fine {
    font-size: 12px;
    max-width: none;
    margin-top: 12px;
  }
  .seasons {
    padding-block: 35px 22px;
  }
  .seasons h2 {
    font-size: 27px;
  }
  .season-switch {
    margin-bottom: 18px;
    gap: 23px;
  }
  .season-switch button {
    font-size: 12px;
  }
  .locality-extras {
    margin-top: 23px;
    gap: 13px;
  }
  .map-panel,.trip-story {
    padding: 16px;
  }
  .map-panel h3,.trip-story h3 {
    font-size: 18px;
  }
  .map-panel .eyebrow,.trip-story .eyebrow {
    font-size: 12px;
  }
  .map-panel>div>p:not(.eyebrow),.trip-story p:not(.eyebrow) {
    font-size: 12px;
  }
  .map-preview img {
    height: 144px;
  }
  .trip-story img {
    height: 168px;
  }
  .map-preview span {
    font-size: 12px;
    padding: 4px;
  }
  .map-credit {
    font-size: 12px !important;
  }
  .map-panel .button {
    font-size: 12px;
    gap: 8px;
  }
  .trip-story .text-link {
    font-size: 12px;
  }
  .photo-source {
    font-size: 12px;
  }
  .contact,.detail .contact {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 35px;
  }
  .contact h2 {
    font-size: 26px;
  }
  .contact #interest-summary {
    font-size: 12px;
  }
  .contact-pending {
    font-size: 12px;
  }
  footer {
    padding-block: 22px;
    gap: 20px;
  }
  footer .brand {
    font-size: 26px;
  }
  footer>a:last-child {
    font-size: 12px;
  }
  .explore h1 {
    font-size: 29px;
  }
  .explore .section-head {
    margin-bottom: 17px;
  }
  .unit-tabs {
    gap: 5px;
    margin-bottom: 17px;
  }
  .unit-tabs button {
    padding: 7px 0;
    font-size: 12px;
  }
  .viewport {
    height: 430px;
  }
  .segmented button {
    padding: 7px 9px;
  }
  .icon-btn {
    width: 44px;
    font-size: 20px;
    height: 44px;
  }
  .view-stamp {
    left: 13px;
    top: 12px;
    font-size: 12px;
  }
  .view-stamp span {
    font-size: 12px;
  }
  .viewer-bottom {
    padding: 11px;
    flex-wrap: wrap;
    font-size: 12px;
    gap: 7px;
  }
  .viewer-bottom select {
    font-size: 12px;
    min-height: 44px;
  }
  .model-note {
    font-size: 12px;
    padding: 0 11px 10px;
  }
  .level-control {
    left: 10px;
    bottom: 13px;
  }
  .level-control button {
    padding: 7px;
  }
  .unit-info {
    padding-inline: 1px;
  }
  .unit-info h3 {
    font-size: 24px;
  }
  .unit-description {
    font-size: 12px;
  }
  .unit-facts dd {
    font-size: 23px;
  }
  .room-list li {
    font-size: 12px;
  }
  .map-dialog {
    width: calc(100vw - 16px);
    height: calc(100dvh - 24px);
  }
  .map-dialog-toolbar {
    padding: 12px;
    gap: 8px;
  }
  .map-dialog h2 {
    font-size: 15px;
    max-width: 125px;
  }
  .map-tools {
    gap: 4px;
  }
  .map-tools button {
    width: 32px;
    height: 35px;
    font-size: 19px;
  }
  .map-dialog-note {
    font-size: 12px;
    padding: 10px 12px;
  }
}

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

/* Availability stays readable as text, including on small screens. */

.availability-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}

.availability-status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.is-volne {
  color: #366449;
}

.is-rezervovano {
  color: #886021;
}

.is-prodano {
  color: #8d4942;
}

.is-na-dotaz {
  color: #686965;
}

.availability-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}

.availability-label {
  font-size: 12px;
  color: var(--muted);
}

.availability-detail .availability-status {
  font-size: 12px;
}

.offer-table thead th:nth-child(1) {
  width: 13%;
}

.offer-table thead th:nth-child(2) {
  width: 12%;
}

.offer-table thead th:nth-child(3) {
  width: 17%;
}

.offer-table thead th:nth-child(4) {
  width: 15%;
}

.offer-table thead th:nth-child(5) {
  width: 13%;
}

.offer-table thead th:nth-child(6) {
  width: 16%;
}

.offer-table thead th:nth-child(7) {
  width: 14%;
}

@media (max-width:760px) {
  .offer-table th,.offer-table td {
    padding-inline: 10px;
  }
  .offer-table thead th:nth-child(5) {
    width: 17%;
  }
  .unit-open span {
    display: none;
  }
}

@media (max-width:480px) {
  .offer-table th,.offer-table td {
    padding-inline: 6px;
  }
  .offer-table thead th:nth-child(2) {
    width: 17%;
  }
  .offer-table .availability-status {
    gap: 0;
  }
  .offer-table .availability-status::before {
    display: none;
  }
}

/* Readable typography without enlarging the apartment list into cards. */

.hero-copy>p:not(.eyebrow),.project-copy>p:not(.eyebrow),.season-copy>p:not(.fine),.unit-description,.contact #interest-summary {
  font-size: 16px;
  line-height: 1.75;
}

.button,.text-link,.season-copy .text-link,.section-head>p,.quick-facts,.quick-facts>a,.filters button,.season-switch button,.unit-tabs button,.segmented button,.viewer-bottom,.room-list li,.download,.interest,.contact-pending {
  font-size: 14px;
}

.quick-facts strong {
  font-size: 17px;
}

.offer-table,.offer-table td {
  font-size: 14px;
}

.offer-table tbody th {
  font-size: 16px;
}

.offer-table tbody tr {
  height: 62px;
}

.offer-table thead th {
  height: 42px;
  font-weight: 600;
}

.unit-open {
  font-size: 13px;
  gap: 10px;
}

.availability-status,.availability-detail .availability-status {
  font-size: 13px;
}

.map-panel>div>p:not(.eyebrow),.trip-story p:not(.eyebrow),.map-panel .button,.trip-story .text-link,.unit-facts dt,.room-heading h4,.back,footer>a:last-child {
  font-size: 14px;
}

.viewer-bottom {
  flex-wrap: wrap;
  gap: 12px;
}

.viewer-bottom select {
  font-size: 16px;
  min-height: 44px;
}

.viewer-bottom>div {
  flex-wrap: wrap;
  gap: 10px;
}

.unit-tabs {
  flex-wrap: wrap;
}

.unit-tabs button,.filters button,.segmented button {
  min-height: 40px;
}

.icon-btn {
  min-width: 40px;
  min-height: 40px;
  width: 44px;
  height: 44px;
}

.text-link {
  gap: 14px;
}

.brand span {
  max-width: 120px;
  letter-spacing: .1em;
}

.map-preview span {
  white-space: normal;
  text-align: center;
}

.explorer {
  grid-template-columns: minmax(0,1fr) 310px;
}

.mobile-type {
  display: none;
}

.offer-table td {
  white-space: normal;
}

.offer-table .area-cell {
  white-space: nowrap;
}

.mobile-terrace {
  white-space: normal;
}

.mobile-floor {
  line-height: 1.4;
}

.availability-status {
  font-weight: 600;
}

@media (max-width:1000px) {
  .explorer {
    grid-template-columns: minmax(0,1fr) 280px;
  }
  .locality-extras {
    grid-template-columns: 1fr;
  }
  .offer-table th,.offer-table td {
    padding-inline: 10px;
  }
  .offer-table .floor-col {
    overflow-wrap: anywhere;
  }
}

@media (max-width:760px) {
  .explorer {
    grid-template-columns: 1fr;
  }
  .project {
    grid-template-columns: 1fr;
  }
  .project-copy>p:not(.eyebrow) {
    max-width: none;
  }
  .season-layout {
    grid-template-columns: 1fr;
  }
  .season-copy {
    max-width: none;
  }
  .quick-facts {
    font-size: 13px;
    gap: 10px;
  }
  .quick-facts strong {
    font-size: 16px;
  }
  .offer-table .terrace-col {
    display: none;
  }
  .mobile-terrace {
    display: block;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
  }
  .offer-table thead th:nth-child(1) {
    width: 19%;
  }
  .offer-table thead th:nth-child(2) {
    width: 15%;
  }
  .offer-table thead th:nth-child(4) {
    width: 28%;
  }
  .offer-table thead th:nth-child(6) {
    width: 28%;
  }
  .offer-table thead th:nth-child(7) {
    width: 10%;
  }
}

@media (max-width:480px) {
  .hero-copy {
    margin-inline: 0;
    padding-inline: 16px;
  }
  .hero-photo figcaption {
    max-width: calc(100% - 20px);
  }
  .quick-facts strong {
    font-size: 14px;
  }
  .quick-facts {
    font-size: 12px;
  }
  .offer-table .type-col {
    display: none;
  }
  .mobile-type {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
  }
  .offer-table th,.offer-table td {
    padding: 10px 4px;
  }
  .offer-table thead th:nth-child(1) {
    width: 25%;
  }
  .offer-table thead th:nth-child(4) {
    width: 32%;
  }
  .offer-table thead th:nth-child(6) {
    width: 32%;
  }
  .offer-table thead th:nth-child(7) {
    width: 11%;
  }
  .offer-table .availability-status {
    font-size: 12px;
  }
  .offer-table .mobile-floor {
    font-size: 12px;
  }
  .offer-table .unit-open b {
    width: 28px;
    height: 38px;
  }
  .offer-table .mobile-terrace {
    max-width: 95px;
  }
  .filters button {
    padding-inline: 10px;
  }
  .map-panel,.trip-story {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .map-preview img,.trip-story img {
    height: 190px;
  }
  .unit-tabs button {
    flex: 1 0 38px;
  }
  .segmented button {
    font-size: 13px;
    padding-inline: 7px;
    min-height: 44px;
  }
  .viewer-toolbar {
    padding: 6px;
    gap: 2px;
  }
  .level-control button {
    font-size: 12px;
    min-height: 44px;
  }
  .viewer-bottom>div {
    gap: 8px;
  }
  .unit-facts {
    grid-template-columns: 1fr 1fr;
  }
  .view-stamp {
    background: var(--photo-label);
    padding: 5px 7px;
    border-radius: var(--radius-panel);
  }
  footer {
    align-items: flex-start;
  }
  footer>a:last-child {
    text-align: right;
    max-width: 170px;
  }
}

/* Compact interior gallery and one direct entrance to the real 3D model. */

.gallery {
  padding-block: 52px 60px;
  border-top: 1px solid var(--line);
}

.gallery .section-head {
  gap: 32px;
}

.gallery .section-head>p {
  max-width: 290px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr .575fr .575fr;
  grid-template-rows: 230px 210px;
  gap: 16px;
}

.gallery-photo {
  position: relative;
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-panel);
  overflow: hidden;
  background: var(--surface);
  text-align: left;
  color: var(--ink);
}

.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}

.gallery-photo:hover img {
  transform: scale(1.025);
}

.gallery-main {
  grid-row: span 2;
}

.gallery-main img {
  object-position: 48% center;
}

.gallery-photo-caption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: var(--photo-label);
  border-radius: var(--radius-panel);
  font-size: 14px;
  line-height: 1.4;
}

.gallery-photo-caption>span:last-child {
  font-size: 22px;
  line-height: 1;
}

.gallery-model {
  grid-column: 2/4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px;
  background: #f7f3ee;
  border-radius: var(--radius-panel);
}

.gallery-model .eyebrow {
  margin-bottom: 12px;
}

.gallery-model h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.gallery-model p:not(.eyebrow) {
  font-size: 14px;
  color: var(--muted);
}

.gallery-model-link {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 20px;
}

.gallery-model:hover .gallery-model-link {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.gallery-model-mark {
  font-size: 64px;
  letter-spacing: -.08em;
  color: #b58b74;
  font-weight: 500;
  line-height: 1;
}

.gallery>.fine {
  max-width: 820px;
}

.gallery-dialog {
  padding: 0;
  border: 0;
  border-radius: var(--radius-panel);
  background: white;
  color: var(--ink);
  width: min(1200px,calc(100vw - 40px));
  height: min(880px,calc(100dvh - 40px));
  max-width: none;
  max-height: none;
  overflow: hidden;
}

.gallery-dialog[open] {
  display: flex;
  flex-direction: column;
}

.gallery-dialog::backdrop {
  background: #252626ba;
}

.gallery-dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
}

.gallery-dialog-top .eyebrow {
  margin-bottom: 6px;
}

.gallery-dialog h2 {
  font-size: 24px;
  letter-spacing: -.03em;
}

.gallery-close,.gallery-dialog-bottom button {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  background: var(--surface);
  color: var(--ink);
  border: 0;
  border-radius: var(--radius-control);
  font-size: 26px;
}

.gallery-image-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #f6f6f3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-image-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-image-stage img.is-loading {
  opacity: 0;
}

#gallery-image-status {
  position: absolute;
  padding: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.gallery-dialog-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 12px 20px;
}

.gallery-dialog-bottom p {
  min-width: 52px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.gallery-dialog-open {
  overflow: hidden;
}

@media (max-width:1000px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 230px auto;
  }
  .gallery-main {
    grid-column: 1/3;
    grid-row: auto;
  }
  .gallery-model {
    grid-column: 1/3;
  }
  .gallery-main img {
    object-position: center 52%;
  }
}

@media (max-width:480px) {
  .gallery {
    padding-block: 35px 40px;
  }
  .gallery .section-head>p {
    max-width: none;
  }
  .gallery-grid {
    grid-template-rows: 230px 180px auto;
    gap: 12px;
  }
  .gallery-photo-caption {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 8px;
    font-size: 13px;
  }
  .gallery-photo-caption>span:last-child {
    font-size: 18px;
  }
  .gallery-model {
    padding: 22px 18px;
    gap: 10px;
  }
  .gallery-model h3 {
    font-size: 23px;
  }
  .gallery-model-mark {
    font-size: 42px;
  }
  .gallery-model .eyebrow {
    font-size: 12px;
    letter-spacing: .08em;
  }
  .gallery-model-link {
    gap: 10px;
  }
  .gallery-dialog {
    width: calc(100vw - 16px);
    height: calc(100dvh - 24px);
  }
  .gallery-dialog-top {
    padding: 14px;
    gap: 12px;
  }
  .gallery-dialog h2 {
    font-size: 21px;
  }
  .gallery-dialog-top .eyebrow {
    font-size: 12px;
  }
  .gallery-dialog-bottom {
    padding: 10px;
  }
  .gallery-model p:not(.eyebrow) {
    font-size: 13px;
  }
}
