/* v8/v9: sticky chrome, animated menu, reserve bar, reveal, album reel + facts, voice, steps, contacts, numbered FAQ, request dialog, cookie note. */
:root { --olive-ink: #605c3b; --bar-h: 72px; --ease-out: cubic-bezier(.22,.66,.26,1); }

/* --- Sticky header: the hero mark becomes a light bar once the film scrolls away. --- */
.mast { transition: background .35s, color .35s; }
.mast-logo img.logo-dark { display: none; }
html.is-stuck .mast:not(.inner-mast) { position: fixed; inset: 0 0 auto; background: #f3e9ddf2; color: var(--brown); box-shadow: 0 1px 0 var(--line), 0 10px 30px #45352814; backdrop-filter: blur(10px); animation: mast-drop .45s var(--ease-out) both; }
html.is-stuck .mast:not(.inner-mast) .mast-inner { min-height: var(--bar-h); padding-block: 8px; }
html.is-stuck .mast:not(.inner-mast) .mast-logo img.logo-light { display: none; }
html.is-stuck .mast:not(.inner-mast) .mast-logo img.logo-dark { display: block; width: 58px; height: 42px; }
html.is-stuck .mast:not(.inner-mast) .mast-visit { border-color: #664e3c69; }
html.is-stuck .mast:not(.inner-mast) .mast-visit:hover { background: var(--brown); color: var(--milk); }
html.is-stuck .mast :focus-visible { outline-color: var(--brown); }
@keyframes mast-drop { from { transform: translateY(-100%); } to { transform: none; } }
.mast.inner-mast { position: sticky; top: 0; z-index: 9; transition: box-shadow .3s; }
html.is-stuck .mast.inner-mast { box-shadow: 0 10px 30px #45352814; background: #f3e9ddf2; backdrop-filter: blur(10px); }
.mast-side { justify-self: end; display: flex; align-items: center; gap: 18px; }
.mast-phone { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; min-height: 44px; opacity: .92; }
.mast-phone svg { width: 16px; height: 16px; }
.mast-phone:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* --- Menu: the sheet unfolds, the rows rise one after another. --- */
.nav-dialog[open] .menu-sheet { animation: menu-unfold .7s cubic-bezier(.77,0,.18,1) both; }
@keyframes menu-unfold { from { clip-path: inset(0 0 100% 0); opacity: .6; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
.nav-dialog[open]::backdrop { animation: backdrop-in .5s ease-out both; }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
.nav-dialog[open] .menu-upper, .nav-dialog[open] .menu-page h2, .nav-dialog[open] .menu-group, .nav-dialog[open] .menu-contact, .nav-dialog[open] .menu-imprint, .nav-dialog[open] .nav-plate { animation: row-rise .65s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 75ms + 220ms); }
.nav-dialog[open] .nav-plate { --i: 2; }
@keyframes row-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.menu-page nav { border-top: 1px solid var(--line); }
.menu-group { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-bottom: 1px solid var(--line); }
.menu-page nav .menu-group > a { border-bottom: 0; }
.menu-more { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--olive); position: relative; transition: background .2s, color .2s, border-color .2s; }
.menu-more::before, .menu-more::after { content: ""; position: absolute; width: 14px; height: 1px; background: currentColor; transition: transform .3s var(--ease-out); }
.menu-more::after { transform: rotate(90deg); }
.menu-more[aria-expanded="true"] { background: var(--olive); border-color: var(--olive); color: var(--milk); }
.menu-more[aria-expanded="true"]::after { transform: rotate(0); }
.menu-more:hover { border-color: var(--olive); }
.menu-sub { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0 0 18px 43px; display: grid; gap: 2px; overflow: hidden; }
.menu-sub[hidden] { display: none; }
.menu-sub li a { display: inline-flex; align-items: center; gap: 12px; min-height: 40px; font-size: 15px; color: var(--ink); animation: row-rise .4s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms); }
.menu-sub li a::before { content: "·"; color: var(--olive); font-size: 22px; line-height: 1; }
.menu-sub li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.menu-contact { margin-top: clamp(26px, 5vh, 54px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding-top: 22px; border-top: 1px solid var(--line); }
.menu-contact small { display: block; font: 500 11px/1.4 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--olive); margin-bottom: 7px; }
.menu-contact .menu-phone { font: 400 clamp(20px, 2vw, 27px)/1.2 var(--display); display: block; }
.menu-contact .menu-hours { display: block; font-size: 12px; color: #736455; margin-top: 5px; }
.menu-imprint { margin-top: clamp(22px, 4vh, 44px); }

/* Messenger channels — a circle per channel; demo links open the request dialog. */
.channels { display: flex; gap: 10px; flex-wrap: wrap; }
.channel { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: inline-grid; place-items: center; color: var(--brown); background: transparent; transition: background .2s, color .2s, transform .2s; }
.channel svg { width: 20px; height: 20px; }
.channel:hover { background: var(--brown); color: var(--milk); transform: translateY(-2px); }
.channel.is-call { width: auto; border-radius: 23px; padding: 0 18px; gap: 9px; font-size: 13px; }

/* --- Reserve bar: the mobile strip grows into a full-width bar on every screen. --- */
html.js-rise .mobile-book { display: flex; z-index: 9; gap: 20px; padding-inline: var(--gutter); min-height: var(--bar-h); background: #f3e9ddf5; backdrop-filter: blur(10px); transition: transform .4s var(--ease-out); }
.mobile-book > span { font-family: var(--display); }
.mobile-book .book-channels { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.mobile-book .book-channels .channel { width: 42px; height: 42px; }
.mobile-book .book-channels .channel.is-call { width: auto; }
.mobile-book .book-channels .channel svg { width: 18px; height: 18px; }
.mobile-book > button { background: var(--olive); border-radius: 2px; }
.mobile-book > button:hover { background: #595735; }
html.menu-open .mobile-book, body:has(dialog[open]) .mobile-book { transform: translateY(110%); }
.colophon { padding-bottom: calc(var(--bar-h) + 26px + env(safe-area-inset-bottom)); }
body:has(.inner-mast) .colophon { padding-bottom: calc(var(--bar-h) + 26px + env(safe-area-inset-bottom)); }

/* --- Reveal on scroll. Only when scripting works; otherwise everything is simply visible. --- */
@media (prefers-reduced-motion: no-preference) {
  html.js-rise [data-rise] { opacity: 0; transform: translateY(44px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0ms); }
  html.js-rise [data-rise].is-risen { opacity: 1; transform: none; }
}

/* --- Album reel: the big frame of the editorial spread becomes a snap track; captions and counter live on the caption line. --- */
.album-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.album-track::-webkit-scrollbar { display: none; }
.album-track > * { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.album-track img { aspect-ratio: 1.56; }
.album-reel figcaption { align-items: center; }
.album-caption { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.album-nav { display: flex; gap: 8px; margin-top: -10px; }
.album-nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #f3e9dd66; display: grid; place-items: center; font-size: 15px; line-height: 1; transition: background .25s, color .25s, border-color .25s; }
.album-nav button:hover { background: var(--milk); color: var(--brown); border-color: var(--milk); }
.space-foot { margin-top: clamp(36px, 4.3vw, 66px); display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, .9fr); gap: clamp(24px, 4.3vw, 76px); align-items: end; }
.space-facts { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.space-facts div { border-top: 1px solid #f3e9dd52; padding-top: 14px; }
.space-facts dt { font: 600 11px/1.45 var(--body); letter-spacing: .12em; text-transform: uppercase; opacity: .78; }
.space-facts dd { margin: 9px 0 0; font: 400 clamp(19px, 1.6vw, 25px)/1.15 var(--display); letter-spacing: -.01em; }
.space-actions { display: flex; gap: 28px; justify-content: flex-end; flex-wrap: wrap; }
.space-actions a, .space-actions button { display: inline-flex; align-items: center; gap: 12px; padding: 0 0 8px; border-bottom: 1px solid #f3e9dd88; color: var(--milk); font: 500 13px/1 var(--body); letter-spacing: .03em; white-space: nowrap; transition: border-color .25s; }
.space-actions a:hover, .space-actions button:hover { border-color: var(--milk); }

/* --- Voice of the master + how a visit goes. --- */
.club-voice { background: var(--milk); padding-block: clamp(70px, 7.4vw, 124px); }
.voice-spread { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 110px); align-items: center; }
.voice-portrait img { width: 100%; aspect-ratio: .86; object-fit: cover; object-position: center 30%; }
.voice-portrait figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 13px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.4; }
.voice-portrait figcaption span { color: #736455; }
.voice-quote { margin: 26px 0 0; font: 400 clamp(26px, 2.6vw, 44px)/1.3 var(--display); letter-spacing: -.015em; text-wrap: balance; }
.voice-quote em { font-style: italic; color: var(--olive-ink); }
.club-voice blockquote { margin: 0; }
.club-voice blockquote footer { margin-top: 28px; font-size: 14px; }
.club-voice blockquote footer span { display: block; font-size: 12px; color: #736455; margin-top: 4px; }
.club-steps { margin-top: clamp(56px, 6vw, 96px); padding-top: clamp(34px, 4vw, 56px); border-top: 1px solid var(--line); }
.steps-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps-grid article { counter-increment: step; border-top: 1px solid var(--brown); padding-top: 18px; }
.steps-grid article::before { content: "0" counter(step); font: 600 11px/1 var(--body); letter-spacing: .12em; color: var(--olive-ink); }
.steps-grid h3 { margin-top: 14px; font: 400 23px/1.2 var(--display); }
.steps-grid p { margin-top: 10px; font-size: 14px; line-height: 1.7; color: var(--brown); }

/* --- Contacts: the map sits in a frame of the album kind, with a caption line under it. --- */
.club-contacts { background: var(--milk); padding-block: clamp(70px, 7.4vw, 124px); border-top: 1px solid var(--line); }
.contacts-spread { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.contacts-copy dl { margin: 34px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contacts-copy dl > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contacts-copy dt { font: 600 11px/1.6 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #736455; padding-top: 4px; }
.contacts-copy dd { margin: 0; font-size: 16px; line-height: 1.5; }
.contacts-copy dd small { display: block; font-size: 12px; color: #736455; margin-top: 3px; }
.contacts-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 30px; }
.contacts-copy .channels { margin-top: 26px; }
.map-frame { position: relative; aspect-ratio: 1.3; background: #e9dfd2; overflow: hidden; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.55) sepia(.18); }
.contacts-map figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 13px 0 14px; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.4; }

/* --- FAQ: the original lined accordions, now numbered 01…06. --- */
.visit-questions { counter-reset: faq; }
.visit-questions details { counter-increment: faq; }
.visit-questions summary { display: grid; grid-template-columns: 40px minmax(0, 1fr) 16px; align-items: center; gap: 16px; }
.visit-questions summary::before { content: "0" counter(faq); font: 600 11px/1 var(--body); letter-spacing: .12em; color: var(--olive-ink); font-variant-numeric: tabular-nums; }
.visit-questions details > p { padding-left: 56px; }

/* --- Request dialog + cookie note. --- */
.request-dialog { width: min(560px, 92vw); }
.request-form { display: grid; gap: 16px; }
.request-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 500; }
.request-form label small { font-weight: 400; color: #736455; }
.request-form input:not([type=checkbox]) { min-height: 50px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); padding: 0 14px; font-size: 16px; }
.request-form input:focus { outline: 2px solid var(--olive); outline-offset: 0; }
.request-form input:user-invalid { border-color: #a0523d; }
.request-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13px; line-height: 1.5; }
.request-form .check input { margin: 3px 0 0; accent-color: var(--olive); }
.request-form .button { justify-content: space-between; }
.request-form .booking-note, .request-done p { font-size: 13px; color: #736455; line-height: 1.6; }
.request-done { display: grid; gap: 16px; }
.request-done[hidden] { display: none; }
.cookie-note { position: fixed; left: 18px; bottom: calc(var(--bar-h) + 18px + env(safe-area-inset-bottom)); z-index: 9; width: min(360px, calc(100vw - 36px)); display: flex; gap: 14px; align-items: flex-start; padding: 16px 16px 16px 20px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 14px 40px #45352822; font-size: 13px; line-height: 1.55; animation: row-rise .6s var(--ease-out) both; animation-delay: 1.2s; }
.cookie-note[hidden] { display: none; }
.cookie-note p { margin: 0; }
.cookie-note button { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px; line-height: 1; }
.cookie-note button:hover { background: var(--brown); color: var(--milk); }

@media (max-width: 1100px) {
  .space-foot { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .space-actions { justify-content: flex-start; }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .voice-spread, .contacts-spread { grid-template-columns: minmax(0, 1fr); }
  .voice-portrait { max-width: 420px; }
}
@media (max-width: 700px) {
  :root { --bar-h: 66px; }
  .mast-side { gap: 8px; }
  .mast-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .mast-phone { width: 40px; justify-content: center; }
  html.js-rise .mobile-book { padding-inline: 5%; gap: 10px; min-height: var(--bar-h); }
  .mobile-book > span { display: none; }
  .mobile-book > button { flex: 1; justify-content: space-between; }
  .mobile-book .book-channels { margin-left: 0; }
  .mobile-book .book-channels .channel { width: 40px; height: 40px; }
  .mobile-book .book-channels .channel.is-call { display: none; }
  .menu-sub { padding-left: 24px; }
  .menu-contact { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 22px; }
  .club-kicker, .club-index, .space-facts dt { font-size: 11px; }
  .album-nav button { width: 34px; height: 34px; }
  .space-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .space-facts dd { font-size: 19px; }
  .space-actions { gap: 20px; }
  .voice-quote { font-size: 24px; }
  .steps-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .steps-grid h3 { font-size: 20px; }
  .contacts-copy dl > div { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; }
  .contacts-copy dd { font-size: 15px; }
  .visit-questions summary { grid-template-columns: 30px minmax(0, 1fr) 16px; gap: 12px; }
  .visit-questions details > p { padding-left: 42px; }
  .cookie-note { right: 12px; left: 12px; width: auto; bottom: calc(var(--bar-h) + 10px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-dialog[open] .menu-sheet, .nav-dialog[open]::backdrop, .nav-dialog[open] .menu-upper, .nav-dialog[open] .menu-page h2, .nav-dialog[open] .menu-group, .nav-dialog[open] .menu-contact, .nav-dialog[open] .menu-imprint, .nav-dialog[open] .nav-plate, .menu-sub li a, .cookie-note, html.is-stuck .mast:not(.inner-mast) { animation: none; }
  .mobile-book, .album-track { transition: none; scroll-behavior: auto; }
}
@media (max-width: 700px) {
  .mast-visit, .mobile-book > button { white-space: nowrap; }
  .mobile-book > button { font-size: 12px; padding-inline: 14px; gap: 12px; }
}
