@font-face {
  font-family: LabelDisplay;
  src: url('/assets/sofia-extra-condensed-latin-900.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: LabelDisplay;
  src: url('/assets/sofia-extra-condensed-cyrillic-900.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Inter;
  src: url('/assets/inter-latin-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url('/assets/inter-cyrillic-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
:root {
  --label-container-max: 1480px;
  --label-content-gutter: 16px;
  --label-grid-gap: clamp(12px, 1.65vw, 20px);
  --label-section-space: clamp(58px, 6.1vw, 88px);
  --label-reading-max: 900px;
  --pink: #f062a1;
  --graphite: #24282b;
  --ink: #191b1d;
  --muted: #595f64;
  --sheet: #f2f3f4;
  --line: #d8dbdf;
  --button-radius: 18px;
  font: 400 100%/1.5 Inter, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
}
@media (min-width: 768px) { :root { --label-content-gutter: 20px; } }
@media (min-width: 1024px) { :root { --label-content-gutter: 24px; } }
@media (min-width: 1440px) { :root { --label-content-gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
h1, h2, h3, p, figure, fieldset { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, select, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled, :disabled { cursor: default; }
:focus-visible { outline: 3px solid var(--graphite); outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }
.container {
  width: min(calc(100% - var(--label-content-gutter) * 2), var(--label-container-max));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: 0;
  left: var(--label-content-gutter);
  z-index: 10;
  padding: 12px 20px;
  background: #fff;
  transform: translateY(-125%);
}
.skip-link:focus { transform: translateY(12px); }

.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { flex: none; display: block; }
.brand img, .site-footer img { width: 82px; height: auto; }
.site-nav { display: flex; flex-wrap: wrap; gap: 12px clamp(16px, 3vw, 36px); align-items: center; }
.site-nav a, .site-footer a { font-size: .875rem; font-weight: 600; text-decoration: none; }
.site-nav a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 3.8vw, 64px);
  padding-block: clamp(30px, 3.9vw, 62px);
}
.hero-copy { padding-block: 6px; }
.hero h1, .section-heading h2, .news-section h2 {
  font: 900 clamp(3rem, 6.5vw, 6.6rem)/.81 LabelDisplay, Impact, sans-serif;
  letter-spacing: -.008em;
  text-transform: uppercase;
}
.hero p { font-size: clamp(1rem, 1.45vw, 1.25rem); max-width: 41ch; margin-block: clamp(20px, 2.3vw, 32px) 22px; }
.hero-photo { overflow: hidden; border-radius: 24px; background: var(--sheet); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 49%; aspect-ratio: 16 / 9; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--button-radius);
  font-weight: 650;
  text-decoration: none;
  text-align: center;
}
.primary { background: var(--graphite); color: #fff; }
.primary:hover:not(:disabled) { background: #3a3f43; }
.secondary { border-color: var(--line); background: #fff; }
.secondary:hover { background: var(--sheet); }
.button:disabled { opacity: .52; }
.wide { width: 100%; }
.text-button {
  border: 0;
  padding: 0;
  min-height: 32px;
  background: transparent;
  text-align: start;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: .875rem;
  font-weight: 600;
}

.booking-section { scroll-margin-top: 14px; background: var(--sheet); padding-block: 40px 54px; }
.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 22px;
}
.section-heading h2, .news-section h2 { font-size: clamp(3rem, 6vw, 5rem); }
.section-heading p { color: var(--muted); font-size: .875rem; font-weight: 550; }
.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: var(--label-grid-gap);
  align-items: start;
}
.booking-grid.receipt-only { grid-template-columns: minmax(0, 1fr); }
.receipt-only .schedule-panel { display: none; }
.panel { border: 1px solid #e1e3e5; background: #fff; border-radius: 24px; padding: clamp(18px, 2.35vw, 34px); min-width: 0; }
.schedule-panel { display: grid; gap: 26px; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 12px; font-size: 1.125rem; font-weight: 680; }
.dates, .times { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 125px), 1fr)); }
.times { grid-template-columns: repeat(auto-fill, minmax(min(100%, 120px), 1fr)); }
.choice { position: relative; display: grid; min-width: 0; }
.choice input { position: absolute; opacity: 0; }
.choice-card {
  display: flex;
  flex-direction: column;
  min-height: 73px;
  justify-content: center;
  padding: 10px 12px;
  background: #f6f7f8;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
}
.choice input:checked + .choice-card { background: #fff; border-color: var(--graphite); box-shadow: inset 0 -4px var(--pink); }
.choice input:not(:disabled):not(:checked) + .choice-card:hover { border-color: #8d939a; }
.choice input:focus-visible + .choice-card { outline: 3px solid var(--graphite); outline-offset: 3px; }
.choice input:disabled + .choice-card { background: #fff; border-color: #e2e4e7; color: var(--muted); cursor: default; }
.choice-title { font-size: 1.15rem; font-weight: 670; font-variant-numeric: tabular-nums; }
.choice-note { color: var(--muted); font-size: .875rem; }
.booking-panel form, .receipt, .stack { display: grid; gap: 16px; }
.booking-panel h3, .panel-title, dialog h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-weight: 730; line-height: 1.18; }
.selection { margin-top: -8px; color: var(--muted); font-size: .9375rem; }
.fields { display: grid; gap: 12px; min-width: 0; }
.fields.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.booking-panel .inquiry-required { margin-inline-start: 4px; }
.field { display: grid; min-width: 0; gap: 5px; font-size: .875rem; font-weight: 600; }
.field :is(input, select, textarea) {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 46px;
  padding: 8px 11px;
  border: 1px solid #aaaeb4;
  border-radius: 10px;
  background: #fff;
  font-size: 1rem;
  font-weight: 400;
}
.field select {
  appearance: none;
  padding-right: 34px;
  background:
    linear-gradient(45deg, transparent 50%, #353a3e 50%) calc(100% - 17px) center / 5px 5px no-repeat,
    linear-gradient(135deg, #353a3e 50%, transparent 50%) calc(100% - 12px) center / 5px 5px no-repeat,
    #fff;
}
.field input[type="file"] { padding: 7px; }
.field textarea { resize: vertical; }
.field input[readonly] { background: var(--sheet); color: var(--muted); }
.check-wrap .text-button { margin-left: 26px; min-height: 25px; }
.check { display: flex; align-items: start; gap: 8px; font-size: .875rem; }
.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--graphite); }
.notice, .status { font-size: .9375rem; }
.notice { padding: 18px 20px; border-radius: 14px; background: #fff; }
.status { color: var(--muted); }
.error { color: #87283e; }
.receipt { grid-template-columns: minmax(0, 1fr); }
.receipt .button { justify-self: start; }

.news-section { padding-block: var(--label-section-space); }
.tours-visit { padding-block: 32px; }
.news-section:not([hidden]) + .tours-visit { border-block-start: 1px solid var(--line); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: var(--label-grid-gap);
  margin-top: 24px;
}
.muted { color: var(--muted); font-size: .875rem; }
.site-footer { background: var(--graphite); color: #f5f6f7; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; min-height: 126px; padding-block: 25px; }
.site-footer img { filter: brightness(0) invert(1); }
.site-footer p { color: #d8dade; font-size: .875rem; margin-top: 10px; }
dialog {
  width: min(480px, calc(100% - 32px));
  border: 0;
  border-radius: 22px;
  padding: 24px;
  color: var(--ink);
}
dialog::backdrop { background: rgb(26 28 31 / 58%); }
dialog p { margin-block: 14px 20px; }

.admin-body { min-height: 100vh; min-height: 100dvh; background: var(--sheet); }
.admin-symbols { position: absolute; pointer-events: none; }
.admin-icon { display: block; width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.admin-shell { min-height: inherit; }
.admin-main { min-width: 0; padding-block: clamp(24px, 3vw, 44px) var(--label-section-space); }
.admin-main > .status { margin-bottom: 14px; }
.admin-main .button, .admin-account .button { min-height: 44px; padding: 9px 16px; border-radius: 12px; font-size: .875rem; }
.login-panel { max-width: 440px; margin-inline: auto; }
.login-panel > .muted { margin-top: 8px; }
.login-panel form { margin-top: 20px; }
.login-panel .button { justify-self: start; }
.admin-header { position: sticky; top: 0; z-index: 3; }
.admin-header .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; min-height: 64px; }
.admin-header .brand { grid-area: 1 / 2; }
.admin-header-back, .admin-menu-toggle, .admin-drawer-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--sheet);
  color: var(--graphite);
}
.admin-header-back { grid-area: 1 / 1; justify-self: start; }
.admin-menu-toggle { grid-area: 1 / 3; justify-self: end; }
.admin-sidebar { display: none; min-width: 0; background: #fff; }
.admin-sidebar-brand { display: flex; gap: 12px; align-items: center; padding: 22px 18px; border-bottom: 1px solid #e5e5e5; font-size: .875rem; font-weight: 650; }
.admin-sidebar-brand img { width: 60px; height: auto; }
.admin-navigation { display: grid; gap: 4px; padding: 14px 10px; }
.admin-navigation a { display: flex; gap: 10px; align-items: center; min-height: 44px; border-radius: 12px; padding: 8px 12px; font-size: .875rem; font-weight: 600; text-decoration: none; }
.admin-navigation a:is(:hover, [aria-current="page"]) { background: var(--sheet); }
.admin-navigation a[aria-current="page"] { font-weight: 750; }
.admin-navigation .admin-icon { width: 18px; height: 18px; }
.admin-account { margin-top: auto; padding: 12px 14px 16px; border-top: 1px solid #e5e5e5; }
.admin-account .button { width: 100%; }
@media (min-width: 1024px) {
  .admin-authenticated { display: grid; grid-template-columns: 224px minmax(0, 1fr); align-items: start; }
  .admin-authenticated .admin-header { display: none; }
  .admin-shell > .admin-sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100dvh; overflow: auto; border-right: 1px solid #e5e5e5; }
}
.admin-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(320px, calc(100% - 48px));
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border-radius: 20px 0 0 20px;
  overflow: auto;
  overscroll-behavior: contain;
}
.admin-drawer[open], .admin-drawer .admin-sidebar { display: flex; flex-direction: column; }
.admin-drawer-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px 0; }
.admin-drawer .admin-sidebar { flex: 1; }
.admin-drawer .admin-sidebar-brand { display: none; }
.admin-drawer .admin-navigation { padding-inline: 14px; }
body:has(.admin-drawer[open]) { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .admin-drawer[open] { animation: admin-drawer-in .2s ease-out; }
  @keyframes admin-drawer-in { from { transform: translateX(100%); } }
}
.admin-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); align-items: start; gap: var(--label-grid-gap); }
.admin-main .panel { border-radius: 16px; padding: clamp(16px, 2vw, 24px); }
.workspace-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 20px; margin-bottom: 20px; }
.workspace-title {
  margin: 0;
  font: 900 clamp(2.45rem, 4.25vw, 3.75rem)/.98 LabelDisplay, Inter, sans-serif;
  text-transform: uppercase;
}
.workspace-heading .muted { margin-top: 8px; }
.workspace-heading .text-button { display: inline-flex; align-items: center; }
.overview-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.overview-links a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 86px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  font-size: .875rem;
  font-weight: 650;
  text-decoration: none;
}
.overview-links a:hover { border-color: #8a9095; background: #fafbfb; }
.overview-links a span { grid-column: 1; }
.overview-links .overview-arrow { grid-area: 1 / 2 / 3; width: 16px; height: 16px; color: var(--muted); }
.overview-list { margin-top: 16px; }
.overview-grid .panel { min-width: 0; }
.overview-grid .admin-slot { padding: 10px 12px; }
.session-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; font-size: .875rem; color: var(--muted); }
.session-state { padding: 4px 10px; border-radius: 8px; background: #e5e7e9; color: var(--graphite); font-size: .8125rem; font-weight: 650; }
.session-state[data-open="true"] { background: #e4eee8; color: #284d38; }
.button.admin-caution { border-color: #f0dedb; background: #f8eeec; color: #823934; }
.button.admin-caution:hover { background: #f2e0dd; }
.session-controls { gap: 8px; }
.bounded-form { max-width: 620px; }
.panel-heading { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; align-items: start; margin-bottom: 13px; }
.panel-heading p { margin-top: 4px; }
.slot-list { display: grid; gap: 6px; }
.admin-slot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--sheet);
  text-align: start;
  text-decoration: none;
}
.admin-slot:hover { border-color: var(--graphite); }
.admin-slot-copy, .booking-person { display: grid; gap: 2px; }
.admin-slot-copy { min-width: 0; }
.booking-person { min-width: 0; overflow-wrap: anywhere; }
.slot-seats { display: grid; text-align: end; margin-left: auto; flex: none; }
.slot-chevron { width: 9px; height: 9px; transform: rotate(-45deg); border-right: 1.5px solid; border-bottom: 1.5px solid; flex: none; margin-inline: 4px 2px; }
.actions { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
.actions .button.compact { min-height: 42px; padding: 8px 14px; font-size: .875rem; }
.session-guests > .status { margin-bottom: 12px; }
.guest-dialog form { gap: 14px; }
.guest-dialog form .status { margin: 0; }
.booking-row { display: flex; justify-content: space-between; gap: 10px 16px; padding-block: 12px; border-top: 1px solid var(--line); }
.booking-actions { display: flex; flex-wrap: wrap; justify-content: end; align-items: center; gap: 8px; }
.booking-actions .button { min-height: 40px; }
.booking-person a { text-underline-offset: 3px; }
.guest-filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, .62fr); gap: 12px; margin-bottom: 16px; }
.guest-filters .field { min-width: 0; }
.guest-results { margin-bottom: 8px; }
.guest-directory-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(8.5rem, .52fr); align-items: center; gap: 12px 20px; padding-block: 14px; border-top: 1px solid var(--line); }
.guest-directory-row .button { justify-self: start; text-align: start; }
.guest-directory-state { display: grid; gap: 2px; text-align: end; }
.reminders-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.settings-panel { max-width: 780px; }
.account-settings { margin-block-start: 20px; }
#password-form { max-width: 28rem; margin-block-start: 16px; }
.settings-channel { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.settings-channel .stack { gap: 5px; }
.settings-channel-title { font-size: 1rem; font-weight: 700; }
.admin-account .muted { margin-bottom: 6px; }
.telegram-dialog #telegram-qr { display: block; width: min(208px, 100%); height: auto; margin: 0 auto 20px; background: #fff; }
.telegram-dialog #telegram-password-form { margin-bottom: 16px; }
.telegram-dialog .button { min-height: 44px; }
.reminder-list { margin-top: 16px; }
.reminder-entry { display: grid; gap: 3px; padding-block: 11px; border-top: 1px solid var(--line); }
.reminder-entry:last-child { padding-bottom: 0; }
.reminder-session { font-weight: 700; text-underline-offset: 3px; }
.news-editor-grid { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); }
.news-preview-panel { position: sticky; top: 20px; }
.mobile-editor-jump { display: none; }
#news-preview { max-width: 400px; }
.news-order-help { margin-bottom: 12px; }
.news-notice { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; font-size: .875rem; }
.news-row { display: flex; gap: 10px 14px; align-items: center; padding: 12px 2px; border-top: 1px solid var(--line); }
.news-row.is-dragging { background: var(--sheet); border-radius: 10px; }
.news-handle { padding: 0; width: 38px; height: 40px; border: 1px solid var(--line); border-radius: 9px; background: white; font-size: 1.3rem; line-height: 1; cursor: grab; flex: none; touch-action: none; }
.news-handle:active { cursor: grabbing; }
.news-thumb { width: 72px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }
.news-row-copy { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.news-row-copy h3 { font-size: 1rem; font-weight: 700; }
.news-row-actions { flex: none; }
.news-row-actions a { display: inline-flex; align-items: center; }
.format-toolbar { display: flex; gap: 6px; }
.format-toolbar button { min-width: 36px; min-height: 34px; border: 1px solid var(--line); border-radius: 7px; padding: 4px 9px; background: white; }
.format-toolbar button:hover { background: var(--sheet); }
.remove-news-image { justify-self: start; }
#news-form .field + .muted { margin-top: -10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (min-width: 1320px) {
  .overview-links { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 675px) {
  .overview-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .overview-links a { min-height: 74px; padding: 10px 12px; }
  .guest-filters, .guest-directory-row { grid-template-columns: minmax(0, 1fr); }
  .guest-directory-state { text-align: start; }
  .booking-row { display: grid; }
  .booking-actions { justify-content: start; }
}
@media (max-width: 374px) {
  .booking-actions .button { padding-inline: 10px; font-size: .8125rem; }
}
@media (max-width: 767px) {
  .header-inner { min-height: 62px; }
  .brand img, .site-footer img { width: 70px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 19px; padding-block: 26px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(2.9rem, 12vw, 5rem); }
  .hero p { margin-block: 14px 16px; }
  .hero-photo { border-radius: 18px; }
  .hero-photo img { aspect-ratio: 2 / 1; }
  .hero .button { min-height: 48px; }
  .booking-section { padding-block: 30px 36px; }
  .section-heading { margin-bottom: 17px; }
  .booking-grid, .admin-grid { grid-template-columns: minmax(0, 1fr); }
  .dates { grid-template-columns: repeat(auto-fill, minmax(min(100%, 95px), 1fr)); }
  .times { grid-template-columns: repeat(auto-fill, minmax(min(100%, 95px), 1fr)); }
  .choice-card { min-height: 64px; padding: 8px 9px; }
  .choice-title { font-size: 1.0625rem; }
  .dates .choice-card { padding-inline: 7px; }
  .dates .choice-note { font-size: .8125rem; letter-spacing: -.02em; }
  .schedule-panel { gap: 20px; }
  .panel { border-radius: 18px; }
  .admin-main { padding-top: 30px; }
  .news-preview-panel { position: static; }
  .mobile-editor-jump { display: inline-flex; }
}
@media (max-width: 500px) {
  :is(.booking-panel, .guest-dialog) .fields.two { grid-template-columns: minmax(0, 1fr); }
  .news-row { flex-wrap: wrap; }
  .news-row-actions { flex-basis: 100%; justify-content: end; }
  .news-thumb { width: 52px; }
  .slot-seats .muted { font-size: .75rem; }
}
@media (max-width: 340px) {
  .panel-heading { display: grid; }
  .hero h1 { font-size: clamp(2.4rem, 11.7vw, 3rem); }
}
