@font-face {
  font-family: Manrope;
  src: url("../../fonts/manrope-variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --paper: #f4f1e9;
  --ink: #263026;
  --muted: #666c61;
  --line: #d6d9cd;
  --green: #526d58;
  --light: #e8ecdf;
  --ease: cubic-bezier(0.18, 0.75, 0.25, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.site-shell {
  overflow: hidden;
}
.site-header {
  min-height: 88px;
  padding: 0 clamp(24px, 4.3vw, 82px);
  display: grid;
  grid-template-columns: auto minmax(130px, 1fr) auto auto;
  align-items: center;
  gap: clamp(20px, 3.3vw, 58px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.09em;
  line-height: 1;
  white-space: nowrap;
}
.brand-dot {
  color: #8fa477;
}
.header-location {
  max-width: 165px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}
nav {
  display: flex;
  gap: clamp(19px, 2.3vw, 40px);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.header-action {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 19px;
  border: 1px solid var(--green);
  border-radius: 2px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.hero {
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: min(760px, calc(100svh - 88px));
}
.hero-copy {
  min-width: 0;
  padding: clamp(45px, 6.8vw, 110px) clamp(24px, 4.3vw, 82px) 35px;
  display: flex;
  flex-direction: column;
}
.hero-index {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.06em;
}
h1,
h2 {
  font-weight: 430;
  letter-spacing: -0.065em;
}
h1 {
  font-size: clamp(57px, 6.25vw, 109px);
  line-height: 0.99;
  margin: auto 0 26px;
  white-space: nowrap;
}
h1 em,
.experience h2 em {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.075em;
  color: var(--green);
}
.hero-copy > p {
  max-width: 430px;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: var(--muted);
}
.hero-action,
.closing-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: max-content;
  gap: 35px;
  margin-top: 38px;
  padding: 17px 21px;
  min-height: 52px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 2px;
  transition:
    background 0.35s var(--ease),
    transform 0.35s var(--ease);
}
.hero-action:hover,
.closing-action:hover {
  background: #344f3a;
  transform: translateY(-3px);
}
.hero-action > span,
.closing-action > span {
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.4s var(--ease);
}
.hero-action:hover > span,
.closing-action:hover > span {
  transform: rotate(90deg);
}
.hero-bottom {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: auto;
  padding-top: 60px;
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.hero-bottom .line {
  height: 1px;
  flex: 1;
  background: var(--line);
}
.hero-photo {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #c6c0ac;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  animation: hero-settle 1.4s var(--ease) both;
}
@keyframes hero-settle {
  from {
    transform: scale(1.045);
    opacity: 0.55;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.photo-caption {
  position: absolute;
  inset: auto 26px 25px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
  text-shadow: 0 1px 10px #1118;
  font-size: 11px;
  font-weight: 600;
}
.choice {
  padding: clamp(75px, 9vw, 145px) clamp(24px, 4.3vw, 82px) 95px;
}
.section-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 0 9%;
  margin-bottom: 57px;
}
.section-kicker {
  display: block;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 750;
  font-size: 11px;
}
.section-intro .section-kicker {
  grid-column: 1/-1;
  margin-bottom: 22px;
}
h2 {
  font-size: clamp(43px, 5.1vw, 78px);
  line-height: 1.08;
}
.section-intro p {
  align-self: end;
  max-width: 480px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  padding-bottom: 5px;
}
.room-grid {
  display: grid;
  grid-template-columns: 1.13fr 0.87fr;
  gap: clamp(18px, 3vw, 45px);
  align-items: start;
}
.room-secondary {
  margin-top: 76px;
}
.room-image {
  overflow: hidden;
  background: #d9d4c9;
  aspect-ratio: 1.34;
}
.room-secondary .room-image {
  aspect-ratio: 1.16;
}
.room-image img {
  transition: transform 0.8s var(--ease);
}
.room-card:hover .room-image img {
  transform: scale(1.04);
}
.room-meta,
.room-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.room-meta {
  margin-top: 19px;
  color: var(--muted);
  font-size: 11px;
}
.room-bottom {
  border-bottom: 1px solid var(--line);
  padding: 16px 0 21px;
}
.room-bottom h3 {
  font-weight: 480;
  font-size: clamp(25px, 2.3vw, 36px);
  letter-spacing: -0.055em;
  line-height: 1.15;
}
.room-mark {
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
  font-weight: 300;
  flex: none;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.3s;
}
.room-card:hover .room-mark {
  background: var(--ink);
  color: white;
  transform: rotate(90deg);
}
.availability-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  max-width: 680px;
  margin-top: 39px;
}
.experience {
  display: grid;
  grid-template-columns: 47% 53%;
  background: #e1e7d9;
  min-height: 670px;
}
.experience-photo {
  min-height: 670px;
  overflow: hidden;
}
.experience-photo img {
  filter: saturate(0.8);
}
.experience-copy {
  padding: clamp(50px, 6vw, 96px) clamp(26px, 6.4vw, 110px);
  display: flex;
  flex-direction: column;
}
.experience h2 {
  margin: 29px 0;
  font-size: clamp(40px, 4.5vw, 70px);
}
.experience-copy > p {
  max-width: 530px;
  font-size: 17px;
  line-height: 1.7;
  color: #525d51;
}
.experience-points {
  margin-top: auto;
  padding-top: 35px;
}
.experience-points > div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 18px;
  align-items: center;
  border-top: 1px solid #bbc8b8;
  padding: 19px 0;
}
.experience-points span {
  font-size: 12px;
  color: var(--green);
}
.experience-points p {
  font-size: 16px;
}
.closing {
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  gap: 8%;
  padding: clamp(90px, 10vw, 160px) clamp(24px, 4.3vw, 82px);
  align-items: end;
}
.closing h2 {
  margin-top: 25px;
}
.closing p {
  max-width: 440px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 32px clamp(24px, 4.3vw, 82px);
  background: var(--ink);
  color: #dce4d6;
  font-size: 11px;
}
footer span:first-child {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.06em;
}
@media (max-width: 1100px) {
  .header-location {
    display: none;
  }
  .site-header {
    grid-template-columns: auto 1fr auto;
  }
  nav {
    justify-self: end;
  }
  h1 {
    font-size: clamp(53px, 6.1vw, 72px);
  }
  .hero-copy {
    padding-right: 25px;
  }
}
@media (max-width: 760px) {
  .site-header {
    min-height: 70px;
    grid-template-columns: 1fr auto;
    padding-inline: 22px;
  }
  nav,
  .header-action {
    display: none;
  }
  .brand {
    font-size: 25px;
  }
  .site-header:after {
    content: "Пространства / О проживании";
    font-size: 11px;
    color: var(--muted);
  }
  .hero {
    display: block;
  }
  .hero-copy {
    min-height: 550px;
    padding: 40px 22px 28px;
  }
  h1 {
    font-size: clamp(60px, 10vw, 85px);
    white-space: normal;
    margin: 90px 0 22px;
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .hero-action {
    margin-top: 31px;
  }
  .hero-bottom {
    padding-top: 55px;
  }
  .hero-photo {
    min-height: 480px;
  }
  .choice {
    padding: 85px 22px 80px;
  }
  .section-intro {
    display: block;
    margin-bottom: 38px;
  }
  .section-intro h2 {
    margin: 22px 0;
  }
  .room-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .room-secondary {
    margin-top: 55px;
  }
  .room-meta {
    display: block;
    line-height: 1.5;
  }
  .room-meta span:last-child {
    display: none;
  }
  .room-bottom h3 {
    font-size: 25px;
  }
  .experience {
    display: block;
  }
  .experience-photo {
    min-height: 480px;
    height: 480px;
  }
  .experience-copy {
    min-height: 570px;
    padding: 60px 22px;
  }
  .closing {
    grid-template-columns: 1fr;
    padding: 90px 22px;
    gap: 30px;
  }
  footer {
    padding: 28px 22px;
  }
}
@media (max-width: 540px) {
  .site-header:after {
    content: "Пространства";
  }
  .hero-copy {
    min-height: 535px;
  }
  h1 {
    font-size: clamp(58px, 14vw, 72px);
  }
  .hero-photo {
    min-height: 460px;
  }
  .photo-caption {
    inset: auto 17px 20px;
  }
  .photo-caption span:last-child {
    display: none;
  }
  .choice {
    padding-top: 75px;
  }
  .section-intro h2 {
    font-size: 48px;
  }
  .section-intro p,
  .experience-copy > p,
  .closing p {
    font-size: 16px;
  }
  .room-grid {
    display: block;
  }
  .room-secondary {
    margin-top: 52px;
  }
  .room-image,
  .room-secondary .room-image {
    aspect-ratio: 1.28;
  }
  .room-bottom h3 {
    font-size: 28px;
  }
  .experience-photo {
    height: 350px;
    min-height: 350px;
  }
  .experience-copy {
    min-height: unset;
  }
  .experience h2 {
    font-size: 46px;
  }
  .experience-points {
    padding-top: 45px;
  }
  .closing h2 {
    font-size: 48px;
  }
  footer {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
