@font-face {
  font-family: Lora;
  src: url("fonts/lora-latin.woff2") format("woff2");
  font-display: swap;
  font-weight: 500;
  unicode-range: U+0000-00FF, U+2000-206F, U+20BD;
}

@font-face {
  font-family: Lora;
  src: url("fonts/lora-cyrillic.woff2") format("woff2");
  font-display: swap;
  font-weight: 500;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Manrope;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  font-display: swap;
  font-weight: 400 800;
  unicode-range: U+0000-00FF, U+2000-206F, U+20BD;
}

@font-face {
  font-family: Manrope;
  src: url("fonts/manrope-cyrillic.woff2") format("woff2");
  font-display: swap;
  font-weight: 400 800;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  color-scheme: light;
  --paper: #f6f7f2;
  --paper-deep: #eaeee6;
  --ink: #213b31;
  --muted: #525c53;
  --rule: #d3d5c9;
  --brick: #9f422e;
  --brick-dark: #793020;
  --dark-text: #fbf7ed;
  --dark-muted: #d6dfd3;
  --dark-rule: #60776b;
  --display: Lora, Georgia, serif;
  --body: Manrope, Arial, sans-serif;
  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
  --section-space: clamp(4rem, 8vw, 7.5rem);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: #828e80 var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem / 1.65 var(--body);
}

body:has(.lightbox[open]) { overflow: hidden; }

::selection { background: #e8c7b7; color: var(--ink); }

:focus-visible { outline: .15rem solid var(--brick); outline-offset: .3rem; }

[id] { scroll-margin-top: 1.5rem; }

h1, h2, h3, p, figure, dl, dd { margin: 0; }

h1, h2 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.035em;
}

h2 {
  font-size: clamp(2.25rem, 4.4vw, 4.3rem);
  line-height: 1.09;
  text-wrap: balance;
}

h3 { font-weight: 750; line-height: 1.35; }

img { display: block; max-inline-size: 100%; }

a { color: inherit; text-underline-offset: .23em; }

button { font: inherit; }

.wrap {
  width: min(100% - var(--gutter) * 2, 86rem);
  margin-inline: auto;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 2;
  top: .75rem;
  left: .75rem;
  transform: translateY(-200%);
  padding: .7rem 1rem;
  background: var(--ink);
  color: var(--paper);
}

.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--rule); }

.header-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 5.15rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}

.wordmark-number {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font: 500 1.52rem / 1 var(--display);
  letter-spacing: -.03em;
}

.wordmark-label {
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.wordmark-label span {
  display: block;
  margin-top: .26rem;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.9vw, 3rem);
}

.site-nav a, .header-contact {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .9rem;
  font-weight: 750;
  line-height: 1.25;
}

.site-nav a { text-decoration: none; }

.site-nav a:hover, .site-footer a:hover { color: var(--brick); text-decoration: underline; }

.header-contact { color: var(--brick); white-space: nowrap; }

.header-contact:hover { color: var(--brick-dark); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(2rem, 5.3vw, 5.5rem);
  padding-block: clamp(2.25rem, 5vw, 5rem) clamp(3rem, 5vw, 5rem);
}

.hero h1 {
  font-size: clamp(3.1rem, 6.15vw, 6rem);
  line-height: 1.02;
}

.hero-address {
  margin-top: 1.35rem;
  color: var(--brick);
  font-weight: 800;
}

.hero-address a:hover, .location-link:hover { color: var(--brick-dark); }

.hero-description {
  max-width: 39ch;
  margin-top: .75rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(1.35rem, 2.8vw, 2.45rem);
  padding-block: 1.05rem;
  border-block: 1px solid var(--rule);
}

.hero-facts > div { display: flex; flex-direction: column-reverse; gap: .3rem; }

.hero-facts > div + div { border-left: 1px solid var(--rule); padding-left: 1.15rem; }

.hero-facts dt { color: var(--muted); font-size: .88rem; font-weight: 650; }

