/* Vila Richter — light editorial design, study images and accessible interactions. */

html {
  scroll-padding-top: 32px;
}

body {
  font-size: 16px;
}

.wrap {
  width: min(1280px,calc(100% - 112px));
}

h1,h2,h3,h4 {
  font-weight: 400;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: .17em;
  font-weight: 600;
  color: var(--accent);
}

.button {
  border-radius: var(--radius-control);
  padding: 14px 20px;
  min-height: 48px;
  font-size: 14px;
  font-weight: 500;
}

.text-link {
  font-size: 14px;
  gap: 26px;
}

.fine {
  font-size: 12px;
  line-height: 1.7;
}

.brand {
  gap: 12px;
  flex-shrink: 0;
}

.brand .brand-monogram {
  display: block;
  font: 48px/.9 var(--brand-serif);
  color: var(--accent);
  border: 0;
  max-width: none;
  padding: 0 12px 0 0;
  letter-spacing: -.08em;
  border-right: 1px solid var(--line);
}

.brand .brand-name {
  display: block;
  font: 15px/1.15 var(--sans);
  font-weight: 500;
  letter-spacing: .16em;
  border: 0;
  padding: 0;
  max-width: none;
}

.brand small {
  display: block;
  font: 9px/1.2 var(--sans);
  letter-spacing: .2em;
  margin-top: 8px;
}

.intro-story {
  padding-block: var(--section-space);
}

.intro-story>div:not(.amenities) {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.richter-home h2 {
  font: 500 clamp(28px,2.9vw,40px)/1.16 var(--sans);
  letter-spacing: -.035em;
}

.richter-home h2 em {
  font: inherit;
  font-style: normal;
  color: inherit;
}

.intro-story>div>p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 460px;
}

.amenities {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.amenities>div {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.amenities>div:first-child {
  padding-left: 0;
  border: 0;
}

.amenities span {
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--accent);
}

.amenities strong {
  display: block;
  margin: 10px 0 5px;
  font-size: 17px;
  font-weight: 400;
}

.amenities p {
  font-size: 13px;
  color: var(--muted);
}

.section-head {
  margin-bottom: 28px;
  gap: 45px;
}

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

.building-section {
  background: transparent;
  padding-block: 0;
  scroll-margin-top: 20px;
}

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

.building-visual {
  min-width: 0;
}

.building-canvas {
  position: relative;
  border-radius: var(--radius-panel);
  overflow: hidden;
  isolation: isolate;
  background: #ddd8cf;
  aspect-ratio: 16/9;
}

.building-scene>img {
  display: block;
}

.floor-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floor-overlay polygon {
  fill: #f5ead300;
  stroke: transparent;
  stroke-width: 1.5;
  transition: fill .3s,stroke .3s;
  vector-effect: non-scaling-stroke;
}

.floor-marker {
  position: absolute;
  transform: translate(-50%,-50%);
  padding: 6px 13px;
  min-height: 36px;
  border: 1px solid #ffffffa8;
  background: var(--photo-label);
  color: var(--ink);
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  transition: background .2s,box-shadow .2s;
  white-space: nowrap;
}

.floor-marker.is-active {
  background: var(--graphite);
  color: white;
  border-color: #fffbef;
  z-index: 2;
}

.floor-marker:hover {
  box-shadow: none;
}

.building-view-label {
  position: absolute;
  left: 17px;
  top: 15px;
  background: var(--photo-label);
  padding: 6px 10px;
  border-radius: var(--radius-panel);
  font-size: 9px;
  letter-spacing: .1em;
}

.building-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
}

