:root {
  --ivory: #f4ecdf;
  --ivory-deep: #e8dccb;
  --paper: #fffaf2;
  --terracotta: #9b4933;
  --terracotta-dark: #713225;
  --olive: #626b58;
  --ink: #28231f;
  --muted: #746d64;
  --line: rgba(40, 35, 31, 0.2);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { min-width: 320px; margin: 0; overflow-x: hidden; background: var(--ivory); }
body.modal-open { overflow: hidden; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }

html.is-enhanced [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 480ms ease var(--reveal-delay, 0ms), transform 480ms cubic-bezier(.22, .7, .22, 1) var(--reveal-delay, 0ms);
}

html.is-enhanced [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #214f46;
  outline-offset: 4px;
}

.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; background: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 0 clamp(20px, 4.8vw, 78px);
  color: var(--ink);
}

.wordmark { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; font-size: 18px; font-weight: 700; letter-spacing: -0.045em; }
.wordmark-s6 { color: var(--terracotta); font-family: var(--serif); font-size: 38px; font-weight: 600; letter-spacing: -0.08em; line-height: .8; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 650; }
.site-nav a { text-decoration: none; }
.language-switch { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: rgba(40,35,31,.38); }
.language-switch a { display: inline-flex; min-width: 27px; min-height: 44px; align-items: center; justify-content: center; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-decoration: none; }
.language-switch a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--terracotta); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.language-divider { font-size: 12px; font-weight: 600; }
.nav-action { min-height: 44px; padding: 0 0 4px; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: inherit; font-weight: 700; }

html[lang="ru"] .hero h1 { max-width: 12ch; font-size: clamp(58px, 5.7vw, 96px); }
html[lang="ru"] .statement > p:last-child { max-width: 19ch; font-size: clamp(41px, 5.2vw, 82px); }
html[lang="ru"] .section-head h2 { font-size: clamp(48px, 5.9vw, 94px); }
html[lang="ru"] .place-copy h2,
html[lang="ru"] .inside-head h2,
html[lang="ru"] .process h2 { max-width: 12ch; font-size: clamp(48px, 5.5vw, 84px); }
html[lang="ru"] .location h2 { font-size: clamp(43px, 4.7vw, 72px); }
html[lang="ru"] .enquiry h2 { max-width: 10.5ch; font-size: clamp(58px, 7vw, 112px); }