.hero-facts dd {
  font: 500 clamp(1.5rem, 2.85vw, 2.6rem) / 1.16 var(--display);
  letter-spacing: -.032em;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: .65rem 1.3rem;
  border: 1px solid transparent;
  border-radius: .2rem;
  font-size: .95rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: color .18s, background .18s, border-color .18s;
}

.button-primary { margin-top: 1.45rem; background: var(--brick); color: #fff; }

.button-primary:hover { background: var(--brick-dark); }

.button-outline { border-color: var(--ink); }

.button-outline:hover { background: var(--ink); color: var(--paper); }

.hero-figure, .location-figure { min-width: 0; }

.hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1.24;
  object-fit: cover;
  object-position: 51% 47%;
  background: var(--paper-deep);
}

.hero-figure figcaption, .location-figure figcaption {
  display: flex;
  align-items: baseline;
  gap: .65rem;
  margin-top: .62rem;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 650;
}

.hero-figure figcaption span, .location-figure figcaption span {
  width: 1.35rem;
  height: 1px;
  background: var(--brick);
  align-self: center;
}

.about { background: var(--paper-deep); }

.about-layout, .terms-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 7vw, 8rem);
}

.about h2, .terms h2, .contacts h2 { text-wrap: wrap; }

.section-intro { max-width: 41ch; margin-top: 1.25rem; color: var(--muted); }

.detail-list { border-top: 1px solid var(--rule); }

.detail-list > div { padding-block: 1.05rem; border-bottom: 1px solid var(--rule); }

.detail-list dt { font-size: 1.13rem; font-weight: 800; }

.detail-list dd { margin-top: .32rem; color: var(--muted); }

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .65rem 2rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.section-heading p { color: var(--muted); }

.photo-grid {
  --photo-height: clamp(9rem, 15vw, 13.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(0, 1fr));
  grid-auto-rows: calc(var(--photo-height) + 2.9rem);
  gap: 1.15rem;
}

.photo-link {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  overflow: hidden;
  background: var(--paper-deep);
  text-decoration: none;
}

.photo-link-featured { grid-row: span 2; }

.photo-link:last-child { grid-column: span 2; }

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

.photo-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .4rem;
  min-height: 2.9rem;
  padding: .45rem .85rem;
  font-size: .9rem;
  font-weight: 750;
  transition: color .18s, background .18s;
}

.photo-link:hover .photo-caption,
.photo-link:focus-visible .photo-caption { background: var(--ink); color: var(--paper); }

.expand-icon, .lightbox-close span {
  position: relative;
  flex: 0 0 auto;
  width: .88rem;
  height: .88rem;
}

.expand-icon::before, .expand-icon::after,
.lightbox-close span::before, .lightbox-close span::after {
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: currentColor;
  content: "";
}

.expand-icon::after { transform: rotate(90deg); }

.use-section { padding-bottom: var(--section-space); }

.use-section h2 { font-size: clamp(2rem, 3.25vw, 3.15rem); text-wrap: wrap; }

.use-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem clamp(1.1rem, 4vw, 4rem);
  padding: 0;
  margin: 1.65rem 0 0;
  list-style: none;
}

.use-list li { border-top: 1px solid var(--rule); padding-top: .9rem; }

.use-list strong { font-size: 1.08rem; font-weight: 800; }

.use-list p { max-width: 52ch; margin-top: .28rem; color: var(--muted); }

.terms { background: var(--ink); color: var(--dark-text); }

.terms-options { display: grid; gap: 1.6rem; }

.terms-options article { border-top: 1px solid var(--dark-rule); padding-top: 1.05rem; }

.terms-options article h3 { font-size: 1.02rem; }

.terms-options article > :last-child { margin-top: .6rem; color: var(--dark-muted); }

.terms-price, .terms-negotiable {
  margin-top: .45rem;
  font: 500 clamp(1.7rem, 3vw, 3rem) / 1.2 var(--display);
  letter-spacing: -.03em;
  font-variant-numeric: lining-nums tabular-nums;
}

