@font-face {
  font-family: 'Space Grotesk';
  src: url('./assets/space-grotesk.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo Black';
  src: url('./assets/archivo-black.woff2') format('woff2');
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ground: #121025;
  --surface: #242139;
  --ink: #fff8ff;
  --muted: #d3cbe6;
  --accent: #edffb1;
  --line: #6e638b;
  --gutter: clamp(20px, 5.3vw, 92px);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --rim: inset 0 1px 1px #ffffff79, inset 1px 0 1px #ffffff29, inset 0 -2px 5px #ffffff12;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1rem/1.5 'Space Grotesk', system-ui, sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; touch-action: manipulation; }
a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: 'Archivo Black', sans-serif; font-weight: 400; letter-spacing: -.06em; line-height: .92; }
h2 { font-size: clamp(2.8rem, 6vw, 6rem); text-wrap: balance; }
h3 { font-size: clamp(1.32rem, 2.3vw, 1.9rem); line-height: 1.1; letter-spacing: -.045em; }
section[id], :is(button,input,textarea,select):focus { scroll-margin-top: 92px; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1320px); margin-inline: auto; }

.skip { position: fixed; top: 12px; left: 12px; z-index: 15; padding: 12px 18px; background: var(--accent); color: var(--ground); transform: translateY(-160%); }
.skip:focus { transform: none; }
.header {
  position: sticky;
  z-index: 4;
  top: max(14px, env(safe-area-inset-top));
  width: min(calc(100% - 2 * var(--gutter)), 1320px);
  min-height: 65px;
  margin: 14px auto 0;
  padding: 5px 6px 5px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #ffffff35;
  border-radius: 100px;
  background: #302650;
  box-shadow: var(--rim), 0 10px 30px #100a2740;
}
.brand { display: inline-flex; align-items: center; gap: 6px; min-width: 0; min-height: 44px; white-space: nowrap; font-size: clamp(1rem, 2vw, 1.28rem); font-weight: 700; letter-spacing: -.06em; }
.brand img { width: 34px; height: 34px; border-radius: 50%; }
.header nav { display: flex; align-items: center; gap: clamp(2px, 2vw, 25px); }
.header nav a { display: grid; place-items: center; min-height: 44px; padding-inline: 12px; border-radius: 100px; font-size: .92rem; }
.header nav a:hover, .header nav a[aria-current] { background: #ffffff24; box-shadow: inset 0 1px 1px #ffffff42; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 48px;
  padding: 10px 19px;
  border: 1px solid #ffffff61;
  border-radius: 100px;
  color: var(--ink);
  background: #3c3456;
  box-shadow: var(--rim);
  font-weight: 700;
  line-height: 1.25;
  transition: transform 150ms var(--ease-out);
}
.button:hover { border-color: #ffffffad; background: #51466f; }
.button:active, .icon-button:active, .time:active, .day:active { transform: scale(.97); }
.button span { font-size: 1.25em; line-height: .8; }
.primary { color: #1a2110; border-color: #f7ffd0; background: linear-gradient(180deg, #f5ffd4, #d9efa0); box-shadow: inset 0 2px 2px #fff, inset 0 -2px 5px #adc47880, 0 5px 16px #0b092342; }
.primary:hover { background: #f4ffd1; }
.header-action { min-height: 51px; }
@supports (backdrop-filter: blur(1px)) {
  .header { background: linear-gradient(150deg, #f1dbff32, #22193678 58%, #ac9ad43f); backdrop-filter: blur(17px) saturate(1.38); }
  .hero-action { background: linear-gradient(165deg, #ffffff44, #d8ceff17 52%, #c6aaff30); backdrop-filter: blur(12px) saturate(1.45); }
  .hero-action:hover { background-color: #f0deff24; }
}

.hero {
  min-height: clamp(650px, 100svh, 1050px);
  margin-top: -79px;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  padding: 138px 0 clamp(60px, 9vw, 135px);
  background: linear-gradient(90deg, #15102d 10%, #31224e 45%, #6450bb);
  overflow: clip;
}
.hero-frame { position: absolute; inset: 28px 0 0 30%; z-index: -2; mask-image: linear-gradient(90deg, transparent, #000 28%); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 0; }
.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, #15102d 1%, #211744 25%, #2c1f4f9c 44%, #2c1f4f00 66%),
    linear-gradient(0deg, #1b1435 0%, #1b143522 42%, transparent 62%);
}
.hero h1 { font-size: clamp(4rem, 9.8vw, 9rem); max-width: 8ch; }
.hero .lede { margin-top: 24px; color: #f4eaff; }
.hero-action { margin-top: 25px; min-height: 59px; padding-inline: 24px; font-size: 1.06rem; }
.lede { max-width: 36ch; font-size: clamp(1.04rem, 1.6vw, 1.28rem); color: var(--muted); text-wrap: pretty; }

.booking { padding: clamp(58px, 8vw, 110px) 0; background: radial-gradient(ellipse at 75% 0%, #443368 0%, #1d1934 40%, #121025 77%); }
.booking .lede { margin-top: 18px; max-width: none; }
.booking-grid { display: grid; grid-template-columns: 1.04fr 1fr; gap: clamp(16px, 3vw, 40px); margin-top: 32px; }
.panel { min-width: 0; padding: clamp(16px, 3vw, 39px); border: 1px solid #74688e; border-radius: 30px; background: var(--surface); box-shadow: inset 0 1px #ffffff1d; }
.calendar-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-block: 18px 12px; }
#month { font-weight: 700; }
#month::first-letter { text-transform: uppercase; }
.month-actions { display: flex; gap: 7px; }
.icon-button, .day, .time { min-height: 44px; border-radius: 100px; color: var(--ink); transition: transform 150ms var(--ease-out); }
.icon-button { width: 44px; border: 1px solid var(--line); background: #3a3250; box-shadow: var(--rim); font-size: 1.12rem; }
.icon-button:disabled { opacity: .5; box-shadow: none; background: transparent; }
.calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; text-align: center; font-variant-numeric: tabular-nums; }
.weekdays { margin-bottom: 4px; color: var(--muted); font-size: .82rem; }
.day, .time { min-width: 0; padding: 0; border: 1px solid transparent; background: transparent; font-weight: 600; }
.day:disabled { color: #a29ab4; }
.day[aria-current='date']:not(:disabled), .time { border-color: var(--line); }
.day:not(:disabled):hover, .time:hover, .icon-button:not(:disabled):hover { background: #544969; border-color: #c5b7df; }
.day[aria-pressed='true'], .time[aria-pressed='true'], .day[aria-pressed='true']:hover, .time[aria-pressed='true']:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #171e0d;
  box-shadow: inset 0 2px 2px #fff, 0 2px 10px #d1ed7b3d;
}
.times-block { min-height: 83px; margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line); }
#time-title { margin-bottom: 9px; font-size: .9rem; font-weight: 700; }
.time-hint { margin-bottom: 10px; color: var(--muted); font-size: .88rem; }
.times { --time-gap: 4px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--time-gap); }
.time { position: relative; display: grid; place-content: center; font-size: clamp(.65rem, 2.75vw, .88rem); line-height: 1.15; }
.time small { margin-top: 2px; font-size: .68rem; }
.time:disabled { color: #a29ab4; border-color: transparent; background: transparent; }
.time { font-variant-numeric: tabular-nums; }
.time[data-range='start'] { border-start-end-radius: 0; border-end-end-radius: 0; }
.time[data-range='end'] { border-start-start-radius: 0; border-end-start-radius: 0; }
.time[data-range='middle'] { border-radius: 0; }
.times .time[data-range] {
  border-color: var(--accent);
  background: var(--accent);
  color: #171e0d;
  box-shadow: none;
}
.time:is([data-range='start'], [data-range='middle'])::after {
  content: '';
  position: absolute;
  inset-block: -1px;
  inset-inline-start: 100%;
  width: calc(var(--time-gap) + 2px);
  background: var(--accent);
  pointer-events: none;
}
.time:focus-visible { z-index: 1; }
.empty { grid-column: 1 / -1; color: var(--muted); font-size: .88rem; }
.details { display: flex; flex-direction: column; }
.fields { display: grid; margin-top: 21px; }
.fields label { margin-bottom: 5px; font-size: .95rem; font-weight: 600; }
.fields input, .fields select, .fields textarea { width: 100%; min-height: 48px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 13px; background: #19162c; color: var(--ink); font-size: 1rem; }
.fields input, .fields select { margin-bottom: 14px; }
.fields textarea { resize: vertical; }
.fields ::placeholder { color: #b9adc9; }
.fields [aria-invalid='true'] { border-color: #ffbcc5; }
.summary { margin-top: auto; padding: 17px 0 12px; color: var(--accent); font-weight: 600; }
.send { width: 100%; min-height: 53px; }
.error { color: #ffbcc5; margin-bottom: 10px; }
.fine { margin-top: 10px; color: var(--muted); font-size: .86rem; }

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(28px, 7vw, 112px); align-items: center; padding-block: clamp(50px, 8vw, 110px); border-top: 1px solid var(--line); }
.about-frame { height: clamp(320px, 42vw, 550px); overflow: hidden; border-radius: 44% 44% 22px 22px; background: #6e5bd2; }
.about-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about .lede { margin-block: 18px 23px; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 95px; border-top: 1px solid var(--line); color: var(--muted); }
.footer>a:last-child { display: inline-flex; align-items: center; min-height: 44px; gap: 5px; }
.footer>a:last-child:hover { color: var(--accent); }

@media (max-width: 760px) {
  .header { min-height: 58px; padding: 4px 7px 4px 9px; }
  .header-action { display: none; }
  .header nav a { padding-inline: 9px; }
  .brand img { width: 29px; height: 29px; }
  .hero { min-height: max(650px, 94svh); margin-top: -72px; padding: 100px 0 44px; }
  .hero-frame { inset: 32px 0 10% 0; mask-image: none; }
  .hero-frame img { object-position: 52% 0; }
  .hero::after { background: linear-gradient(0deg, #1b1435 0%, #1b1435f5 21%, #1b14356b 53%, transparent 75%); }
  .hero h1 { font-size: clamp(3.25rem, 13vw, 6rem); }
  .hero .lede { margin-top: 16px; }
  .hero-action { margin-top: 17px; min-height: 51px; }
  .booking-grid, .about { grid-template-columns: 1fr; }
  .panel { border-radius: 22px; }
  .about-frame { height: min(107vw, 490px); }
  .footer { flex-wrap: wrap; padding-block: 10px; }
}
@media (max-width: 365px) {
  .header nav { gap: 0; }
  .header nav a { padding-inline: 7px; }
  .brand img { width: 24px; height: 24px; }
  .panel { padding-inline: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .button:active, .icon-button:active, .time:active, .day:active { transform: none; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .header, .hero-action { background: #302650; backdrop-filter: none; }
}
.access-notice { max-width: 650px; margin-block: clamp(36px, 9vw, 110px); }
.access-notice h1 { font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.06; }
.access-notice p { color: var(--muted); margin-block: 16px 24px; }
