/* Pages: the home page's sections, then the timetable, booking sheets, account and the small pages. */

/* hero: the silks full-bleed, the promise at the bottom, the class board standing on the photo's edge */
.hero { position: relative; isolation: isolate; color: var(--brand-foreground); }
.hero__photo { position: absolute; inset: 0 0 auto; height: min(92svh, 860px); z-index: -1; overflow: hidden; background: var(--brand-deep); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; animation: settle 1600ms var(--ease-out) both; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(36 20 41 / 0.1) 15%, rgb(36 20 41 / 0.5) 55%, rgb(46 16 53 / 0.92) 100%); }
/* the copy's side of the photo is darker, so the promise reads over the busy silks */
.hero__photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to left, rgb(36 20 41 / 0.55), transparent 62%); }
[dir="ltr"] .hero__photo::before { background: linear-gradient(to right, rgb(36 20 41 / 0.55), transparent 62%); }
@keyframes settle { from { scale: 1.06; filter: blur(6px); } to { scale: 1; filter: blur(0); } }
.hero__grid { display: grid; gap: 32px; padding-block: clamp(200px, 38svh, 340px) 0; }
.hero__copy { max-width: 640px; }
.hero__copy .display { text-shadow: 0 2px 24px rgb(36 20 41 / 0.35); }
.hero__text { margin-block-start: 18px; font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: #f1e6ef; max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 28px; }
.hero__ghost { background: transparent; border-color: rgb(255 255 255 / 0.5); color: #fff; }
.hero__ghost:hover { background: rgb(255 255 255 / 0.12); }

.board { align-self: end; color: var(--ink); background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px 20px 12px; }
.board__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-block-end: 10px; border-block-end: 1px solid var(--ink); }
.board__head h2 { font-size: 1.15rem; }
.board__list { list-style: none; margin: 0; padding: 0; }
.board__list li + li { border-block-start: 1px solid var(--line); }
.board__note { padding: 18px 0 10px; display: grid; justify-items: start; gap: 10px; color: var(--ink-2); }
.next-row { display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 14px; width: 100%; padding: 14px 4px; border: 0; background: transparent; text-align: start; cursor: pointer; border-radius: 10px; transition: background-color 150ms ease; }
.next-row:hover { background: var(--linen); }
.next-row__when { display: grid; line-height: 1.3; }
.next-row__when small { font-size: 0.78rem; color: var(--ink-2); }
.next-row__when strong { font-weight: 300; font-size: 1.3rem; color: var(--brand); }
.next-row__what { display: grid; line-height: 1.45; min-width: 0; }
.next-row__what strong { font-size: 1rem; }
.next-row__what small { color: var(--ink-2); font-size: 0.85rem; }
.next-row .i { color: var(--brand); }
.next-row--ghost { grid-template-columns: 76px 1fr; cursor: default; }
.next-row--ghost .skeleton { height: 36px; }
@media (min-width: 64rem) {
  .hero__grid { grid-template-columns: 1fr 420px; align-items: end; gap: 56px; padding-block-start: clamp(120px, 18svh, 200px); }
  .hero__photo { height: max(640px, calc(100svh - var(--header-h) - 40px)); }
  .hero__copy { padding-block-end: 72px; }
  .board { margin-block-end: -48px; }
}

/* disciplines: an index of what the studio teaches */
.disciplines { padding-block-start: clamp(96px, 12vw, 160px); }
.disciplines__grid { display: grid; gap: 40px; }
.disciplines__photo { margin: 28px 0 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.disciplines__photo img { width: 100%; height: 100%; object-fit: cover; }
.index { list-style: none; margin: 0; padding: 0; border-block-start: 1px solid var(--ink); }
.index li { border-block-end: 1px solid var(--line); }
.index__row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 24px 4px; text-decoration: none; }
.index__name { font-weight: 300; font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.25; color: var(--ink); transition: color 150ms ease; }
.index__text { grid-column: 1; color: var(--ink-2); max-width: 52ch; }
.index__go { grid-column: 2; grid-row: 1 / span 2; align-self: center; display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; color: var(--brand); transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease; }
.index__row:hover .index__name { color: var(--brand); }
.index__row:hover .index__go { background: var(--brand); border-color: var(--brand); color: var(--brand-foreground); }
@media (min-width: 64rem) {
  .disciplines__grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
  .disciplines__aside { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* packages: a price list */
.packages { background: var(--paper); }
.packages--page { background: transparent; }
.pk-list { list-style: none; margin: 0; padding: 0; border-block-start: 1px solid var(--ink); }
.pk { display: grid; grid-template-columns: 1fr auto; gap: 12px 20px; align-items: center; padding: 22px 4px; border-block-end: 1px solid var(--line); }
.pk__main h3 { font-size: 1.2rem; }
.pk__inc { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 6px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 0.92rem; }
.pk__inc li + li::before { content: "·"; margin-inline-end: 16px; color: var(--silk); }
.pk__price { display: grid; justify-items: end; line-height: 1.3; text-align: end; }
.pk__price strong { font-weight: 300; font-size: 1.6rem; color: var(--brand); }
.pk__price small { color: var(--ink-2); font-size: 0.85rem; }
.pk .btn { grid-column: 1 / -1; justify-self: start; }
.pk--ghost .skeleton { grid-column: 1 / -1; height: 48px; }
.pk-note { margin-block-start: 20px; color: var(--ink-2); font-size: 0.9rem; }
.section__more { margin-block-start: 24px; }
@media (min-width: 48rem) {
  .pk { grid-template-columns: 1fr auto auto; gap: 32px; }
  .pk .btn { grid-column: auto; }
}

/* rooms */
.rooms__intro { display: grid; gap: 32px; margin-block-end: 40px; }
.rooms__facts { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.rooms__facts li { display: flex; gap: 10px; align-items: center; color: var(--ink-2); }
.rooms__facts .i { color: var(--brand); }
.rooms__photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; }
.rooms__photo img { width: 100%; height: 100%; object-fit: cover; }
.rm-list { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.rm { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.rm__art { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; background: var(--sand); overflow: hidden; }
button.rm__art { cursor: zoom-in; }
.rm__count { position: absolute; inset-block-end: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgb(20 6 24 / 0.6); color: #fff; font-size: 0.85rem; backdrop-filter: blur(6px); }
.rm__count .i { width: 16px; height: 16px; }

/* a space's photos, full screen */
.gallery { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(20 6 24 / 0.96); color: #fff; }
.gallery[open] { display: grid; grid-template-rows: auto 1fr; }
.gallery::backdrop { background: transparent; }
.gallery__bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.gallery__title { font-size: 1.1rem; font-weight: 700; text-transform: capitalize; }
.gallery__count { margin-inline-start: auto; color: rgb(255 255 255 / 0.75); font-size: 0.9rem; direction: ltr; unicode-bidi: isolate; }
.gallery .icon-btn { color: #fff; border-color: rgb(255 255 255 / 0.35); background: rgb(255 255 255 / 0.08); }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior: contain; scrollbar-width: none; outline: none; min-height: 0; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; margin: 0; display: grid; place-items: center; padding: 0 12px 24px; scroll-snap-align: start; min-height: 0; }
.gallery__slide img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; }
.gallery__nav { position: absolute; inset-block-start: 50%; translate: 0 -50%; }
.gallery__nav--prev { inset-inline-start: 16px; }
.gallery__nav--next { inset-inline-end: 16px; }
@media (max-width: 47.99rem) { .gallery__nav { display: none; } }
.rm__art img { width: 100%; height: 100%; object-fit: cover; transition: scale 600ms var(--ease-out); }
.rm:hover .rm__art img { scale: 1.03; }
.rm__body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.rm__text { display: grid; line-height: 1.4; }
.rm__text strong { font-size: 1.15rem; text-transform: capitalize; }
.rm__text small { color: var(--ink-2); }
.rm--ghost .skeleton { height: 220px; border-radius: 0; }
@media (min-width: 64rem) {
  .rooms__intro { grid-template-columns: 5fr 7fr; align-items: center; gap: 72px; }
  .rooms--page .rooms__intro { margin-block-end: 56px; }
}

/* reviews */
.reviews__score { display: flex; align-items: baseline; gap: 10px; color: var(--ink-2); }
.reviews__score strong { font-weight: 300; font-size: 2.6rem; color: var(--brand); }
.rv-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.rv { padding: 24px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.rv__stars { display: flex; gap: 2px; color: var(--honey); }
.rv blockquote { margin: 12px 0; font-size: 1.05rem; }
.rv__name { font-weight: 700; }
.rv__reply { margin-block-start: 12px; padding-block-start: 12px; border-block-start: 1px solid var(--line); color: var(--ink-2); font-size: 0.92rem; }

/* visit */
.visit { background: var(--brand-deep); color: #f1e6ef; }
.visit .title strong { color: var(--silk); }
.visit .lede { color: #d6c3d8; }
.visit__grid { display: grid; gap: 40px; align-items: center; }
.visit__photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.visit__photo img { width: 100%; height: 100%; object-fit: cover; }
.visit__ways { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.visit__ways a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid rgb(255 255 255 / 0.16); border-radius: var(--radius); text-decoration: none; transition: background-color 150ms ease; }
.visit__ways a:hover { background: rgb(255 255 255 / 0.07); }
.visit__ways .i { width: 1.5em; height: 1.5em; color: var(--silk); }
.visit__ways span { display: grid; line-height: 1.4; }
.visit__ways small { color: #c4adc8; text-align: start; }
@media (min-width: 64rem) { .visit__grid { grid-template-columns: 1fr 1fr; gap: 80px; } }

/* timetable */
.tt-bar { display: grid; gap: 16px; margin-block-end: 28px; }
.tt-filters { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; padding-block: 2px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.tt-filters::-webkit-scrollbar { display: none; }
.tt-filters .chip { flex: none; }
.days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 2px; }
.days::-webkit-scrollbar { display: none; }
.days--strip { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.day { flex: none; display: grid; justify-items: center; gap: 0; width: 62px; padding: 10px 0; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); cursor: pointer; line-height: 1.3; transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease; }
.day small { font-size: 0.75rem; color: var(--ink-2); }
.day strong { font-weight: 300; font-size: 1.4rem; }
.day:hover { border-color: var(--brand); }
.day[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-foreground); }
.day[aria-selected="true"] small { color: #e6d4ea; }
.day--none { opacity: 0.5; }
.day--ghost { height: 76px; background: var(--sand); border-color: transparent; }
.tt-only { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-block-end: 16px; padding: 12px 16px; border-radius: var(--radius); background: var(--silk-soft); }
.tt-day { font-size: 1.1rem; padding-block-end: 12px; border-block-end: 1px solid var(--ink); }
.tt-list { list-style: none; margin: 0; padding: 0; }
.tt-row { display: grid; grid-template-columns: 72px 1fr; gap: 6px 16px; align-items: center; padding: 18px 4px; border-block-end: 1px solid var(--line); }
.tt-row__time { display: grid; line-height: 1.3; }
.tt-row__time strong { font-weight: 300; font-size: 1.35rem; color: var(--brand); }
.tt-row__time small { color: var(--ink-2); font-size: 0.8rem; }
.tt-row__main h4 { font-size: 1.08rem; }
.tt-row__main p { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--ink-2); font-size: 0.92rem; }
.tt-row__price { color: var(--ink); }
.tt-row__act { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.places { font-size: 0.85rem; color: var(--ink-2); }
.places--low { color: var(--honey); font-weight: 700; }
.places--full { color: var(--ink-2); }
.tt-row.is-full .tt-row__main h4, .tt-row.is-full .tt-row__time strong { color: var(--ink-2); }
.tt-row--ghost { grid-template-columns: 1fr; }
.tt-row--ghost .skeleton { height: 52px; }
@media (min-width: 48rem) {
  .tt-row { grid-template-columns: 96px 1fr auto; }
  .tt-row__act { grid-column: 3; justify-content: end; gap: 20px; }
}
@media (min-width: 64rem) {
  .tt-bar { grid-template-columns: auto 1fr; align-items: center; }
  .tt-filters { flex-wrap: wrap; margin: 0; padding: 0; justify-content: end; }
  .days--strip { margin: 0; padding: 0; }
}
.empty-line { display: grid; justify-items: start; gap: 12px; padding: 28px 4px; color: var(--ink-2); }

/* the booking sheets */
.ticket__kind { font-size: 0.85rem; color: var(--brand); font-weight: 700; }
.back-link { margin-block-end: 8px; padding: 0; border: 0; background: none; cursor: pointer; font-size: 0.9rem; }
.summary { margin: 0; display: grid; }
.summary__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-block-end: 1px solid var(--line); }
.summary__row dt { color: var(--ink-2); }
.summary__row dd { margin: 0; font-weight: 700; text-align: end; }
.confirm-extra:not(:empty) { margin-block-start: 18px; }
.confirm-extra .pk-desc { margin-block-start: 12px; font-size: 0.92rem; }
.others { margin-block-start: 22px; padding: 14px 16px; border-radius: var(--radius); background: var(--linen); }
.others h3 { font-size: 0.92rem; margin-block-end: 6px; }
.others__list { list-style: none; margin: 0; padding: 0; }
.others__list li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; padding: 6px 0; }
.others__list li span:first-child { display: grid; line-height: 1.4; }
.others__list small { color: var(--ink-2); font-size: 0.82rem; }
.sheet .error { margin-block-start: 14px; }
.pay-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pay-bar__total { display: grid; line-height: 1.35; min-width: 0; }
.pay-bar__total small { color: var(--ink-2); font-size: 0.85rem; }
.pay-bar__total strong { font-size: 1.35rem; font-weight: 700; }
.price-wait { display: inline-block; width: 64px; height: 1em; border-radius: 6px; background: var(--sand); }
.month { display: flex; align-items: center; justify-content: space-between; margin-block-end: 10px; }
.month strong { font-size: 1rem; }
.month .icon-btn:disabled { opacity: 0.35; cursor: default; }
.times { margin-block-start: 20px; min-height: 160px; }
.times__day { font-size: 1rem; margin-block-end: 8px; }
.times__group + .times__group { margin-block-start: 16px; }
.times__group h4 { font-size: 0.85rem; color: var(--ink-2); font-weight: 400; margin-block-end: 8px; }
.times__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.time { min-height: 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; font-weight: 700; transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease; }
.time:hover { border-color: var(--brand); }
.time[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-foreground); }
.time--ghost { display: block; height: 48px; background: var(--sand); border-color: transparent; }

/* account */
.account__wrap { max-width: 880px; }
.account__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-block-end: 40px; }
.account__block h2 { font-size: 1.1rem; padding-block-end: 12px; border-block-end: 1px solid var(--ink); }
.account__block + .account__block { margin-block-start: 48px; }
.orders, .my-packages { list-style: none; margin: 0; padding: 0; }
.order { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; padding: 18px 4px; border-block-end: 1px solid var(--line); }
.order__when { grid-column: 1 / -1; display: flex; gap: 10px; align-items: baseline; }
.order__when span { color: var(--brand); }
.order__main ul { list-style: none; margin: 0; padding: 0; }
.order__main li { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.order__main li small { color: var(--ink-2); }
.order__side { display: grid; justify-items: end; gap: 6px; }
.order--ghost .skeleton { grid-column: 1 / -1; height: 56px; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
.badge--ok { background: #e3efe6; color: #24613a; }
.badge--warn { background: #f6e8d9; color: var(--honey); }
.my-packages li { display: grid; gap: 2px; padding: 16px 4px; border-block-end: 1px solid var(--line); }
.my-packages small { color: var(--ink-2); }

/* checkout return, not found */
.done__wrap, .notfound .wrap { max-width: 640px; text-align: center; display: grid; justify-items: center; gap: 16px; }
.done__mark { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--brand); color: var(--brand-foreground); }
.done__mark .i { width: 32px; height: 32px; }
/* the mark says what happened: a check only once Rekaz confirms the payment */
.done__mark [data-mark] { display: none; }
.done[data-state="success"] [data-mark="success"], .done[data-state="failure"] [data-mark="failure"],
.done[data-state="pending"] [data-mark="wait"], .done[data-state="timeout"] [data-mark="wait"] { display: block; }
.done[data-state="pending"] .done__mark { background: var(--sand); color: var(--brand); animation: pulse 1.6s ease-in-out infinite; }
.done[data-state="failure"] .done__mark, .done[data-state="timeout"] .done__mark { background: var(--sand); color: var(--ink-2); }
@keyframes pulse { 50% { opacity: 0.55; } }
.done__copy h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 300; }
.done__copy p { margin-block-start: 8px; color: var(--ink-2); }
.done__actions, .notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-block-start: 12px; }
.notfound .lede { margin-inline: auto; }

/* the reference pages (loyalty, policies) sit in the site's rhythm */
.ly-page, .policy { padding-block: clamp(48px, 8vw, 96px); }
.pk-options { margin-bottom: 16px; }