.location, .contacts {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6.5rem);
  align-items: center;
}

.location { padding-bottom: 0; }

.location h2 { font-size: clamp(1.9rem, 3.7vw, 3.8rem); }

.location-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: .65rem;
  color: var(--brick);
  font-weight: 750;
}

.location-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.39;
  object-fit: cover;
  object-position: 50% 43%;
  background: var(--paper-deep);
}

.location-address { margin-block: 1.1rem 1.25rem; font-weight: 700; }

.contact-block {
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

.contact-block h3 { font-size: 1.15rem; }

.contact-channels { margin-top: .32rem; color: var(--muted); }

.contact-channels a { color: var(--brick); font-weight: 750; }

.site-footer { border-top: 1px solid var(--rule); }

.footer-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .35rem 1.5rem;
  min-height: 4.7rem;
  padding-block: .7rem;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 650;
}

.footer-layout a { display: flex; align-items: center; min-height: 2.75rem; }

.lightbox {
  width: min(66rem, 100% - 2rem);
  max-width: none;
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 1px solid var(--dark-rule);
  background: #192c25;
  color: var(--dark-text);
}

.lightbox::backdrop { background: rgb(12 21 17 / .85); }

.lightbox-content { padding: clamp(.7rem, 2.4vw, 1.5rem); }

.lightbox-toolbar, .lightbox-navigation { display: flex; align-items: center; gap: .5rem; }

.lightbox-toolbar { justify-content: space-between; margin-bottom: .7rem; }

.lightbox-count { color: var(--dark-muted); font-variant-numeric: tabular-nums; }

.lightbox-figure { display: grid; justify-items: center; gap: .65rem; }

.lightbox-image {
  width: 100%;
  height: min(60vh, 43rem);
  height: min(60dvh, 43rem);
  object-fit: contain;
  background: #102019;
}

.lightbox-navigation { justify-content: center; margin-top: .7rem; }

.lightbox-button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--dark-rule);
  border-radius: .2rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.lightbox-button:hover { background: var(--dark-text); color: var(--ink); }

.lightbox-button:focus-visible { outline-color: #f0b499; }

.lightbox-close span::before { transform: rotate(45deg); }

.lightbox-close span::after { transform: rotate(-45deg); }

.lightbox-prev span, .lightbox-next span {
  width: .6rem;
  height: .6rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.lightbox-prev span { transform: translateX(.1rem) rotate(135deg); }

.lightbox-next span { transform: translateX(-.1rem) rotate(-45deg); }

@media (max-width: 60rem) {
  .hero { gap: 2rem; }
  .hero-image { aspect-ratio: .98; }
  .about-layout, .terms-layout, .location, .contacts { gap: 2.5rem; }
}

@media (max-width: 45rem) {
  .header-layout { gap: .15rem 1rem; min-height: 0; padding-top: .55rem; flex-wrap: wrap; }
  .header-contact { order: 1; margin-left: auto; }
  .site-nav { order: 2; width: 100%; gap: 0 1rem; flex-wrap: wrap; }
  .site-nav a, .header-contact { font-size: .85rem; }
  .hero, .about-layout, .terms-layout, .location, .contacts { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(2.85rem, 9.6vw, 4.7rem); }
  .hero-description { max-width: 43ch; font-size: 1rem; }
  .hero-facts dd { font-size: clamp(1.7rem, 6vw, 2.6rem); }
  .hero-image { aspect-ratio: 1.27; }
  .photo-grid {
    --photo-height: clamp(7.3rem, 29vw, 12rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
  }
  .photo-link-featured { grid-row: auto; }
  .photo-link:last-child { grid-column: auto; }
  .photo-caption { padding-inline: .55rem; line-height: 1.25; }
  .use-list { grid-template-columns: minmax(0, 1fr); }
  .location-copy { grid-row: 1; }
}

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