.building-views {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.building-views button {
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  background: transparent;
  padding: 10px 15px;
  font-size: 12px;
  color: var(--muted);
  min-height: 42px;
}

.building-views button[aria-pressed=true] {
  background: var(--graphite);
  border-color: var(--graphite);
  color: white;
}

.building-tip {
  font-size: 11px;
  color: var(--muted);
}

.building-tip span {
  margin-left: 13px;
}

.building-credit {
  font-size: 11px;
  margin-top: 14px;
}

.building-loading {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: white;
  padding: 8px;
  border-radius: var(--radius-panel);
  font-size: 12px;
  text-align: center;
}

.listing {
  padding-block: 28px 0;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.listing .section-head>p {
  max-width: 340px;
}

.listing .filters {
  margin-top: 18px;
  gap: 9px;
  margin-bottom: 16px;
}

.filters button {
  border-radius: var(--radius-control);
  padding: 9px 17px;
  font-size: 12px;
  min-height: 44px;
}

.offer-table-wrap {
  border-radius: var(--radius-panel);
  overflow: hidden;
  background: white;
}

.offer-table thead {
  background: #eee9e1;
}

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

.offer-table tbody th {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 400;
}

.offer-table thead th {
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .02em;
}

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

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

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

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

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

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

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

.unit-open span {
  display: none;
}

.unit-open b {
  border: 1px solid #d9d2c8;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-size: 19px;
}

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

.availability-status.is-volne {
  color: var(--available);
}

.availability-status.is-prodano {
  color: #746e67;
}

.listing>.fine {
  margin-top: 20px;
}

.architecture {
  display: grid;
  grid-template-columns: .85fr 1.2fr;
  gap: 56px;
  align-items: center;
  padding-block: var(--section-space);
}

.architecture-copy>p:not(.eyebrow):not(.fine) {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  margin: 25px 0;
  max-width: 420px;
}

.architecture-photo {
  height: 360px;
  border-radius: var(--radius-panel);
}

.architecture-photo img {
  object-position: center;
  transition: transform .5s;
}

.architecture-copy .fine {
  font-size: 11px;
  margin-top: 30px;
}

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

.gallery-grid {
  grid-template-columns: 1.2fr .6fr .6fr;
  grid-template-rows: 195px 185px;
  gap: 18px;
}

.gallery-photo,.gallery-model {
  border-radius: var(--radius-panel);
}

.gallery-photo-caption {
  border-radius: var(--radius-panel);
  padding: 13px 16px;
  background: var(--photo-label);
}

.gallery-model {
  background: var(--surface);
  padding: 24px;
}

.gallery-model h3 {
  font-family: var(--sans);
  font-size: 26px;
}

.gallery-model .eyebrow {
  font-size: 10px;
}

.gallery-model-mark {
  font: 64px/1 var(--sans);
  color: #877462;
}

.gallery-dialog,.map-dialog {
  border-radius: var(--radius-panel);
}

.gallery-dialog h2 {
  font: 25px var(--sans);
}

.history-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  padding-block: var(--section-space);
  align-items: center;
}

.history-images {
  position: relative;
  min-height: 0;
  display: grid;
  align-items: end;
  padding: 0;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  max-width: none;
}

.history-photo {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: transparent;
  flex: none;
  border-radius: 0;
  box-shadow: none;
  cursor: zoom-in;
  max-height: none;
}

.history-photo img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  object-position: left bottom;
}

.history-secondary {
  position: static;
  width: 100%;
  right: 0;
  bottom: 28px;
  border: 0;
  transform: none;
  max-height: none;
}

.history-year {
  position: absolute;
  left: 0;
  font: 100px/.9 var(--sans);
  letter-spacing: -.06em;
  color: #877462;
  display: none;
}

.history-copy>p:not(.eyebrow):not(.fine) {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin: 18px 0;
}

.history-copy .fine {
  margin-top: 26px;
  font-size: 11px;
}

.ski-story {
  text-align: left;
  padding-block: var(--section-space);
  border-top: 1px solid var(--line);
}

.ski-story h2 {
  font-size: 32px;
}

.ski-journey {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-top: 0;
  text-align: left;
}

.ski-journey>div {
  border-top: 1px solid #d8d1c6;
  padding-top: 18px;
}

.ski-journey span {
  font: 33px/1 var(--sans);
  color: #877462;
  font-size: 24px;
}

.ski-journey h3 {
  font-size: 16px;
  margin: 12px 0 8px;
  letter-spacing: -.02em;
}

.ski-journey p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.seasons {
  padding-block: var(--section-space);
  background: var(--surface);
}

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

.season-switch {
  gap: 25px;
}

.season-switch button {
  font-size: 14px;
  min-height: 44px;
}

.season-layout {
  gap: 40px;
  grid-template-columns: 1.3fr 1fr;
}

.season-photo {
  height: 320px;
  border-radius: var(--radius-panel);
}

.season-photo figcaption {
  border-radius: var(--radius-panel);
  font-size: 10px;
}

.season-copy h3 {
  font: 500 32px/1.2 var(--sans);
  letter-spacing: -.025em;
  font-size: 28px;
}

.season-copy>p:not(.fine) {
  font-size: 15px;
}

.family-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  background: white;
  border-radius: var(--radius-panel);
  margin: 0;
  padding: 20px;
  align-items: start;
}

