@font-face {
  font-family: "Noto Serif Display";
  src: url("/assets/fonts/NotoSerifDisplay-Italic.woff") format("woff");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif Heading Fallback";
  src: url("/assets/fonts/NotoSerif-Italic.woff") format("woff");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans SC Heading";
  src: url("/assets/fonts/NotoSansSC-Heading.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Devanagari";
  src: url("/assets/fonts/NotoSansDevanagari-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Devanagari";
  src: url("/assets/fonts/NotoSansDevanagari-Bold.woff") format("woff");
  font-weight: 600 900;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif Devanagari";
  src: url("/assets/fonts/NotoSerifDevanagari-Bold.woff") format("woff");
  font-weight: 600 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --night: #1e222d;
  --slate: #252b3a;
  --teal: #41717e;
  --teal-dark: #315c68;
  --ink: #1c222c;
  --muted: #505b68;
  --line: #c9cfd4;
  --surface: #fff;
  --paper: #f2f3f4;
  --gutter: clamp(1.25rem, 3.15vw, 3.75rem);
  --header-size: 6.8rem;
  font-family: "Segoe UI", Arial, system-ui, sans-serif;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
html { scroll-padding-top: calc(var(--header-size) + .5rem); }
.shell { width: min(calc(100% - 2 * var(--gutter)), 112.5rem); margin-inline: auto; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: fixed; top: .5rem; left: .5rem; z-index: 4; padding: .75rem; color: var(--ink); background: white; }
a { color: var(--teal-dark); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .15em; }
:focus-visible { outline: 3px solid #1680a1; outline-offset: 3px; }
.header, footer, .menu-panel { background: var(--night); color: white; }
.header { position: sticky; top: 0; z-index: 2; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 4.375rem; gap: .75rem; align-items: center; }
.header a, footer a, .menu-panel a { color: inherit; }
nav { display: flex; flex-wrap: wrap; gap: 0 clamp(.6rem, 2vw, 2rem); }
nav a, .header-stay { display: inline-flex; align-items: center; min-height: 44px; font-size: .8125rem; font-weight: 650; text-transform: uppercase; text-decoration: none; }
nav a:hover, nav a[aria-current], .header-stay:hover { text-decoration: underline; }
.header-actions { display: flex; align-items: center; gap: clamp(.35rem, 1.5vw, 1.5rem); justify-self: end; }
.brand { font-size: 1.65rem; font-weight: 750; letter-spacing: .24em; text-indent: .24em; text-decoration: none; }
.menu-trigger { display: grid; place-items: center; min-width: 44px; border: 0; color: white; background: transparent; }
.menu-trigger span:first-child { width: 20px; height: 8px; border-block: 2px solid; }
.pilot-notice { max-width: none; margin: 0; padding: .58rem var(--gutter); color: white; background: var(--teal); text-align: center; font-size: .825rem; font-weight: 650; }
main { min-height: 60vh; }
main.shell { padding-block: clamp(1.75rem, 4vw, 4rem); }
main section + section, main > :not(section) + section { margin-top: clamp(2rem, 5vw, 5rem); }
h1,h2,h3 { margin: 0 0 .65em; line-height: 1.14; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 3.4vw, 3.45rem); }
h2 { font-size: clamp(1.55rem, 2.35vw, 2.25rem); }
h3 { font-size: clamp(1.08rem, 1.6vw, 1.35rem); }
p { max-width: 68ch; }
body[data-page=""] { background: var(--slate); color: white; }
.hero, .studio-cover { position: relative; isolation: isolate; display: grid; color: white; background: var(--slate); }
.hero {
  grid-template-columns: 14.5rem minmax(0, 1fr);
  /* Match the reference photo frame independently of the current sticky header. */
  min-height: max(33rem, calc(100svh - 7.7rem));
}
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.home-cover { object-position: 50% 53%; }
.refresh-header { background: #141513; }
.hero-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .9rem;
  padding: clamp(1.2rem, 4vh, 2.5rem) 1.5rem;
  border-inline-end: 1px solid #ffffff2e;
  background: #141513c9;
}
.home-brand { display: inline-flex; align-items: center; gap: .55rem; letter-spacing: normal; text-indent: 0; }
.home-brand strong { border: 1px solid currentColor; padding: .12rem .37rem; letter-spacing: -.04em; }
.home-brand span { font-size: .64rem; line-height: 1.08; font-weight: 400; }
.hero-rail a, body[data-page=""] main .hero-rail a:not(.button) { color: white; }
.hero-nav { display: grid; align-self: stretch; gap: 0; }
.hero-nav a + a { border-top: 1px solid #ffffff2e; }
.hero-nav a { text-transform: none; }
.hero-rail .language-panel { inset-inline: 0 auto; }
.hero-copy {
  align-self: end;
  min-width: 0;
  /* Keep the reference subtitle baseline, including the space below it in B. */
  padding: 2rem clamp(1.25rem, 4.8vw, 5.5rem) calc(clamp(2.5rem, 6.8vh, 5.75rem) + 4.65rem);
}
.hero h1 {
  max-width: 24ch;
  margin: 0;
  color: #fffdf6;
  font: italic 400 calc(clamp(3.1rem, 6.3vw, 7.1rem) * .72)/1.05 "Noto Serif Display", "Noto Serif Heading Fallback", Georgia, serif;
  letter-spacing: -.035em;
}
.refresh-header .header-stay { padding: .35rem .55rem; color: #141513; background: #eff6f6; }
.desktop-stay { padding: .65rem var(--gutter); }
.stay-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: .6rem 1rem;
  align-items: end;
}
.stay-form label:first-child, .stay-form button { grid-column: 1 / -1; }
.desktop-stay .stay-form {
  max-width: 78rem;
  min-height: 4.5rem;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)) minmax(0, .6fr) minmax(0, 1fr);
}
.desktop-stay .stay-form :is(label:first-child, button) { grid-column: auto; }
.desktop-stay label { font-size: .8rem; }
.desktop-stay :is(input, select) { color-scheme: dark; color: white; background: #232521; }
.desktop-stay .button { background: #eff6f6; color: var(--ink); border-color: #eff6f6; }
.desktop-stay .button:hover { background: white; }
.desktop-stay .error { color: #ffcabf; }
@media (min-width: 64rem) {
  .refresh-header .header-inner { display: none; }
}
.home-sections { padding-block: clamp(2.4rem, 5vw, 5rem); }
.intro { margin-bottom: 1.7rem; }
.intro p { color: #e0e5ec; }
body[data-page=""] main a:not(.button, .card a), .menu-panel .card-action { color: #a4dbeb; }
body[data-page=""] .feature { border-top: 1px solid #4f586b; padding-top: clamp(1.75rem, 4vw, 4rem); }
.split, .feature { display: grid; gap: clamp(1.25rem, 4vw, 4rem); align-items: start; }
.feature { align-items: center; }
.feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.home-faq { max-width: 65rem; }
.booking-panel, [data-booking-result]:not([hidden]), .filters { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: clamp(1rem, 3vw, 2rem); }
.booking-form, .filters { display: grid; gap: .8rem; align-items: end; }
label { display: grid; gap: .35rem; font-weight: 650; min-width: 0; }
input, select, button, .button { font: inherit; min-height: 44px; min-width: 0; padding: .55rem .85rem; border: 1px solid #838e99; border-radius: 4px; }
input, select { color: var(--ink); background: white; width: 100%; }
button { cursor: pointer; background: white; color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; text-align: center; color: white; background: var(--teal); border-color: var(--teal); text-decoration: none; font-size: .875rem; font-weight: 700; text-transform: uppercase; }
.button:hover { background: var(--teal-dark); }
.error { color: #9c251d; grid-column: 1 / -1; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: clamp(.9rem, 1.25vw, 1.5rem); }
.card { border-radius: 4px; background: var(--surface); color: var(--ink); min-width: 0; }
.card > a { display: block; height: 100%; color: inherit; text-decoration: none; }
.card:hover .card-action { text-decoration-thickness: 2px; }
.card-body { padding: 1rem; }
.card-photo { width: 100%; min-height: 0; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px 4px 0 0; }
.card-action { color: var(--teal-dark); display: inline-block; text-decoration: underline; font-weight: 650; }
.facts, .amenities { padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .4rem .75rem; }
.facts { margin: 0 0 1rem; font-size: .9rem; }
.facts li + li::before { content: "·"; color: inherit; margin-right: .65rem; }
.amenities li { border: 1px solid var(--line); border-radius: 4px; padding: .32rem .65rem; }
.coffee-amenity { display: inline-flex; gap: .4em; align-items: center; }
.coffee-amenity svg { flex-shrink: 0; }
body[data-page=""] .amenities li { border-color: #5d6678; }
.catalog-layout { display: grid; gap: 1rem; align-items: start; }
.catalog-layout [data-count] { margin-top: 0; color: var(--muted); }
.breadcrumb { margin-top: 0; }
.breadcrumb + .studio-cover { margin-top: 1rem; }
.studio-cover { grid-template-rows: 1fr auto; justify-items: start; min-height: clamp(22rem, 44vw, 39rem); border-radius: 4px; overflow: clip; }
.studio-heading, .studio-actions { padding: clamp(1rem, 3vw, 3rem); }
.studio-heading { align-self: start; padding: .65rem 1rem; background: var(--night); }
.studio-heading :is(h1, .facts) { margin-bottom: 0; }
.studio-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.studio-actions a:first-child { background: var(--night); border-color: white; }
.rates, .matches li { display: flex; flex-wrap: wrap; gap: .65rem 2rem; }
.rates dd, [data-booking-result] dd { margin-left: 0; font-weight: 700; }
.matches { list-style: none; padding: 0; }
.matches li { border-bottom: 1px solid var(--line); padding: .7rem 0; align-items: center; }
.matches a:first-child { font-weight: 700; }
details { border-bottom: 1px solid #697181; padding: .55rem 0; }
summary { cursor: pointer; font-weight: 650; min-height: 44px; padding-block: .58rem; }
address { font-style: normal; }
.footer-inner { display: grid; gap: 1.5rem; padding-block: 2rem max(2rem, env(safe-area-inset-bottom)); }
.footer-inner address { color: #c9d2df; margin-top: .35rem; }
.legal-nav { border-top: 1px solid #485164; padding-top: 1rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1rem; }
figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
.gallery-grid a { display: block; background: #e3e7ea; border-radius: 4px; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: inherit; }
figcaption { font-size: .875rem; padding-block: .4rem; }
dialog { width: min(calc(100% - 2rem), 68rem); max-height: min(92vh, 92dvh); padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); }
dialog::backdrop { background: #121621b3; }
dialog img { max-height: 58dvh; object-fit: contain; margin-inline: auto; }
.gallery dialog form { text-align: end; margin-bottom: .5rem; }
.gallery-controls, .panel-heading { display: flex; align-items: center; justify-content: space-between; gap: .65rem; flex-wrap: wrap; }
.panel-heading h2 { margin: 0; }
.menu-panel { width: 100%; max-width: 100%; max-height: 90dvh; margin: 0; padding: 1.5rem 0; border: 0; border-radius: 0; }
.menu-panel .cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); }
.menu-panel nav { margin-block: 1rem 2rem; }
.menu-panel .card { color: white; background: var(--slate); }
.menu-panel .card-photo { max-height: 9rem; }
.menu-panel .card-body { padding: .8rem; }
.menu-panel .facts li:nth-child(n+3) { display: none; }
.stay-panel { max-width: 54rem; }
.photo-pending { padding: 1.5rem; background: var(--paper); }
@media (min-width: 48rem) {
  .split, .feature { grid-template-columns: 1fr 1fr; }
  .feature-reverse > div { order: 1; }
  .booking-form { grid-template-columns: 1fr 1fr .55fr auto; }
  .catalog-layout { grid-template-columns: minmax(11rem, 16rem) minmax(0, 1fr); gap: 1.5rem; }
  .studio-gallery .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }
  .studio-gallery .gallery-grid > figure:first-child { grid-column: span 2; grid-row: span 2; }
}
@media (min-width: 92rem) {
  .home-selection .cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 63.99rem) {
  .primary-nav { display: none; }
  .desktop-stay, .hero-rail { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: max(33rem, calc(100svh - 6.125rem)); }
  .home-cover { object-position: 40% center; }
  .hero h1 { max-width: 22ch; font-size: calc(clamp(3rem, 8.5vw, 6rem) * .72); }
  .header-inner { grid-template-columns: auto minmax(0, 1fr); min-height: 3.75rem; }
  .header-actions { flex-wrap: wrap; justify-content: end; min-width: 0; }
}
@media (max-width: 47.99rem) {
  .header-inner { gap: .3rem; }
  .header-stay { font-size: .7rem; max-width: 8rem; }
  .brand { font-size: 1.3rem; }
  .home-brand span { display: none; }
  .menu-panel .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 37rem) {
  .hero { min-height: max(29rem, calc(100svh - 6.125rem)); }
  .home-cover { object-position: 6% center; }
  .hero-copy { padding-inline: 1.25rem; padding-bottom: 7.8rem; }
  .hero h1 { max-width: 15ch; font-size: calc(clamp(2.35rem, 9.25vw, 3.5rem) * .93); }
}
@media (prefers-reduced-motion: no-preference) {
  .button { transition: background-color .16s ease; }
}

.language-switcher { position: relative; }
.language-switcher > summary { display: flex; align-items: center; justify-content: center; gap: .35rem; min-width: 44px; font-size: .8125rem; list-style: none; }
.language-switcher > summary::-webkit-details-marker { display: none; }
.language-panel { position: absolute; inset-block-start: 100%; inset-inline-end: 0; width: min(19rem, calc(100vw - 2rem)); background: var(--night); border: 1px solid #5c6577; padding: .75rem; max-height: min(65dvh, 28rem); overflow: auto; overscroll-behavior: contain; }
.language-panel nav { display: grid; gap: .2rem; margin-top: .5rem; }
.language-panel a { text-transform: none; padding-inline: .6rem; }
.language-panel a[aria-current] { background: var(--teal-dark); }
.language-panel a:focus-visible, .language-panel input:focus-visible { outline-offset: -3px; }
@media (max-width: 48rem) {
  .language-panel { position: fixed; inset: auto var(--gutter) auto auto; }
}
:lang(zh-Hans) { font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif; }
:lang(hi) { font-family: "Noto Sans Devanagari", "Nirmala UI", Mangal, system-ui, sans-serif; }
:lang(hi) .hero h1 { font-family: "Noto Serif Devanagari", "Noto Sans Devanagari", "Nirmala UI", Mangal, serif; font-style: normal; font-weight: 600; }
:lang(zh-Hans) .hero h1 { font-family: "Noto Sans SC Heading", "Noto Sans CJK SC", sans-serif; font-style: normal; font-weight: 700; }

/* Long localized labels can wrap even at enlarged text sizes. */
body { overflow-wrap: anywhere; }

.checkout-form { display: grid; gap: .9rem; margin-bottom: 1rem; }
.checkout-form > .button { justify-self: start; }
.checkout-panel > .button, .checkout-panel form > .button, .checkout-bottom .button, .checkout-panel p + .button { margin: .3rem .45rem .3rem 0; }
.checkout-panel form { margin-bottom: .5rem; }
.checkout-notice { border-inline-start: .25rem solid var(--teal); padding-inline-start: .75rem; font-weight: 700; }
.checkout-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.checkout-summary { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: .45rem 1rem; align-items: baseline; margin-block: 0 1rem; }
.checkout-summary dt { font-weight: 600; }
.checkout-summary dd { margin: 0; }
.checkout-check { display: flex; align-items: center; min-height: 44px; margin-bottom: .5rem; }
.checkout-check input { width: 1.2rem; min-height: auto; }
.checkout-bottom { margin-block: 1.25rem; }
@media (min-width: 48rem) {
  .checkout-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.calendar-trigger { width: 100%; text-align: start; }
.desktop-stay .calendar-trigger { color: white; background: #232521; }
.calendar-trigger[aria-invalid="true"] { border-color: #b03930; }
.date-calendar { width: min(calc(100% - 1rem), 25rem); padding: clamp(.65rem, 3vw, 1.25rem); }
.date-calendar h2 { font-size: 1.25rem; }
.calendar-nav { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; text-align: center; gap: .35rem; }
.calendar-nav p { margin: 0; font-weight: 650; }
.date-calendar table { width: 100%; table-layout: fixed; border-spacing: 0; margin-block: .6rem; }
.date-calendar th { font-size: .75rem; font-weight: 600; }
.date-calendar td { padding: 1px; }
.date-calendar td button { width: 100%; padding: 0; text-align: center; font-size: .875rem; }
.date-calendar button[aria-pressed="true"] { color: white; background: var(--teal-dark); }
.date-calendar button[aria-disabled="true"], .date-calendar button:disabled { opacity: .45; cursor: default; }

@font-face {
  font-family: "Noto Sans";
  src: url("/assets/fonts/NotoSans-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("/assets/fonts/NotoSans-Bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
:root { font-family: "Noto Sans", "Segoe UI", Arial, system-ui, sans-serif; line-height: 1.6; --rail-width: 14.5rem; }
:lang(ru), :lang(uk), :lang(bg), :lang(el) { font-family: "Segoe UI", Arial, system-ui, sans-serif; }
:lang(ru) .hero h1, :lang(uk) .hero h1, :lang(bg) .hero h1, :lang(el) .hero h1 {
  font-family: "Noto Serif Display", "Noto Serif Heading Fallback", Georgia, serif;
}
label { font-size: .875rem; font-weight: 700; }
.desktop-stay label { font-size: .74rem; font-weight: 400; letter-spacing: .055em; }
.desktop-stay :is(input, select, .calendar-trigger) { font-size: .9rem; letter-spacing: normal; }
.button, .header-stay { font-size: .875rem; font-weight: 700; text-transform: none; }
.card-action { font-size: .88rem; font-weight: 700; }
.card h3 { letter-spacing: -.035em; }
.hero-rail { background: #141513; padding: clamp(1.5rem, 3.8vh, 3rem) 1.6rem; gap: .85rem; }
.hero-nav a { font-size: .92rem; font-weight: 400; line-height: 1.6; }
.hero-nav a[aria-current] { color: #e4ebc7; }
.hero-nav a { padding-block: .3rem; }
.hero-rail .home-brand { margin-bottom: .8rem; }
.hero-rail .language-panel { position: static; width: 100%; max-height: 20rem; }
.hero-rail .language-switcher { width: 100%; }
.hero-rail .language-switcher > summary { justify-content: start; }
.guest-rail { min-width: 0; }
.studio-essentials :is(p, dl) { margin-block: .5rem; }
#site-menu { width: min(100%, 23rem); height: 100dvh; max-height: 100dvh; padding: 0; }
#site-menu .drawer-content > .panel-heading { padding: 1rem 1.6rem; }
#site-menu .hero-rail { display: flex; padding-top: .6rem; }
@media (min-width: 64rem) {
  .header .header-inner { display: none; }
  .guest-layout { display: grid; grid-template-columns: var(--rail-width) minmax(0, 1fr); }
  .guest-rail {
    position: sticky; top: var(--header-size); align-self: start; z-index: 1;
    grid-column: 1; grid-row: 1; max-height: calc(100dvh - var(--header-size)); overflow: auto;
    background: #141513;
  }
  .guest-layout > main { grid-column: 2; grid-row: 1; min-width: 0; }
  .guest-layout > footer { grid-column: 1 / -1; }
  body[data-page=""] .guest-layout > main { grid-column: 1 / -1; }
  body[data-page=""] .guest-rail, body[data-page=""] .hero-rail { background: #141513a6; }
  body[data-page=""] .hero-rail { background: transparent; }
  body[data-page=""] .hero-copy { grid-column: 2; }
  .home-sections { margin-inline-start: calc(var(--rail-width) + var(--gutter)); width: auto; margin-inline-end: var(--gutter); }
}
@media (max-width: 63.99rem) {
  .guest-rail { display: none; }
  .header-inner { grid-template-columns: auto minmax(0, 1fr); }
  .header-stay { font-size: .8rem; }
}
.studio-matches { display: flex; flex-wrap: wrap; gap: .65rem; }
#site-menu .hero-nav { margin-block: 0; }
#site-menu .home-brand span { display: block; }
@media (min-width: 64rem) {
  .guest-rail { min-height: calc(100dvh - var(--header-size)); }
}
.hero-rail .brand[aria-current] strong { border-color: #e4ebc7; }
main > h1 { letter-spacing: -.055em; }
main h2 { letter-spacing: -.035em; }
.rates dd { font-size: 1.3rem; }

.guest-rail, #site-menu {
  --rail-tint: #141513a6;
  --magnolia-tint: rgb(20 21 19 / 80.0980392%);
  --rail-photo: linear-gradient(var(--magnolia-tint), var(--magnolia-tint)), var(--content-menu-photo, url("/assets/site/menu-magnolia.webp"));
  color: #fffdf6;
  background-color: var(--rail-tint);
}
.hero-rail, #site-menu .hero-rail { color: #fffdf6; background: transparent; }
/* On interior pages, keep the portrait backdrop confined to the rail. */
body[data-page]:not([data-page=""]) .guest-rail, #site-menu {
  background-image: var(--rail-photo);
  background-repeat: no-repeat;
}
body[data-page]:not([data-page=""]) .guest-rail {
  background-size: cover;
  background-position: 82% center;
}
#site-menu {
  background-size: cover;
  background-position: center;
}
.hero-rail :is(.language-switcher, .registration-trigger) { margin-block-start: -.85rem; }
.hero-rail :is([data-language-trigger], .registration-trigger) {
  display: flex; align-items: center; gap: .45em; width: 100%; min-height: 44px;
  padding: .3rem 0; border: 0; border-block-start: 1px solid #ffffff2e; border-radius: 0;
  color: white; background: transparent; text-align: start;
  font: inherit; font-size: .92rem; font-weight: 400; line-height: 1.6;
}
.hero-rail :is([data-language-trigger], .registration-trigger):hover { text-decoration: underline; }
.hero-rail :is([data-language-trigger], .registration-trigger):focus-visible { outline-color: #fffdf6; }
.hero-rail [data-language-trigger] span { font-size: .85em; }
.hero-rail .language-panel {
  position: fixed; inset: auto; margin: 0; top: auto; right: auto;
  color: #fffdf6; background: var(--night); padding: .85rem;
  overflow: hidden; overflow-wrap: normal;
}
.hero-rail .language-panel:popover-open { display: flex; flex-direction: column; }
.hero-rail .language-panel nav { overflow: auto; min-height: 0; margin: .5rem 0 0; display: block; }
.hero-rail .language-panel a { display: block; padding: .55rem; min-height: 44px; overflow-wrap: break-word; }
.hero-rail .language-panel label { flex: 0 0 auto; }
@media (min-width: 64rem) {
  .guest-layout > footer { grid-column: 2; min-width: 0; }
}
#guest-account { width: min(calc(100% - 2rem), 34rem); }
.account-form { display: grid; gap: .75rem; }
.account-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .8rem; }
.account-password { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); gap: .45rem; align-items: end; }
.account-example { overflow-wrap: anywhere; }
@media (max-width: 32rem) { .account-password { grid-template-columns: minmax(0, 1fr); } }
.language-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .5rem; }
.language-tools button { min-width: 44px; }

.account-profile { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.account-profile select { width: 100%; }