.hero { display: grid; grid-template-columns: 43% 57%; min-height: 100svh; padding-top: 82px; background: var(--ivory); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 58px clamp(26px, 5vw, 84px) 48px; }
.overline, .section-label { margin: 0; color: var(--olive); font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.hero h1 { max-width: 10ch; margin: clamp(35px, 6vh, 72px) 0 0; font-size: clamp(62px, 6.4vw, 108px); font-weight: 500; line-height: 0.91; letter-spacing: -0.075em; }
.hero h1 em { color: var(--terracotta); font-family: var(--serif); font-size: 1.08em; font-weight: 500; letter-spacing: -0.055em; }
.hero-intro { max-width: 35rem; margin: 34px 0 0; color: var(--muted); font-size: clamp(17px, 1.4vw, 21px); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 26px; border: 0; border-radius: 0; font-weight: 750; text-decoration: none; transition: transform 160ms ease, background 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--terracotta); color: #fff; }
.button-primary:hover { background: var(--terracotta-dark); }
.button-light { background: var(--paper); color: var(--terracotta-dark); }
.button-light:hover { background: #fff; }
.quiet-link { padding-bottom: 4px; border-bottom: 1px solid currentColor; text-decoration: none; font-size: 14px; font-weight: 700; }
.quiet-link span { margin-left: 10px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: auto 0 0; padding-top: 32px; border-top: 1px solid var(--line); }
.hero-facts div { padding-right: 16px; }
.hero-facts dt { margin-bottom: 7px; color: var(--olive); font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.hero-facts dd { margin: 0; font-size: 14px; }
.hero-image { position: relative; min-height: calc(100svh - 82px); margin: 0; overflow: hidden; background: #c9bcb0; }
.hero-image img { object-position: 54% center; }
.hero-image::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 65%, rgba(41, 28, 21, 0.18)); pointer-events: none; }
.hero-image figcaption { position: absolute; z-index: 2; right: 22px; bottom: 20px; left: 22px; display: flex; justify-content: space-between; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }

.statement { display: grid; grid-template-columns: 0.38fr 1.62fr; align-items: end; gap: 44px; padding: clamp(74px, 10vw, 150px) clamp(22px, 5.5vw, 90px); background: var(--terracotta); color: var(--paper); }
.statement-mark { margin: 0; font-family: var(--serif); font-size: clamp(110px, 15vw, 250px); line-height: 0.7; letter-spacing: -0.08em; opacity: 0.3; }
.statement > p:last-child { max-width: 17ch; margin: 0; font-size: clamp(45px, 6vw, 94px); font-weight: 600; line-height: 0.98; letter-spacing: -0.06em; }
.statement > p:last-child span { color: #e8bfaa; font-family: var(--serif); font-weight: 400; }

.section { padding: clamp(92px, 10vw, 164px) clamp(22px, 5.5vw, 90px); }
.section-head { display: grid; grid-template-columns: 0.36fr 1.05fr 0.59fr; gap: clamp(28px, 5vw, 82px); align-items: end; margin-bottom: clamp(70px, 9vw, 130px); }
.section-head h2, .place-copy h2, .inside-head h2, .process h2, .location h2, .enquiry h2, .dialog-head h2 { margin: 0; font-weight: 500; line-height: 0.95; letter-spacing: -0.065em; }
.section-head h2 { font-size: clamp(52px, 6.8vw, 108px); }
.section-head > p:last-child { max-width: 31rem; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }

.room-sequence { display: grid; grid-template-columns: 1.23fr 0.77fr; grid-template-rows: auto auto; gap: clamp(24px, 4.5vw, 72px); align-items: start; }
.photo { margin: 0; }
.photo-wide { grid-row: 1 / 3; height: min(73vw, 980px); }
.photo-tall { height: clamp(420px, 40vw, 650px); }
.photo-living { height: clamp(330px, 31vw, 510px); }
.photo figcaption { display: flex; justify-content: space-between; gap: 20px; padding-top: 14px; color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.photo figcaption strong { color: var(--ink); }
.room-prompt { grid-column: 2; max-width: 34rem; margin-top: 18px; padding: 34px 0 10px; border-top: 1px solid var(--line); }
.prompt-number { float: right; margin: -8px 0 10px 20px; color: var(--terracotta); font-family: var(--serif); font-size: 72px; line-height: 0.8; }
.room-prompt h3 { margin: 0; font-size: clamp(30px, 3vw, 48px); line-height: 1; letter-spacing: -0.05em; }
.room-prompt > p:not(.prompt-number) { max-width: 29rem; color: var(--muted); line-height: 1.65; }
.text-button { min-height: 42px; padding: 0; border: 0; border-bottom: 2px solid currentColor; background: transparent; color: var(--terracotta-dark); font-weight: 800; }
.text-button span { margin-left: 12px; }

.place { display: grid; grid-template-columns: 58% 42%; min-height: 820px; background: var(--olive); color: var(--paper); }
.place-image { position: relative; min-height: 820px; }
.place-image img { object-position: 48% center; }
.image-tag { position: absolute; right: 20px; bottom: 20px; margin: 0; padding: 11px 14px; background: var(--ivory); color: var(--ink); font-size: 11px; font-weight: 750; }
.place-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(54px, 7vw, 112px); }
.place-copy .section-label { color: #d8cdbb; }
.place-copy h2 { max-width: 9ch; margin-top: 42px; font-size: clamp(54px, 6.3vw, 96px); }
.place-copy > p:not(.section-label) { max-width: 31rem; margin: 42px 0; color: rgba(255, 250, 242, 0.76); font-size: 17px; line-height: 1.65; }
.place-points { border-top: 1px solid rgba(255,255,255,.25); }
.place-points p { display: grid; grid-template-columns: 48px 1fr; margin: 0; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.place-points span { color: #d8cdbb; font-size: 11px; }

.inside { display: grid; grid-template-columns: 0.6fr 1.4fr; grid-template-rows: auto auto; gap: clamp(30px, 5vw, 80px); background: var(--ivory-deep); }
.inside-head h2 { max-width: 11ch; margin-top: 38px; font-size: clamp(50px, 6vw, 96px); }
.inside-main { grid-column: 2; grid-row: 1 / 3; height: clamp(650px, 64vw, 980px); margin: 0; }
.inside-small { align-self: end; width: 76%; height: clamp(300px, 30vw, 470px); margin: 0; }
.inside-note { align-self: end; max-width: 28rem; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.process { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(58px, 10vw, 180px); padding: clamp(92px, 10vw, 160px) clamp(22px, 5.5vw, 90px); background: var(--paper); }
.process h2 { max-width: 10ch; margin-top: 38px; font-size: clamp(52px, 6vw, 96px); }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 64px 1fr; padding: 24px 0; border-bottom: 1px solid var(--line); }
.process-list li > span { color: var(--terracotta); font-family: var(--serif); font-size: 25px; }
.process-list p { display: grid; grid-template-columns: minmax(130px, .65fr) 1.35fr; gap: 26px; margin: 0; color: var(--muted); line-height: 1.5; }
.process-list strong { color: var(--ink); }

.location { display: grid; grid-template-columns: 42% 58%; min-height: 720px; background: var(--terracotta); color: var(--paper); }
.location-copy { display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: clamp(58px, 7vw, 112px); }
.location .section-label { color: #e8bfaa; }
.location-six { margin: 28px 0 18px; font-family: var(--serif); font-size: clamp(112px, 13vw, 205px); line-height: .75; letter-spacing: -.1em; opacity: .25; }
.location h2 { position: relative; font-size: clamp(47px, 5.3vw, 82px); }
.location-copy > p:not(.section-label, .location-six) { max-width: 31rem; margin: 32px 0 0; color: rgba(255,250,242,.76); line-height: 1.65; }
.map-controls { display: grid; grid-template-columns: 1fr 1fr; margin-top: 34px; border-top: 1px solid rgba(255,255,255,.3); }
.map-filter { display: grid; grid-template-columns: 30px 1fr; align-items: center; min-height: 54px; padding: 0 12px 0 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.3); background: transparent; color: rgba(255,250,242,.72); text-align: left; text-decoration: none; transition: color 160ms ease, background 160ms ease; }
.map-filter:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.3); }
.map-filter span { color: #e8bfaa; font-family: var(--serif); font-size: 18px; }
.map-filter:hover, .map-filter.is-active { background: rgba(255,255,255,.1); color: var(--paper); }
.map-filter.is-active { box-shadow: inset 3px 0 0 #f0c5ae; }
.map-filter:focus-visible { outline-color: var(--paper); outline-offset: -4px; }
.map-link { display: inline-block; align-self: flex-start; margin-top: 24px; padding-bottom: 6px; border-bottom: 1px solid currentColor; text-decoration: none; font-weight: 700; }
.map-link span { margin-left: 12px; }
.map-wrap { position: relative; min-height: 720px; overflow: hidden; background: #ddd5ca; isolation: isolate; }
.map-loading { position: absolute; inset: 0; z-index: 0; display: grid; place-content: center; gap: 12px; background: #ddd5ca; color: var(--terracotta-dark); text-align: center; }
.map-loading span { font-family: var(--serif); font-size: 78px; font-weight: 600; letter-spacing: -.08em; line-height: .8; }
.map-loading small { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.map-wrap iframe { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; min-height: 720px; border: 0; opacity: 0; transition: opacity 220ms ease; }
.map-wrap.is-ready iframe { opacity: 1; }
.map-wrap.is-loading iframe { opacity: .62; }
.map-wrap.is-loading .map-loading { z-index: 2; inset: 20px auto auto 20px; display: flex; align-items: center; gap: 8px; padding: 10px 13px; background: var(--paper); box-shadow: 0 8px 24px rgba(40,35,31,.12); }
.map-wrap.is-loading .map-loading span { font-size: 24px; }
.map-address { position: absolute; top: 20px; right: 20px; z-index: 3; display: grid; gap: 5px; min-width: 250px; margin: 0; padding: 16px 18px; border-left: 3px solid var(--terracotta); background: rgba(255,250,242,.96); color: var(--ink); box-shadow: 0 16px 38px rgba(40,35,31,.14); font-size: 12px; }
.map-address strong { color: var(--terracotta); font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: .9; }

.enquiry { display: grid; grid-template-columns: .32fr 1.18fr .5fr; gap: clamp(34px, 6vw, 100px); align-items: end; padding: clamp(100px, 11vw, 180px) clamp(22px, 5.5vw, 90px); background: var(--ink); color: var(--paper); }
.enquiry .section-label { align-self: start; color: #b9b0a4; }
.enquiry h2 { max-width: 9.5ch; font-size: clamp(64px, 8vw, 132px); }
.enquiry h2 em { color: #d98d70; font-family: var(--serif); font-weight: 400; }
.enquiry-action p { margin: 0 0 26px; font-size: 19px; line-height: 1.6; }
.enquiry-action .button { width: 100%; }
.enquiry-action small { display: block; margin-top: 16px; color: #b9b0a4; line-height: 1.55; }
.enquiry-action small a { color: var(--paper); text-underline-offset: 3px; }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 32px clamp(22px, 5.5vw, 90px); background: #181512; color: var(--ivory); font-size: 12px; }
.site-footer p { margin: 0; }
.site-footer > a:last-child { justify-self: end; text-decoration: none; font-weight: 700; }

.enquiry-dialog { width: min(700px, calc(100% - 28px)); max-height: calc(100dvh - 28px); padding: 0; border: 0; background: var(--ivory); color: var(--ink); }
.enquiry-dialog[open] { animation: dialog-in 200ms cubic-bezier(.22, .7, .22, 1); }
.enquiry-dialog::backdrop { background: rgba(35, 25, 20, .75); backdrop-filter: blur(4px); }
.dialog-inner { padding: clamp(28px, 5vw, 58px); }
.dialog-head { display: flex; justify-content: space-between; gap: 24px; }
.dialog-head h2 { max-width: 11ch; margin-top: 22px; font-size: clamp(42px, 7vw, 70px); }
.dialog-close { width: 48px; min-height: 48px; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: 29px; }
.enquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
.field { display: grid; gap: 8px; }
.field span { font-size: 13px; font-weight: 750; }
.field input, .field select { min-height: 54px; padding: 0 14px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); color: var(--ink); }
.form-submit, .form-note, .form-result { grid-column: 1 / -1; }
.form-submit { width: 100%; }
.form-note, .form-result { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.form-note a { color: var(--terracotta-dark); text-underline-offset: 3px; }
.form-result { display: none; padding: 16px; background: var(--paper); color: var(--ink); white-space: pre-line; }
.form-result.is-visible { display: block; }

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(10px) scale(.99); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  html.is-enhanced [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 1040px) {
  .site-nav > a { display: none; }
  .hero { grid-template-columns: 47% 53%; }
  .section-head { grid-template-columns: .25fr 1.15fr; }
  .section-head > p:last-child { grid-column: 2; }
  .place { grid-template-columns: 52% 48%; }
  .process { grid-template-columns: .85fr 1.15fr; gap: 60px; }
  .enquiry { grid-template-columns: .18fr 1.12fr .7fr; }
}

@media (max-width: 760px) {
  .site-header { min-height: 68px; padding: 0 18px; }
  .site-nav { gap: 10px; }
  .site-nav > a { display: none !important; }
  .site-nav .language-switch a { display: inline-flex !important; }
  .nav-action { font-size: 12px; }
  .wordmark-s6 { font-size: 30px; }
  .hero { display: flex; flex-direction: column; min-height: auto; padding-top: 68px; }
  .hero-copy { min-height: 66svh; padding: 58px 20px 34px; }
  .hero h1 { margin-top: 36px; font-size: clamp(51px, 14vw, 68px); }
  .hero-intro { margin-top: 25px; font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .quiet-link { align-self: center; }
  .hero-facts { display: none; }
  .hero-image { min-height: 53svh; }
  .statement { display: block; padding: 78px 20px 86px; }
  .statement-mark { margin-bottom: 38px; font-size: 36vw; }
  .statement > p:last-child { font-size: clamp(42px, 12vw, 58px); }
  .section { padding: 86px 18px 100px; }
  .section-head { display: block; margin-bottom: 56px; }
  .section-head h2 { margin-top: 28px; font-size: clamp(48px, 13.5vw, 64px); }
  .section-head > p:last-child { margin-top: 30px; }
  .room-sequence { display: flex; flex-direction: column; gap: 56px; }
  .photo-wide { width: calc(100% + 18px); height: 61svh; margin-right: -18px; }
  .photo-tall { width: 82%; height: 49svh; margin-left: auto; }
  .photo-living { width: calc(100% + 36px); height: 45svh; margin-left: -18px; }
  .room-prompt { margin-top: 0; }
  .place { display: flex; flex-direction: column; min-height: auto; }
  .place-image { min-height: 55svh; order: 2; }
  .place-copy { padding: 82px 20px 70px; order: 1; }
  .place-copy h2 { margin-top: 28px; font-size: clamp(50px, 14vw, 68px); }
  .inside { display: flex; flex-direction: column; gap: 46px; }
  .inside-head h2 { margin-top: 28px; font-size: clamp(49px, 14vw, 66px); }
  .inside-main { width: calc(100% + 36px); height: 55svh; margin-left: -18px; }
  .inside-small { width: 78%; height: 40svh; margin-left: auto; }
  .process { display: block; padding: 88px 20px 100px; }
  .process h2 { margin-top: 28px; font-size: clamp(49px, 14vw, 66px); }
  .process-list { margin-top: 58px; }
  .process-list li { grid-template-columns: 48px 1fr; }
  .process-list p { display: block; }
  .process-list strong { display: block; margin-bottom: 7px; }
  .location { display: flex; flex-direction: column; min-height: auto; }
  .location-copy { padding: 82px 20px 72px; }
  .location-six { font-size: 42vw; }
  .location h2 { font-size: clamp(45px, 12.8vw, 61px); }
  .map-controls { grid-template-columns: 1fr; }
  .map-filter:nth-child(odd) { border-right: 0; }
  .map-controls { display: flex; gap: 8px; overflow-x: auto; margin-right: -20px; margin-left: -20px; padding: 0 20px 8px; border-top: 0; scrollbar-width: thin; }
  .map-filter, .map-filter:nth-child(odd) { flex: 0 0 auto; min-height: 46px; padding: 0 14px; border: 1px solid rgba(255,255,255,.3); }
  .map-filter.is-active { box-shadow: inset 0 -3px 0 #f0c5ae; }
  .map-wrap, .map-wrap iframe { min-height: max(480px, 58svh); }
  .map-address { top: 12px; right: 12px; left: 12px; min-width: 0; }
  .enquiry { display: block; padding: 88px 20px 104px; }
  .enquiry h2 { margin-top: 32px; font-size: clamp(58px, 16vw, 78px); }
  .enquiry-action { margin-top: 54px; }
  .site-footer { grid-template-columns: 1fr auto; padding: 28px 20px; }
  .site-footer p { display: none; }
  .enquiry-form { grid-template-columns: 1fr; }
  .form-submit, .form-note, .form-result { grid-column: 1; }
}

@media (max-width: 760px) {
  html[lang="ru"] .hero h1 { font-size: clamp(47px, 12.5vw, 61px); }
  html[lang="ru"] .statement > p:last-child { font-size: clamp(38px, 10.5vw, 51px); }
  html[lang="ru"] .section-head h2,
  html[lang="ru"] .place-copy h2,
  html[lang="ru"] .inside-head h2,
  html[lang="ru"] .process h2 { font-size: clamp(43px, 11.5vw, 58px); }
  html[lang="ru"] .location h2 { font-size: clamp(39px, 10.8vw, 53px); }
  html[lang="ru"] .enquiry h2 { font-size: clamp(50px, 13.5vw, 68px); }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 48px; }
  .section-head h2, .place-copy h2, .inside-head h2, .process h2, .enquiry h2 { font-size: 47px; }
  .nav-action { max-width: 126px; line-height: 1.2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
