@font-face {
  font-family: "TT Ramillas";
  src: url("../assets/fonts/TT_Ramillas_Trial_Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TT Ramillas";
  src: url("../assets/fonts/TT_Ramillas_Trial_Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TT Ramillas";
  src: url("../assets/fonts/TT_Ramillas_Trial_Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("../assets/fonts/Inter-Regular-cyrillic.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Inter;
  src: url("../assets/fonts/Inter-Regular-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f4ebe4;
  --bg-2: #fcf8f4;
  --ink: #536158;
  --ink-deep: #2c4945;
  --ink-deeper: #1e3834;
  --taupe: #9d968e;
  --sand: #e3cdbb;
  --line: #e4dcd5;
  --accent: #a36752;
  --button: #527171;
  --header: 4.25rem;
  --ease: cubic-bezier(0.77, 0, 0.175, 1);
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.has-smooth-scroll { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "TT Ramillas", Palatino, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.45;
  overflow-x: clip;
}

html.is-locked,
html.is-locked body { overflow: hidden; }

img { max-width: 100%; display: block; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 80;
  transform: translateY(-120%);
  background: var(--bg-2);
  color: var(--ink-deep);
  padding: 0.6rem 0.9rem;
}
.skip-link:focus { transform: none; }

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

.wrap {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

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

section,
.village-slide {
  scroll-margin-top: calc(var(--header) + 0.75rem);
}

h1, h2, .village-name, .house-card-name, .orbit-title, .footer-phone {
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  line-height: 1.05;
}

.kicker {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.lead { font-size: 1.125rem; max-width: 42rem; }

.section-intro { margin-bottom: 1.75rem; }
.section-intro .lead { margin-top: 0.8rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--button);
  color: #fff;
  text-decoration: none;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease);
}
.btn:hover { background: #638484; }
.btn--small { min-height: 2.5rem; padding: 0.65rem 1rem; letter-spacing: 0; }

.round-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #fff;
  display: inline-grid;
  place-items: center;
  padding: 0;
}
.round-btn svg { width: 0.7rem; height: 1.1rem; }
.round-btn--line,
.round-btn--ghost {
  border-color: rgba(44, 73, 69, 0.35);
  color: var(--ink-deep);
  background: transparent;
}
.round-btn--ghost { border-color: rgba(244, 235, 228, 0.45); color: var(--bg); }
.round-btn:hover { background: rgba(255, 255, 255, 0.12); }
.round-btn--line:hover { background: rgba(44, 73, 69, 0.06); }

.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 45;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(44, 73, 69, 0.28);
  border-radius: 50%;
  background: var(--ink-deeper);
  color: #fff;
  display: grid;
  place-items: center;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  translate: 0 0.75rem;
  transition: opacity 0.35s var(--ease), translate 0.35s var(--ease), visibility 0.35s;
}
.to-top svg { width: 0.75rem; height: 0.85rem; }
.to-top.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  translate: 0 0;
}
.to-top:hover { background: #2c4945; }
@media (prefers-reduced-motion: reduce) {
  .to-top { transition: none; translate: none; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.brand-logo { width: 3.4rem; height: auto; flex: none; }
.brand-name {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: inherit;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  color: #fff;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.site-header.is-solid,
.site-header.is-open {
  background: rgba(244, 235, 228, 0.94);
  color: var(--ink-deep);
  backdrop-filter: blur(10px);
}
.site-header-bar {
  width: min(100% - 2.5rem, 96rem);
  margin-inline: auto;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  gap: 1rem;
}
.site-header-left { display: flex; align-items: center; gap: 0.85rem; min-width: 0; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: none;
  min-width: 0;
}
.header-map { display: none; }
.header-phone {
  color: inherit;
  text-decoration: none;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex: none;
}
@media (min-width: 960px) {
  .header-map {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.32rem 0.85rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    text-decoration: none;
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .header-map:hover,
  .header-map:focus-visible { background: rgba(255, 255, 255, 0.14); color: inherit; }
  .site-header.is-solid .header-map:hover,
  .site-header.is-solid .header-map:focus-visible,
  .site-header.is-open .header-map:hover,
  .site-header.is-open .header-map:focus-visible { background: rgba(44, 73, 69, 0.08); }
}
@media (max-width: 430px) {
  .site-header-bar { gap: 0.4rem; }
  .site-header-left { gap: 0.4rem; }
  .brand { gap: 0.35rem; }
  .brand-logo { width: 2.5rem; }
  .brand-name { font-size: 1.05rem; letter-spacing: -0.04em; }
  .header-phone { font-size: 0.8rem; }
}

.nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  flex: none;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  display: grid;
  place-items: center;
}
.nav-toggle-box {
  width: 1.625rem;
  height: 0.85rem;
  display: grid;
  align-content: space-between;
}
.nav-toggle-box span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.site-header.is-open .nav-toggle-box span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .nav-toggle-box span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle-box span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: var(--bg);
  color: var(--ink-deep);
  padding: calc(var(--header) + 1.5rem) 1.25rem 2rem;
  overflow: auto;
}
.site-nav[hidden] { display: none; }
.site-nav-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}
.site-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.site-nav-list a {
  text-decoration: none;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
}
.site-nav-list a:hover { color: var(--accent); }
.site-nav-aside { max-width: 24rem; color: var(--ink); }
.site-nav-phone {
  display: block;
  margin: 0.4rem 0 0.8rem;
  font-size: 1.6rem;
  color: var(--ink-deep);
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  color: #fff;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  background: linear-gradient(90deg, rgba(20, 32, 30, 0.55) 0%, rgba(20, 32, 30, 0.18) 55%, rgba(20, 32, 30, 0.28) 100%);
}
.hero-copy, .ticker { position: relative; z-index: 1; }
.hero-copy {
  width: min(760px, calc(100% - 2rem));
  margin: 0 0 7.5rem 1.1rem;
}
.hero h1 {
  color: #fff;
  font-weight: 300;
  font-size: clamp(2.6rem, 7vw, 6.1rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  max-width: 11ch;
}
.hero-copy p {
  margin: 1rem 0 1.4rem;
  max-width: 28rem;
  font-size: 1.05rem;
}
.ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ink-deeper);
  overflow: hidden;
  height: 3.1rem;
  display: flex;
  align-items: center;
}
.ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; }
.ticker a {
  color: #f4ebe4;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  padding: 0 1.6rem;
  white-space: nowrap;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.about { padding: 4.5rem 0 0; background: var(--bg-2); }
.about-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  width: min(100% - 2.5rem, 96rem);
  margin-inline: auto;
}
.about-copy h2 { margin-bottom: 0.6rem; }
#about .lead { font-family: Inter, "Helvetica Neue", Arial, sans-serif; }
.about-points {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}
.about-points li { padding-left: 1rem; position: relative; }
.about-points li::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.55rem;
}
.about-stats {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.about-stats article {
  background: #f3e6da;
  border-radius: 1rem;
  padding: 1.1rem 1rem 1rem;
  min-height: 7.5rem;
}
.about-stat-value {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--ink-deep);
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}
.about-stats article > p:not(.about-stat-value) {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}
.about-visual { position: relative; min-width: 0; }
.about-slides {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sand);
}
.about-slides > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.about-slides > img.is-active { opacity: 1; }
.about-next {
  position: absolute;
  right: 0.8rem;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  background: rgba(30, 56, 52, 0.45);
}
.about-visual::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 4.8rem;
  border-radius: 0 0 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(20, 24, 22, 0.5), transparent);
  pointer-events: none;
}
.about-thumbs {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
}
.about-thumb {
  position: relative;
  flex: 1 1 0;
  width: auto;
  max-width: 4.8rem;
  min-width: 0;
  aspect-ratio: 3 / 2;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.4rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  opacity: 0.68;
}
.about-thumb.is-active {
  opacity: 1;
  border-color: #fff;
  box-shadow: 0 0 0 1px rgba(20, 24, 22, 0.35);
}
.about-thumb:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.about-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.dots { display: flex; gap: 0.35rem; justify-content: center; margin-top: 0.7rem; }
.dots button {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(44, 73, 69, 0.28);
}
.dots button.is-active { background: var(--ink-deep); }

.village {
  --village-tab: 4.3rem;
  margin-top: 3.5rem;
  background: transparent;
  color: var(--bg);
}
.village-stage {
  width: min(100% - 2.5rem, 96rem);
  margin-inline: auto;
}
/* In-flow hold. Padding on the stage does not keep the last sticky card parked,
   so Lesnoe would slide up over Bereg. This box gives it a real stop. */
.village-stage::after {
  content: "";
  display: block;
  height: 10rem;
  pointer-events: none;
}
.village-flow { height: 0; margin: 0; pointer-events: none; }
.village-slide {
  position: sticky;
  top: var(--header);
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  border-radius: 1.25rem;
  overflow: hidden;
  scroll-margin-top: var(--header);
}
#park.village-slide {
  top: var(--header);
  scroll-margin-top: var(--header);
  z-index: 1;
}
#bereg.village-slide {
  top: calc(var(--header) + var(--village-tab));
  scroll-margin-top: calc(var(--header) + var(--village-tab));
  z-index: 2;
}
#lesnoe.village-slide {
  top: calc(var(--header) + (2 * var(--village-tab)));
  scroll-margin-top: calc(var(--header) + (2 * var(--village-tab)));
  z-index: 3;
}
.village-tab {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-sizing: border-box;
  width: 100%;
  height: var(--village-tab);
  flex: 0 0 var(--village-tab);
  margin: 0;
  padding: 0 1.5rem;
  border: 0;
  background: transparent;
  color: var(--bg);
  text-align: left;
}
.village-tab:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -0.45rem;
}
.village-tab .brand-logo { width: 3.1rem; }
.village-tab .village-name {
  min-width: 0;
  overflow: hidden;
  color: var(--bg);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.15;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.village-body {
  display: grid;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
}
.village-copy,
.village-photo { min-width: 0; }
.village-photo { position: relative; overflow: hidden; min-height: 320px; }
.village-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
}
.village-copy { padding: 0.35rem 1.5rem 1.45rem; }
.village-name { color: var(--bg); font-size: 1.35rem; margin: 0; }
.village-copy h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.8rem;
}
.village-copy p { max-width: 38rem; }
.village-desc {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1.45;
}
#park.village-slide,
#park .village-copy {
  background:
    radial-gradient(ellipse 90% 78% at 100% 0%, #314f49 0%, transparent 70%),
    #1e3834;
}
#bereg.village-slide,
#bereg .village-copy {
  background:
    radial-gradient(ellipse 88% 76% at 0% 0%, #1a4a74 0%, transparent 68%),
    #0e2f52;
}
#lesnoe.village-slide,
#lesnoe .village-copy {
  background:
    radial-gradient(ellipse 90% 78% at 100% 100%, #246448 0%, transparent 68%),
    #1a4d38;
}
.village-facts {
  margin: 1.3rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}
.village-facts div { margin: 0; }
.village-facts dt {
  color: #fff;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.village-facts dd {
  margin: 0.15rem 0 0;
  color: rgba(244, 235, 228, 0.78);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.82rem;
  line-height: 1.4;
}
.village-more { margin-top: 1.35rem; align-self: flex-start; }
.about-grid > *,
.calc-layout > *,
.contact > *,
.house-modal-layout > * { min-width: 0; }

