:root {
  color-scheme: light;
  --ink: #112f4b;
  --paper: #f8fafc;
  --muted: #41576c;
  --line: #d6e1ed;
  --moss: #064a88;
  --button-ink: #fff;
  --button-hover: #043763;
  --surface: #fff;
  --soft: #eaf2fa;
  --control-border: #9eafc0;
  --accent: #315b82;
  --focus: #195db7;
  --header-bg: #0a3056;
  --wordmark-bg: #0a3056;
  --header-ink: #fff;
  --header-focus: #9bd5ff;
  --header-height: 5.25rem;
  --hero-bg: #0a3056;
  --hero-ink: #fff;
  --hero-subtle: #f2f6fc;
  --hero-scrim-angle: 90deg;
  --hero-position: 50% 55%;
  --hero-scrim: linear-gradient(var(--hero-scrim-angle), #082747ee 0%, #092d50c9 32%, #092d504c 58%, transparent 80%);
  --hero-top-scrim: linear-gradient(180deg, #06223adc, #06223a99 4.5rem, transparent 9rem);
  --search-surface: #fff;
  font-family: "Segoe UI", "Noto Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

:root[dir="rtl"] { --hero-scrim-angle: 270deg; }

body[data-theme="sage"] {
  --ink: #293624;
  --paper: #f5f3ec;
  --muted: #4e5945;
  --line: #d2d7c8;
  --moss: #3c542b;
  --button-hover: #2f4124;
  --surface: #fdfbf6;
  --soft: #e6eadc;
  --control-border: #9ca88f;
  --accent: #4f6640;
  --focus: #486729;
  --header-bg: #f5f3ec;
  --wordmark-bg: #293824;
  --header-ink: #293624;
  --header-focus: #486729;
  --hero-bg: #f2efe7;
  --hero-ink: #293624;
  --hero-subtle: #4e5945;
  --hero-position: 57% center;
  --search-surface: #c7ceb4;
}

body[data-theme="clay"] {
  --ink: #472719;
  --paper: #f7eee4;
  --muted: #674a39;
  --line: #e0cbb9;
  --moss: #954326;
  --button-hover: #75351f;
  --surface: #fff9f1;
  --soft: #f1dfd1;
  --control-border: #ad8d78;
  --accent: #8b482e;
  --focus: #8c3b1d;
  --header-bg: #f6ebdd;
  --wordmark-bg: #592d21;
  --header-ink: #472719;
  --header-focus: #8c3b1d;
  --hero-bg: #f5eadb;
  --hero-ink: #472719;
  --hero-subtle: #674a39;
  --hero-position: 45% 54%;
  --search-surface: #fff6ed;
}

body[data-theme="night"] {
  --ink: #212842;
  --paper: #f6f4fa;
  --muted: #504b65;
  --line: #d9d3e5;
  --moss: #252f56;
  --button-hover: #161f3d;
  --surface: #fcfaff;
  --soft: #ebe6f3;
  --control-border: #a69ab8;
  --accent: #5b4974;
  --focus: #674ba1;
  --header-bg: #172039;
  --wordmark-bg: #241d3e;
  --header-ink: #fbf5ef;
  --header-focus: #e5c6fc;
  --hero-bg: #151d35;
  --hero-ink: #fcf5ec;
  --hero-subtle: #f1e8f2;
  --hero-position: 57% center;
  --hero-scrim: linear-gradient(var(--hero-scrim-angle), #11182ded 0%, #172038bb 33%, #161c3433 66%, transparent 90%);
  --hero-top-scrim: linear-gradient(180deg, #10182dd1, transparent 9rem);
  --search-surface: #e1d8ee;
}

body[data-theme="ochre"] {
  --ink: #2e251b;
  --paper: #f8f2e6;
  --muted: #625440;
  --line: #decfb6;
  --moss: #96620e;
  --button-hover: #754b09;
  --surface: #fffbf2;
  --soft: #f1e5cc;
  --control-border: #a6987f;
  --accent: #805715;
  --focus: #805715;
  --header-bg: #f4ead8;
  --wordmark-bg: #533912;
  --header-ink: #2e251b;
  --header-focus: #805715;
  --hero-bg: #eee1ca;
  --hero-ink: #2e251b;
  --hero-subtle: #514332;
  --hero-position: center 45%;
  --hero-scrim: linear-gradient(180deg, transparent 60%, #40280b2e);
  --hero-top-scrim: none;
  --search-surface: #f9f2e4;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--paper); }
a { color: inherit; }
button, input, select { font: inherit; }
img { display: block; max-width: 100%; }
.page-filters {
  position: absolute; inset-block-start: 0; inset-inline-start: 0;
  inline-size: 0; block-size: 0; overflow: hidden; pointer-events: none;
}
.shell { width: min(90%, 1190px); margin-inline: auto; }
.header { border-bottom: 1px solid var(--line); }
.navigation { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.wordmark {
  display: inline-flex; flex: none; align-items: center; gap: 11px; inline-size: 9.5rem;
  padding: .4rem .5rem; border-radius: 5px; background: var(--wordmark-bg);
  color: #fff; line-height: 1; text-decoration: none;
}
.wordmark img { inline-size: 100%; block-size: auto; filter: url(#wordmark-alpha); }
.wordmark-name { display: flex; flex-direction: column; }
.wordmark-name strong { font: 700 29px/1 Georgia, "Times New Roman", serif; letter-spacing: -.047em; }
.wordmark-name small { font-size: 10px; font-weight: 700; letter-spacing: .29em; margin: .45rem 0 0 .1rem; }
.house-mark { position: relative; display: inline-block; flex: none; width: 43px; height: 43px; border-radius: 5px; background: var(--moss); color: var(--button-ink); }
.house-mark::before {
  content: ""; position: absolute; width: 18px; height: 18px; left: 12.5px; top: 10px;
  border-left: 2px solid; border-top: 2px solid; transform: rotate(45deg);
}
.house-mark::after {
  content: ""; position: absolute; inset: 21px 12px 7px;
  border: 2px solid; border-top: 0; border-radius: 0 0 7px 7px;
}
.nav-actions, .languages { display: flex; align-items: center; gap: 16px; }
.nav-search, .nav-about { text-decoration: none; font-size: .9rem; font-weight: 650; }
.nav-about { display: inline-flex; min-block-size: 2.75rem; align-items: center; }
.nav-about:hover { text-decoration: underline; text-underline-offset: .25em; }
.languages a { font-size: .875rem; color: var(--muted); text-decoration: none; padding-block: .45rem; }
.languages a[aria-current="page"] { color: var(--ink); border-bottom: 1px solid var(--moss); }
.button {
  display: inline-flex; justify-content: center; align-items: center; text-align: center; min-height: 46px;
  background: var(--moss); color: var(--button-ink); border: 1px solid var(--moss); border-radius: 6px;
  padding: .72rem 1.25rem; font-weight: 650; font-size: .94rem; cursor: pointer; text-decoration: none;
}
.button:hover { background: var(--button-hover); border-color: var(--button-hover); }
.button.small { min-height: 38px; padding: .54rem .9rem; }
.button.outline { background: transparent; color: var(--moss); }
.button.outline:hover { background: var(--soft); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.hero-panel { background: var(--hero-bg); color: var(--hero-ink); }
.hero {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4vw, 58px); align-items: center; padding-block: clamp(28px, 4vw, 58px) clamp(48px, 6vw, 74px);
}
.hero-copy { max-width: 34rem; }
.eyebrow { color: var(--accent); font-size: .875rem; letter-spacing: .12em; font-weight: 700; margin: 0 0 18px; }
.hero .eyebrow { color: var(--hero-subtle); }
h1, h2, h3 { font-family: Georgia, "Times New Roman", "Noto Serif", serif; font-weight: 700; line-height: 1.04; letter-spacing: -.035em; margin: 0; }
:lang(zh) :is(h1, h2, h3) { font-family: "Noto Serif SC", "Songti SC", SimSun, serif; letter-spacing: .012em; line-height: 1.2; }
:lang(el) :is(h1, h2, h3) { letter-spacing: -.025em; }
:lang(ar) :is(h1, h2, h3) { font-family: "Noto Naskh Arabic", "Segoe UI", Tahoma, serif; letter-spacing: normal; line-height: 1.22; }
h1 { font-size: clamp(2.7rem, 6vw, 5.7rem); }
:lang(zh) .hero h1 { font-size: clamp(2.55rem, 5.35vw, 4.9rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.65rem); }
h3 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
p { line-height: 1.62; }
.hero-copy > p:not(.eyebrow) { color: var(--hero-subtle); font-size: 1.13rem; margin: 22px 0 22px; }
.hero-link { color: var(--hero-ink); font-weight: 650; text-underline-offset: .28rem; }
.hero-photo { position: relative; margin: 0; height: clamp(260px, 29vw, 405px); padding-right: 15%; padding-bottom: 24px; }
.hero-photo img, .apartment-photo { width: 100%; height: 100%; object-fit: cover; }
.hero-photo > img { border-radius: 5px; background: var(--soft); }
.hero-photo .hero-second {
  position: absolute; right: 0; bottom: 0; width: 44%; height: 49%;
  border: 5px solid var(--hero-bg); box-shadow: 0 12px 35px #0e201a70;
}
.search-band { position: relative; z-index: 1; margin-top: -31px; }
.stay-search {
  display: grid; grid-template-columns: 1fr 1fr .7fr auto; align-items: end; gap: 12px;
  background: var(--surface); padding: 18px; border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 15px 30px #20332b11;
}
.stay-search label { display: grid; gap: 6px; min-width: 0; font-size: .875rem; font-weight: 650; }
.stay-search input {
  width: 100%; min-width: 0; min-height: 46px; border: 1px solid var(--control-border); background: var(--surface);
  border-radius: 4px; color: var(--ink); padding-inline: .55rem; font-size: 1rem;
}
.stay-search .search-alert { grid-column: 1 / -1; }
.stays { padding: clamp(32px, 5vw, 65px) 0 clamp(38px, 6vw, 75px); }
.room-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 25px; }
.apartment { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; overflow: hidden; }
.apartment-image { display: grid; }
.apartment-image > :is(.apartment-photo, .room-number) { grid-area: 1 / 1; }
.apartment-photo { height: auto; aspect-ratio: 1.85; background-color: var(--soft); }
.room-number {
  z-index: 1; align-self: start; justify-self: start; margin: .9rem; padding: .34rem .66rem;
  color: var(--button-ink); background: var(--moss); border-radius: 3px;
  font-size: clamp(.9rem, 1.5vw, 1.2rem); font-weight: 700; line-height: 1.25;
}
.apartment-body { padding: clamp(17px, 3vw, 27px); }
.property-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .9rem; margin: 0 0 12px; }
.apartment-body p { margin: 12px 0; color: var(--muted); }
.amenities { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 19px; }
.amenities span { padding: .33rem .55rem; background: var(--soft); border-radius: 4px; font-size: .875rem; color: var(--muted); }
.apartment-links { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.property-details { border-top: 1px solid var(--line); margin-top: 19px; padding-top: 14px; }
.property-details summary { font-size: .9rem; font-weight: 650; cursor: pointer; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 14px; align-items: start; padding-top: 12px; }
.detail-layout img { width: 100%; aspect-ratio: 1.5; object-fit: cover; border-radius: 4px; }
.detail-layout ul { margin: 0; padding-inline-start: 18px; font-size: .92rem; }
.detail-layout li + li { margin-top: 6px; }
.channel { text-underline-offset: .22rem; font-size: .875rem; }
.steps-section { background: var(--soft); padding-block: clamp(32px, 5vw, 60px); }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 35px); margin-top: 25px; }
.steps-grid > div { border-top: 1px solid var(--control-border); padding-top: 14px; }
.steps-grid h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
.steps-grid p { margin-bottom: 0; color: var(--muted); }
.result-page { width: min(91%, 1400px); padding-block: clamp(24px, 5vw, 62px); min-height: 70vh; }
.result-page .stay-search { margin-block: 23px; }
.date-summary { font-weight: 700; }
.result-layout {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-areas: "list map"; align-items: start; gap: clamp(1.1rem, 2.5vw, 2rem);
}
.result-list { grid-area: list; min-inline-size: 0; }
.result-list > p:first-child { margin-block-start: 0; }
.result-list .room-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.5rem), 1fr));
  gap: clamp(.8rem, 1.65vw, 1.5rem); margin-block-start: 1rem;
}
.result-map {
  grid-area: map; position: sticky; inset-block-start: 1rem; min-inline-size: 0;
  padding: clamp(.7rem, 1.4vw, 1rem); border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); box-shadow: 0 10px 24px #1625300e;
}
.result-map > header { margin-block-end: .7rem; }
.result-map h2 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.14; }
.map-caption { margin-block: .6rem 0; color: var(--muted); font-size: .85rem; }
.map-canvas {
  position: relative; isolation: isolate; inline-size: 100%;
  block-size: clamp(13rem, calc(100vh - 10rem), 39rem);
  block-size: clamp(13rem, calc(100dvh - 10rem), 39rem);
  border: 1px solid var(--line); border-radius: 5px; background: var(--soft);
}
.map-canvas.leaflet-container { font-family: inherit; }
.map-canvas .map-marker {
  display: grid; place-items: center; min-inline-size: 2rem; min-block-size: 2rem; padding-inline: .15rem;
  border: 2px solid #fff; border-radius: 999px; background: var(--moss); color: var(--button-ink);
  box-shadow: 0 2px 5px #10243d66; font-size: .8rem; font-weight: 700; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
.map-canvas .map-marker:hover { background: var(--button-hover); }
.map-canvas .map-popup-title {
  font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1.25; margin-block-end: .4rem;
}
.map-canvas .map-popup ul { margin: 0; padding-inline-start: 1rem; }
.map-canvas .map-popup li + li { margin-block-start: .25rem; }
.map-canvas .map-fallback { padding: 1rem; color: var(--muted); }
.map-canvas :is(.map-marker, .leaflet-control a, .leaflet-popup a):focus-visible {
  outline: 3px solid var(--focus); outline-offset: 2px;
}
.book-section { background: var(--soft); border-block: 1px solid var(--line); padding: clamp(40px, 6vw, 80px) 0; }
.book-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(23px, 6vw, 95px); align-items: start; }
.book-copy { max-width: 26rem; }
.book-copy > p:not(.eyebrow) { color: var(--muted); }
.preview { font-size: .875rem; padding: 10px 12px; border-inline-start: 2px solid var(--control-border); }
.preview strong { display: block; }
.book-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; background: var(--surface); padding: clamp(17px, 3vw, 28px); border-radius: 8px; border: 1px solid var(--line); }
.book-form label { display: grid; gap: 6px; font-size: .875rem; font-weight: 650; min-width: 0; }
.book-form input:not([hidden]), .book-form select { width: 100%; min-width: 0; min-height: 45px; color: var(--ink); background: var(--surface); border: 1px solid var(--control-border); border-radius: 4px; padding: .62rem .65rem; font-size: 1rem; }
.book-form .full, .book-form .alert { grid-column: 1 / -1; }
.book-form .fine, .alert { margin: 0; font-size: .875rem; }
.book-form .fine { color: var(--muted); }
.alert { color: #8f3425; }
.footer { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--muted); font-size: .875rem; }
.confirmation { min-height: 55vh; padding-block: clamp(35px, 8vw, 90px); overflow-x: auto; }
.reference { display: flex; flex-direction: column; gap: .3rem; border-inline-start: 3px solid var(--moss); padding-inline-start: 12px; margin: 28px 0; }
.reference strong { font-size: 1.28rem; letter-spacing: .04em; }
.checkout-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start;
  gap: clamp(16px, 3vw, 30px); max-width: 60rem; margin-top: clamp(20px, 4vw, 36px);
}
.checkout-card {
  min-width: 0; padding: clamp(18px, 3.5vw, 32px); border: 1px solid var(--line);
  border-radius: 8px; background: var(--surface); box-shadow: 0 12px 25px #1625300d;
}
.checkout-card :is(h2, h3) { font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.15; }
.checkout-card > p:not(.alert, .checkout-total) { color: var(--muted); }
.checkout-details, .checkout-details > div {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: .65rem 1rem;
  align-items: baseline;
}
.checkout-details { margin: 1.25rem 0; }
.checkout-details > div { grid-column: 1 / -1; padding-bottom: .65rem; border-bottom: 1px solid var(--line); }
.checkout-details dt { color: var(--muted); }
.checkout-details dd { margin: 0; text-align: end; font-weight: 650; overflow-wrap: anywhere; }
.checkout-total {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem 1rem; justify-content: space-between;
  margin: 1.25rem 0 0; padding: .85rem 1rem; border-radius: 5px; background: var(--soft); color: var(--ink);
  font-weight: 650;
}
.checkout-total strong { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.payment-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.25rem; }
.payment-actions > form { margin: 0; }
.payment-actions .button { max-width: 100%; white-space: normal; }

