@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/instrument-serif-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --night: #171221;
  --night-up: #2c2039;
  --paper: #22182c;
  --rule: #47354f;
  --ivory: #fff4e7;
  --ink: #fff4e7;
  --muted: #dbc8dd;
  --brass: #ffc387;
  --action-text: #29182b;
  --display: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--night);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .65; }
p, h1, h2, h3, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--ivory); outline-offset: 3px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: .75rem 1rem; color: var(--action-text); background: var(--brass); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
#main-content:focus { outline: none; }
.site-header { background: var(--night); border-bottom: 1px solid var(--rule); }
.header-inner {
  width: min(100%, 1100px);
  min-height: 70px;
  margin: auto;
  padding-inline: 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
}
.brand { display: inline-flex; width: fit-content; gap: 10px; align-items: center; color: inherit; text-decoration: none; white-space: nowrap; }
.brand img { flex: none; border-radius: 8px; box-shadow: 0 0 0 1px #ffc38740; }
.brand span { font: 400 clamp(1.72rem, 2.4vw, 2.06rem)/1 "Instrument Serif", var(--display); letter-spacing: -.018em; }
.footer-brand { font: normal 1.56rem/1 var(--display); letter-spacing: -.035em; }
#top-nav { display: flex; padding: 3px; gap: 3px; border: 1px solid var(--rule); background: var(--paper); border-radius: 10px; }
#top-nav a { display: grid; place-items: center; min-height: 34px; padding: .3rem .77rem; color: var(--muted); font-size: .83rem; text-decoration: none; border-radius: 7px; }
#top-nav a:hover { color: var(--ivory); background: #412c4c; }
#top-nav a[aria-current] { color: var(--action-text); background: var(--brass); font-weight: 700; }
.header-action { justify-self: end; border: 1px solid #796183; border-radius: 8px; padding: .51rem .8rem; font-size: .83rem; text-decoration: none; white-space: nowrap; }
.header-action:hover { color: var(--brass); border-color: var(--brass); }

.opening, .journeys, .app-shell, .site-footer {
  width: min(100%, 1100px);
  margin-inline: auto;
  padding-inline: 28px;
}
.opening { margin-block: 28px 18px; }
.opening-inner {
  min-height: 455px;
  position: relative;
  isolation: isolate;
  overflow: clip;
  border: 1px solid #6e567c;
  border-radius: 18px;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at 82% 46%, #b4a08e5c, transparent 43%),
    radial-gradient(ellipse at 90% 10%, #655273 0%, transparent 63%),
    linear-gradient(124deg, #372743 0%, #453552 62%, #4b3c59 100%);
}
.opening-inner::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #352543 0%, #392944e8 33%, #432f4e66 53%, transparent 73%);
  pointer-events: none;
}
.opening-copy { position: relative; z-index: 1; min-width: 0; width: min(60%, 548px); padding: 38px 0 40px 40px; }
.preview-label { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: #f1d6da; font-size: .72rem; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; }
.preview-label span { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px #ffc38724; margin-right: 3px; }
.preview-label i { width: 11px; height: 1px; background: #d3a7bd; }
.opening h1 { font: normal clamp(3.55rem, 6vw, 5.12rem)/.99 var(--display); letter-spacing: -.064em; margin: 21px 0 16px; }
.opening h1 em { color: var(--brass); font-weight: inherit; }
.opening-description { max-width: 37ch; color: #f2dce6; font-size: 1.01rem; line-height: 1.55; }
.opening-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 9px; margin-top: 24px; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: .5rem;
  min-height: 42px;
  padding: .61rem .88rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .86rem;
  font-weight: 670;
  text-decoration: none;
  line-height: 1.3;
}
.btn-primary { color: var(--action-text); border-color: var(--brass); background: var(--brass); }
.btn-primary:hover { background: #ffdaae; }
.btn-secondary { color: var(--ivory); background: #382841; border-color: #806282; }
.btn-secondary:hover { border-color: var(--brass); background: #513649; }
.btn-text { color: var(--brass); background: transparent; text-decoration: underline; }
.btn-text:hover { color: var(--ivory); }
.opening .btn { min-height: 45px; }
.opening .hero-group { color: var(--ivory); background: #38233fdf; border-color: #d29691; }
.opening .hero-group:hover { border-color: var(--brass); background: #57354b; }
.opening-secondary { display: flex; flex-wrap: wrap; gap: 8px 21px; margin-top: 16px; }
.hero-secondary { padding-block: 5px; display: inline-flex; align-items: center; gap: .35rem; color: var(--ivory); font-size: .82rem; font-weight: 650; }
.hero-secondary span, .hero-secondary:hover { color: var(--brass); }
.opening-media {
  display: block;
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: 68%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000 34%), linear-gradient(180deg, transparent, #000 12%);
  mask-composite: intersect;
}
.journeys-inner { padding: 20px 0 44px; }
.journey-intro { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 12px 24px; }
.journey-intro h2 { font: normal clamp(1.7rem, 3.35vw, 2.3rem)/1.1 var(--display); letter-spacing: -.035em; }
.journey-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; margin-top: 15px; }
.journey-card { position: relative; display: grid; align-content: start; gap: 7px; border: 1px solid var(--rule); border-radius: 15px; padding: 17px 36px 17px 16px; text-decoration: none; background: var(--paper); }
a.journey-card:hover { border-color: #bf8c9f; background: #2b1d36; }
.journey-card strong { font: normal 1.24rem/1.06 var(--display); }
.journey-card span { color: var(--muted); font-size: .78rem; line-height: 1.4; }
.journey-card i { font-style: normal; position: absolute; right: 12px; top: 15px; color: var(--brass); font-size: .95rem; }
.journey-card.unavailable { border-style: dashed; }
.journey-card .availability-label { color: #efc0cb; font-weight: 600; }
#home-availability > p { margin-top: .8rem; }
#home-city-picker select { min-width: 145px; }
.site-footer { min-height: 78px; padding-block: 20px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.site-footer > div { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 17px; }
.site-footer a { font-size: .8rem; text-decoration: none; }
.site-footer .footer-brand { font-size: 1.36rem; }
.site-footer span { color: var(--muted); font-size: .75rem; }
.site-footer a:hover { color: var(--brass); }

.app-shell { min-height: calc(100vh - 149px); padding-block: clamp(25px, 4vw, 48px) 58px; }
.app-page { display: grid; gap: 18px; }
.view-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 14px 22px; }
.view-heading { display: grid; gap: .55rem; }
.view-head h1, .app-page > h1, .app-shell > h1 { font: normal clamp(2.35rem, 5.2vw, 4.1rem)/1.06 var(--display); letter-spacing: -.052em; }
.app-shell h2 { font: normal clamp(1.36rem, 3.2vw, 1.85rem)/1.16 var(--display); letter-spacing: -.022em; }
.app-shell h3 { font: normal 1.23rem/1.18 var(--display); }
.view-head p, .muted, .app-shell small { color: var(--muted); line-height: 1.5; }
.view-toolbar, .action-row, .tag-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tag-row:empty { display: none; }
.action-row { margin-top: .2rem; }
.app-panel, .app-card, .empty-state, .notice { min-width: 0; border: 1px solid var(--rule); border-radius: 15px; padding: clamp(15px, 2vw, 22px); background: var(--paper); }
.app-card, .app-panel, .empty-state { display: grid; gap: .72rem; align-content: start; }
.app-card p, .app-panel p, .notice, .empty-state p, .app-shell li { line-height: 1.5; }
.payment-methods .list-row > div { flex: 1 1 12rem; min-width: 0; }
.payment-methods .list-row h3 { font-size: 1rem; overflow-wrap: anywhere; }
.payment-methods .list-row form { margin: 0; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(245px, 100%), 1fr)); gap: 13px; align-items: stretch; }
.app-card .action-row { padding-top: .3rem; }
.tag { padding: .23rem .57rem; display: inline-flex; align-items: center; border-radius: 99px; font-size: .73rem; font-weight: 650; color: #ffdcbd; background: #4a324d; line-height: 1.25; }
.studio-registration { color: var(--brass); font-size: .82rem; font-weight: 650; }
.notice { background: #382840; color: var(--ivory); padding: .78rem .93rem; }
[role="alert"].notice, .notice.error { background: #593348; color: #ffe0d9; }
.browse-filters, .form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(148px, 100%), 1fr)); gap: 10px; align-items: end; }
.browse-filters { background: var(--night-up); padding: 14px; }
.field { display: grid; gap: 5px; align-content: start; min-width: 0; font-size: .84rem; font-weight: 650; }
.field.field-check { display: flex; align-items: flex-start; font-weight: 500; }
.field-check input { flex: 0 0 auto; margin: .2em .2em 0 0; }
.field:has(textarea), .field-wide { grid-column: 1 / -1; }
input:not([type=checkbox],[type=radio]), select, textarea {
  color: var(--ink);
  background: var(--night-up);
  border: 1px solid #755978;
  border-radius: 8px;
  padding: .55rem .64rem;
  min-height: 42px;
  min-width: 0;
}
.field > :is(input:not([type=checkbox],[type=radio]), select, textarea) { width: 100%; }
textarea { min-height: 88px; resize: vertical; }
input[type=checkbox], input[type=radio] { accent-color: var(--brass); }
fieldset { border: 1px solid var(--rule); border-radius: 9px; padding: .65rem; min-width: 0; }
.app-shell form[data-action]:not(.browse-filters) > :where(.field, .form-grid, p, fieldset) + :where(.field, .form-grid, p, fieldset, button) { margin-top: .72rem; }
.app-shell details { border-top: 1px solid var(--rule); padding-top: .65rem; }
.app-shell details:not(.app-card) > * + * { margin-top: .75rem; }
summary { cursor: pointer; color: #ffdbc0; font-weight: 650; }
.compact-list { padding: 0; margin: 0; list-style: none; display: grid; gap: .62rem; }
.list-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--rule); padding: .6rem 0; }
.booking-partner { display: grid; gap: .5rem; max-width: 38ch; }
.review-row { display: grid; gap: .55rem; border-top: 1px solid var(--rule); padding-top: .7rem; }
.inquiry-row p { overflow-wrap: anywhere; }
.provider-review-url { overflow-wrap: anywhere; }
dialog { width: min(95%, 510px); padding: 21px; border: 1px solid #806486; background: var(--paper); color: var(--ink); border-radius: 15px; }
dialog::backdrop { background: #100b16c9; }
dialog form { display: grid; gap: .75rem; }

@media (max-width: 760px) {
  .header-inner, .opening, .journeys, .app-shell, .site-footer { padding-inline: 16px; }
  .header-inner { grid-template-columns: 1fr auto; gap: 7px 10px; min-height: auto; padding-block: 10px 8px; }
  #top-nav { grid-column: 1 / -1; grid-row: 2; }
  #top-nav a { flex: 1 1 0; min-height: 32px; min-width: 0; padding-inline: .3rem; }
  .header-action { grid-row: 1; grid-column: 2; }
  .opening { margin-top: 16px; }
  .opening-inner { display: block; min-height: 0; }
  .opening-inner::after { display: none; }
  .opening-copy { width: 100%; padding: 23px 20px 0; }
  .opening h1 { font-size: clamp(2.7rem, 11.85vw, 4.2rem); margin: 15px 0 11px; }
  .opening-description { font-size: .91rem; }
  .opening-actions { margin-top: 17px; gap: 6px; }
  .opening .btn { min-height: 43px; padding-inline: .64rem; font-size: .77rem; }
  .opening-secondary { margin-top: 9px; gap: 7px 17px; }
  .opening-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    margin-top: 8px;
    object-fit: contain;
    mask-image: linear-gradient(180deg, transparent, #000 18%);
  }
  .journeys-inner { padding: 12px 0 31px; }
  .journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .journey-card { padding: 14px 27px 13px 12px; }
  .journey-card i { right: 10px; top: 11px; }
  .site-footer { align-items: flex-start; flex-wrap: wrap; }
}
@media (max-width: 375px) {
  .opening-copy { padding-inline: 16px; }
  .opening .btn { flex: 1 1 100%; justify-content: space-between; }
}