@property --reveal {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

.panorama-section {
  --ease-ui: cubic-bezier(0, 0.3, 0.3, 1);
  position: relative;
  width: min(100% - 2.5rem, 96rem);
  margin: 4.5rem auto 3rem;
  scroll-margin-top: calc(var(--header) + 0.75rem);
}
.panorama-section:has(.has-balloon) { z-index: 4; }
.village-compare { margin-top: 2.75rem; }
.village-compare-label {
  margin: 0 0 1rem;
  color: var(--taupe);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}
.village-compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  background: var(--bg-2);
}
.village-compare-table {
  width: 100%;
  min-width: 46rem;
  border-collapse: collapse;
  color: var(--ink-deep);
}
.village-compare-table th,
.village-compare-table td {
  padding: 1.05rem 1.15rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
}
.village-compare-table thead th {
  padding-top: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom-color: rgba(44, 73, 69, 0.18);
  color: var(--ink-deep);
  font-family: "TT Ramillas", Palatino, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.village-compare-table tbody th {
  width: 9.5rem;
  color: var(--taupe);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}
.village-compare-table td {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
}
.village-compare-table tbody tr:last-child th,
.village-compare-table tbody tr:last-child td { border-bottom: 0; }
.village-compare-table thead th:first-child,
.village-compare-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--bg-2);
}
@media (max-width: 759px) {
  .village-compare { margin-top: 1.75rem; }
  .village-compare-table { min-width: 40rem; }
  .village-compare-table th,
  .village-compare-table td { padding: 0.85rem 0.9rem; }
  .village-compare-table thead th { font-size: 1.15rem; }
  .village-compare-table tbody th { width: 7.25rem; }
}
.panorama-section .section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}
.panorama-section .subheading {
  margin: 0;
  color: #8aa3ae;
  font-family: "TT Ramillas", Palatino, "Times New Roman", serif;
  font-weight: 500;
  font-size: 0.6875rem;
  line-height: 1.35;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.panorama-section .heading-l {
  margin: 0;
  font-family: "TT Ramillas", Palatino, "Times New Roman", serif;
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
}
.panorama-section .text-l,
.panorama-section .news-intro {
  margin: 0;
  max-width: 38rem;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.375;
  color: var(--ink);
}
.panorama-section .gradient-accent-1 {
  color: transparent;
  background: linear-gradient(125.75deg, #76726e 9.27%, #d5cec7 95.35%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.08em;
}
.panorama-section .has-sweep-fade { --reveal: 0; }
.panorama-section .has-sweep-fade > :first-child { opacity: var(--reveal); }
.panorama-section .has-sweep-fade .gradient-accent-1 {
  background-image: linear-gradient(160.45deg, rgb(110 118 117) 0%, rgb(199 208 213) 62.85%, transparent 89.05%, transparent 100%);
  background-size: 122.6667% 529%;
  background-position: 0% calc(100% - var(--reveal) * 100%);
  transition: --reveal 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.panorama-section .has-sweep-fade.is-revealed { --reveal: 1; }

.panorama-viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: #161311;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
.panorama-viewport.is-dragging { cursor: grabbing; }
.panorama-canvas {
  position: absolute;
  overflow: hidden;
  border-radius: 12px;
  transform-origin: 0 0;
  will-change: transform;
  --map-scale: 1;
}
.panorama-viewport.has-balloon {
  overflow: visible;
  z-index: 5;
}
.map-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s var(--ease);
}
.map-scene.is-shown {
  opacity: 1;
  pointer-events: auto;
}
.map-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.map-plan {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #161311;
  visibility: hidden;
  pointer-events: none;
}
.map-plan etoplan-widget {
  display: block;
  width: 100%;
  height: 100%;
}
.panorama-viewport.is-plan {
  cursor: auto;
  user-select: auto;
  touch-action: none;
}
.panorama-viewport.is-plan .map-plan {
  visibility: visible;
  pointer-events: auto;
}
.map-zones {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.map-zones polygon {
  fill: transparent;
  stroke: transparent;
  stroke-width: 1.25px;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.map-zones polygon.is-hot,
.map-zones polygon:hover {
  fill: rgba(244, 235, 228, 0.2);
  stroke: rgba(244, 235, 228, 0.9);
}
.map-zones polygon:focus,
.map-zones polygon:focus-visible,
.map-zones polygon:active {
  outline: none;
  outline-offset: 0;
}
.map-zones polygon:active,
.map-zones polygon.is-hot:active,
.map-zones polygon:hover:active {
  fill: transparent;
  stroke: transparent;
  outline: none;
}
.map-zone-tip {
  position: absolute;
  z-index: 7;
  width: min(16.5rem, calc(100% - 1.2rem));
  padding: 0.7rem 0.85rem 0.75rem;
  border-radius: 10px;
  background: rgba(23, 48, 45, 0.94);
  color: #f4ebe4;
  box-shadow: 0 0.85rem 1.8rem rgba(22, 16, 14, 0.34);
  pointer-events: none;
}
.map-zone-tip[hidden] { display: none; }
.map-zone-tip-title {
  margin: 0 0 0.28rem;
  color: #f4ebe4;
  font-family: "TT Ramillas", Palatino, "Times New Roman", serif;
  font-size: 1.02rem;
  line-height: 1.15;
}
.map-zone-tip-text {
  margin: 0;
  color: rgba(244, 235, 228, 0.9);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.78rem;
  line-height: 1.35;
}
.map-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  width: 0.9rem;
  height: 0.9rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #f7f3ee;
  font: inherit;
  cursor: pointer;
  transform: translate(-50%, -50%);
}
.map-pin::before {
  content: "";
  position: absolute;
  inset: -0.7rem;
}
.map-pin-dot {
  display: block;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: #f4ebe4;
  box-shadow:
    0 0 0 0.35rem rgba(244, 235, 228, 0.38),
    0 0.25rem 0.7rem rgba(28, 22, 20, 0.35);
  transform: scale(calc(1 / var(--map-scale)));
}
.map-pin.is-active .map-pin-dot,
.map-pin.is-open .map-pin-dot,
.map-pin:hover .map-pin-dot,
.map-pin:focus-visible .map-pin-dot {
  background: #2c4945;
  box-shadow:
    0 0 0 0.28rem #f4ebe4,
    0 0 0 0.55rem rgba(244, 235, 228, 0.45);
}
.map-pin-label {
  position: absolute;
  left: calc(100% + 0.45rem);
  top: 50%;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  background: rgb(21 48 54 / 78%);
  backdrop-filter: blur(10px);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
  white-space: nowrap;
  transform: translateY(-50%) scale(calc(1 / var(--map-scale)));
  transform-origin: left center;
}
.map-pin--left .map-pin-label {
  left: auto;
  right: calc(100% + 0.45rem);
  transform-origin: right center;
}
.map-pin.is-covered { visibility: hidden; }
.map-pin--above .map-pin-label {
  left: 50%;
  right: auto;
  top: auto;
  bottom: calc(100% + 0.45rem);
  transform: translateX(-50%) scale(calc(1 / var(--map-scale)));
  transform-origin: center bottom;
}
.panorama-controls {
  position: absolute;
  z-index: 4;
  top: 0.75rem;
  left: 0;
  right: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  gap: 0.45rem;
  margin: 0;
  padding: 0 0.75rem;
  pointer-events: none;
}
.panorama-radio {
  position: relative;
  pointer-events: auto;
  touch-action: manipulation;
}
.panorama-radio input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.panorama-radio-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.7rem 0.9rem;
  border-radius: 6px;
  background: rgba(228, 220, 213, 0.86);
  color: #2c4944;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.7rem;
  line-height: 1;
  letter-spacing: normal;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.3s var(--ease-ui),
    color 0.3s var(--ease-ui);
}
.panorama-radio input:checked + .panorama-radio-label {
  background: #2c4944;
  color: #f4ebe4;
}
.panorama-radio input:focus-visible + .panorama-radio-label {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.map-balloon {
  position: absolute;
  z-index: 6;
  width: min(17.5rem, 78vw);
  padding: 0.4rem 0.4rem 0.7rem;
  border-radius: 12px;
  background: rgba(28, 22, 20, 0.94);
  color: #f7f3ee;
  box-shadow: 0 1.1rem 2.6rem rgba(22, 16, 14, 0.38);
  transform: translate(0.85rem, 0.7rem);
}
.map-balloon.is-up { transform: translate(0.85rem, calc(-100% - 0.7rem)); }
.map-balloon.is-left { transform: translate(calc(-100% - 0.85rem), 0.7rem); }
.map-balloon.is-left.is-up { transform: translate(calc(-100% - 0.85rem), calc(-100% - 0.7rem)); }
.map-balloon[hidden] { display: none; }
.map-balloon img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
}
.map-balloon-title {
  margin: 0.6rem 0.45rem 0.25rem;
  color: #f4ebe4;
  font-family: "TT Ramillas", Palatino, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.15;
}
.map-balloon-text {
  margin: 0 0.45rem;
  color: #dcd4cd;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.78rem;
  line-height: 1.4;
}
.map-balloon-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  display: grid;
  width: 1.6rem;
  height: 1.6rem;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(22, 16, 14, 0.72);
  color: #f7f3ee;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.map-balloon-close:focus-visible {
  outline: 2px solid #f4ebe4;
  outline-offset: 2px;
}

#houses-title,
#purchase-title,
#gallery-title,
#news-title {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  font-family: "TT Ramillas", Palatino, "Times New Roman", serif;
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-align: left;
  text-transform: none;
  color: transparent;
  background-image: linear-gradient(160.45deg, rgb(110, 118, 117) 0%, rgb(199, 208, 213) 62.85%, transparent 89.05%, transparent 100%);
  background-size: 122.6667% 529%;
  background-position: 0% 0%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.08em;
}

@media (min-width: 1201px) {
  .panorama-section .heading-l {
    font-size: 2.7778rem;
    line-height: 1;
  }
  #houses-title,
  #purchase-title,
  #gallery-title,
  #news-title {
    font-size: 2.7778rem;
    line-height: 1;
  }
  .panorama-section .subheading { font-size: 0.5556rem; }
  .panorama-section .text-l {
    font-size: 0.8333rem;
    line-height: 1.4;
  }
}

@media (max-width: 767px) {
  .panorama-section .text-l { font-size: 0.8rem; }
  .panorama-viewport {
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 4;
    touch-action: none;
  }
  .panorama-canvas,
  .map-scene { touch-action: none; }
  .map-pin-full { display: none; }
  .panorama-controls {
    top: 0.4rem;
    gap: 0.3rem;
    padding: 0 0.45rem;
  }
  .panorama-radio-label {
    min-height: 1.65rem;
    padding: 0.32rem 0.5rem;
    font-size: 0.4rem;
  }
}

.houses { padding: 1rem 0 4.5rem; }
#houses .wrap { width: min(100% - 2.5rem, 96rem); }
#houses .lead {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.956rem;
}
.house-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.house-card {
  min-width: 0;
  background: var(--bg-2);
  border-radius: 1.1rem;
  padding: 0.7rem 0.7rem 1rem;
  display: grid;
  gap: 0.75rem;
}
.house-card-open {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  color: inherit;
  display: grid;
  align-items: start;
  gap: 0.45rem;
}
.house-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 0.8rem;
}
.house-card-name { font-size: 1.45rem; }
.house-card-meta {
  color: var(--taupe);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}
.house-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.35rem;
  min-width: 0;
}
.house-card-actions .btn {
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 0;
  min-height: 1.9rem;
  padding: 0.32rem 0.4rem;
  font-size: 0.58rem;
  letter-spacing: 0.01em;
  line-height: 1.15;
  white-space: normal;
  text-align: center;
}
.house-card-actions .btn--line {
  background: transparent;
  color: var(--ink-deep);
  border: 1px solid var(--button);
}
.house-card-actions .btn--line:hover {
  background: rgba(82, 113, 113, 0.12);
  color: var(--ink-deep);
}
@media (max-width: 759px) {
  .house-card {
    padding: 0.45rem 0.45rem 0.7rem;
    gap: 0.5rem;
  }
  .house-card-name { font-size: 1.12rem; line-height: 1.15; }
  .house-card-meta { font-size: 0.78rem; }
  .house-card-actions { gap: 0.3rem; }
  .house-card-actions .btn {
    min-height: 1.85rem;
    padding: 0.28rem 0.35rem;
    font-size: 0.56rem;
    letter-spacing: 0;
  }
}
@media (max-width: 480px) {
  .house-card-actions { grid-template-columns: 1fr; }
}