.site-header { position: relative; z-index: 2; background: var(--header-bg); color: var(--header-ink); }
.site-header .mast, .homepage .hero, .homepage-search, .room-section.shell, .room-section > .shell, .about-layout {
  width: min(91%, 1400px);
  margin-inline: auto;
}
.site-header .mast { min-height: var(--header-height); gap: clamp(12px, 2.5vw, 30px); }
.site-header .mast .wordmark { inline-size: clamp(11rem, 19vw, 14.5rem); }
.site-header .languages a { color: var(--header-ink); }
.site-header .languages a[aria-current="page"] { border-color: currentColor; font-weight: 700; }
.site-header .mast :focus-visible { outline-color: var(--header-focus); }

.language-menu { display: block; position: relative; flex: none; }
.language-menu[open] { z-index: 3; }
.language-menu > summary {
  display: flex; align-items: center; gap: .6rem; min-block-size: 2.75rem; padding: .35rem .7rem;
  list-style: none; border: 1px solid color-mix(in srgb, currentColor 42%, transparent); border-radius: 4px;
  color: var(--header-ink); font-size: .9rem; font-weight: 650; cursor: pointer;
}
.language-menu > summary::-webkit-details-marker { display: none; }
.language-menu > summary::after {
  content: ""; flex: none; width: .45rem; height: .45rem; border: solid currentColor;
  border-width: 0 2px 2px 0; transform: translateY(-.13rem) rotate(45deg);
}
.language-menu[open] > summary::after { transform: translateY(.13rem) rotate(225deg); }
.language-menu > summary:hover, .language-menu[open] > summary {
  background: color-mix(in srgb, var(--header-bg) 90%, var(--header-ink));
}
.language-options {
  position: absolute; inset-block-start: calc(100% + .35rem); inset-inline-end: 0;
  inline-size: min(13.5rem, 91vw); max-block-size: min(26.5rem, 60vh); overflow-y: auto;
  padding: .3rem; border: 1px solid var(--line); border-radius: 7px;
  background: var(--surface); box-shadow: 0 10px 25px #10243729;
}
.site-header .language-options a {
  display: grid; align-content: center; min-block-size: 2.75rem; padding: .35rem .65rem;
  border-radius: 4px; color: var(--ink); text-align: start;
}
.site-header .language-options a:is(:hover, [aria-current="page"]) { border: 0; background: var(--soft); }
.site-header .mast .language-options a:focus-visible { outline-color: var(--focus); outline-offset: -3px; }

