/* Eichstrich, fictional craft beer bar (concept demo of Alixier). Concept "Eintauchen." (tools/craftbeer/KONZEPT.md).
   Foam-white working parts, one beer-coloured block, malt-brown film chapters; one amber accent (light amber on malt).
   Zilla Slab 700 for every headline, Figtree for text and prices. One radius (3px).
   Base CSS = the still layout (no JS, "reduce motion"); html.moving = the pinned, scroll-driven film chapters. */
@font-face { font-family: 'Zilla Slab'; src: url(fonts/zilla-slab-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url(fonts/figtree-latin-wght-normal.woff2) format('woff2'); font-weight: 300 900; font-display: swap; }
:root {
  --foam: #F5F0E6; --foam-2: #ECE4D5; --ink: #1D1712; --mute: #5E5248; --line: #D8CDBB; --amber: #9A5410; --amber-d: #7C430C;
  --malt: #1A130E; --malt-2: #2A1F17; --light: #F0B65A; --on-dark: #F5F0E6; --beer: #D4952E; --beer-ink: #3A2A1A;
  --r: 3px; --gut: clamp(16px, 3.6vw, 56px); --hd: 66px; --max: 1320px;
}
* { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 16px); }
body { margin: 0; background: var(--foam); color: var(--ink); font: 400 17px/1.55 'Figtree', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; hyphens: auto; overflow-wrap: break-word; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--foam); padding: 10px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.d { font-family: 'Zilla Slab', Georgia, serif; font-weight: 700; letter-spacing: -.01em; line-height: 1; hyphens: manual; }
.acc { color: var(--amber); }
.tag { font-size: 12px; font-weight: 500; letter-spacing: .02em; background: rgba(245, 240, 230, .92); color: var(--ink); padding: 3px 7px; border-radius: var(--r); }
.small { font-size: 14.5px; color: var(--mute); margin-top: 28px; max-width: 68ch; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: var(--r); border: 2px solid var(--amber); background: var(--amber); color: #fff; font-weight: 650; font-size: 16px; text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--amber-d); border-color: var(--amber-d); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--foam); border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--on-dark); border-color: var(--on-dark); }
.btn--ghost:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.more { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-weight: 650; font-size: 17px; text-decoration: none; border-bottom: 2px solid var(--amber); padding-bottom: 4px; }
.more--on { border-color: var(--light); }

/* header: one line; over a film (body.is-over) clear and light until the film is passed */
.hd { position: sticky; top: 0; z-index: 40; background: rgba(245, 240, 230, .95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hd__in { height: var(--hd); display: flex; align-items: center; gap: 28px; padding: 0 var(--gut); }
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1.3; }
.logo b { font-size: 25px; line-height: 1; padding-bottom: 3px; border-bottom: 2px solid currentColor; }
.logo small { font-size: 12.5px; margin-top: 3px; color: var(--mute); }
.nav { display: flex; gap: 24px; margin-left: 12px; }
.nav a { text-decoration: none; font-weight: 560; font-size: 16px; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-color: var(--amber); }
.hd__r { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.hd__live { font-size: 14px; color: var(--mute); }
.burger { display: none; }
.is-over .hd { position: fixed; left: 0; right: 0; transition: background .35s, border-color .35s, color .35s; }
.is-over .hd:not(.solid) { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--on-dark); }
.is-over .hd:not(.solid)::before { content: ''; position: absolute; inset: 0 0 -40px; z-index: -1; background: linear-gradient(rgba(26, 19, 14, .7), rgba(26, 19, 14, 0)); pointer-events: none; }
.is-over .hd:not(.solid) .logo small, .is-over .hd:not(.solid) .hd__live { color: rgba(245, 240, 230, .9); }
.is-over .hd:not(.solid) .burger { border-color: var(--on-dark); }
.is-over .hd:not(.solid) :focus-visible { outline-color: var(--on-dark); }
.is-over .hd:not(.solid) .nav a[aria-current], .is-over .hd:not(.solid) .nav a:hover { border-color: var(--light); }
.live::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #8A7F73; margin-right: 8px; vertical-align: 1px; }
.live.is-open::before { background: #3C8A3F; }
.mnav { position: fixed; inset: var(--hd) 0 auto 0; z-index: 39; background: var(--foam); color: var(--ink); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 24px; display: flex; flex-direction: column; }
.mnav[hidden] { display: none; }
.mnav > a { font-family: 'Zilla Slab', Georgia, serif; font-weight: 700; font-size: 30px; line-height: 1.3; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mnav a[aria-current] { color: var(--amber); }
.mnav p { margin-top: 18px; color: var(--mute); font-size: 15px; }

/* film */
.film { position: relative; overflow: hidden; background: var(--malt-2); }
.film img, .film video { width: 100%; height: 100%; object-fit: cover; }
.film video { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.film video.is-play { opacity: 1; }
.film .tag { position: absolute; right: 10px; top: 10px; z-index: 1; }

/* ============ 1 · first screen + the dive into the glass (signature) ============ */
.open { position: relative; background: var(--malt); color: var(--on-dark); }
.open__st { position: relative; }
.open__film { height: 100svh; min-height: 560px; }
.open__film img, .open__film video { transform-origin: inherit; }
.open__t { position: absolute; left: var(--gut); right: var(--gut); top: 0; height: 100svh; min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(48px, 11vh, 112px); z-index: 3; }
.open__t::before { content: ''; position: absolute; left: calc(-1 * var(--gut)); right: calc(-1 * var(--gut)); bottom: 0; height: 75%; z-index: -1; background: linear-gradient(rgba(26, 19, 14, 0), rgba(26, 19, 14, .78)); }
.open__h { font-size: clamp(50px, 8.6vw, 140px); line-height: .94; max-width: 13ch; }
.open .acc, .end .acc, .fh .acc, .bd__t .acc { color: var(--light); }
.open__s { margin-top: 20px; font-size: clamp(16px, 1.4vw, 19px); font-weight: 500; color: rgba(245, 240, 230, .94); }
.open__go { margin-top: 26px; align-self: flex-start; }
.open__tag { position: absolute; right: 12px; top: calc(var(--hd) + 10px); z-index: 4; }
.open__in { position: absolute; left: 0; right: 0; top: 100svh; bottom: 0; }
.open__scrim { position: absolute; left: 0; right: 0; top: 100svh; bottom: 0; background: rgba(26, 19, 14, .64); }
.open__board { position: relative; z-index: 3; max-width: var(--max); margin: 0 auto; padding: clamp(56px, 10vh, 110px) var(--gut); }
.bd__h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: clamp(16px, 3vh, 28px); }
.bd__t { font-size: clamp(38px, 4.6vw, 72px); }
.bd__live { font-size: 15px; font-weight: 600; }
.bd__more { margin-top: clamp(16px, 3vh, 28px); }

/* the tap list (board on the start page and the full list) */
.taps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 64px); }
.tp { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 0 12px; padding: 10px 0; border-bottom: 1px solid rgba(245, 240, 230, .26); }
.tp__nr { font-family: 'Zilla Slab', Georgia, serif; font-weight: 700; font-size: 20px; min-width: 2ch; white-space: nowrap; font-variant-numeric: tabular-nums; opacity: .8; }
.tp__c { width: 12px; height: 26px; border-radius: var(--r); background: var(--b); box-shadow: inset 0 4px 0 #F7EFDD; }
.tp__n { font-size: 18px; font-weight: 700; line-height: 1.3; hyphens: manual; }
.tp__s { font-size: 14px; line-height: 1.35; opacity: .9; }
.tp__p { display: flex; flex-direction: column; align-items: flex-end; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.35; }
.tp__p small { font-size: 12.5px; opacity: .85; margin-right: 4px; }
.tp--af .tp__s::after { content: ''; }
.taps--full { grid-template-columns: 1fr; margin-top: 8px; }
.taps--full .tp { border-color: var(--line); padding: 14px 0; }
.taps--full .tp__d { margin-top: 3px; font-size: 15px; color: var(--mute); }
.taps--full .tp__s { color: var(--mute); opacity: 1; }
.taps--full .tp__p { flex-direction: row; gap: 18px; font-size: 16px; }

/* ============ intro ============ */
.intro { padding-top: clamp(64px, 12vh, 132px); }
.lede { font-size: clamp(22px, 2.3vw, 34px); line-height: 1.3; font-weight: 460; letter-spacing: -.012em; max-width: 36ch; }
.facts { list-style: none; padding: 0; margin: clamp(28px, 5vh, 48px) 0 0; display: flex; flex-wrap: wrap; gap: 10px 36px; font-size: 16px; color: var(--mute); }
.facts b { display: block; font-family: 'Zilla Slab', Georgia, serif; font-size: 30px; color: var(--ink); line-height: 1.1; }

/* ============ the Probierbrett (beer-coloured block) ============ */
.bsec { background: var(--beer); color: var(--ink); margin-top: clamp(72px, 12vh, 140px); padding: clamp(64px, 11vh, 120px) 0; }
.acc2 { color: var(--malt); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .14em; }
.bsec .sec__s { color: var(--beer-ink); }
.bsec__h { margin-bottom: clamp(26px, 4vh, 44px); }
.pb { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.pb__ph { margin: 0; position: relative; }
.pb__ph img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.pb__ph .tag { position: absolute; right: 10px; top: 10px; }
.pb__k { font-size: 14px; font-weight: 700; letter-spacing: .02em; margin-bottom: 12px; }
.pb__bs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pb__b { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 10px; text-align: left; font-size: 14.5px; line-height: 1.3; border: 1px solid var(--ink); border-radius: var(--r); background: var(--foam); }
.pb__b b { font-variant-numeric: tabular-nums; }
.pb__b .tp__c { width: 9px; height: 20px; }
.pb__b:hover { background: #fff; }
.pb__b[aria-pressed="true"] { background: var(--malt); color: var(--foam); border-color: var(--malt); }
.pb__slots { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pb__slot { min-height: 74px; padding: 10px; border: 2px dashed var(--beer-ink); border-radius: var(--r); display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.25; transition: background .25s, border-color .25s; }
.pb__slot.is-set { border-style: solid; background: var(--foam); border-color: var(--ink); }
.pb__i { font-family: 'Zilla Slab', Georgia, serif; font-size: 20px; line-height: 1; }
.pb__x { color: var(--beer-ink); }
.pb__slot.is-set .pb__x { color: var(--ink); font-weight: 650; }
.pb__out { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; border-top: 1px solid var(--beer-ink); padding-top: 14px; }
.pb__say { font-size: 15.5px; max-width: 46ch; }
.pb__p { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pb__p span { font-size: 15px; font-weight: 500; margin-right: 8px; }
.pb__reset { margin-top: 12px; min-height: 44px; padding: 0 2px; background: none; border: 0; border-bottom: 1px solid currentColor; font-size: 15px; }
.menu .pb { margin-top: 18px; background: var(--beer); padding: clamp(16px, 2.4vw, 32px); border-radius: var(--r); }

/* ============ the week ============ */
.wsec { padding-top: clamp(80px, 13vh, 150px); }
.wsec__h { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0 28px; margin-bottom: clamp(20px, 4vh, 36px); }
.wsec__h .more { margin-top: 0; }
.sec__h { font-size: clamp(40px, 5.4vw, 88px); }
.sec__h--m { font-size: clamp(30px, 3vw, 46px); }
.sec__s { margin-top: 18px; font-size: 18px; color: var(--mute); max-width: 54ch; }
.wks { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.wk { display: grid; grid-template-columns: clamp(64px, 9vw, 130px) minmax(0, 1fr) clamp(180px, 26vw, 380px); gap: clamp(14px, 2.4vw, 40px); align-items: center; padding: clamp(14px, 2.4vh, 24px) clamp(10px, 1.4vw, 20px); border-bottom: 1px solid var(--line); }
.wk__day { font-size: clamp(40px, 5vw, 76px); color: var(--amber); }
.wk__h { font-size: clamp(21px, 1.9vw, 28px); font-weight: 750; line-height: 1.3; }
.wk__time { margin-top: 2px; font-weight: 600; color: var(--mute); }
.wk__now[hidden] { display: none; }
.wk__now { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: var(--r); background: var(--ink); color: var(--foam); font-size: 13px; font-weight: 700; }
.wk__x { margin-top: 8px; max-width: 54ch; }
.wk__f .film { aspect-ratio: 16 / 10; border-radius: var(--r); }
.wk.is-today { background: linear-gradient(90deg, var(--foam-2), var(--foam-2)) no-repeat 0 0 / 100% 100%; }
.wsec--page { padding-top: clamp(48px, 8vh, 96px); padding-bottom: 80px; }
.quiz { margin-top: clamp(56px, 9vh, 96px); max-width: 640px; }
.quiz .rows { margin-top: 14px; }

/* ============ the room ============ */
.room { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(20px, 3.2vw, 56px); align-items: end; padding-top: clamp(80px, 13vh, 150px); padding-bottom: clamp(80px, 13vh, 150px); }
.room__f { margin: 0; }
.room__f .film { aspect-ratio: 16 / 10; border-radius: var(--r); }

/* ============ the ending: a film card standing up from the table ============ */
.end { position: relative; background: var(--foam); }
.end__st { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.end__card { position: absolute; inset: 0; }
.end__t { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(48px, 10vh, 110px); z-index: 2; color: var(--on-dark); }
.end__t::before { content: ''; position: absolute; left: calc(-1 * var(--gut)); right: calc(-1 * var(--gut)); bottom: calc(-1 * clamp(48px, 10vh, 110px)); height: 160%; z-index: -1; background: linear-gradient(rgba(26, 19, 14, 0), rgba(26, 19, 14, .82)); }
.end__h { font-size: clamp(48px, 7.6vw, 124px); line-height: .95; }
.end__s { margin: 16px 0 24px; font-size: 18px; font-weight: 500; }

/* ============ inner pages: film lies down ============ */
.fh { position: relative; background: var(--malt); color: var(--on-dark); }
.fh__st { position: relative; height: 100svh; min-height: 520px; overflow: hidden; }
.fh__f { position: absolute; inset: 0; }
.fh__t { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(40px, 9vh, 96px); z-index: 2; }
.fh__t::before { content: ''; position: absolute; left: calc(-1 * var(--gut)); right: calc(-1 * var(--gut)); bottom: calc(-1 * clamp(40px, 9vh, 96px)); height: 170%; z-index: -1; background: linear-gradient(rgba(26, 19, 14, 0), rgba(26, 19, 14, .8)); }
.fh__h { font-size: clamp(46px, 7vw, 112px); line-height: .95; }
.fh__s { margin-top: 16px; font-size: clamp(16px, 1.4vw, 19px); max-width: 52ch; font-weight: 500; }

/* ============ menu / lists ============ */
.menu { padding-bottom: 80px; }
.rows { list-style: none; margin: 0; padding: 0; }
.r { padding: 13px 0; border-bottom: 1px solid var(--line); }
.r__t { display: flex; align-items: baseline; gap: 10px; }
.r__n { font-size: 18px; font-weight: 650; line-height: 1.3; }
.r__l { flex: 1; min-width: 16px; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.r__p { font-size: 16px; font-weight: 520; font-variant-numeric: tabular-nums; white-space: nowrap; }
.r__d { margin-top: 3px; font-size: 15px; color: var(--mute); line-height: 1.45; max-width: 60ch; }
.cat { padding-top: 56px; max-width: 920px; }
.cat--wide { max-width: none; }
.cat__h { display: flex; align-items: baseline; gap: 14px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.cat__t { font-size: clamp(32px, 3.6vw, 54px); }
.cat__n { margin-left: auto; font-size: 15px; font-weight: 600; color: var(--mute); }
.cat__note { margin-top: 12px; color: var(--mute); max-width: 60ch; }

/* the bar page */
.lk { padding-top: clamp(56px, 10vh, 120px); padding-bottom: 80px; }
.lk__g { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(12px, 2vw, 28px); margin-top: clamp(32px, 6vh, 64px); align-items: start; }
.lk__g figure { margin: 0; }
.l1 .film { aspect-ratio: 16 / 10; border-radius: var(--r); }
.l2 { margin-top: 18% !important; } .l2 .film { aspect-ratio: 4 / 5; border-radius: var(--r); }
.dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 4vw, 64px); margin: clamp(40px, 7vh, 72px) 0 0; max-width: 980px; }
.dl div { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 12px; }
.dl dt { font-weight: 700; }
.dl dd { margin: 0; color: var(--mute); }
.lk__go { margin-top: 36px; }

/* table request */
.rs { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); padding-top: clamp(56px, 9vh, 110px); padding-bottom: 40px; }
.rs__live { margin: 12px 0 8px; font-weight: 600; }
.rs__h2 { margin-top: 48px; }
.rs__info > p:not(.small):not(.rs__live) { margin-top: 12px; }
.hours { border-collapse: collapse; width: 100%; max-width: 440px; margin-top: 8px; font-variant-numeric: tabular-nums; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours td + td { text-align: right; }
.hours .is-today td { font-weight: 700; }
.form { display: grid; gap: 14px; margin-top: 18px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form input, .form select, .form textarea { min-height: 48px; padding: 10px 12px; border: 1px solid var(--ink); border-radius: var(--r); background: #fff; font-weight: 400; font-size: 16px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form__p { font-size: 14px; color: var(--mute); }
.form .btn { justify-self: start; }
.form__ok { padding: 14px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--foam-2); }
.rs__fict { margin-bottom: 64px; }

/* legal */
.legal { padding-top: calc(var(--hd) + 40px); padding-bottom: 80px; max-width: 820px; }
.legal h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 24px; }
.legal h2 { font-size: 20px; margin-top: 30px; }
.legal p { margin-top: 10px; }
.draft { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--foam-2); }

/* footer */
.ft { background: var(--malt); color: var(--on-dark); padding: 64px 0 120px; }
.ft__in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr 1fr; gap: 28px; }
.ft__name { font-size: clamp(40px, 4vw, 60px); color: var(--light); align-self: start; padding-bottom: 6px; border-bottom: 3px solid var(--light); justify-self: start; }
.ft h2 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: rgba(245, 240, 230, .78); margin-bottom: 10px; font-weight: 700; }
.ft p { font-size: 15.5px; line-height: 1.75; }
.ft a { text-decoration: none; border-bottom: 1px solid rgba(245, 240, 230, .45); }
.ft__by { margin-top: 12px; color: rgba(245, 240, 230, .78); }
.ft__fict { grid-column: 1 / -1; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(245, 240, 230, .2); font-size: 14.5px !important; color: rgba(245, 240, 230, .86); max-width: 90ch; }

/* phone bar + badge */
.pbar { display: none; }
.badge { position: fixed; left: 16px; bottom: 16px; z-index: 30; background: var(--foam); color: var(--ink); font-size: 12.5px; font-weight: 650; padding: 8px 12px; border-radius: var(--r); text-decoration: none; box-shadow: 0 1px 0 rgba(0, 0, 0, .25); }
[data-up] { transition: opacity .7s, transform .7s cubic-bezier(.2, .7, .1, 1); }
.moving [data-up]:not(.is-in) { opacity: 0; transform: translateY(32px); }

/* ============ motion (html.moving): pinned chapters ============ */
.moving .open { height: 330vh; }
.moving .open__st { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; }
.moving .open__film { position: absolute; inset: 0; height: auto; min-height: 0; transform-origin: 62% 60%; will-change: transform; }
.moving .open__in, .moving .open__scrim { top: 0; opacity: 0; }
.moving .open__in { will-change: opacity, transform; }
.moving .open__board { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--hd) + 10px); padding-bottom: 24px; }
.moving .bd__h, .moving .open__board .tp, .moving .bd__more { opacity: 0; }
.moving .end { height: 190vh; }
.moving .end__st { position: sticky; top: 0; perspective: 1100px; }
.moving .end__card { transform-origin: 50% 100%; will-change: transform; }
.moving .end__t { opacity: 0; }
.moving .fh { height: 130vh; background: var(--foam); }
.moving .fh__st { position: sticky; top: 0; perspective: 1100px; }
.moving .fh__f { transform-origin: 50% 100%; will-change: transform; }

/* ============ phone ============ */
@media (max-width: 1100px) { .nav { gap: 16px; } .hd__live { display: none; } }
@media (max-width: 900px) {
  :root { --hd: 60px; }
  .nav, .hd__go { display: none; }
  .burger { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 2px solid var(--ink); border-radius: var(--r); background: transparent; font-weight: 650; }
  .logo b { font-size: 22px; }
  .taps { grid-template-columns: 1fr; }
  .pb, .room, .rs, .lk__g { grid-template-columns: 1fr; }
  .pb__bs { grid-template-columns: 1fr 1fr; }
  .wk { grid-template-columns: 56px minmax(0, 1fr); }
  .wk__f { grid-column: 2; }
  .ft__in { grid-template-columns: 1fr 1fr; }
  .ft__name { grid-column: 1 / -1; }
  .l2 { margin-top: 0 !important; width: 70%; justify-self: end; }
  .pbar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(245, 240, 230, .96); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s; }
  .pbar .btn { flex: 1; min-height: 46px; padding: 0 10px; font-size: 15px; }
  .is-past .pbar { transform: none; }
  .badge { bottom: 12px; left: 12px; font-size: 12px; transition: bottom .35s; }
  .is-past .badge { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .ft { padding-bottom: 150px; }
  .moving .open { height: 340vh; }
  .moving .open__film { transform-origin: 50% 62%; }
  .moving .open__board { justify-content: flex-start; padding-top: calc(var(--hd) + 8px); }
  .bd__h { margin-bottom: 6px; }
  .bd__t { font-size: 34px; }
  .bd__live { font-size: 13.5px; }
  .open__board .tp { padding: 5px 0; gap: 0 8px; }
  .open__board .tp__nr { font-size: 15px; }
  .open__board .tp__c { width: 8px; height: 18px; }
  .open__board .tp__n { font-size: 15px; }
  .open__board .tp__s { display: none; }
  .open__board .tp__p { flex-direction: row; gap: 10px; font-size: 14px; }
  .open__board .tp__p span:first-child { display: none; }
  .bd__more { margin-top: 10px; font-size: 15px; }
  .taps--full .tp { grid-template-columns: auto auto minmax(0, 1fr); }
  .taps--full .tp__p { grid-column: 3; justify-content: flex-start; margin-top: 4px; }
  .dl { grid-template-columns: 1fr; }
  .dl div { grid-template-columns: 8em minmax(0, 1fr); }
}
@media (max-width: 420px) { .f2 { grid-template-columns: 1fr; } .pb__slots { grid-template-columns: 1fr 1fr; } .open__h { font-size: 48px; } }
@media (max-height: 700px) and (max-width: 900px) { .open__board .tp { padding: 3px 0; } .bd__t { font-size: 30px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