.house-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 0.75rem;
  overflow: hidden;
}
.house-modal[hidden] { display: none; }
.house-modal-backdrop { position: absolute; inset: 0; background: rgba(22, 28, 26, 0.58); }
.house-modal-dialog {
  position: relative;
  width: min(1160px, 100%);
  max-height: calc(100vh - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 1.15rem;
  box-shadow: 0 1.25rem 3.5rem rgba(20, 28, 26, 0.28);
}
.house-modal-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 1.05rem 1.1rem 1.3rem;
}
.house-modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 5;
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #2a2a2a;
  box-shadow: 0 0.08rem 0.45rem rgba(20, 24, 22, 0.16);
}
.house-modal-close svg { width: 0.72rem; height: 0.72rem; }
.house-modal-layout { display: grid; gap: 1.15rem; align-items: start; }
.house-modal-media { min-width: 0; }
.house-stage {
  position: relative;
  aspect-ratio: 16 / 10.2;
  border-radius: 0.7rem;
  overflow: hidden;
  background: #161616;
}
.house-stage img,
.house-stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  background: #161616;
}
.house-stage video,
.house-stage.is-spin img { object-fit: contain; }
.house-stage.is-spin {
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.house-stage.is-spin.is-dragging { cursor: grabbing; }
.house-stage.is-spin img {
  -webkit-user-drag: none;
  pointer-events: none;
}
.house-stage [hidden] { display: none !important; }
.house-spin-loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  background: rgba(16, 16, 16, 0.5);
  color: #fff;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.house-spin-loader-ring {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-top-color: #fff;
  animation: house-spin-loader 0.75s linear infinite;
}
@keyframes house-spin-loader { to { transform: rotate(360deg); } }
.house-spin-hint {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  z-index: 2;
  margin: 0;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.62);
  color: #fff;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.78rem;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(-50%);
}
.house-modal-prev,
.house-modal-next {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 2.55rem;
  height: 2.55rem;
  transform: translateY(-50%);
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #3c3c3c;
  box-shadow: 0 0.12rem 0.55rem rgba(20, 24, 22, 0.18);
}
.house-modal-prev:hover,
.house-modal-next:hover { background: #fff; }
.house-modal-prev { left: 0.7rem; }
.house-modal-next { right: 0.7rem; }
.house-modal-prev svg,
.house-modal-next svg { width: 0.55rem; height: 0.95rem; }
.house-thumbs {
  position: relative;
  display: flex;
  gap: 0.45rem;
  margin-top: 0.55rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  padding: 2px 2px 0.15rem;
}
.house-thumb {
  position: relative;
  flex: 0 0 5.15rem;
  width: 5.15rem;
  height: 3.45rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.35rem;
  overflow: hidden;
  background: #ddd7d0;
  opacity: 0.82;
  scroll-snap-align: start;
}
.house-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: 0;
  pointer-events: none;
}
.house-thumb.has-badge img { filter: brightness(0.78); }
.house-thumb.is-active {
  opacity: 1;
  border-color: #a5684e;
  box-shadow: 0 0 0 1px #a5684e;
}
.house-badge {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
  color: #fff;
}
.house-badge--spin svg { position: absolute; width: 74%; height: 74%; }
.house-badge--spin span {
  position: relative;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}
.house-badge--play svg {
  width: 1.85rem;
  height: 1.85rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}