.theme-picker form { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; }
.theme-picker label { font-size: .82rem; font-weight: 650; }
.theme-picker :is(select, button) {
  min-height: 2.35rem; max-width: 100%; padding: .34rem .55rem; border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--header-ink) 42%, transparent);
  background: var(--header-bg); color: var(--header-ink); font-size: .84rem;
}
.theme-picker button { font-weight: 650; cursor: pointer; }
.theme-picker button:hover { background: color-mix(in srgb, var(--header-bg) 88%, var(--header-ink)); }

.homepage { --search-overlap: 4.75rem; }
.homepage .hero-panel { position: relative; isolation: isolate; overflow: hidden; }
.homepage .hero-panel::before {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background-image: var(--hero-top-scrim), var(--hero-scrim);
}
.homepage .hero-art {
  position: absolute; z-index: -2; inset: 0; display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--hero-position);
}
.homepage .hero-art > img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-position); }
.homepage .hero {
  display: flex; align-items: center; min-height: clamp(28rem, 42vw, 38rem);
  padding-block: clamp(3.5rem, 6vw, 6.75rem) clamp(7rem, 12vw, 11.25rem);
}
.homepage .hero-copy { width: 100%; max-width: min(48%, 41rem); text-align: start; }
.homepage .hero-copy h1 { font-size: clamp(2.55rem, 5.4vw, 5.1rem); }
.homepage .hero-copy > p:not(.eyebrow) { font-size: clamp(1.05rem, 1.95vw, 1.65rem); margin: .65em 0 0; }
.homepage:is([data-theme="blue"], [data-theme="night"]) .hero-copy { text-shadow: 0 2px 18px #07132270; }
.homepage:is([data-theme="blue"], [data-theme="night"]) .hero-copy :focus-visible { outline-color: var(--header-focus); }
:root[dir="rtl"] .homepage:is([data-theme="blue"], [data-theme="night"]) .hero-panel { --hero-position: 31% center; }

.homepage:is([data-theme="sage"], [data-theme="clay"]) .hero-panel::before { content: none; }
.homepage:is([data-theme="sage"], [data-theme="clay"]) .hero-art { width: 62%; }
.homepage[data-theme="sage"] .hero-art { inset-inline-start: auto; }
.homepage[data-theme="clay"] .hero-art { inset-inline-end: auto; }
.homepage[data-theme="clay"] .hero { justify-content: flex-end; }
.homepage:is([data-theme="sage"], [data-theme="clay"]) .hero-copy { max-width: 34%; }
.homepage:is([data-theme="sage"], [data-theme="clay"]) .hero-copy h1 { font-size: clamp(2.45rem, 4.2vw, 4.25rem); }
.homepage[data-theme="sage"] .hero-copy::after {
  content: ""; display: block; width: 4.25rem; height: 2px; background: var(--accent); margin-top: 1.5rem;
}

.homepage[data-theme="night"] { background: #151d35; }
.homepage[data-theme="night"] :is(.room-section, .footer) { color: #fcf5ec; }
.homepage[data-theme="night"] .footer .wordmark:focus-visible { outline-color: var(--header-focus); }
.homepage[data-theme="night"] :is(.room-section, .about-section) {
  --ink: #fcf5ec;
  --muted: #ded4e9;
  --line: #605875;
  --moss: #e1d8ee;
  --button-ink: #212842;
  --button-hover: #f2eafa;
  --surface: #222b45;
  --soft: #333858;
  --focus: #e5c6fc;
}

.homepage[data-theme="ochre"] .hero { align-items: flex-end; padding-bottom: clamp(6.25rem, 7vw, 7.25rem); }
.homepage[data-theme="ochre"] .hero-copy {
  max-width: min(58%, 43rem); padding: clamp(1.15rem, 2.7vw, 2.75rem);
  background: var(--header-bg); box-shadow: 0 8px 24px #30200a16;
}
.homepage[data-theme="ochre"] .hero-copy h1 { font-size: clamp(2.55rem, 4.7vw, 4.9rem); }

.homepage-search { margin-top: calc(-1 * var(--search-overlap)); }
.homepage-search .search-form {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .85fr) minmax(11rem, .95fr);
  gap: clamp(.65rem, 1.45vw, 1.25rem); padding: clamp(.85rem, 1.5vw, 1.4rem);
  border-radius: 10px; background: var(--search-surface); box-shadow: 0 9px 27px #14263924;
}
.homepage-search .search-form input { min-height: 3.1rem; padding-inline: .75rem; }
.homepage-search .search-form .button { min-height: 3.1rem; }

.room-section { padding-block: clamp(2rem, 3.5vw, 3.5rem) clamp(2.75rem, 6vw, 5rem); }
.room-section h2 {
  display: flex; align-items: center; justify-content: center; gap: clamp(.65rem, 3vw, 2.6rem);
  font-size: clamp(1.85rem, 4.1vw, 3.75rem); text-align: center;
}
.room-section h2::before, .room-section h2::after {
  content: ""; flex: 1; max-width: 16rem; height: 1px; background: var(--control-border);
}
.room-section .room-grid { gap: clamp(1rem, 2.5vw, 2.1rem); margin-top: clamp(1.25rem, 3vw, 2.4rem); }
.unavailable-rooms { margin-block-start: 1.9rem; padding-block: 1rem; border-block: 1px solid var(--line); }
.unavailable-rooms summary { cursor: pointer; font-weight: 650; }
.unavailable-rooms ul { columns: 2 16rem; column-gap: 2rem; margin-block: .8rem 0; padding-inline-start: 1.25rem; }
.unavailable-rooms li { padding-block: .2rem; break-inside: avoid; color: var(--muted); }
.room-section .apartment-photo { aspect-ratio: 1.68; }
.homepage[data-theme="ochre"] .room-section h2 { justify-content: flex-start; text-align: start; }
.homepage[data-theme="ochre"] .room-section h2::before { flex: 0 0 .33rem; height: 1em; background: var(--moss); }
.homepage[data-theme="ochre"] .room-section h2::after { content: none; }

.about-section {
  padding-block: clamp(2.5rem, 6vw, 5.5rem); border-block-start: 1px solid var(--line);
  background: var(--surface); color: var(--ink); scroll-margin-block-start: 1rem;
}
.about-layout {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 5vw, 5.5rem); align-items: center;
}
.about-copy { max-inline-size: 38rem; text-align: start; }
.about-copy h2 { font-size: clamp(1.85rem, 4.1vw, 3.75rem); }
.about-copy p { margin-block: 1rem 0; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.125rem); }
.about-copy p + p { margin-block-start: .7rem; }
.about-image {
  inline-size: 100%; aspect-ratio: 8 / 5; object-fit: cover;
  border-radius: 8px; background: var(--soft);
}

