@font-face {
  font-family: Manrope;
  src: url("assets/Manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url("assets/CormorantGaramond.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("assets/Inter.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --night: #0a1120;
  --panel: #151f2f;
  --white: #f7f3eb;
  --muted: #c3c6ce;
  --gold: #e3c18d;
  --line: #ffffff25;
  --display: Cormorant, Georgia, serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  font-family: Manrope, system-ui, sans-serif;
  color: var(--white);
  background: var(--night);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; line-height: 1.55; }
body:has(dialog[open]) { overflow: hidden; }
::selection { color: #141721; background: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
h1, h2, h3, figure, p, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; line-height: .96; }
h2 { font-size: clamp(2.75rem, 5vw, 4.65rem); text-wrap: balance; }
h3 { font-size: 1.85rem; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .27em; }
button, select, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; height: auto; }
.frame { width: min(89%, 1320px); margin-inline: auto; }
.icons, .visually-hidden, .skip { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.skip:focus { top: .7rem; left: .7rem; width: auto; height: auto; padding: .5rem .8rem; background: var(--night); clip-path: none; z-index: 4; }
.icon { width: 1.15rem; height: 1.15rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.with-icon { display: flex; align-items: center; gap: .38rem; }
.button { min-height: 2.85rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .64rem 1.15rem; border: 1px solid transparent; border-radius: 2rem; text-decoration: none; color: inherit; font-size: .88rem; font-weight: 750; transition: background .28s, border-color .28s, transform .33s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button:disabled { opacity: .65; cursor: default; transform: none; }
.button-gold { color: #1d170f; background: #d7b681; border-color: #efcf9b; }
.button-gold:hover { background: #ebcb97; }
.button-outline { border-color: #e4c29175; background: #0c1525aa; }
.button-outline:hover, .button-outline[aria-pressed="true"] { border-color: var(--gold); background: #282432; }
.button-outline[aria-pressed="true"] .icon { fill: var(--gold); color: var(--gold); }
.text-btn { border: 0; padding: .45rem 0; color: var(--gold); background: transparent; text-decoration: underline; text-underline-offset: .28em; }
.text-btn:hover { color: var(--white); }

.hero-scene { isolation: isolate; position: relative; }
.hero-image { position: absolute; inset: 0 0 auto; height: clamp(625px, 61vw, 890px); object-fit: cover; object-position: 58% 55%; z-index: -2; animation: image-in 1.3s var(--ease) both; }
.hero-scene::before { content: ""; position: absolute; inset: 0 0 auto; height: clamp(625px, 61vw, 890px); z-index: -1; background: linear-gradient(90deg, #090f1de8 2%, #090f1db7 28%, #090f1d30 66%, #090f1d10 100%), linear-gradient(180deg, #070c18ad 0%, transparent 28%, transparent 65%, var(--night) 100%); pointer-events: none; }
.site-header { min-height: 5.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.7rem; border-bottom: 1px solid #ffffff31; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--gold); text-decoration: none; }
.brand > span { display: grid; color: var(--white); font: 600 1.75rem/.85 var(--display); letter-spacing: .06em; }
.brand .brand-note { margin-top: .4rem; font: 600 .65rem/1.1 Manrope, system-ui, sans-serif; letter-spacing: .055em; }
.site-header nav { display: flex; align-items: center; gap: clamp(.85rem, 3.2vw, 3.25rem); }
.site-header nav a:not(.button) { font-size: .9rem; text-decoration: none; }
.site-header nav a:not(.button):hover { color: var(--gold); }
.menu-toggle { display: none; }
.hero { min-height: clamp(465px, 43vw, 685px); padding-block: 4rem 3.8rem; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(15rem, .7fr); gap: 2rem; align-items: end; }
.hero-copy { align-self: center; animation: enter .85s var(--ease) both; }
.hero h1 { font-size: clamp(3.75rem, 7.7vw, 7.6rem); line-height: .86; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-copy p { margin-block: 1.65rem 1.6rem; max-width: 36ch; color: #e1e2e7; font-size: clamp(1rem, 1.4vw, 1.15rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.35rem; }
.tour-button { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.85rem; padding: 0; background: transparent; border: 0; color: var(--white); font-size: .9rem; font-weight: 700; }
.tour-button span { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid #e4c291a0; color: var(--gold); transition: background .25s, color .25s; }
.tour-button:hover span { background: var(--gold); color: var(--night); }
.tour-button .icon { width: 1rem; height: 1rem; fill: currentColor; }
.featured { justify-self: end; width: min(100%, 340px); padding: clamp(1rem, 2.05vw, 1.8rem); border: 1px solid #e6d5bd57; border-radius: .9rem; background: linear-gradient(150deg,#302c2dea,#131c2fe9 72%); box-shadow: 0 18px 45px #06091040; animation: enter .9s .14s var(--ease) both; }
@supports (backdrop-filter: blur(1px)) {
  .featured { backdrop-filter: blur(17px); background: linear-gradient(150deg,#37302caa,#141c2de6 72%); }
}
.featured-location { color: var(--gold); font-size: .8rem; margin-bottom: .65rem; }
.featured h2 { font-size: clamp(2.65rem, 4.2vw, 3.9rem); }
.facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .4rem; }
.featured .facts { margin-block: 1rem; padding-block: .9rem; border-block: 1px solid var(--line); }
.facts dt { display: flex; align-items: center; gap: .3rem; color: var(--muted); font-size: .69rem; white-space: nowrap; }
.facts dt .icon { width: .87rem; height: .87rem; }
.facts dd { font-weight: 750; font-size: .95rem; margin-top: .16rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.featured-bottom { display: flex; align-items: center; justify-content: space-between; gap: .7rem; }
.featured-bottom strong, .detail-footer strong { font-size: 1.2rem; font-weight: 750; white-space: nowrap; }
@keyframes enter { from { opacity: .35; transform: translateY(1.05rem); } to { opacity: 1; transform: none; } }
@keyframes image-in { from { opacity: .45; clip-path: inset(0 0 3% 0); } to { opacity: 1; clip-path: inset(0); } }

.filters { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) auto; align-items: center; gap: 0; padding: .8rem 1rem .8rem 0; border-radius: .8rem; background: #152034f2; border: 1px solid var(--line); }
.filter-field { --field-gutter: clamp(.85rem, 2vw, 1.65rem); position: relative; min-width: 0; align-self: stretch; padding: .23rem var(--field-gutter) 0; }
.filter-field + .filter-field { border-left: 1px solid var(--line); }
.filter-field label { display: block; font-family: Inter, Manrope, system-ui, sans-serif; font-size: .705rem; font-weight: 500; letter-spacing: .105em; line-height: 1.2; text-transform: uppercase; }
label { display: grid; gap: .3rem; color: var(--muted); font-weight: 700; font-size: .825rem; }
.filters select, .filter-trigger { width: 100%; min-height: 2.45rem; color: var(--white); font-weight: 550; background: transparent; border: 0; padding: .28rem 0 .25rem; font-size: .92rem; text-align: left; }
.filters select option { background: var(--panel); color: var(--white); }
.filter-trigger { display: flex; align-items: center; justify-content: space-between; gap: .35rem; min-height: 2.75rem; border-radius: .15rem; }
.filter-trigger span { min-width: 0; overflow-wrap: anywhere; }
.filter-trigger .icon { width: 1rem; height: 1rem; flex-shrink: 0; color: var(--gold); }
.chevron { transition: transform .32s var(--ease); }
[aria-expanded="true"] > .chevron { transform: rotate(180deg); }
.filter-trigger:hover, .filter-trigger[aria-expanded="true"] { color: var(--gold); }
.filter-trigger:focus-visible { outline-offset: 3px; }
.filter-trigger:focus:not(:focus-visible) { outline: none; }
.filter-options {
  position: absolute;
  z-index: 2;
  top: calc(100% + .6rem);
  inset-inline: .36rem;
  margin: 0;
  padding: .34rem 0;
  max-height: min(17rem, 55dvh);
  overflow: auto;
  list-style: none;
  background: #172337;
  border: 1px solid #d5bd9660;
  border-radius: .68rem;
  box-shadow: 0 .85rem 2rem #0307109e;
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-.45rem) scale(.985);
  transform-origin: top center;
  transition: opacity .16s ease, transform .33s var(--ease), visibility 0s .16s;
}
.filter-field[data-open] { z-index: 2; }
.filter-field[data-open] .filter-options { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.filter-options li { display: flex; align-items: center; justify-content: space-between; gap: .4rem; min-height: 2.65rem; padding: .5rem calc(var(--field-gutter) - .36rem - 1px); font-size: .88rem; cursor: pointer; }
.filter-options li:hover, .filter-options li[data-active] { background: #24334b; }
.filter-options [aria-selected="true"] { color: var(--gold); font-weight: 700; }
.filter-options .icon { width: .9rem; height: .9rem; visibility: hidden; }
.filter-options [aria-selected="true"] .icon { visibility: visible; }
.catalog { padding-block: clamp(3.2rem, 6vw, 5.8rem) clamp(3.5rem, 6vw, 6rem); }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: .8rem 1rem; margin-bottom: 1.4rem; }
.section-top p, .about p, .contact p { color: var(--muted); margin-top: .6rem; }
.listings { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .9rem; }
.listing { overflow: hidden; display: flex; flex-direction: column; min-width: 0; background: linear-gradient(150deg,#192332,#111b2d); border: 1px solid var(--line); border-radius: .8rem; }
.listing-picture { position: relative; overflow: hidden; }
.listing-picture img { width: 100%; aspect-ratio: 1.38; object-fit: cover; transition: transform .75s var(--ease); background: #252b35; }
.listing:has(.listing-title:hover) img, .listing-picture:hover img { transform: scale(1.055); }
.listing-open-image { display: block; width: 100%; border: 0; padding: 0; background: transparent; }
.listing-open-image:focus-visible { outline-offset: -5px; }
.favorite { position: absolute; top: .55rem; right: .55rem; display: grid; place-items: center; width: 2.55rem; height: 2.55rem; padding: 0; border: 1px solid #ffffff43; border-radius: 50%; color: var(--white); background: #0c1424d9; }
.favorite:hover { color: var(--gold); border-color: var(--gold); }
.favorite[aria-pressed="true"] .icon { color: var(--gold); fill: var(--gold); }
.listing-info { display: flex; flex: 1; flex-direction: column; padding: .9rem; }
.listing-title { padding: .04rem 0; color: inherit; background: transparent; border: 0; font: inherit; text-align: left; }
.listing-title:hover { color: var(--gold); }
.listing-place { font-size: .77rem; color: var(--muted); margin-top: .42rem; }
.listing-place .icon { width: .9rem; height: .9rem; }
.listing .facts { margin-block: .8rem .65rem; }
.listing-price { margin-top: auto; padding-top: .65rem; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; font-weight: 750; }
.empty { grid-column: 1/-1; padding: 2rem; border: 1px solid var(--line); border-radius: .8rem; }
.empty p { margin-block: .55rem .8rem; color: var(--muted); }
.about, .contact { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1fr); align-items: start; gap: clamp(1.4rem, 6vw, 6.5rem); padding-block: clamp(2.5rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.about p, .contact p { max-width: 51ch; }
.about-topics details { border-bottom: 1px solid var(--line); }
.about-topics summary { min-height: 3.2rem; cursor: pointer; display: list-item; padding-block: .75rem; color: var(--gold); font-weight: 700; }
.about-topics details p { margin: 0 0 1rem; }
.contact form { display: grid; gap: .9rem; }
.contact button { justify-self: start; }
input, textarea { width: 100%; min-width: 0; color: var(--white); border: 1px solid #806e5b; border-radius: .35rem; padding: .65rem .75rem; background: var(--panel); font-size: 1rem; }
textarea { resize: vertical; }
#draft-status:empty { display: none; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem 1.7rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
footer a { color: var(--gold); }

dialog { padding: 0; width: min(93vw, 790px); max-width: none; max-height: 92dvh; border: 1px solid #caae847d; border-radius: .85rem; background: var(--panel); color: var(--white); }
dialog[open] { animation: enter .35s var(--ease) both; }
dialog::backdrop { background: #040812bc; }
.dialog-body { position: relative; }
.dialog-close { position: absolute; right: .7rem; top: .7rem; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: #0d1426; color: var(--white); z-index: 1; }
.dialog-close:hover { color: var(--gold); }
.dialog-media img { height: min(49dvh, 29rem); object-fit: cover; background: var(--night); }
.dialog-copy { padding: clamp(1rem, 3vw, 2rem); }
.dialog-copy h2 { margin-block: .25rem .6rem; text-wrap: initial; }
#detail-place { color: var(--gold); }
#detail-description { max-width: 64ch; color: var(--muted); margin-bottom: .65rem; }
#detail-facts { margin-block: .85rem; max-width: 26rem; }
.detail-footer, .tour-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .65rem; }
.detail-footer { border-top: 1px solid var(--line); padding-top: .95rem; }
.tour-controls { margin-bottom: .9rem; }

@media (max-width: 1030px) {
  .listings { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .frame { width: 92%; }
  .site-header { position: relative; min-height: 4.4rem; gap: .7rem; z-index: 2; }
  .menu-toggle { display: inline-flex; gap: .35rem; align-items: center; color: var(--white); border: 1px solid #e4c29175; border-radius: 2rem; padding: .46rem .83rem; min-height: 2.75rem; background: #111a2bc2; }
  .menu-toggle .icon { width: .85rem; height: .85rem; color: var(--gold); }
  .site-header nav { position: absolute; inset: calc(100% + .35rem) 0 auto; padding: .75rem; border: 1px solid var(--line); border-radius: .55rem; background: #141e2e; flex-wrap: wrap; gap: .7rem 1rem; transition: opacity .18s ease, transform .32s var(--ease), visibility 0s; }
  .menu-toggle[aria-expanded="false"] + nav { visibility: hidden; opacity: 0; transform: translateY(-.35rem); pointer-events: none; transition-delay: 0s, 0s, .18s; }
  .hero { display: grid; grid-template-columns: 1fr; gap: 1.25rem; padding-block: 3.35rem 1rem; min-height: 0; }
  .hero h1 { font-size: clamp(3.25rem, 12vw, 5.7rem); }
  .hero-copy p { margin-block: .9rem 1rem; }
  .hero-image, .hero-scene::before { height: 665px; }
  .hero-image { object-position: 58% 35%; }
  .hero-scene::before { background: linear-gradient(90deg,#090f1dc4,#090f1d43),linear-gradient(180deg,#0a112050 42%,var(--night) 100%); }
  .featured { justify-self: stretch; width: 100%; }
  .featured .facts { margin-block: .55rem; padding-block: .65rem; }
  .filters { grid-template-columns: repeat(2,minmax(0,1fr)); padding: .5rem .65rem .5rem 0; row-gap: .35rem; }
  .filter-field { --field-gutter: .65rem; }
  .filter-field:nth-child(3) { border-left: 0; }
  .filters .button { padding-inline: .55rem; }
  .filters .button .icon { display: none; }
  .section-top { align-items: start; flex-direction: column; }
  .catalog { padding-top: 2.75rem; }
  .about, .contact { grid-template-columns: 1fr; }
  footer { flex-wrap: wrap; }
  footer p { order: 2; width: 100%; }
}
@media (max-width: 470px) {
  .listings { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