.house-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 0.85rem;
  margin-top: 0.95rem;
  align-items: end;
}
.house-plan {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: center;
  cursor: zoom-in;
}
.house-plans img,
.house-plan img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border-radius: 0;
  pointer-events: none;
}
.house-plan > span:last-child {
  display: block;
  margin-top: 0.4rem;
  text-align: center;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.82rem;
  line-height: 1.2;
  color: #2a2a2a;
}
.house-plan-zoom {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #2a2a2a;
  box-shadow: 0 0.08rem 0.35rem rgba(20, 24, 22, 0.16);
  pointer-events: none;
}
.house-plan-zoom svg { width: 0.95rem; height: 0.95rem; }
.house-plan:hover .house-plan-zoom,
.house-plan:focus-visible .house-plan-zoom { color: #a5684e; }
.plan-lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 0.85rem;
}
.plan-lightbox[hidden] { display: none; }
.house-modal.has-plan .house-modal-close,
.house-modal.has-price .house-modal-close { visibility: hidden; }
.plan-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 28, 26, 0.72);
  cursor: zoom-out;
}
.plan-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: calc(100dvh - 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 2.7rem 0.85rem 0.85rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 1.25rem 3.5rem rgba(20, 28, 26, 0.28);
}
.plan-lightbox-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #2a2a2a;
  box-shadow: 0 0.08rem 0.45rem rgba(20, 24, 22, 0.16);
}
.plan-lightbox-close svg { width: 0.72rem; height: 0.72rem; }
.plan-lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  height: min(70dvh, 820px);
  padding-right: 3.35rem;
  overflow: hidden;
  touch-action: none;
  cursor: zoom-in;
  user-select: none;
  background: #f6f3ef;
  border-radius: 0.45rem;
}
.plan-zoom-controls {
  position: absolute;
  top: 50%;
  right: 0.55rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transform: translateY(-50%);
}
.plan-zoom-btn {
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #2a2a2a;
  box-shadow: 0 0.08rem 0.45rem rgba(20, 24, 22, 0.16);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.35rem;
  line-height: 1;
}
.plan-zoom-btn:hover { background: #fff; }
.plan-zoom-btn:disabled { opacity: 0.38; cursor: default; }
.plan-lightbox-stage.is-zoomed { cursor: grab; }
.plan-lightbox-stage.is-panning { cursor: grabbing; }
.plan-lightbox-stage img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform-origin: center center;
  -webkit-user-drag: none;
  pointer-events: none;
}
.plan-lightbox-caption {
  margin: 0.15rem 0 0;
  text-align: center;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  color: #2a2a2a;
}
.price-modal {
  position: fixed;
  inset: 0;
  z-index: 65;
  display: grid;
  place-items: center;
  padding: 0.85rem;
}
.price-modal[hidden] { display: none; }
.price-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 28, 26, 0.62);
}
.price-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(34.5rem, 100%);
  max-height: calc(100vh - 1.7rem);
  max-height: calc(100dvh - 1.7rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #f4efe9;
  border-radius: 1.15rem;
  box-shadow: 0 1.25rem 3.5rem rgba(20, 28, 26, 0.28);
  color: #24302d;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}
.price-modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  width: 2.05rem;
  height: 2.05rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-deeper);
}
.price-modal-close:hover { background: #fff; }
.price-modal-close svg { width: 0.72rem; height: 0.72rem; }
.price-modal-body {
  overflow: auto;
  overscroll-behavior: contain;
  padding: 1.7rem 1.55rem 1.45rem;
}
.price-modal-dialog h2 {
  padding-right: 1.6rem;
  color: var(--ink-deeper);
  font-family: "TT Ramillas", Palatino, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(1.7rem, 2.5vw, 2.05rem);
  letter-spacing: 0.01em;
  line-height: 1.12;
  text-transform: uppercase;
}
.price-modal-kicker,
.price-modal-dialog h2 span { display: block; }
.price-modal-kicker { white-space: nowrap; }
.price-modal-lead {
  max-width: 28rem;
  margin-top: 0.85rem;
  font-size: 1rem;
  line-height: 1.45;
  color: #24302d;
}
.price-form { margin-top: 1.35rem; }
.price-field {
  display: flex;
  align-items: center;
  min-height: 3.35rem;
  margin-top: 0.85rem;
  padding: 0 1rem;
  border: 1px solid #ddd4cb;
  border-radius: 0.7rem;
  background: transparent;
}
.price-field:focus-within { border-color: #b7aea4; }
.price-field input {
  width: 100%;
  min-width: 0;
  min-height: 3.2rem;
  border: 0;
  background: transparent;
  color: #24302d;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0;
}
.price-field input::placeholder { color: #b3aba3; }
.price-field input:focus { outline: none; }
.price-phone-prefix {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
  margin-right: 0.7rem;
  color: #2a2a2a;
}
.price-flag {
  width: 1.35rem;
  height: 0.9rem;
  border-radius: 0.12rem;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
}
.price-flag-caret { width: 0.42rem; height: 0.28rem; fill: currentColor; }
.price-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  margin: 1.05rem 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: #2c312f;
}
.price-check input {
  appearance: none;
  -webkit-appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.12rem 0 0;
  border: 1px solid #c5bdb4;
  border-radius: 0.12rem;
  background: transparent;
}
.price-check input:checked {
  border-color: var(--ink-deeper);
  background: var(--ink-deeper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1.2 5.1 4.3 8.2 10.8 1.6' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.72rem 0.6rem no-repeat;
}
.price-check input:focus-visible { outline-offset: 2px; }
.price-form-error,
.price-form-success {
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
  line-height: 1.4;
}
.price-form-error { color: #8d3b32; }
.price-form-success { color: var(--ink-deep); }
.price-form .btn {
  width: 100%;
  margin-top: 1.35rem;
  min-height: 3.35rem;
  background: var(--accent);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
}
.price-form .btn:hover { background: #8f5842; }
.house-modal-specs {
  min-width: 0;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  color: #2f2f2f;
}
.house-modal-specs h3 {
  font-family: "TT Ramillas", Palatino, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.1vw, 1.95rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #242424;
  padding-right: 2.2rem;
}
.house-modal-area {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.house-materials-label {
  margin-top: 1.15rem;
  font-size: 0.98rem;
  color: #2a2a2a;
}
.house-materials {
  margin-top: 0.35rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #4e4a45;
}
.spec-list { margin: 1.05rem 0 0; display: grid; gap: 0; }
.spec-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.72rem 0;
  border-bottom: 1px solid #e7e2dc;
}
.spec-list div:first-child { border-top: 1px solid #e7e2dc; }
.spec-list dt,
.spec-list dd {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  color: #2f2f2f;
  font-size: 0.95rem;
}
.spec-list dd { margin: 0; text-align: right; }
.house-modal-specs .house-modal-price {
  width: 100%;
  margin: 1.15rem 0 0;
  background: #a5684e;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.12em;
}
.house-modal-specs .house-modal-price:hover { background: #8f5842; }
.house-modal-specs h4 {
  margin: 1.65rem 0 0.5rem;
  font-family: "TT Ramillas", Palatino, "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: #242424;
}
.spec-note {
  margin: 0;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #4e4a45;
}
.house-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 1.2rem;
  border-top: 1px solid #e7e2dc;
}
.house-stat {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  padding: 0.8rem 0.85rem 0.85rem 0;
  border-bottom: 1px solid #e7e2dc;
}
.house-stat:nth-child(odd) {
  border-right: 1px solid #e7e2dc;
  padding-right: 0.85rem;
}
.house-stat:nth-child(even) { padding-left: 0.85rem; padding-right: 0; }
.house-stat dt {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.82rem;
  color: #8d8882;
}
.house-stat dd {
  margin: 0.15rem 0 0;
  text-align: center;
  font-family: "TT Ramillas", Palatino, "Times New Roman", serif;
  font-weight: 300;
  font-size: clamp(2.35rem, 3.4vw, 3.05rem);
  line-height: 0.95;
  color: #a5684e;
}
@media (max-width: 759px) {
  .house-modal { padding: 0.4rem; }
  .house-modal-dialog {
    width: 100%;
    max-height: calc(100vh - 0.8rem);
    max-height: calc(100dvh - 0.8rem);
    border-radius: 1rem;
  }
  .house-modal-scroll { padding: 0.7rem 0.7rem 1rem; }
  .house-stage { aspect-ratio: 16 / 11; }
  .house-modal-prev,
  .house-modal-next { width: 2.2rem; height: 2.2rem; }
  .house-thumb { flex-basis: 4.35rem; width: 4.35rem; height: 2.95rem; }
  .house-plans { gap: 0.4rem 0.45rem; }
  .house-spin-hint { font-size: 0.72rem; max-width: calc(100% - 5.5rem); white-space: normal; text-align: center; }
  .plan-lightbox { padding: 0.45rem; }
  .plan-lightbox-dialog { padding: 2.45rem 0.6rem 0.7rem; }
  .plan-lightbox-stage { height: min(62dvh, 820px); padding-right: 3.05rem; }
  .plan-zoom-btn { width: 2rem; height: 2rem; font-size: 1.25rem; }
  .house-modal-specs h3 { font-size: 1.45rem; }
  .price-modal { padding: 0.45rem; }
  .price-modal-dialog { border-radius: 1rem; }
  .price-modal-body { padding: 1.45rem 1rem 1.15rem; }
  .price-modal-dialog h2 { font-size: 1.45rem; }
  .price-modal-kicker { white-space: normal; }
  .house-stat dd { font-size: 2.5rem; }
}

.location { padding: 3.25rem 0 5rem; background: var(--bg-2); }
#location .location-head {
  display: grid;
  gap: 1rem;
  width: min(100% - 2.5rem, 96rem);
  max-width: none;
  margin-inline: auto;
  margin-bottom: 1.75rem;
}
#location-title {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  font-family: "TT Ramillas", Palatino, "Times New Roman", serif;
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: none;
  color: transparent;
  background-image: linear-gradient(160.45deg, rgb(110, 118, 117) 0%, rgb(199, 208, 213) 62.85%, transparent 89.05%, transparent 100%);
  background-size: 122.6667% 529%;
  background-position: 0% 0%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.08em;
}
@media (min-width: 760px) {
  .location { padding-top: 5.5rem; }
}
@media (min-width: 1201px) {
  #location-title {
    font-size: 2.7778rem;
    line-height: 1;
  }
}
.location-lead {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  line-height: 1.45;
}
.location-map {
  position: relative;
  width: min(100% - 2.5rem, 96rem);
  margin-inline: auto;
  height: min(68vh, 560px);
  min-height: 18rem;
  overflow: hidden;
  background: #e6d9cc;
  box-shadow: inset 0 0 0 1px rgba(44, 73, 69, 0.08);
  scroll-margin-top: calc(var(--header) + 0.5rem);
}
.location-map-canvas,
.location-map-canvas > ymaps {
  width: 100%;
  height: 100%;
}
.location-map-canvas {
  position: absolute;
  inset: 0;
}
.location-markers {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}
.loc-pin { pointer-events: auto; }
.location-map.is-ready [class*="-ground-pane"],
.location-map.is-ready [class*="-areas-pane"] {
  filter: grayscale(0.84) sepia(0.42) saturate(0.34) brightness(1.08) contrast(0.9);
}
.location-map-fallback {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  margin: 0;
  padding: 1.15rem 1.2rem;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--ink);
  pointer-events: none;
}
.location-map.is-ready .location-map-fallback { display: none; }
.location-filters {
  position: absolute;
  z-index: 5;
  top: 0.75rem;
  left: 0.75rem;
  right: 3.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  pointer-events: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-deep);
  border-radius: 999px;
  min-height: 2.3rem;
  padding: 0.3rem 0.85rem;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1.2;
  pointer-events: auto;
}
.chip-icon { width: 1.05rem; height: 1.05rem; flex: none; display: block; }
.chip.is-active { background: var(--ink-deep); color: #fff; border-color: var(--ink-deep); }
.location-panel {
  position: absolute;
  z-index: 6;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.7rem;
  width: auto;
  max-width: 22rem;
  max-height: calc(100% - 6.4rem);
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.7rem;
  overflow: auto;
  border-radius: 16px;
  background: rgba(247, 241, 234, 0.96);
  color: #2c4945;
  box-shadow: 0 0.35rem 1.2rem rgba(44, 73, 69, 0.18);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}
.location-panel[hidden] { display: none; }
.location-panel.has-place { max-width: min(34rem, 100%); }
.location-panel-photo-wrap {
  position: relative;
  flex: none;
  width: 100%;
  height: 8.6rem;
  overflow: hidden;
  border-radius: 16px;
  background: #e3cdbb;
}
.location-panel-photo-wrap[hidden] { display: none; }
.location-panel-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.location-panel-copy {
  min-width: 0;
  padding: 0.1rem 1.75rem 0.15rem 0.15rem;
}
.location-panel h3 {
  margin: 0 0 0.4rem;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  color: #2c4945;
}
.location-panel-copy > p {
  margin: 0;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #536158;
}
.location-panel-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.85rem;
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(44, 73, 69, 0.14);
}
.location-panel-meta[hidden] { display: none; }
.location-panel-meta p {
  display: grid;
  gap: 0.12rem;
  margin: 0;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  line-height: 1.2;
  color: #536158;
}
.location-panel-meta strong {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  color: #2c4945;
}
.location-panel-close {
  position: absolute;
  z-index: 2;
  top: 0.45rem;
  right: 0.45rem;
  width: 1.8rem;
  height: 1.8rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(247, 241, 234, 0.94);
  color: #2c4945;
  box-shadow: 0 0.1rem 0.35rem rgba(44, 73, 69, 0.16);
}
.location-panel-close svg { width: 0.7rem; height: 0.7rem; }
@media (min-width: 768px) {
  .location-panel.has-place {
    flex-direction: row;
    align-items: stretch;
    max-width: 40rem;
  }
  .location-panel.has-place .location-panel-photo-wrap {
    width: 12.5rem;
    height: auto;
    min-height: 12rem;
    align-self: stretch;
  }
  .location-panel.has-place .location-panel-copy { padding-top: 0.25rem; }
}
.loc-pin {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transform: translate(-50%, -50%);
  padding: 0.22rem 0.55rem 0.22rem 0.28rem;
  border-radius: 999px;
  background: #f4ebe4;
  color: #2c4945;
  box-shadow: 0 0.15rem 0.55rem rgba(44, 73, 69, 0.16);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
}
.loc-pin-glyph {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  flex: none;
}
.loc-pin-glyph svg { width: 1.05rem; height: 1.05rem; display: block; }
.loc-pin--home {
  padding: 0.48rem 0.95rem;
  font-size: 1.15rem;
  font-weight: 600;
  z-index: 2;
}
.loc-pin--home .loc-pin-glyph { display: none; }
.loc-pin--home,
.loc-pin.is-active {
  background: #2c4945;
  color: #f4ebe4;
}

.orbit { padding: 0 0 3.5rem; }
#nearby { scroll-margin-top: calc(var(--header) + 0.75rem); }
.orbit-head {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.4rem;
}
.orbit-head p { margin-top: 0.7rem; max-width: 36rem; }
.orbit-head .kicker { margin-top: 0; margin-bottom: 0; }
#nearby-title.visually-hidden,
.orbit-lead.visually-hidden { margin: 0; }
.orbit-open {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
}
.orbit-open[aria-pressed="true"] .orbit-photo {
  box-shadow: 0 0 0 3px var(--ink-deep);
}
.orbit-arrows { display: flex; gap: 0.55rem; flex: none; }
.orbit-viewport { overflow: hidden; }
#nearby .orbit-head,
#nearby .orbit-viewport {
  width: min(100% - 2.5rem, 96rem);
  max-width: none;
  margin-inline: auto;
}
#nearby .orbit-viewport {
  padding-inline: 0;
  overflow: hidden;
}
.orbit-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.85rem;
  transition: transform 0.45s var(--ease);
}
.orbit-card { flex: 0 0 9.5rem; width: 9.5rem; text-align: center; }
.orbit-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  object-fit: cover;
  margin: 0 auto 0.6rem;
  background: var(--sand);
}
.orbit-photo--mark {
  display: grid;
  place-items: center;
  background: var(--ink-deep);
  color: var(--bg);
}
.orbit-photo--mark svg { width: 2.5rem; height: 2.5rem; }
.orbit-title {
  color: var(--ink-deep);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85rem;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}