.family-story>figure {
  position: relative;
  min-width: 0;
}

.family-story img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-panel);
  object-position: 45% center;
}

.family-story figcaption {
  font-size: 10px;
  color: var(--muted);
  margin-top: 9px;
}

.family-story h3 {
  font: 500 28px/1.2 var(--sans);
  letter-spacing: -.025em;
  margin-bottom: 12px;
  font-size: 25px;
}

.family-story>div>p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.family-story .eyebrow {
  font-size: 10px;
}

.locality-extras {
  gap: 24px;
  margin-top: 0;
}

.map-panel,.trip-story {
  border-radius: var(--radius-panel);
  padding: 26px;
}

.map-panel h3,.trip-story h3 {
  font-family: var(--sans);
  font-size: 25px;
}

.map-preview img,.trip-story img {
  border-radius: var(--radius-panel);
}

.map-preview img {
  object-fit: contain;
}

.photo-source {
  font-size: 10px;
  margin-top: 25px;
}

.closing {
  text-align: center;
  padding-block: 56px;
}

.closing h2 {
  font-size: 36px;
  margin-bottom: 0;
}

.closing .fine {
  font-size: 11px;
  margin-top: 12px;
}

footer {
  padding-block: 32px 40px;
  gap: 40px;
}

footer p {
  line-height: 1.9;
  font-size: 11px;
}

footer>.brand {
  font-size: initial;
}

footer>a:last-child {
  font-size: 20px;
  color: var(--accent);
  max-width: none;
}

