@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #202522;
  --ink-soft: #49514c;
  --forest: #33473d;
  --forest-deep: #1e2924;
  --milk: #f3f0e8;
  --paper: #fbfaf6;
  --wood: #bb8c5f;
  --wood-light: #d7b78f;
  --line: rgba(32, 37, 34, 0.16);
  --white: #fffdf8;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --container: 78rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(5.5rem, 10vw, 9rem);
  --radius: 1rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  min-width: 20rem;
  overflow-x: clip;
  color: var(--ink);
  background: var(--milk);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.lightbox-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }

.container { width: min(calc(100% - var(--gutter) * 2), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }
.skip-link { position: fixed; z-index: 1000; top: .75rem; left: .75rem; padding: .8rem 1rem; border-radius: .4rem; color: var(--ink); background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--wood-light); outline-offset: 4px; }

.eyebrow { margin-bottom: 1.2rem; color: #765437; font-size: .69rem; font-weight: 700; letter-spacing: .18em; line-height: 1.35; text-transform: uppercase; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; line-height: .94; }
h1 { font-size: clamp(3.25rem, 12vw, 7.5rem); }
h2 { margin-bottom: 1.6rem; font-size: clamp(2.8rem, 7vw, 5.4rem); }
h1 em, h2 em { display: block; color: var(--wood-light); font-weight: 500; }
.lead { max-width: 37rem; margin-bottom: 0; color: var(--ink-soft); font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.75; }

.button { display: inline-flex; min-height: 3.5rem; align-items: center; justify-content: center; gap: .75rem; padding: .85rem 1.35rem; border: 1px solid transparent; border-radius: 100vw; font-size: .78rem; font-weight: 700; letter-spacing: .025em; cursor: pointer; transition: color .22s, background-color .22s, border-color .22s, transform .22s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(.985); }
.button-primary { color: #18201c; background: var(--wood-light); }
.button-primary:hover { background: #e3c79f; }
.button-ghost { border-color: rgba(255, 255, 255, .48); color: var(--white); background: rgba(255, 255, 255, .06); }
.button-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .12); }
.button-dark { color: var(--white); background: var(--forest-deep); }
.button-dark:hover { background: var(--forest); }
.button-outline { border-color: rgba(255, 255, 255, .38); color: var(--white); }
.button-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.line-link { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .75rem; border-bottom: 1px solid currentColor; font-size: .78rem; font-weight: 700; }

.site-header { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; color: var(--white); transition: color .25s, background-color .25s, box-shadow .25s; }
.site-header.is-scrolled { color: var(--ink); background: rgba(243, 240, 232, .94); box-shadow: 0 .5rem 2rem rgba(20, 28, 24, .08); backdrop-filter: blur(12px); }
.header-inner { display: flex; min-height: 4.8rem; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .7rem; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; white-space: nowrap; }
.brand-mark { display: grid; width: 2.1rem; height: 2.1rem; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-family: var(--sans); font-size: .55rem; font-weight: 700; letter-spacing: .06em; }
.site-nav { display: none; }
.header-cta { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .45rem; border-bottom: 1px solid currentColor; font-size: .68rem; font-weight: 700; }

.hero { position: relative; display: flex; min-height: 100svh; align-items: flex-end; overflow: hidden; color: var(--white); background: var(--forest-deep); }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 60%; }
.hero-shade { background: linear-gradient(180deg, rgba(13, 20, 16, .2) 0%, rgba(13, 20, 16, .23) 34%, rgba(13, 20, 16, .88) 100%), linear-gradient(90deg, rgba(13, 20, 16, .45), transparent 75%); }
.hero-content { position: relative; z-index: 2; padding-top: 7.5rem; padding-bottom: clamp(5.5rem, 12vh, 8rem); }
.hero-eyebrow { color: #ead7bf; }
.hero h1 { max-width: 63rem; margin-bottom: 1.2rem; text-shadow: 0 .2rem 2rem rgba(0, 0, 0, .22); }
.hero h1 em { margin-top: .08em; color: var(--white); }
.hero-lead { max-width: 35rem; margin-bottom: 1.4rem; color: rgba(255, 253, 248, .88); font-size: clamp(1.03rem, 2.2vw, 1.3rem); }
.hero-facts { display: flex; max-width: 44rem; align-items: center; flex-wrap: wrap; gap: .4rem .65rem; margin-bottom: 2rem; color: rgba(255, 253, 248, .72); font-size: .7rem; letter-spacing: .055em; text-transform: uppercase; }
.hero-facts i { width: .25rem; height: .25rem; border-radius: 50%; background: var(--wood-light); }
.hero-actions { display: flex; align-items: stretch; flex-direction: column; gap: .8rem; }
.hero-place { position: absolute; z-index: 2; right: var(--gutter); bottom: 1.5rem; display: none; margin: 0; text-align: right; color: rgba(255, 255, 255, .6); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-place span { display: block; color: var(--white); font-family: var(--serif); font-size: 2rem; letter-spacing: 0; line-height: 1; text-transform: none; }

.about { background: var(--paper); }
.section-intro { max-width: 57rem; }
.section-intro h2 em { color: var(--forest); }
.amenities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 3.5rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.amenities article { min-height: 8rem; padding: 1.15rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.amenities span { color: #896541; font-size: .62rem; font-weight: 700; letter-spacing: .14em; }
.amenities h3 { margin: 1.5rem 0 0; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.1; }
.about-note { margin: 1.25rem 0 0; color: var(--ink-soft); font-size: .78rem; }
.about-note::before { content: "+"; margin-right: .5rem; color: #896541; }

.rhythm { background: var(--milk); }
.rhythm-grid { display: grid; gap: 3rem; }
.rhythm-photo { position: relative; margin: 0; }
.rhythm-photo img { width: 100%; height: min(130vw, 42rem); border-radius: var(--radius); object-fit: cover; object-position: center 42%; }
.rhythm-photo figcaption { position: absolute; bottom: 1rem; left: 1rem; margin: 0; padding: .55rem .75rem; border-radius: 100vw; color: var(--white); background: rgba(21, 30, 25, .66); backdrop-filter: blur(8px); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.rhythm-copy { align-self: center; }
.rhythm-copy h2 { color: var(--forest-deep); }
.rhythm-copy p:not(.eyebrow) { max-width: 31rem; color: var(--ink-soft); font-size: 1.05rem; }
.rhythm-copy .line-link { margin-top: 1rem; }

.gallery { color: var(--white); background: var(--forest-deep); }
.gallery .eyebrow { color: var(--wood-light); }
.gallery h2 em { color: var(--wood-light); }
.gallery-heading { display: flex; align-items: flex-start; flex-direction: column; gap: 1rem; margin-bottom: 3rem; }
.gallery-heading > p { max-width: 29rem; color: rgba(255, 253, 248, .66); }
.gallery-grid { display: grid; gap: .85rem; }
.gallery-item { position: relative; min-height: 19rem; padding: 0; overflow: hidden; border: 0; border-radius: .65rem; color: var(--white); background: #17211c; cursor: zoom-in; }
.gallery-item::after { position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(transparent, rgba(10, 15, 12, .65)); content: ""; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-item span { position: absolute; z-index: 2; right: 1rem; bottom: .85rem; left: 1rem; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-align: left; text-transform: uppercase; }

.price { background: var(--paper); }
.price-card { display: grid; gap: 3rem; padding: clamp(2rem, 6vw, 5rem); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, #f3eee4, #fffdf8); box-shadow: 0 1.5rem 5rem rgba(40, 45, 42, .06); }
.price-copy h2 { color: var(--forest-deep); }
.price-copy > p:last-child { color: var(--ink-soft); }
.price-copy, .price-value { min-width: 0; }
.price-main { margin-bottom: .6rem; color: var(--forest-deep); font-family: var(--serif); font-size: clamp(3.1rem, 8vw, 5rem); line-height: 1; }
.price-main small { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.price-value > p:not(.price-main) { margin-bottom: 1.8rem; color: var(--ink-soft); }

.location { color: var(--white); background: var(--forest); }
.location .eyebrow { color: var(--wood-light); }
.location-grid { display: grid; gap: 3.5rem; }
.location-copy { align-self: center; }
.location-copy h2 { max-width: 45rem; }
.location-copy address { margin-bottom: 2rem; color: rgba(255, 253, 248, .72); font-style: normal; }
.location-photo { position: relative; margin: 0; }
.location-photo img { width: 100%; height: min(125vw, 38rem); border-radius: var(--radius); object-fit: cover; object-position: center 62%; }
.location-photo figcaption { position: absolute; right: 1rem; bottom: 1rem; left: 1rem; display: flex; align-items: flex-end; flex-direction: column; padding: 1rem; border-radius: .65rem; background: rgba(20, 30, 24, .72); backdrop-filter: blur(10px); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
.location-photo figcaption span { color: var(--wood-light); font-family: var(--serif); font-size: 2rem; letter-spacing: 0; line-height: 1; }
.location-photo figcaption strong { margin-block: .25rem; color: var(--white); font-family: var(--serif); font-size: 1.4rem; letter-spacing: 0; text-transform: none; }

.contact { position: relative; overflow: hidden; color: var(--white); background: #18211d; }
.contact::before { position: absolute; top: -12rem; right: -10rem; width: 28rem; height: 28rem; border: 1px solid rgba(215, 183, 143, .18); border-radius: 50%; box-shadow: 0 0 0 4rem rgba(215, 183, 143, .035), 0 0 0 8rem rgba(215, 183, 143, .025); content: ""; }
.contact-inner { position: relative; z-index: 1; }
.contact .eyebrow { color: var(--wood-light); }
.contact h2 { max-width: 60rem; }
.contact-inner > p:not(.eyebrow) { max-width: 34rem; color: rgba(255, 253, 248, .7); font-size: 1.05rem; }
.contact-actions { display: flex; align-items: flex-start; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.phone-link { display: inline-flex; min-height: 3rem; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, .4); font-size: .88rem; font-weight: 700; }

.site-footer { padding-block: 2rem; color: rgba(255, 253, 248, .72); background: #111713; }
.footer-inner, .footer-inner > div { display: flex; flex-direction: column; gap: .45rem; }
.footer-inner { gap: 1.5rem; }
.footer-inner strong { color: var(--white); font-family: var(--serif); font-size: 1.25rem; }
.footer-inner span, .footer-inner a { font-size: .7rem; letter-spacing: .05em; }

.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 1rem; border: 0; color: var(--white); background: rgba(10, 14, 12, .94); }
.lightbox[open] { display: grid; grid-template-columns: 3rem minmax(0, 1fr) 3rem; align-items: center; }
.lightbox::backdrop { background: rgba(10, 14, 12, .9); }
.lightbox figure { display: grid; max-width: 72rem; max-height: 88vh; margin: auto; }
.lightbox img { width: auto; max-height: 79vh; margin: auto; object-fit: contain; }
.lightbox figcaption { display: flex; justify-content: space-between; gap: 1rem; padding-top: .7rem; color: rgba(255, 255, 255, .72); font-size: .72rem; }
.lightbox button { display: grid; width: 2.75rem; height: 2.75rem; padding: 0; place-items: center; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; color: var(--white); background: rgba(255, 255, 255, .06); cursor: pointer; }
.lightbox-close { position: fixed; z-index: 2; top: 1rem; right: 1rem; font-size: 1.5rem; }
.lightbox-nav { font-size: 1.15rem; }

.js [data-reveal] { opacity: 0; transform: translateY(1.2rem); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (min-width: 32rem) {
  .hero-actions, .contact-actions { align-items: center; flex-direction: row; }
  .hero-actions .button { width: auto; }
  .amenities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .price-main { white-space: nowrap; }
}

@media (min-width: 48rem) {
  .hero-content { padding-bottom: clamp(6rem, 11vh, 8rem); }
  .hero h1 em { margin-left: 7vw; }
  .hero-place { display: block; }
  .section-intro { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; align-items: end; }
  .section-intro .eyebrow { grid-column: 1 / -1; }
  .section-intro h2 { margin-bottom: 0; }
  .amenities { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .amenities article { min-height: 10rem; }
  .rhythm-grid { grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr); gap: clamp(3rem, 7vw, 7rem); }
  .rhythm-photo img { height: 42rem; }
  .gallery-heading { align-items: flex-end; flex-direction: row; justify-content: space-between; }
  .gallery-heading h2 { margin-bottom: 0; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; }
  .gallery-item { min-height: 24rem; }
  .gallery-wide { grid-column: span 2; min-height: 35rem; }
  .price-card { grid-template-columns: .9fr 1.1fr; align-items: end; }
  .location-grid { grid-template-columns: 1.05fr .75fr; align-items: center; }
  .location-photo img { height: 38rem; }
  .footer-inner { align-items: flex-end; flex-direction: row; justify-content: space-between; }
  .footer-inner > div:last-child { align-items: flex-end; }
}

@media (min-width: 64rem) {
  .site-nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 2.5rem); }
  .site-nav a { display: inline-flex; min-height: 2.75rem; align-items: center; font-size: .7rem; font-weight: 700; }
  .hero-media img { object-position: center 58%; }
  .gallery-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 14rem; }
  .gallery-item { min-height: 0; grid-column: span 4; grid-row: span 2; }
  .gallery-wide { grid-column: span 7; grid-row: span 3; }
  .gallery-tall { grid-column: span 5; grid-row: span 3; }
  .gallery-portrait { grid-column: span 4; grid-row: span 3; }
}

@media (max-width: 23.5rem) {
  .brand { font-size: 1.1rem; }
  .header-cta { font-size: .62rem; }
  .hero h1 { font-size: 3.05rem; }
  .hero-facts { gap: .3rem .5rem; font-size: .61rem; }
  .button { width: 100%; }
  .price-main { font-size: 2.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