.design-fade {
  position: relative;
  height: calc(100vh - var(--header));
  height: calc(100dvh - var(--header));
  max-height: calc(100vh - var(--header));
  max-height: calc(100dvh - var(--header));
  overflow: hidden;
  color: #fff;
  background: linear-gradient(124.73deg, #1e299e 6.9%, #0e145a 40.2%, #0c1151 61.92%, #1e2b9d 99.57%);
}
.design-fade-viewport {
  position: relative;
  height: 100%;
}
.design-fade-photos {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 47.24%;
  height: 100%;
}
.design-fade-photos img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: left center;
  opacity: 0;
  transition: opacity 0.5s linear;
}
.design-fade-photos img.is-active { opacity: 1; }
.design-fade-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  width: 50%;
  min-width: 0;
  height: 100%;
  padding: 0 clamp(1.3rem, 3.65vw, 4.375rem) clamp(4.5rem, 11vh, 7.5rem);
}
.design-fade-texts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  flex: 1 1 auto;
  align-content: start;
  width: 100%;
  max-width: 40rem;
  min-width: 0;
  padding-top: clamp(5.5rem, 18vh, 12.5rem);
}
.design-fade-slide {
  grid-area: 1 / 1;
  min-width: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s linear;
}
.design-fade-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}
.design-fade-title {
  max-width: min(11em, 100%);
  color: #fff;
  font-family: "TT Ramillas", Palatino, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4.17vw, 5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.design-fade-lead {
  max-width: min(40rem, 100%);
  margin-top: clamp(1.875rem, 9vh, 6.25rem);
  color: #fff;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.5rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.03em;
  opacity: 0.8;
}
.design-fade-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.95rem, 2vw, 2.45rem);
  margin: 0 0 1.25rem;
}
.design-fade-arrows { display: flex; gap: 0.625rem; }
.design-fade-btn {
  display: grid;
  place-items: center;
  width: 6.25rem;
  height: 6.25rem;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
  color: #fff;
}
.design-fade-btn svg { width: 0.625rem; height: 1.25rem; }
.design-fade-btn:first-child svg { transform: scaleX(-1); }
.design-fade-btn:hover { background: rgba(255, 255, 255, 0.08); }
.design-fade-btn:disabled {
  opacity: 0.4;
  cursor: default;
}
.design-fade-btn:disabled:hover { background: transparent; }
.design-fade-count {
  margin: 0;
  color: #fff;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.design-fade-count [aria-hidden="true"] { margin-inline: 1.5rem; }

.stories-fade {
  background: var(--ink-deeper);
  width: min(100% - 2.5rem, 96rem);
  margin-inline: auto;
  border-radius: 20px;
  height: calc(100vh - var(--header));
  height: calc(100dvh - var(--header));
  max-height: calc(100vh - var(--header));
  max-height: calc(100dvh - var(--header));
  overflow: hidden;
  margin-bottom: 5rem;
}
.stories-fade .design-fade-viewport {
  height: 100%;
  min-height: 0;
  border-radius: inherit;
  overflow: hidden;
}
.stories-fade .design-fade-photos { width: 66.6667%; }
.stories-fade .design-fade-photos img {
  object-position: center;
  transition-duration: 0.5s;
}
.stories-fade .design-fade-copy {
  width: 33.3333%;
  min-height: 0;
  overflow: auto;
  padding-inline: 1rem;
}
.stories-fade .design-fade-texts {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3vh, 2rem);
  max-width: 40rem;
  padding-top: clamp(5.75rem, 14vh, 10rem);
}
.stories-fade-stack {
  display: grid;
  margin-top: auto;
  margin-bottom: clamp(1.25rem, 3vh, 2.5rem);
}
.stories-fade .design-fade-slide {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition-duration: 0.5s;
}
.stories-fade .stories-fade-name {
  margin: 0;
  color: #fff;
  font-family: "TT Ramillas", Palatino, "Times New Roman", serif;
  font-size: clamp(1.02rem, 1.3175vw, 1.445rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.stories-fade .design-fade-lead {
  margin-top: 0;
  font-size: 0.85rem;
}
.stories-fade .design-fade-title {
  max-width: 100%;
  color: #fff;
  font-family: "TT Ramillas", Palatino, "Times New Roman", serif;
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 1.05;
  overflow-wrap: normal;
  hyphens: manual;
  text-transform: none;
}
@media (min-width: 960px) {
  .stories-fade,
  .stories-fade .design-fade-viewport {
    height: min(750px, calc(100vh - var(--header)));
    height: min(750px, calc(100dvh - var(--header)));
    max-height: min(750px, calc(100vh - var(--header)));
    max-height: min(750px, calc(100dvh - var(--header)));
  }
  .stories-fade .design-fade-copy {
    container-type: inline-size;
    padding: 2.25rem 2.15rem 2.1rem;
  }
  .stories-fade .design-fade-texts {
    padding-top: 0;
  }
  .stories-fade .design-fade-nav {
    gap: 0.75rem;
    margin-bottom: 0;
  }
  .stories-fade .design-fade-count [aria-hidden="true"] {
    margin-inline: 0.75rem;
  }
  .stories-fade .design-fade-btn {
    width: 2.375rem;
    height: 2.375rem;
  }
  .stories-fade .design-fade-btn svg {
    width: 0.5rem;
    height: 1rem;
  }
  .stories-fade .design-fade-lead {
    font-size: clamp(0.7225rem, 0.903125vw, 1.08375rem);
  }
}
@media (min-width: 960px) and (max-width: 1200px) {
  .stories-fade .design-fade-title {
    font-size: min(2.5rem, calc(100cqi / 6.1));
  }
}
@media (min-width: 1201px) {
  .stories-fade .design-fade-title {
    font-size: 2.7778rem;
    line-height: 1;
  }
}

@media (max-width: 959px) {
  .stories-fade {
    height: auto;
    max-height: none;
  }
  .stories-fade .design-fade-viewport {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    overflow: hidden;
  }
  .stories-fade .design-fade-photos {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 15;
    min-height: 0;
  }
  .stories-fade .design-fade-copy {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: visible;
    padding: 1rem 1.15rem 1rem;
  }
  .stories-fade .design-fade-texts {
    flex: 0 0 auto;
    padding-top: 0;
    gap: 0.75rem;
  }
  .stories-fade .stories-fade-stack { margin: 0; }
  .stories-fade .design-fade-nav { margin-top: 0.85rem; margin-bottom: 0; }
}
@media (max-width: 767px) {
  .design-fade-texts { padding-top: 0; }
  .design-fade-title { font-size: 2.25rem; letter-spacing: -0.025em; }
  .design-fade-lead { margin-top: 1.875rem; font-size: 1rem; line-height: 1.3; }
  .design-fade-nav { margin-top: 1.75rem; margin-bottom: 0; }
  .design-fade-btn { width: 3.125rem; height: 3.125rem; }
  .design-fade-count [aria-hidden="true"] { margin-inline: 0.75rem; }
  .stories-fade .design-fade-lead { margin-top: 0; font-size: 0.85rem; }
  .stories-fade .stories-fade-name { font-size: 0.9775rem; }
  .stories-fade .design-fade-title {
    max-width: 100%;
    font-size: 2.5rem;
    font-weight: 400;
    overflow-wrap: normal;
    hyphens: manual;
  }
  .village { --village-tab: 3.7rem; }
  .village-tab { padding-inline: 1rem; gap: 0.55rem; }
  .village-tab .brand-logo { width: 2.25rem; }
  .village-tab .village-name { font-size: 1.05rem; }
}

.horizontal-scroll {
  --banner-height: var(--header);
  --spacer: 7.5rem;
  position: relative;
  max-width: 100%;
  margin-bottom: calc(var(--spacer) / 4);
  scroll-margin-top: calc(var(--header) + 1rem);
  background: var(--bg);
}
.horizontal-scroll .heading-l {
  margin: 0;
  font-family: "TT Ramillas", Palatino, "Times New Roman", serif;
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #2c4945;
}
.horizontal-scroll .subheading {
  margin: 0;
  font-family: "TT Ramillas", Palatino, "Times New Roman", serif;
  font-weight: 500;
  font-size: 0.6875rem;
  line-height: 1.35;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.horizontal-scroll .text-l {
  margin: 0;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.375;
  color: var(--ink);
}
.hs-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: var(--bg);
}
.hs-track {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 100%;
  padding: 0.75rem;
  will-change: transform;
}
.hs-text {
  display: flex;
  flex: 0 0 min(82vw, 28rem);
  align-self: center;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  height: calc(min(78vw, 36rem) * 9 / 16);
  padding: 1.5rem 3.25rem 1.75rem 2.75rem;
}
.hs-text .text-l {
  font-size: 0.85rem;
  line-height: 1.45;
}
.hs-text > .subheading { display: none; color: var(--taupe); }
.hs-item {
  position: relative;
  flex: 0 0 auto;
  width: min(78vw, 36rem);
  height: auto;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
}
.hs-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hs-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 2.75rem 1rem 0.95rem;
  background: linear-gradient(180deg, rgba(22, 16, 14, 0) 0%, rgba(22, 16, 14, 0.78) 46%, rgba(22, 16, 14, 0.9) 100%);
  color: #f7f3ee;
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.hs-caption-title {
  display: block;
  font-size: 1.18rem;
}
.hs-caption-text {
  max-width: 600px;
  margin: 0.32rem 0 0;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  line-height: 1.35;
  letter-spacing: 0;
  color: rgba(247, 243, 238, 0.82);
}

.purchase { padding: 4rem 0 2rem; }
.purchase-grid { display: grid; gap: 0.9rem; }
.pay-card {
  background: #f7f3ee;
  border-radius: 1.4rem;
  padding: 1.3rem 1.2rem 1.2rem;
  min-height: 22rem;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 0.8rem;
}
.pay-card h3 { font-size: 1.7rem; font-weight: 400; color: var(--ink-deep); }
.pay-card h3 em {
  font-style: normal;
  color: var(--accent);
  font-size: 0.7em;
  margin-left: 0.25rem;
}
.pay-icon {
  width: 9.5rem;
  height: 9.5rem;
  margin: 0.4rem auto;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--ink-deep);
}
.pay-icon span { font-size: 1.7rem; letter-spacing: -0.03em; }
.pay-icon svg { width: 4.2rem; height: 4.2rem; }
.pay-card p { color: var(--ink); }
.pay-card .round-btn { justify-self: end; }
@media (max-width: 759px) {
  .purchase-grid {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
  }
  .purchase-grid::-webkit-scrollbar { display: none; }
  .pay-card {
    flex: 0 0 calc((100% - 0.75rem) / 1.5);
    width: calc((100% - 0.75rem) / 1.5);
    min-width: 0;
    min-height: 0;
    scroll-snap-align: start;
    padding: 0.95rem 1rem 0.8rem;
    gap: 0.5rem;
  }
  .pay-card .pay-icon {
    width: 6.25rem;
    height: 6.25rem;
    margin: 0.1rem auto;
  }
  .pay-card .pay-icon svg { width: 2.8rem; height: 2.8rem; }
  .pay-card .pay-icon span { font-size: 1.35rem; }
}

.calculator { padding: 1rem 0 4rem; }
.calc-tabs {
  width: fit-content;
  margin: 0 auto 1.2rem;
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
  background: #efe6de;
  border-radius: 999px;
}
.calc-tabs button {
  border: 0;
  background: transparent;
  color: var(--ink-deep);
  border-radius: 999px;
  min-height: 2.4rem;
  padding: 0.3rem 1.1rem;
}
.calc-tabs button.is-active { background: #fff; }
.calc-layout { display: grid; gap: 0.9rem; }
.calc-form, .calc-result {
  background: #f7f3ee;
  border-radius: 1.2rem;
  padding: 1.2rem;
}
.calc-form h2 { font-size: 1.8rem; margin-bottom: 1rem; }
.calc-field { display: grid; gap: 0.35rem; margin-bottom: 0.9rem; }
.calc-field span, .calc-rate { color: var(--taupe); font-size: 0.92rem; }
.calc-field output { color: var(--ink-deep); font-size: 1.15rem; }
.calc-field input[type="range"] { width: 100%; accent-color: var(--button); }
.calc-payment {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ink-deep);
  letter-spacing: -0.03em;
  margin: 0.3rem 0;
}
.calc-payment-label { color: var(--taupe); margin-bottom: 1rem; }
.calc-breakdown { margin: 0; display: grid; gap: 0.55rem; }
.calc-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.4rem;
}
.calc-breakdown dt { color: var(--taupe); }
.calc-breakdown dd { margin: 0; color: var(--ink-deep); }

.gallery { padding: 3rem 0; background: var(--bg-2); }
.gallery-frame {
  width: min(100% - 2.5rem, 96rem);
  margin-inline: auto;
}
.gallery-stage { display: grid; gap: 0.75rem; min-width: 0; }
.gallery-main { position: relative; min-width: 0; }
.gallery-slides {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--sand);
  aspect-ratio: 16 / 10;
}
.gallery-item {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
}
.gallery-item.is-active { opacity: 1; z-index: 1; pointer-events: auto; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  background: rgba(30, 56, 52, 0.45);
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}
.gallery-arrow:hover { background: rgba(30, 56, 52, 0.68); }
.gallery-arrow--prev { left: 0.7rem; }
.gallery-arrow--next { right: 0.7rem; }
.gallery-dots {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.8rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
}
.gallery-dots button {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(20, 24, 22, 0.28);
}
.gallery-dots button.is-active { background: #fff; }
.gallery-thumbs-wrap {
  container-type: inline-size;
  container-name: gallery-thumbs;
  min-width: 0;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}
.gallery-thumb {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.45rem;
  overflow: hidden;
  background: transparent;
  opacity: 0.68;
}
.gallery-thumb.is-active {
  opacity: 1;
  border-color: var(--ink-deep);
}
.gallery-thumb:focus-visible {
  outline: 2px solid var(--ink-deep);
  outline-offset: 2px;
}
.gallery-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
@container gallery-thumbs (min-width: 32rem) {
  .gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .gallery { padding: 5.5rem 0; }
  .gallery-stage {
    grid-template-columns: minmax(0, 4fr) minmax(0, 1fr);
    gap: 0.65rem;
    align-items: stretch;
  }
  .gallery-main { height: 100%; }
  .gallery-slides { height: 100%; aspect-ratio: auto; min-height: 16rem; }
}

#news .wrap,
#purchase .wrap,
#calculator .wrap {
  width: min(100% - 2.5rem, 96rem);
}

.news { padding: 3rem 0; }
.news-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.2rem;
}
.news-head .lead { margin-top: 0.7rem; }
#news .lead {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95625rem;
}
.news-arrows { display: flex; gap: 0.55rem; }
.news-viewport { overflow: hidden; }
.news-track { display: flex; gap: 0.9rem; transition: transform 0.45s var(--ease); }
.news-card {
  flex: 0 0 100%;
  background: var(--bg-2);
  border-radius: 1rem;
  overflow: hidden;
}
.news-card img { width: 100%; height: 210px; object-fit: cover; }
.news-card time, .news-card h3, .news-card p { margin-left: 1rem; margin-right: 1rem; }
.news-card time {
  display: block;
  margin-top: 0.8rem;
  color: var(--taupe);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85rem;
}
.news-card h3 {
  margin-top: 0.35rem;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink-deep);
  letter-spacing: -0.02em;
}
.news-card p {
  margin-top: 0.4rem;
  margin-bottom: 1rem;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1.45;
}