.to-top {
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.detail .explore {
  padding-top: 20px;
}

.detail .explore h1 {
  font: 500 clamp(34px,3.4vw,48px)/1.16 var(--sans);
  letter-spacing: -.04em;
}

.detail .explorer {
  gap: 32px;
  grid-template-columns: minmax(0,1fr) 315px;
}

.detail .viewer-column {
  border-radius: var(--radius-panel);
  border-color: var(--line);
}

.detail .unit-info {
  padding: 24px;
  border-radius: var(--radius-panel);
  background: var(--surface);
}

.detail .unit-info h3 {
  font: 31px/1.1 var(--sans);
}

.detail .unit-tabs button {
  border-radius: var(--radius-control);
  min-width: 58px;
  min-height: 44px;
}

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

.detail .interest {
  font-size: 13px;
}

.detail .contact {
  padding-block: 45px 65px;
}

.detail .contact h2 {
  font: 500 32px/1.2 var(--sans);
}

.detail .contact a.button,
.detail .contact a.button:hover {
  color: #fff;
}

.detail .unit-description {
  font-size: 14px;
}

.detail .unit-facts {
  gap: 10px;
}

.detail .viewport {
  height: 630px;
}

.detail .unit-facts dd {
  font-size: 22px;
}

.detail .unit-tabs {
  margin-block: 24px;
}

.detail .back {
  font-size: 12px;
}

.reveal {
  transition: opacity .8s,transform .8s;
}

.reveal:not(.revealed) {
  transform: translateY(18px);
}

@keyframes opening-image {
  from {
    transform: scale(1.025);
    opacity: .4;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

[hidden] {
  display: none !important;
}

@media (max-width:1150px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .building-tip {
    display: none;
  }
  .intro-story>div:not(.amenities) {
    gap: 45px;
  }
  .history-section {
    gap: 64px;
    padding-block: var(--section-space);
  }
  .history-images {
    min-height: 0;
    padding-right: 35px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 16px;
    align-items: end;
    padding: 0;
    max-width: none;
  }
  .architecture {
    gap: 56px;
    padding-block: var(--section-space);
  }
  .architecture-photo {
    height: 360px;
  }
  .family-story {
    gap: 18px;
    grid-template-columns: 1fr;
    margin: 0;
    padding: 20px;
    align-items: start;
  }
  .family-story img {
    height: 180px;
  }
  .detail .explorer {
    grid-template-columns: minmax(0,1fr) 280px;
  }
  .detail .unit-info {
    padding: 18px;
  }
}

@media (max-width:900px) {
  .brand .brand-name {
    font-size: 12px;
  }
  .brand .brand-monogram {
    font-size: 40px;
  }
  .building-toolbar {
    padding-top: 12px;
  }
  .building-tip {
    display: block;
  }
  .intro-story {
    padding-block: var(--section-space);
  }
  .architecture {
    gap: 56px;
    padding-block: var(--section-space);
  }
  .architecture-photo {
    height: 310px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 330px 200px auto;
  }
  .gallery-main {
    grid-column: 1/3;
    grid-row: auto;
  }
  .gallery-model {
    grid-column: 1/3;
    padding: 24px;
  }
  .history-section {
    gap: 64px;
    padding-block: var(--section-space);
  }
  .history-images {
    min-height: 0;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 16px;
    align-items: end;
    padding: 0;
    max-width: none;
  }
  .history-year {
    font-size: 80px;
    display: none;
  }
  .ski-journey {
    gap: 24px;
    margin-top: 0;
  }
  .season-layout {
    gap: 40px;
  }
  .season-photo {
    height: 320px;
  }
  .family-story {
    padding: 20px;
    gap: 18px;
    grid-template-columns: 1fr;
    margin: 0;
    align-items: start;
  }
  .family-story h3 {
    font-size: 25px;
    font: 500 28px/1.2 var(--sans);
    margin-bottom: 12px;
  }
  .family-story img {
    height: 180px;
  }
  .detail .explorer {
    grid-template-columns: 1fr;
  }
  .detail .viewport {
    height: 540px;
  }
  .detail .unit-info {
    padding: 28px;
  }
  .detail .room-list {
    max-width: none;
  }
  .detail .unit-facts {
    grid-template-columns: repeat(3,1fr);
  }
  footer {
    gap: 25px;
  }
  footer p {
    font-size: 10px;
  }
}

@media (max-width:650px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .brand .brand-monogram {
    font-size: 35px;
    padding-right: 11px;
  }
  .brand .brand-name {
    font-size: 11px;
    letter-spacing: .1em;
  }
  .brand small {
    font-size: 8px;
  }
  .brand {
    gap: 9px;
  }
  .intro-story {
    padding-block: 38px;
  }
  .intro-story>div:not(.amenities) {
    display: block;
  }
  .richter-home h2 {
    font-size: 30px;
    letter-spacing: -.035em;
  }
  .intro-story>div>p {
    font-size: 14px;
    margin-top: 25px;
  }
  .amenities {
    grid-template-columns: repeat(3,minmax(0,1fr));
    margin-top: 28px;
    padding-top: 22px;
    gap: 10px;
    border-top: 1px solid var(--line);
  }
  .amenities>div {
    padding: 0 0 0 10px;
    border: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }
  .amenities>div:first-child {
    border-top: 0;
    border-left: 0;
    padding-left: 0;
  }
  .amenities span {
    font-size: 9px;
  }
  .amenities strong {
    font-size: 14px;
    margin: 5px 0 2px;
  }
  .amenities p {
    font-size: 11px;
    line-height: 1.55;
  }
  .section-head {
    display: block;
    margin-bottom: 22px;
  }
  .section-head>p {
    margin-top: 12px;
    font-size: 13px;
  }
  .building-section {
    padding-block: 0;
    background: transparent;
  }
  .building-section>.wrap {
    width: 100%;
  }
  .building-section .section-head {
    padding-inline: 18px;
  }
  .building-canvas {
    border-radius: 0;
  }
  .floor-marker {
    font-size: 9px;
    min-height: 30px;
    padding: 6px 9px;
    border-radius: var(--radius-control);
  }
  .building-view-label {
    font-size: 8px;
    top: 10px;
    left: 10px;
  }
  .building-toolbar {
    padding-inline: 12px;
  }
  .building-views {
    gap: 2px;
  }
  .building-views button {
    font-size: 11px;
    padding: 9px 12px;
  }
  .building-tip {
    display: none;
  }
  .building-credit {
    padding-inline: 18px;
    font-size: 10px;
  }
  .listing {
    padding-block: 28px 0;
    margin-top: 28px;
    border-top: 1px solid var(--line);
  }
  .listing .section-head>p {
    max-width: none;
  }
  .listing .filters {
    margin-top: 18px;
    gap: 6px;
    margin-bottom: 16px;
  }
  .filters button {
    font-size: 11px;
    padding: 8px 12px;
    min-height: 44px;
  }
  .offer-table .floor-col {
    display: none;
  }
  .offer-table .mobile-floor {
    display: block;
    font: 11px/1.5 var(--sans);
    color: var(--muted);
  }
  .offer-table .terrace-col {
    display: none;
  }
  .offer-table .mobile-terrace {
    display: block;
    font-size: 11px;
  }
  .offer-table th,.offer-table td {
    padding: 10px 6px;
  }
  .offer-table th:nth-child(1) {
    width: 20%;
  }
  .offer-table th:nth-child(2) {
    width: 16%;
  }
  .offer-table th:nth-child(4) {
    width: 28%;
  }
  .offer-table th:nth-child(6) {
    width: 26%;
  }
  .offer-table th:nth-child(7) {
    width: 10%;
  }
  .offer-table tbody tr {
    height: 68px;
  }
  .offer-table tbody th {
    font-size: 21px;
  }
  .unit-open b {
    width: 29px;
    height: 33px;
    border: 0;
  }
  .offer-table td {
    font-size: 13px;
  }
  .offer-table .availability-status {
    font-size: 11px;
    gap: 4px;
  }
  .offer-table .availability-status:before {
    display: none;
  }
  .architecture {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 40px;
  }
  .architecture-copy>p:not(.eyebrow):not(.fine) {
    font-size: 14px;
    margin-block: 22px;
  }
  .architecture-copy .fine {
    margin-top: 22px;
  }
  .architecture-photo {
    height: 260px;
  }
  .gallery {
    padding-block: 40px;
  }
  .gallery-grid {
    grid-template-rows: 210px 145px auto;
    gap: 12px;
  }
  .gallery-photo-caption {
    padding: 9px;
    font-size: 12px;
  }
  .gallery-model {
    padding: 20px;
  }
  .gallery-model h3 {
    font-size: 24px;
  }
  .gallery-model-mark {
    font-size: 45px;
  }
  .gallery-model-link {
    font-size: 12px;
  }
  .history-section {
    display: flex;
    flex-direction: column-reverse;
    gap: 24px;
    padding-block: 40px;
  }
  .history-copy>p:not(.eyebrow):not(.fine) {
    font-size: 14px;
    line-height: 1.7;
    margin: 18px 0;
  }
  .history-images {
    width: 100%;
    max-width: none;
    min-height: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 16px;
    align-items: end;
  }
  .history-photo {
    width: 100%;
    max-height: none;
    background: transparent;
    border-radius: 0;
  }
  .history-secondary {
    width: 100%;
    max-height: none;
    right: 5px;
    bottom: 20px;
    transform: none;
    position: static;
    border: 0;
  }
  .history-year {
    font-size: 86px;
    bottom: -5px;
    pointer-events: none;
    display: none;
  }
  .ski-story {
    padding-block: 40px;
    text-align: left;
  }
  .ski-story h2 {
    font-size: 28px;
  }
  .ski-journey {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }
  .ski-journey>div {
    padding-top: 15px;
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 14px;
  }
  .ski-journey span {
    grid-row: 1/3;
    font-size: 24px;
    margin-top: 4px;
  }
  .ski-journey h3 {
    font-size: 16px;
    margin: 0 0 6px;
  }
  .ski-journey p {
    font-size: 13px;
    grid-column: 2;
    line-height: 1.65;
  }
  .seasons {
    padding-block: 40px 32px;
  }
  .season-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .season-photo {
    height: 240px;
  }
  .season-copy {
    max-width: none;
  }
  .season-copy h3 {
    font-size: 26px;
  }
  .season-copy>p:not(.fine) {
    font-size: 14px;
  }
  .season-copy .fine {
    max-width: none;
    font-size: 11px;
  }
  .family-story {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
    margin-block: 30px;
    margin: 0;
    align-items: start;
  }
  .family-story img {
    height: 180px;
  }
  .family-story h3 {
    font-size: 25px;
    margin-bottom: 12px;
  }
  .family-story>div>p:not(.eyebrow) {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 14px;
  }
  .locality-extras {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 0;
  }
  .map-panel,.trip-story {
    padding: 22px;
    grid-template-columns: 1fr 1fr;
  }
  .map-panel h3,.trip-story h3 {
    font-size: 23px;
  }
  .map-panel>div>p:not(.eyebrow),.trip-story p:not(.eyebrow) {
    font-size: 12px;
  }
  .map-preview img,.trip-story img {
    height: 175px;
  }
  .photo-source {
    font-size: 10px;
  }
  .closing {
    padding-block: 40px;
  }
  .closing h2 {
    font-size: 30px;
    margin-bottom: 0;
  }
  footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 25px;
    padding-block: 25px;
  }
  footer>.brand {
    grid-column: 1;
  }
  footer p {
    grid-column: 1;
    grid-row: 2;
  }
  footer>a:not(.brand):not(.to-top) {
    font-size: 11px;
    grid-column: 2;
    grid-row: 2;
    max-width: 120px;
    text-align: right;
  }
  footer .to-top {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .detail .explore {
    padding-top: 18px;
  }
  .detail .explore h1 {
    font-size: 42px;
    font: 500 34px/1.16 var(--sans);
  }
  .detail .viewport {
    height: 440px;
  }
  .detail .unit-info {
    padding: 22px;
  }
  .detail .unit-facts {
    grid-template-columns: 1fr 1fr;
  }
  .detail .viewer-toolbar .segmented button {
    font-size: 11px;
    padding: 8px;
  }
  .detail .contact {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 25px 45px;
  }
  .detail .unit-tabs {
    gap: 5px;
  }
  .detail .unit-tabs button {
    min-width: 34px;
    padding: 7px 9px;
    font-size: 12px;
    min-height: 44px;
  }
  .detail .viewer-bottom {
    font-size: 12px;
  }
}

@media (max-width:400px) {
  .richter-home h2 {
    font-size: 30px;
    letter-spacing: -.035em;
  }
  .offer-table .type-col {
    display: none;
  }
  .offer-table .mobile-type {
    display: block;
    font: 11px/1.5 var(--sans);
  }
  .offer-table th:nth-child(1) {
    width: 26%;
  }
  .offer-table th:nth-child(4) {
    width: 32%;
  }
  .offer-table th:nth-child(6) {
    width: 31%;
  }
  .offer-table th:nth-child(7) {
    width: 11%;
  }
  .gallery-grid {
    grid-template-rows: 210px 145px auto;
  }
  .gallery-photo-caption {
    font-size: 11px;
  }
  .gallery-model h3 {
    font-size: 24px;
  }
  .history-images {
    min-height: 0;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 16px;
    align-items: end;
    padding: 0;
    max-width: none;
  }
  .map-panel,.trip-story {
    grid-template-columns: 1fr;
  }
  .map-preview img,.trip-story img {
    height: 190px;
  }
  .brand .brand-monogram {
    font-size: 31px;
  }
  .brand .brand-name {
    font-size: 10px;
  }
  .detail .viewport {
    height: 365px;
  }
  .detail .viewer-toolbar {
    padding: 5px;
  }
  .detail .unit-info {
    padding: 18px;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*::before,*::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal:not(.revealed) {
    opacity: 1;
    transform: none;
  }
  .gallery-photo:hover img {
    transform: none;
  }
}

@media (max-width:650px) {
  .history-year {
    z-index: 0;
    display: none;
  }
}

.floor-overlay polygon {
  pointer-events: all;
  cursor: pointer;
}

.history-images {
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  align-items: end;
  padding: 0;
  min-height: 0;
  max-width: none;
}

.history-year {
  bottom: 0;
  font-size: 64px;
  z-index: 0;
  display: none;
}

@media (max-width:400px) {
  .floor-marker {
    min-height: 27px;
    padding: 5px 9px;
    border-radius: var(--radius-control);
  }
}

/* Storey contours: full facade silhouettes, legible on sky, plaster and stone. */

.floor-overlay polygon {
  stroke-linejoin: round;
  stroke-linecap: round;
}

.floor-overlay polygon.selected {
  stroke: #fffaf0;
}

.floor-overlay polygon.floor-edge {
  fill: none;
  stroke: transparent;
  pointer-events: none !important;
}

.floor-overlay polygon.floor-edge.selected {
  fill: none;
  stroke: #795b3d;
}

/* Keep image, contours and markers in one coordinate space when framing mobile. */

.building-scene {
  position: absolute;
  inset: 0;
}

.building-scene>img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.floor-marker {
  left: var(--marker-x);
  top: var(--marker-y);
  font-variant-numeric: tabular-nums;
  box-shadow: none;
}

.floor-marker.is-active {
  box-shadow: none;
}

.floor-overlay polygon.selected {
  fill: #caa57530;
  stroke-width: 3;
}

.floor-overlay polygon.floor-edge.selected {
  stroke-width: 1;
}

.floor-marker:focus-visible {
  outline: 2px solid white;
  outline-offset: 4px;
  box-shadow: 0 0 0 7px var(--accent);
}

.building-views button {
  transition: background .18s,color .18s,border-color .18s;
  touch-action: manipulation;
}

.floor-marker {
  touch-action: manipulation;
  border-radius: var(--radius-control);
}

@media (hover:hover) {
  .building-views button:hover:not([aria-pressed=true]) {
    background: #ece7df;
    color: var(--ink);
  }
}

@media (max-width:650px) {
  .building-canvas[data-view=garden] {
    aspect-ratio: 5/4;
  }
  .building-canvas[data-view=garden] .building-scene {
    width: 142.222222%;
    left: -20%;
    right: auto;
  }
  .building-canvas[data-view=garden] .floor-marker {
    min-height: 40px;
    min-width: 52px;
    font-size: 10px;
    padding: 7px 10px;
  }
  .building-views button {
    min-height: 44px;
  }
}

/* Mountain atlas shares the site palette; route colors retain their meaning. */

.locality-extras {
  grid-template-columns: minmax(0,1fr);
  margin-top: 0;
}

.mountain-map-module {
  min-width: 0;
  scroll-margin-top: 24px;
}

#mountain-atlas {
  display: block;
  width: 100%;
  height: 560px;
  border: 0;
  border-radius: var(--radius-panel);
  background: transparent;
}

.locality-extras .trip-story {
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 30px 32px;
}

.locality-extras .trip-story img {
  height: 240px;
  width: 100%;
  object-fit: cover;
}

@media (max-width:650px) {
  #mountain-atlas {
    height: 530px;
    border-radius: var(--radius-panel);
  }
  .locality-extras .trip-story {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px;
  }
  .locality-extras .trip-story img {
    height: 220px;
  }
}

.availability-section { padding-block: var(--section-space); background: var(--surface); }

.offer-heading { display:flex; justify-content:space-between; align-items:baseline; gap:32px; }

.offer-heading h3 { font:500 24px/1.2 var(--sans); letter-spacing:-.025em; }

.offer-heading p { font-size:13px; line-height:1.7; color:var(--muted); max-width:440px; }

.locality-stories { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-block:28px 40px; }

.locality-stories .trip-story { display:flex; flex-direction:column-reverse; justify-content:flex-end; align-items:stretch; gap:18px; padding:20px; }

.locality-stories .trip-story img { width:100%; height:180px; object-fit:cover; }

.locality-stories .trip-story h3 { font:500 25px/1.2 var(--sans); margin-bottom:12px; }

.locality-stories .trip-story p:not(.eyebrow) { font-size:13px; line-height:1.7; }

.history-secondary img { height:270px; }

@media(min-width:901px) {
 .ski-story { display:grid; grid-template-columns:.85fr 1.65fr; column-gap:48px; }
 .ski-story>.eyebrow { grid-column:1; }
 .ski-story>h2 { grid-column:1; align-self:start; }
 .ski-journey { grid-column:2; grid-row:1/3; }
 .closing { display:grid; grid-template-columns:1fr auto; column-gap:48px; text-align:left; align-items:center; }
 .closing>.eyebrow { grid-column:1/-1; }
 .closing>.fine { grid-column:1/-1; }
}

@media(max-width:900px) { .ski-journey { margin-top:28px; } }

@media(max-width:650px) {
 .availability-section { padding-block:40px; }
 .offer-heading { display:block; }
 .offer-heading h3 { font-size:24px; }
 .offer-heading p { margin-top:10px; }
 .history-photo img { height:240px; }
 .history-secondary img { height:210px; }
 .locality-stories { grid-template-columns:1fr; gap:20px; margin-block:24px 32px; }
 .closing { text-align:left; }
 .closing h2 { max-width:310px; margin-bottom:20px; }
.offer-table tbody th { line-height:1.15; }
.offer-table .mobile-floor,.offer-table .mobile-type { line-height:1.35; }
.offer-table tbody td,.offer-table tbody th { padding-block:7px; }
.locality-stories .family-story,.locality-stories .trip-story { display:grid; grid-template-columns:96px minmax(0,1fr); align-items:start; gap:16px; padding:16px; }
.locality-stories .family-story>figure,.locality-stories .trip-story>figure { grid-column:1; grid-row:1; }
.locality-stories .family-story>div,.locality-stories .trip-story>div { grid-column:2; grid-row:1; }
.locality-stories .family-story img,.locality-stories .trip-story img { height:128px; width:96px; object-fit:cover; }
.locality-stories .family-story h3,.locality-stories .trip-story h3 { font-size:21px; }
.locality-stories .family-story .eyebrow,.locality-stories .trip-story .eyebrow { margin-bottom:10px; font-size:9px; }
.locality-stories .family-story .text-link,.locality-stories .trip-story .text-link { font-size:12px; }
.gallery-model .eyebrow { margin-bottom:10px; }
.gallery-model h3 { font-size:23px; margin-bottom:8px; }
.gallery-model .gallery-model-link { margin-top:12px; }
}

@media(max-width:360px){
 .locality-stories .family-story,.locality-stories .trip-story { grid-template-columns:76px minmax(0,1fr); gap:12px; padding:14px; }
 .locality-stories .family-story img,.locality-stories .trip-story img { width:76px; height:112px; }
 .locality-stories .family-story h3,.locality-stories .trip-story h3 { font-size:20px; }
}

/* Shared navigation and a single, image-led opening composition. */

/* Approved sky composition: preserve image, text placement and responsive layout. */

.opening {
  padding: 0;
}

.opening-scene {
  position: relative;
  isolation: isolate;
  max-width: 1600px;
  margin-inline: auto;
  aspect-ratio: 1447/820;
  overflow: hidden;
  background: white;
}

.opening-image {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
}

.opening-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.opening-copy {
  position: absolute;
  z-index: 1;
  left: 74%;
  right: 3%;
  top: 12%;
  padding: 0;
  background: none;
  min-width: 0;
}

/* A crisp translucent surface; the photograph remains visible, without blur. */

@media (min-width:1001px) {
  .opening-copy::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -24px -20px;
    background: var(--photo-panel);
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 2px;
    pointer-events: none;
  }
}

.opening .eyebrow {
  font-size: 9px;
  letter-spacing: .12em;
  margin-bottom: 16px;
  color: var(--ink);
}

.opening h1 {
  font: 500 clamp(28px,2.5vw,40px)/1.16 var(--sans);
  letter-spacing: -.045em;
  color: var(--ink);
}

.opening h1 span {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

.opening-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding: 14px 18px;
  gap: 20px;
  min-height: 48px;
  border: 0;
  border-radius: 2px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

.opening-cta:hover {
  background: var(--accent-hover);
  color: #fff;
}

.opening-cta .cta-short {
  display: none;
}

.opening-cta .cta-arrow {
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: transform .2s;
}

.opening-cta:hover .cta-arrow {
  transform: translate(2px,-2px);
}

.opening-cta:focus-visible {
  outline-color: var(--ink);
  outline-offset: 4px;
}

.intro-story .intro-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 560px;
}

.intro-story .intro-body p+p {
  margin-top: 12px;
}

.intro-story .intro-body .fine {
  font-size: 11px;
  margin-top: 14px;
}

@media (max-width:1000px) {
  .opening-scene {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
    overflow: visible;
  }
  .opening-copy {
    position: static;
    order: -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 32px;
    width: 100%;
    background: none;
  }
  .opening-copy .eyebrow {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
  }
  .opening h1 {
    font-size: 28px;
  }
  .opening-cta {
    margin: 0;
    flex-shrink: 0;
  }
  .opening-image {
    position: relative;
    inset: auto;
    aspect-ratio: 1447/820;
    height: auto;
  }
  .opening-image img {
    position: absolute;
    inset: 0;
  }
}

@media (max-width:650px) {
  .opening-copy {
    gap: 16px;
    padding: 20px 18px;
  }
  .opening h1 {
    font-size: clamp(19px,5.5vw,23px);
    line-height: 1.18;
    letter-spacing: -.045em;
  }
  .opening-cta {
    font-size: 12px;
    min-height: 44px;
    padding: 12px;
    gap: 10px;
  }
  .opening-cta .cta-label {
    display: none;
  }
  .opening-cta .cta-short {
    display: inline;
  }
  .opening-cta .cta-arrow {
    font-size: 18px;
  }
  .opening-image {
    aspect-ratio: auto;
    height: clamp(360px,115vw,550px);
  }
  .intro-story {
    padding-block: 38px;
  }
  .intro-story .intro-body p {
    font-size: 14px;
    line-height: 1.7;
  }
  .intro-story .intro-body p:first-child {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .opening-cta .cta-arrow {
    transition: none;
  }
}

@media (max-width:780px) {
  #mountain-atlas {
    height: 530px;
  }
}

.mountain-map-title {
  margin: 0 0 22px;
  font: 400 clamp(28px,3vw,40px)/1.15 var(--sans);
  letter-spacing: -.025em;
}

@media (max-width:650px) {
  .mountain-map-title {
    margin-bottom: 16px;
  }
}