table { margin-top: 1.5rem; border-collapse: collapse; }
th, td { text-align: start; padding: .7rem 1rem; border-bottom: 1px solid var(--line); }
@media (min-width: 1050px) {
  .homepage:is([data-theme="blue"], [data-theme="night"]) .site-header {
    margin-bottom: calc(-1 * var(--header-height)); border-bottom: 0; background: transparent;
  }
  .homepage:is([data-theme="blue"], [data-theme="night"]) .hero { padding-top: calc(var(--header-height) + 2.5rem); }
  .homepage[data-theme="ochre"] .homepage-search {
    width: min(76%, 69rem); margin-inline: max(4.5%, calc((100% - 1400px) / 2)) auto;
  }
}
@media (min-width: 761px) {
  :root[dir="rtl"] .result-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    grid-template-areas: "map list";
  }
}
@media (max-width: 760px) {
  .result-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "map" "list"; }
  .result-map { position: static; }
  .map-canvas {
    block-size: clamp(13rem, 47vh, 24rem);
    block-size: clamp(13rem, 47svh, 24rem);
  }
}
@media (max-width: 790px) {
  .hero, .book-layout, .checkout-grid { grid-template-columns: 1fr; }
  .hero { gap: 22px; }
  .hero-photo { height: clamp(205px, 42vw, 345px); }
  .book-copy { max-width: 40rem; }
  .nav-search:not(.nav-about) { display: none; }
  .stay-search { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .site-header .mast { position: relative; min-height: 4.5rem; padding-block: .6rem; flex-wrap: wrap; row-gap: .45rem; }
  .wordmark { padding: .35rem .45rem; }
  .site-header .mast .wordmark { inline-size: clamp(8.75rem, 34vw, 11.5rem); }
  .site-header .mast .nav-actions { min-inline-size: 0; max-inline-size: 100%; flex-wrap: wrap; gap: .45rem .85rem; }
  .site-header .language-menu { position: static; }
  .site-header .language-options { inset-inline-end: 0; }
  .theme-picker :is(select, button) { min-height: 2.5rem; }
  .homepage { --search-overlap: 2.25rem; }
  .homepage .hero { min-height: clamp(19rem, 61vw, 25rem); padding-block: 2.75rem 4.4rem; }
  .homepage .hero-copy, .homepage:is([data-theme="sage"], [data-theme="clay"]) .hero-copy { max-width: 33rem; }
  .homepage:is([data-theme="blue"], [data-theme="night"]) .hero-panel::before {
    background-image: var(--hero-top-scrim), linear-gradient(var(--hero-scrim-angle), #0b1730ec, #0b1730a8 64%, #0b173049);
  }
  .homepage:is([data-theme="sage"], [data-theme="clay"]) .hero-panel { display: grid; }
  .homepage:is([data-theme="sage"], [data-theme="clay"]) .hero-art {
    position: relative; inset: auto; order: 1; width: 100%; height: clamp(12rem, 42vw, 19rem);
  }
  .homepage:is([data-theme="sage"], [data-theme="clay"]) .hero {
    min-height: 0; padding-block: 2.15rem; justify-content: flex-start;
  }
  .homepage[data-theme="ochre"] .hero { padding-bottom: 3.5rem; }
  .homepage[data-theme="ochre"] .hero-copy { max-width: 34rem; }
  .homepage-search .search-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-layout { grid-template-columns: 1fr; }
}
@media (max-width: 530px) {
  .navigation { min-height: 68px; gap: 10px; }
  .nav-actions { gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
  .nav-actions .button { display: none; }
  .site-header .mast .nav-actions { column-gap: .65rem; }
  .nav-about { font-size: .85rem; }
  .languages { gap: 9px; }
  .languages a { font-size: .81rem; }
  .room-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .book-form { grid-template-columns: 1fr; }
  .homepage-search .search-form { gap: .7rem; }
  .homepage-search .search-form .button { width: 100%; }
}
@media (max-width: 390px) {
  .homepage-search .search-form input { padding-inline: .48rem; }
}