.contact {
  display: grid;
  width: min(100% - 2.5rem, 96rem);
  margin: 0 auto 5.5rem;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink-deeper);
  color: var(--bg);
}
.contact[hidden] {
  display: none !important;
}
.contact-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center 12%;
}
.contact-panel { padding: 2.15rem; }
.contact h2 {
  color: #e7c3ad;
  text-transform: none;
  letter-spacing: 0.03em;
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1.3rem;
}
.float-field { display: grid; gap: 0.35rem; margin-bottom: 0.8rem; }
.float-field span { font-size: 0.85rem; color: rgba(244, 235, 228, 0.7); }
.float-field input {
  width: 100%;
  min-height: 3rem;
  border: 0;
  border-radius: 0.35rem;
  padding: 0.6rem 0.8rem;
  background: #fff;
  color: var(--ink-deep);
}
.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: start;
  margin: 0.65rem 0;
  font-size: 0.92rem;
  color: rgba(244, 235, 228, 0.88);
}
form.contact-form label.check {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(244, 235, 228, 0.72);
}
form.contact-form label.check a {
  color: rgba(244, 235, 228, 0.86);
}
form.contact-form label.check input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin-top: 0.1rem;
}
.check a { color: #fff; }
.form-topic { margin: 0 0 0.9rem; color: #fff; }
.form-error { color: #f0b4a4; margin: 0.4rem 0; }
.form-success { color: #d7eadf; margin: 0.4rem 0 0.8rem; }
.contact .btn { background: var(--accent); }
.contact .btn:hover { background: #b57862; }

.site-footer {
  background-color: #17302d;
  background-image:
    linear-gradient(115.11deg, rgba(44, 73, 72, 0.62), rgba(22, 38, 33, 0.74)),
    url("../assets/media/bg-abstract.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #f4ebe4;
  padding: 3rem 0 2rem;
}
.site-footer a { font-family: Inter, "Helvetica Neue", Arial, sans-serif; }
#footer .wrap { width: min(100% - 2.5rem, 96rem); }
.footer-contacts h2 {
  color: #f4ebe4;
  font-weight: 400;
  margin-bottom: 0.8rem;
}
.footer-phone {
  color: #f4ebe4;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.footer-label { margin-top: 1.2rem; font-weight: 500; color: #fff; }
.footer-copy { font-family: Inter, "Helvetica Neue", Arial, sans-serif; }
.footer-note {
  margin-top: 0.35rem;
  color: rgba(244, 235, 228, 0.78);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.4;
}
.footer-contacts-copy { min-width: 0; }
.footer-map { display: none; }
.footer-map-canvas,
.footer-map-canvas > ymaps { width: 100%; height: 100%; }
.footer-map-canvas { position: absolute; inset: 0; }
.footer-balloon-route {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.7rem;
  min-height: 2.15rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  background: var(--button);
  color: #fff;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  text-decoration: none;
}
.footer-balloon-route:hover { background: #638484; color: #fff; }
.footer-map.is-ready [class*="-ground-pane"],
.footer-map.is-ready [class*="-areas-pane"] {
  filter: grayscale(0.84) sepia(0.42) saturate(0.34) brightness(1.08) contrast(0.9);
}
.footer-map [class*="map-copyrights-promo"] { display: none; }
.footer-map [class*="copyrights-pane"] { transform: translate(-1.35rem, -0.55rem); }
.footer-map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 1rem;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85rem;
  color: #2c4945;
  text-align: center;
}
.footer-map.is-ready .footer-map-fallback { display: none; }
.footer-grid {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(244, 235, 228, 0.16);
  display: grid;
  gap: 1.3rem;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #f4ebe4;
  text-decoration: none;
  font-size: 1.4rem;
}
.footer-grid nav { display: grid; gap: 0.35rem; align-content: start; }
.footer-grid nav a { font-size: 0.92rem; line-height: 1.35; }
.footer-grid a { color: rgba(244, 235, 228, 0.88); text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-grid .kicker { color: rgba(244, 235, 228, 0.55); }

.footer-first-content {
  width: 100%;
  margin: -3rem 0 0;
  padding: 3.75rem 0;
  background: #261a16 url("../assets/media/bg-abstract.jpg") center / cover no-repeat;
  color: #e3cdbb;
}
.footer-first-content .heading-m {
  margin: 0;
  color: #e3cdbb;
  font-family: "TT Ramillas", Palatino, "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.875rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.footer-first-content .subheading {
  margin: 0;
  font-family: "TT Ramillas", Palatino, "Times New Roman", serif;
  font-weight: 500;
  font-size: 0.6875rem;
  line-height: 1.35;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-first-content .text-l {
  margin: 0;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.375;
  color: #e3cdbb;
}
.footer-first-content-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  width: 17.125rem;
  max-width: calc(100% - 2.5rem);
  margin: 0 auto;
}
.footer-first-content-details-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
}
.footer-first-content-details-content > .footer-first-label:first-of-type { margin-top: 0; }
.footer-first-content-details .text-l { color: #e3cdbb; }
.footer-first-phone {
  margin-bottom: 0.7rem;
  color: #e3cdbb;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.4rem;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.footer-first-phone:hover { color: #fff; }
.footer-first-label { margin-top: 0.85rem; }
.footer-first-hours-note {
  margin: 0.1rem 0 0;
  color: #e3cdbb;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  line-height: 1.4;
}
.footer-first-content-contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin: 3.75rem 0;
  padding: 0 3.125rem;
}
.footer-first-content-contact-form h2,
.footer-first-content-contact-form .contact-form-wrapper,
.footer-first-content-contact-form form { width: 100%; }
.footer-first-content .form-floating { position: relative; }
.footer-first-content .margin-bottom-20 { margin-bottom: 1.25rem; }
.footer-first-content .form-control {
  display: block;
  width: 100%;
  height: 2.5rem;
  min-height: 2.5rem;
  padding: 0.75rem 0 0.5rem;
  border: 0;
  border-bottom: 1px solid #c8bbb0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.375;
  caret-color: #fff;
}
.footer-first-content .form-control::placeholder { color: transparent; }
.footer-first-content .form-control:hover { border-bottom-color: #9d968e; }
.footer-first-content .form-control:focus {
  outline: none;
  border-bottom-color: #e3cdbb;
}
.footer-first-content .form-floating > label {
  position: absolute;
  top: 0.7rem;
  left: 0;
  max-width: 100%;
  color: #9d968e;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.375;
  white-space: nowrap;
  pointer-events: none;
  transform-origin: 0 0;
  transition: transform 0.3s cubic-bezier(0.25, 0.005, 0, 1);
}
.footer-first-content .form-floating > .form-control:focus,
.footer-first-content .form-floating > .form-control:not(:placeholder-shown) {
  padding-top: 1.15rem;
  padding-bottom: 0.2rem;
}
.footer-first-content .form-floating > .form-control:focus ~ label,
.footer-first-content .form-floating > .form-control:not(:placeholder-shown) ~ label {
  transform: scale(0.625) translateY(-0.45rem);
}
.footer-first-content textarea.form-control {
  height: auto;
  min-height: 5.5rem;
  resize: vertical;
}
.footer-first-content .form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}
.footer-first-content .form-check-input {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0.1rem 0 0;
  accent-color: #e3cdbb;
}
.footer-first-content .footer-consent {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-first-content .form-check-label {
  min-width: 0;
  color: #fff;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  line-height: 1.4;
  white-space: normal;
}
.footer-first-content .form-check-label a {
  color: #e3cdbb;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.footer-first-content .form-check-label a:hover { color: #fff; }
.footer-first-content .btn {
  min-height: 2.5rem;
  padding: 0.78rem 0.9rem;
  border-radius: 6px;
  background: #527171;
  box-shadow: inset 0 0 0 1px rgb(78 173 176 / 40%);
  color: #fff;
  font-family: "TT Ramillas", Palatino, "Times New Roman", serif;
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
}
.footer-first-content .btn:hover,
.footer-first-content .btn:focus-visible {
  background: #638484;
  color: #fff;
}
.footer-first-content-contact-form form button[type="submit"] { width: 100%; }
.footer-first-content-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0;
  padding: 0 1.25rem;
}
.footer-first-content-contact-cards h2,
.footer-first-content-contact-form h2,
.footer-first-content-details h2 { text-align: center; }
.footer-first-content-contact-cards-contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.footer-first-content .contact-card {
  display: flex;
  justify-content: space-between;
  gap: 0.9375rem;
  width: min(100%, 24.8125rem);
  padding: 0.9375rem;
  border-radius: 8px;
  background: #526c71b8;
}
.footer-first-content .contact-card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
}
.footer-first-content .contact-card-content-name,
.footer-first-content .contact-card-content-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.footer-first-content .contact-card-role {
  display: block;
  color: #fff;
  font-family: "TT Ramillas", Palatino, "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.44;
}
.footer-first-content .contact-card .subheading { color: #e3cdbb; }
.footer-first-content .contact-card-content-contacts a {
  color: #e3cdbb;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.footer-first-content .contact-card-content-contacts a:hover { color: #fff; }
.footer-first-content .contact-card-image {
  position: relative;
  flex-shrink: 0;
  width: 5.3125rem;
  aspect-ratio: 17 / 24;
  overflow: hidden;
  border-radius: 8px;
}
.footer-first-content .contact-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 8%;
}
@media (min-width: 768px) {
  .footer-first-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    padding-top: 5.625rem;
    padding-bottom: 5.625rem;
    place-items: center;
  }
  .footer-first-content-details {
    grid-column: 1;
    grid-row: 1;
    width: 17.125rem;
    margin: 0 auto 0 5.3125rem;
    gap: 2rem;
  }
  .footer-first-content-contact-form {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    margin: 0;
    padding-left: 3.8125rem;
    padding-right: 4.5rem;
    gap: 2.5rem;
    border-left: 1px solid rgba(83, 97, 88, 0.4);
  }
  .footer-first-content-contact-form form button[type="submit"] {
    width: auto;
    margin: 0 auto;
  }
  .footer-first-content .form-control {
    height: 2.75rem;
    min-height: 2.75rem;
  }
  .footer-first-content-contact-cards {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 2rem;
    width: 100%;
    margin-top: 5.625rem;
    padding: 0 1.25rem;
  }
  .footer-first-content-contact-cards-contacts {
    flex-direction: row;
    justify-content: center;
    gap: 1.25rem;
  }
  .footer-first-content .contact-card { border-radius: 12px; }
  .footer-first-content .contact-card-image {
    width: 6.6875rem;
    aspect-ratio: 107 / 150;
  }
}
@media (min-width: 1201px) {
  .footer-first-content {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding: 5.55555555555rem 5.0925925926rem;
    gap: 3.7037037037rem;
  }
  .footer-first-content .heading-m {
    font-size: 1.9444444444rem;
  }
  .footer-first-content .subheading { font-size: 0.5555555556rem; }
  .footer-first-content .text-l {
    font-size: 0.8333333333rem;
    line-height: 1.4;
  }
  .footer-first-content .btn { font-size: 0.6018518519rem; }
  .footer-first-content-details,
  .footer-first-content-contact-form,
  .footer-first-content-contact-cards {
    flex: 1;
    min-width: 0;
    margin: 0;
  }
  .footer-first-content-details {
    align-items: flex-start;
    width: auto;
    max-width: none;
    gap: 1.8518518519rem;
  }
  .footer-first-content-details-content {
    align-items: flex-start;
    gap: 0.22rem;
    text-align: left;
  }
  .footer-first-content-contact-form {
    align-items: center;
    padding-left: 3.7037037037rem;
    padding-right: 3.7037037037rem;
    gap: 3.8888888889rem;
    border-left: 1px solid rgba(83, 97, 88, 0.4);
    border-right: 1px solid rgba(83, 97, 88, 0.4);
  }
  .footer-first-content-contact-form form { width: 18.3796296296rem; }
  .footer-first-content-contact-form form button[type="submit"] { margin: 0; }
  .footer-first-content .form-control,
  .footer-first-content .form-floating > label { font-size: 0.8333333333rem; }
  .footer-first-content .form-control {
    height: 2.037037037rem;
    min-height: 2.037037037rem;
  }
  .footer-first-content .margin-bottom-20 { margin-bottom: 0.9259259259rem; }
  .footer-first-content .form-check { gap: 0.462962963rem; }
  .footer-first-content .form-check-input {
    width: 1.1111111111rem;
    height: 1.1111111111rem;
  }
  .footer-first-content-contact-cards {
    gap: 3.8888888889rem;
    padding: 0;
  }
  .footer-first-content-contact-cards h2,
  .footer-first-content-contact-form h2,
  .footer-first-content-details h2 { text-align: left; }
  .footer-first-content-contact-cards-contacts {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9259259259rem;
    width: 18.3796296296rem;
  }
  .footer-first-content .contact-card-image { width: 4.9537037037rem; }
  .footer-first-content .contact-card-role { font-size: 0.9259259259rem; }
}
@media (min-width: 1728px) {
  .footer-first-content {
    padding: 7.5rem 6.875rem;
    gap: 5rem;
  }
  .footer-first-content .heading-m { font-size: 2.625rem; }
  .footer-first-content .subheading { font-size: 0.75rem; }
  .footer-first-content .text-l {
    font-size: 1.125rem;
    line-height: 1.4;
  }
  .footer-first-content .btn { font-size: 0.8125rem; }
  .footer-first-content-details { gap: 2.5rem; }
  .footer-first-content-details-content { gap: 0.3rem; }
  .footer-first-content-contact-form {
    padding-left: 5rem;
    padding-right: 5rem;
    gap: 5.25rem;
  }
  .footer-first-content-contact-form form { width: 24.8125rem; }
  .footer-first-content .form-control,
  .footer-first-content .form-floating > label { font-size: 1rem; }
  .footer-first-content .form-control {
    height: 2.75rem;
    min-height: 2.75rem;
  }
  .footer-first-content .margin-bottom-20 { margin-bottom: 1.25rem; }
  .footer-first-content .form-check { gap: 0.625rem; }
  .footer-first-content .form-check-input {
    width: 1.5rem;
    height: 1.5rem;
  }
  .footer-first-content-contact-cards { gap: 5.25rem; }
  .footer-first-content-contact-cards-contacts {
    gap: 1.25rem;
    width: 24.8125rem;
  }
  .footer-first-content .contact-card {
    padding: 0.9375rem;
    gap: 0.9375rem;
  }
  .footer-first-content .contact-card-image { width: 6.6875rem; }
  .footer-first-content .contact-card-role { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-first-content .form-floating > label { transition: none; }
}

@media (min-width: 760px) {
  .wrap { width: min(1180px, calc(100% - 4rem)); }
  .site-nav-inner { grid-template-columns: 1.4fr 0.8fr; align-items: end; }
  .village-slide { min-height: 560px; }
  .village-body { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
  .village-photo { min-height: 100%; }
  .village-copy { padding: 0.4rem 2.5rem 2.5rem; display: flex; flex-direction: column; justify-content: center; }
  .house-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .house-modal-layout { grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr); column-gap: 1.75rem; }
  .location-head { grid-template-columns: 0.7fr 1.3fr; align-items: start; gap: 2rem; }
  .horizontal-scroll { --spacer: 11.25rem; }
  .hs-text { padding-left: 4.5rem; }
  .purchase-grid { grid-template-columns: repeat(3, 1fr); }
  .calc-layout { grid-template-columns: 0.9fr 1.1fr; }
  .news-card { flex-basis: calc((100% - 1.8rem) / 3); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1.3fr; }
}
@media (min-width: 960px) {
  .footer-contacts {
    display: grid;
    grid-template-columns: minmax(16rem, 0.78fr) minmax(0, 1.22fr);
    column-gap: 2.75rem;
    align-items: stretch;
  }
  .footer-map {
    display: block;
    position: relative;
    min-height: 18.5rem;
    overflow: hidden;
    border-radius: 1rem;
    background: #e6d9cc;
  }
}

@media (min-width: 960px) {
  .news { padding: 5.5rem 0; }
  .contact {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    height: 460px;
    align-items: stretch;
  }
  .contact-photo { height: 100%; min-height: 0; position: relative; }
  .contact-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center 12%;
  }
  .contact-panel {
    height: 100%;
    min-height: 0;
    overflow: auto;
    padding: 2.75rem;
  }
  .contact h2 {
    font-size: clamp(1.6rem, 2.1vw, 2.15rem);
    margin-bottom: 0.65rem;
  }
  .contact .float-field { margin-bottom: 0.45rem; gap: 0.2rem; }
  .contact .float-field input { min-height: 2.45rem; padding: 0.4rem 0.75rem; }
  .contact form.contact-form label.check { margin: 0.32rem 0; }
  .contact .btn { min-height: 2.55rem; }
  .about-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2rem 2.5rem;
    align-items: center;
  }
  #nearby .orbit-arrows { display: none; }
  #nearby .orbit-track {
    width: 100%;
    gap: 0.65rem;
    transform: none !important;
  }
  #nearby .orbit-card {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }
  #nearby .orbit-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    object-fit: cover;
    margin-bottom: 0.5rem;
  }
  #nearby .orbit-photo--mark svg { width: 2rem; height: 2rem; }
  #nearby .orbit-title { font-size: 0.75rem; line-height: 1.25; }
}

@media (min-width: 1100px) {
  .house-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-copy { margin-left: 4vw; margin-bottom: 8rem; }
}

@media (min-width: 1201px) {
  .horizontal-scroll .heading-l { font-size: 2.7777777778rem; line-height: 1; }
  .horizontal-scroll .subheading { font-size: 0.5555555556rem; }
  .horizontal-scroll .text-l { font-size: 0.8333333333rem; line-height: 1.4; }
  .hs-text { height: calc(1230px * 9 / 16); padding-left: 6.5rem; }
  .hs-text .text-l { max-width: 24rem; font-size: 0.68rem; line-height: 1.5; }
  .hs-item { width: 1230px; height: auto; }
}
@media (min-width: 1728px) {
  .horizontal-scroll { --spacer: 15rem; }
  .horizontal-scroll .heading-l { font-size: 3.75rem; line-height: 1; }
  .horizontal-scroll .subheading { font-size: 0.75rem; }
  .horizontal-scroll .text-l { font-size: 1.125rem; line-height: 1.4; }
  .hs-text .text-l { font-size: 0.9rem; }
}
@media (max-width: 767px) {
  .chip { min-height: 2rem; padding: 0.25rem 0.7rem; font-size: 0.82rem; }
  .location-panel { max-width: none; }
  .horizontal-scroll { margin-top: 0; }
  .hs-sticky {
    position: relative;
    top: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  .hs-text {
    flex: none;
    align-self: stretch;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 0 1.25rem 1rem;
    scroll-snap-align: none;
  }
  .hs-text .text-l { font-size: 0.8rem; }
  .hs-track {
    align-items: flex-start;
    width: 100%;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    transform: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    container-type: inline-size;
  }
  .hs-track::-webkit-scrollbar { display: none; }
  .hs-item {
    flex: 0 0 calc((100cqw - 0.5rem) / 1.14);
    width: calc((100cqw - 0.5rem) / 1.14);
    height: auto;
    margin: 0;
    aspect-ratio: 3 / 4;
    scroll-snap-align: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .about-slides > img, .orbit-track, .gallery-item, .news-track,
  .design-fade-photos img, .design-fade-slide,
  .stories-fade .design-fade-photos img, .stories-fade .design-fade-slide,
  .house-spin-loader-ring { animation: none; transition: none; }
  .panorama-canvas,
  .map-scene { transition: none; }
  .horizontal-scroll { height: auto !important; }
  .hs-sticky { position: relative; height: auto; overflow-x: auto; }
  .hs-track { transform: none !important; }
  .hs-item { height: auto; }
}

.presentation {
  width: min(100% - 2.5rem, 96rem);
  margin: 0 auto 5rem;
}
.presentation-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.6rem 1.15rem 1.35rem;
  border-radius: 1.5rem;
  background: var(--bg-2);
  overflow: hidden;
}
.presentation-rings {
  position: absolute;
  z-index: 0;
  right: -2rem;
  top: 50%;
  width: min(34rem, 120%);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border: 1px solid rgba(83, 97, 88, 0.16);
  border-radius: 50%;
  pointer-events: none;
}
.presentation-rings::before,
.presentation-rings::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(83, 97, 88, 0.13);
  border-radius: inherit;
}
.presentation-rings::before { inset: 13%; }
.presentation-rings::after { inset: 28%; }
.presentation-copy { position: relative; z-index: 1; min-width: 0; }
.presentation-copy h2 {
  max-width: 20em;
  margin-bottom: 1.2rem;
  color: #161616;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.presentation-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
.presentation-fields .price-field {
  flex: 1 1 12.5rem;
  margin-top: 0;
  min-height: 3.05rem;
  border-color: #e3ddd6;
  border-radius: 0.65rem;
  background: #fff;
}
.presentation-fields .price-field input { min-height: 2.9rem; }
.presentation-fields .btn {
  flex: 1 1 auto;
  min-height: 3.05rem;
  padding-inline: 1.15rem;
  background: var(--accent);
  white-space: nowrap;
}
.presentation-fields .btn:hover { background: #8f5842; }
.presentation-form .form-error { color: #8d3b32; }
.presentation-form .form-success { color: var(--ink-deep); }
.presentation-note {
  max-width: 38rem;
  margin: 0.85rem 0 0;
  color: #8a8178;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  line-height: 1.45;
}
.presentation-note a {
  color: inherit;
  text-underline-offset: 0.14em;
}
.presentation-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 15rem;
  padding: 0.5rem 0 0.25rem;
}
.presentation-book {
  width: min(100%, 32rem);
  transform: rotate(-6deg);
  filter: drop-shadow(0 16px 24px rgba(30, 40, 38, 0.16));
}
.presentation-spread {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  aspect-ratio: 1.7 / 1;
  overflow: hidden;
  border-radius: 0.25rem 0.55rem 0.55rem 0.25rem;
  background: #fff;
}
.presentation-cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: #fff;
  background: var(--ink-deeper);
  box-shadow: inset -12px 0 16px rgba(0, 0, 0, 0.16);
}
.presentation-cover .brand-logo { width: 4.4rem; }
.presentation-cover p {
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.presentation-inner {
  position: relative;
  display: grid;
  grid-template-rows: 1.05fr 0.95fr;
  min-width: 0;
  background: #fff;
}
.presentation-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.presentation-inner img.presentation-plan {
  object-fit: contain;
  padding: 0.35rem 0.45rem 1.15rem;
  background: #fff;
}
.presentation-mark {
  position: absolute;
  right: 0.55rem;
  bottom: 0.35rem;
  color: var(--ink-deep);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.idyll {
  padding: 4.25rem 0 3.75rem;
  background: #f7f4f0;
}
.idyll .wrap { width: min(100% - 2.5rem, 96rem); }
.idyll-intro {
  max-width: 56rem;
  margin: 0 auto 2.6rem;
  text-align: center;
}
.idyll-intro .kicker { margin-bottom: 0.85rem; }
.idyll-intro h2 {
  font-size: clamp(1.35rem, 2.6vw, 2.2rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
}
.idyll-set {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}
.idyll-set + .idyll-set { margin-top: 1.15rem; }
.idyll-main,
.idyll-side {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 15px;
}
.idyll-main img,
.idyll-side img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 122%;
  max-width: none;
  object-fit: cover;
  transform: translate3d(0, calc(-8% + var(--parallax, 0px)), 0);
}
.idyll-intro,
.idyll-main,
.idyll-side {
  opacity: 0;
  translate: 0 1.75rem;
  transition: opacity 0.9s ease, translate 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}
.idyll-side { transition-delay: 0.1s; }
.idyll-intro.is-in,
.idyll-main.is-in,
.idyll-side.is-in {
  opacity: 1;
  translate: 0 0;
}
.idyll-intro { transform: translate3d(0, var(--parallax, 0px), 0); }
.idyll-main { aspect-ratio: 3 / 2; }
.idyll-set.is-flip .idyll-main { aspect-ratio: 3 / 4; }
.idyll-side { display: none; }
.idyll-card {
  position: static;
  margin: 0;
  padding: 1.25rem 1.2rem 1.35rem;
  border-radius: 15px;
  background: #fff;
  opacity: 1;
  translate: none;
  transform: none;
}
.idyll-card h3 {
  margin-bottom: 0.4rem;
  color: #161616;
  font-family: "TT Ramillas", Palatino, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.idyll-card p {
  color: #1c1c1c;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.98rem;
  line-height: 1.5;
}

.developer { --bleed-progress: 0; }
.final-gallery-images-section__background {
  position: relative;
  width: 100%;
}
.final-gallery-images-section__background::before {
  content: "";
  position: absolute;
  z-index: 0;
  background: linear-gradient(111.68deg, #f4e5dd, #d5d5d5);
  inset: calc(1.25rem * (1 - var(--bleed-progress)));
  border-radius: calc(12px * (1 - var(--bleed-progress)));
}
.developer-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, 96rem);
  margin-inline: auto;
  padding: 3.75rem 0 3.25rem;
}
.developer-inner > .wrap {
  width: 100%;
  max-width: none;
}
.developer-inner > .wrap > h2 { margin-bottom: 1.6rem; }
.developer-about {
  display: grid;
  gap: 1.4rem 2.4rem;
  align-items: center;
}
.developer-logo {
  display: grid;
  place-items: center;
  min-height: 8.5rem;
  padding: 1.6rem 1.35rem;
  border-radius: 0.35rem;
  background: radial-gradient(120% 150% at 18% 0%, #3a4452 0%, #1a1f28 58%, #10141b 100%);
}
.developer-logo img { width: min(100%, 16.5rem); height: auto; }
.developer-copy {
  display: grid;
  gap: 1.15rem;
}
.developer-copy p {
  color: #1c1c1c;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}
.developer-projects { margin-top: 2.4rem; }
.developer-projects .news-head { margin-bottom: 0.9rem; }
.developer-label {
  color: var(--ink-deep);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.developer-card {
  position: relative;
  display: flex;
  flex: 0 0 100%;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.4rem;
  min-height: 14.5rem;
  padding: 1.15rem 1.1rem;
  overflow: hidden;
  border-radius: 0.35rem;
  background-color: #2a312e;
  background-position: center;
  background-size: cover;
  color: #f4ebe4;
  text-decoration: none;
  isolation: isolate;
}
.developer-card--bereg { background-image: url("../assets/media/dev-volzhskiy-bereg.jpg"); }
.developer-card--country { background-image: url("../assets/media/dev-shodnya-country.jpg"); }
.developer-card--forest { background-image: url("../assets/media/dev-shodnya-forest.jpg"); }
.developer-card--life { background-image: url("../assets/media/dev-shodnya-life.jpg"); }
.developer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(18, 22, 20, 0.08) 12%, rgba(18, 22, 20, 0.78) 100%);
}
.developer-card:hover::before {
  background: linear-gradient(180deg, rgba(18, 22, 20, 0.22) 8%, rgba(18, 22, 20, 0.88) 100%);
}
.developer-card-name,
.developer-card-address { position: relative; z-index: 1; }
.developer-card-name {
  color: #fff;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.developer-card-address {
  color: rgba(244, 235, 228, 0.9);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.84rem;
  line-height: 1.4;
}

@media (max-width: 479px) {
  .idyll-main,
  .idyll-card { border-radius: 10px; }
}
@media (min-width: 760px) {
  .presentation-fields .btn { flex: 0 0 auto; }
  .idyll-set {
    grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
    gap: 1rem 1.35rem;
    align-items: start;
  }
  .idyll-set + .idyll-set { margin-top: 2.4rem; }
  .idyll-main { grid-column: 1; grid-row: 1; }
  .idyll-side {
    display: block;
    grid-column: 2;
    grid-row: 1;
    width: 74%;
    margin-top: 2.6rem;
    margin-left: auto;
    aspect-ratio: 4 / 5;
  }
  .idyll-card {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    position: relative;
    bottom: auto;
    z-index: 2;
    height: fit-content;
    width: 100%;
  }
  .idyll-set.is-flip .idyll-main { grid-column: 2; }
  .idyll-set.is-flip .idyll-side { grid-column: 1; margin-left: 0; margin-right: auto; }
  .idyll-set.is-flip .idyll-card {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    position: static;
    z-index: auto;
    width: 74%;
    height: auto;
    margin-left: 0;
    margin-right: auto;
  }
  .developer-about { grid-template-columns: minmax(15rem, 18.5rem) minmax(0, 1fr); }
}
@media (min-width: 960px) {
  .presentation-card {
    grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
    min-height: 23rem;
    padding: 2.5rem 1.5rem 2.15rem 2.7rem;
  }
  .presentation-visual { min-height: 19rem; }
  .idyll { padding: 5.5rem 0 4.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .idyll-intro,
  .idyll-main,
  .idyll-side {
    opacity: 1;
    translate: none;
    transition: none;
  }
  .idyll-intro { transform: none; }
  .idyll-main img,
  .idyll-side img {
    height: 100%;
    transform: none;
  }
}

.hero-lockup .hero-media > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}
.hero-lockup .hero-media > .is-active { opacity: 1; }
.hero-lockup .hero-shade {
  background:
    linear-gradient(180deg, rgba(16, 28, 26, 0.28) 0%, rgba(16, 28, 26, 0.08) 28%, rgba(16, 28, 26, 0.55) 100%),
    linear-gradient(90deg, rgba(16, 28, 26, 0.62) 0%, rgba(16, 28, 26, 0.12) 58%, rgba(16, 28, 26, 0.2) 100%);
}
.hero-lockup .hero-copy {
  width: min(46rem, calc(100% - 3rem));
  margin: 0 0 6.2rem 6vw;
}
.hero-lockup h1 {
  max-width: none;
  font-family: "TT Ramillas", Palatino, "Times New Roman", serif;
  font-size: clamp(3.8rem, 8vw, 7.2rem);
  font-weight: 300;
  line-height: 0.8;
  letter-spacing: -0.04em;
}
.hero-lockup h1 span {
  display: block;
  margin-top: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-indent: 0;
}
.hero-lockup .hero-copy p {
  max-width: 34rem;
  margin-top: 1.35rem;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.45;
}
.hero-scenes {
  position: absolute;
  right: 6vw;
  bottom: 2.2rem;
  z-index: 1;
  display: grid;
  justify-items: end;
  gap: 0.65rem;
  max-width: 14rem;
  color: #fff;
}
.hero-scenes p {
  margin: 0;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}
.hero-scene-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  max-width: 100%;
}
.hero-scene-arrow {
  flex: none;
  width: 1.65rem;
  height: 1.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  display: inline-grid;
  place-items: center;
}
.hero-scene-arrow svg {
  width: 0.42rem;
  height: 0.72rem;
  display: block;
}
.hero-scene-arrow:hover,
.hero-scene-arrow:focus-visible { color: #fff; }
.hero-scene-dots { display: flex; gap: 0.15rem; min-width: 0; }
.hero-scene-dot {
  width: 1.7rem;
  height: 1.4rem;
  border: 0;
  padding: 0;
  background: transparent;
  position: relative;
}
.hero-scene-dot::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  right: 0.15rem;
  top: 50%;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
}
.hero-scene-dot.is-active::before { background: #fff; }

.horizontal-scroll--life,
.horizontal-scroll--life .hs-sticky { background: var(--bg-2); color: var(--ink); }
.horizontal-scroll--life .heading-l {
  max-width: min(9em, 100%);
  color: var(--ink-deep);
  font-size: clamp(2.8rem, 4.4vw, 4.5rem);
  line-height: 0.96;
}
.horizontal-scroll--life .text-l,
.horizontal-scroll--life .hs-text .text-l {
  max-width: min(26rem, 100%);
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.45;
}
.horizontal-scroll--life .hs-text {
  height: auto;
  min-height: min(68vh, 34rem);
  justify-content: flex-end;
}
.horizontal-scroll--life .hs-item {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: min(22rem, 26vw);
  height: auto;
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}
.horizontal-scroll--life .hs-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  border-radius: 1.35rem;
  object-fit: cover;
}
.horizontal-scroll--life .hs-caption {
  position: static;
  padding: 0;
  background: none;
  color: var(--ink);
}
.horizontal-scroll--life .hs-caption-title {
  display: block;
  max-width: min(16rem, 100%);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--ink-deep);
}
.horizontal-scroll--life .hs-caption-text { color: var(--ink); }
.horizontal-scroll--life .hs-caption-title::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 1px;
  margin-bottom: 0.7rem;
  background: var(--ink-deep);
}

.village-pair { padding: 1rem 0 4.5rem; }
.village-pair .section-intro {
  width: min(100% - 2.5rem, 96rem);
  margin: 0 auto 1.5rem;
}
.village-pair .village { margin-top: 0; }
.village-pair .village-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}
.village-pair .village-stage::after { display: none; }
.village-pair .village-slide,
.village-pair #park.village-slide,
.village-pair #lesnoe.village-slide {
  position: relative;
  top: auto;
  z-index: 1;
  min-width: 0;
  min-height: 0;
  height: 100%;
}
.village-pair .village-body {
  grid-template-columns: 1fr;
  align-content: start;
}
.village-pair .village-photo {
  order: -1;
  align-self: start;
  width: 100%;
  min-height: 14rem;
  aspect-ratio: 16 / 10;
}
.village-pair .village-copy {
  justify-content: flex-start;
  padding-top: 1.4rem;
}
.village-pair .village-copy h3 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}
.village-pair .village-desc { margin: 0; }
.village-pair .village-facts { margin: 1.3rem 0 0; }
.village-pair .village-more { margin-top: 1.35rem; }

@media (max-width: 767px) {
  .hero-lockup .hero-copy {
    width: min(100% - 2rem, 40rem);
    margin: 0 1rem 4.6rem;
  }
  .hero-lockup h1 { font-size: clamp(2.9rem, 14vw, 4rem); }
  .hero-scenes {
    right: 1rem;
    bottom: 1rem;
    max-width: calc(100% - 2rem);
  }
  .village-pair .village-stage { grid-template-columns: 1fr; }
  .horizontal-scroll--life .hs-text { min-height: 0; }
  .horizontal-scroll--life .hs-item {
    flex: 0 0 calc((100cqw - 0.5rem) / 1.12);
    width: calc((100cqw - 0.5rem) / 1.12);
  }
}
