/* Halbacht · Kaffeerösterei & Frühstück. FICTIONAL demo business (Konzept-Demo von Alixier). Concept "Ab halb acht in der Tasse."
   (tools/halbacht/KONZEPT.md). Espresso-brown film chapters + a light crema working part, one roast-orange accent (light tint on
   dark grounds); Young Serif for every headline, Instrument Sans for text and prices; one radius (6px).
   Base CSS = the still layout (no JS, "reduce motion"); html.moving = the pinned, scroll-driven chapters (fill, roast strip, empty). */
@font-face { font-family: 'Young Serif'; src: url(fonts/young-serif.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url(fonts/instrument-sans.woff2) format('woff2'); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }
:root {
  --esp: #241A14; --esp-2: #33261D; --crema: #EFE4D3; --milk: #F8F2E9; --ink: #241A14; --mute: #5A4B40; --line: #D6C6B0;
  --acc: #A4471A; --acc-d: #84380F; --acc-lt: #F0A877; --on-dark: #F6EEE3; --band: #C99B6D;
  --r: 6px; --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(--crema); color: var(--ink); font: 400 17px/1.55 'Instrument Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
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, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
::selection { background: var(--acc); color: #fff; }
input, textarea, select { caret-color: var(--acc); accent-color: var(--acc); }
a { text-underline-offset: .18em; text-decoration-thickness: 1px; }
.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(--crema); 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: 'Young Serif', Georgia, serif; font-weight: 400; letter-spacing: -.015em; line-height: 1.02; hyphens: manual; }
.acc { color: var(--acc); }
.tag { font-size: 12px; font-weight: 500; letter-spacing: .02em; background: rgba(246, 238, 227, .92); color: var(--ink); padding: 3px 7px; border-radius: var(--r); }
.small { font-size: 14px; color: var(--mute); margin-top: 32px; max-width: 64ch; }
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(--acc); background: var(--acc); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--acc-d); border-color: var(--acc-d); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--crema); 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); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn--big { min-height: 58px; font-size: 21px; font-weight: 700; padding: 0 24px; margin-top: 28px; }
.more { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-weight: 600; font-size: 17px; text-decoration: none; border-bottom: 2px solid var(--acc); padding-bottom: 4px; }

/* header: one line; over a film (body.is-over) clear and light until the crema reaches it */
.hd { position: sticky; top: 0; z-index: 40; background: rgba(239, 228, 211, .96); 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.05; }
.logo b { font-size: 26px; }
.logo small { font-size: 12.5px; color: var(--mute); letter-spacing: .01em; }
.nav { display: flex; gap: 24px; margin-left: 12px; }
.nav a { text-decoration: none; font-weight: 550; font-size: 16px; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-color: var(--acc); }
.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; }
.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(28, 20, 15, .7), rgba(28, 20, 15, 0)); pointer-events: none; }
.is-over .hd:not(.solid) .logo small, .is-over .hd:not(.solid) .hd__live { color: rgba(246, 238, 227, .9); }
.is-over .hd:not(.solid) .burger { border-color: var(--on-dark); }
.is-over .hd:not(.solid) :focus-visible { outline-color: var(--on-dark); }
.live::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #8A7F75; margin-right: 8px; vertical-align: 1px; }
.live.is-open::before { background: #2E7D32; }
.mnav { position: fixed; inset: var(--hd) 0 auto 0; z-index: 39; background: var(--crema); 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: 'Young Serif', Georgia, serif; 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(--acc); }
.mnav p { margin-top: 18px; color: var(--mute); font-size: 15px; }
.mnav p a { font-weight: 600; font-size: 16px; line-height: 2.6; }

/* film */
.film { position: relative; overflow: hidden; background: var(--esp-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; }
.ph { position: relative; }
.ph img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.ph .tag { position: absolute; right: 10px; top: 10px; }
picture { display: contents; }

/* ---------------------------------------------------------------- 1 · the first screen and the fill (signature) */
.fill__st { position: relative; }
.fill__f { height: 100vh; height: 100svh; min-height: 520px; }
.fill__f::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 20, 15, .78), rgba(28, 20, 15, .12) 58%, rgba(28, 20, 15, .38)); pointer-events: none; }
.fill__t { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(36px, 9vh, 96px); color: var(--on-dark); max-width: 1100px; z-index: 2; }
.fill__h { font-size: clamp(38px, 6.2vw, 100px); }
.fill__h .acc, .ih__t--lt .acc, .empty__h .acc { color: var(--acc-lt); }
.fill__s { margin-top: 18px; font-size: clamp(16px, 1.4vw, 19px); color: rgba(246, 238, 227, .92); }
.fill__go { margin-top: 26px; }
.fill__tag { position: absolute; right: 12px; bottom: 12px; z-index: 2; }
.marks--lt, .band { display: none; }
.cup { background: var(--crema); position: relative; }
.cup__in { padding: clamp(56px, 8vw, 110px) var(--gut); max-width: var(--max); margin: 0 auto; display: grid; gap: 40px; }
.cup__k { font-size: 15px; color: var(--mute); margin-top: 16px; }
.cup__f { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 28px; justify-content: start; font-size: 15px; }
.cup__f dt { color: var(--mute); }
.cup__f dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.cup__f > div { display: contents; }
.cup__t { font-size: clamp(40px, 5.2vw, 84px); }
.cup__s { margin-top: 18px; max-width: 36ch; color: var(--mute); font-size: 17px; }
.cup__h .btns { margin-top: 26px; }
/* the marks as a list (still layout) */
.mk { display: flex; align-items: baseline; gap: 12px; padding: 12px 0 8px; border-bottom: 1px solid var(--line); }
.mk__n { font-family: 'Young Serif', Georgia, serif; font-size: clamp(21px, 2vw, 28px); line-height: 1.1; }
.mk__ml { font-size: 14px; color: var(--mute); }
.mk__l { flex: 1; }
.mk__p { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* moving: the section is pinned; the crema rises with a liquid edge (clip-path set by app.js) */
.moving .fill { height: 290vh; }
.moving .fill__st { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; }
.moving .fill__f { position: absolute; inset: 0; height: auto; min-height: 0; }
.moving .band, .moving .marks--lt { display: block; }
.moving .band { position: absolute; inset: 0; z-index: 3; background: var(--band); clip-path: inset(100% 0 0 0); pointer-events: none; }
.moving .cup { position: absolute; inset: 0; z-index: 4; clip-path: inset(100% 0 0 0); }
.moving .fill .cup__in { position: absolute; inset: 0; max-width: none; padding: 0; display: block; }
.moving .fill .cup__h { position: absolute; left: var(--gut); top: calc(var(--hd) + clamp(24px, 9vh, 110px)); width: min(40vw, 560px); }
.moving .fill .cup__f { position: absolute; left: var(--gut); bottom: 9vh; width: min(40vw, 560px); border-top: 1px solid var(--line); padding-top: 18px; }
.moving .marks { position: absolute; inset: 0; z-index: 2; pointer-events: none; --b0: 9vh; --rng: 72vh; --mx: 50vw; }
.moving .marks--lt { color: var(--on-dark); opacity: 0; }
.moving .marks--lt .mk { border-color: rgba(246, 238, 227, .55); }
.moving .marks--lt .mk__ml { color: rgba(246, 238, 227, .85); }
.moving .marks .mk { position: absolute; left: var(--mx); right: var(--gut); bottom: calc(var(--b0) + var(--ml) / 300 * var(--rng)); padding: 0 0 6px; }
.moving .marks--dk { pointer-events: auto; }

/* ---------------------------------------------------------------- inner page heroes: the film fills with crema */
.ih__st { position: relative; height: 78vh; height: 78svh; min-height: 460px; overflow: hidden; }
.ih__f { position: absolute; inset: 0; }
.ih__f::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 20, 15, .72), rgba(28, 20, 15, .1) 60%, rgba(28, 20, 15, .4)); }
.ih__t { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(32px, 8vh, 80px); z-index: 2; max-width: 900px; }
.ih__t--lt { color: var(--on-dark); }
.ih__h { font-size: clamp(40px, 6vw, 92px); }
.ih__s { margin-top: 16px; font-size: clamp(16px, 1.4vw, 19px); max-width: 46ch; }
.ih__t--lt .ih__s { color: rgba(246, 238, 227, .92); }
.ih .cup, .ih .band { display: none; }
.moving .ih__st { height: 100vh; height: 100svh; }
.moving .ih .band { display: block; }
.moving .ih .cup { display: block; }
.ih__t--dk { color: var(--ink); }
.ih__t--dk .ih__s { color: var(--mute); }

/* ---------------------------------------------------------------- sections, rows */
.sec__h { font-size: clamp(36px, 4.6vw, 70px); }
.sec__h--m { font-size: clamp(30px, 3.4vw, 48px); }
.sec__s { margin-top: 14px; color: var(--mute); max-width: 52ch; font-size: 18px; }
.rows { margin-top: 26px; }
.r { padding: 14px 0 12px; border-bottom: 1px solid var(--line); }
.r__t { display: flex; align-items: baseline; gap: 10px; }
.r__n { font-size: 18px; font-weight: 600; line-height: 1.3; }
.r__l { flex: 1; border-bottom: 1px dotted #A99781; transform: translateY(-4px); min-width: 16px; }
.r__p { font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.r__d { margin-top: 4px; font-size: 15px; color: var(--mute); max-width: 60ch; }
.tg { font-size: 12px; font-weight: 600; color: #3F5A2A; border: 1px solid #8BA273; padding: 1px 6px; border-radius: 999px; white-space: nowrap; }
.tg--vg { color: #2F5A1E; background: #E1E8CF; border-color: #A9BC8E; }

/* breakfast on the start page: text left, an unequal film/photo pair right */
.fr { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); padding-top: clamp(72px, 10vw, 140px); padding-bottom: clamp(72px, 10vw, 140px); }
.fr__m { position: relative; min-height: 640px; }
.fr__a { position: absolute; right: 0; top: 0; width: 82%; aspect-ratio: 4 / 5; }
.fr__a .film { width: 100%; height: 100%; border-radius: var(--r); }
.fr__b { position: absolute; left: 0; bottom: 0; width: 52%; aspect-ratio: 1; }
.fr__b img { border: 8px solid var(--crema); }

/* ---------------------------------------------------------------- 2 · roast strip (horizontal when moving) */
.roast { background: var(--esp); color: var(--on-dark); }
.roast__in { padding: clamp(72px, 9vw, 120px) var(--gut) 40px; max-width: 760px; }
.roast__h { font-size: clamp(38px, 4.6vw, 72px); }
.roast__s { margin-top: 18px; font-size: 18px; color: rgba(246, 238, 227, .88); max-width: 40ch; }
.roast__hint { display: none; }
.st { background: var(--g); color: var(--ink); display: grid; grid-template-columns: 1fr 1fr; min-height: 80vh; }
.st--dk { color: var(--on-dark); }
.st__ph { position: relative; overflow: hidden; }
.st__ph img { width: 100%; height: 100%; object-fit: cover; }
.st__ph .tag { position: absolute; right: 10px; top: 10px; }
.st__t { padding: clamp(32px, 4.5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.st__h { font-size: clamp(48px, 6vw, 96px); }
.st__k { font-size: 14px; font-weight: 600; margin-top: 8px; }
.st__n { font-family: 'Young Serif', Georgia, serif; font-size: clamp(22px, 2vw, 28px); margin-top: 18px; }
.st__no { margin-top: 8px; font-size: 18px; font-weight: 600; }
.st__o { margin-top: 6px; font-size: 15px; opacity: .9; }
.st__x { margin-top: 18px; max-width: 38ch; font-size: 16px; }
.st__p { margin-top: 18px; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.moving .roast { height: var(--rh, 400vh); }
.moving .roast__st { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.moving .roast__row { display: flex; height: 100%; width: max-content; will-change: transform; }
.moving .roast__in { flex: none; width: min(44vw, 640px); max-width: none; padding: calc(var(--hd) + 40px) var(--gut) 48px; display: flex; flex-direction: column; justify-content: center; }
.moving .roast__hint { display: flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 15px; color: var(--acc-lt); }
.moving .roast__tr { display: flex; height: 100%; }
.moving .st { flex: none; width: 80vw; height: 100%; min-height: 0; }

/* ---------------------------------------------------------------- brew finder (useful tool) */
.brew { padding: clamp(72px, 9vw, 130px) 0; }
.brew__h { max-width: 760px; }
.bf { margin-top: 40px; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.bf__k { font-weight: 600; font-size: 17px; margin-bottom: 14px; }
.bf__ms { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bf__m { min-height: 56px; border: 1.5px solid var(--ink); background: transparent; border-radius: var(--r); font-weight: 600; font-size: 16px; text-align: left; padding: 0 16px; transition: background .2s, color .2s; }
.bf__m:hover { background: var(--milk); }
.bf__m[aria-pressed="true"] { background: var(--ink); color: var(--crema); }
.bf__a { display: grid; grid-template-columns: .9fr 1.1fr; background: var(--milk); border-radius: var(--r); overflow: hidden; }
.bf__img img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.bf__t { padding: clamp(22px, 3vw, 40px); }
.bf__st { font-size: 14px; font-weight: 600; color: var(--acc); }
.bf__b { font-size: clamp(28px, 2.6vw, 38px); margin-top: 8px; }
.bf__no { margin-top: 8px; font-weight: 600; }
.bf__dl { margin-top: 20px; display: grid; gap: 12px; }
.bf__dl dt { font-size: 13px; color: var(--mute); }
.bf__dl dd { font-size: 16px; }
.bf__hint { margin-top: 20px; font-size: 14px; color: var(--mute); }
.bf__plain { display: none; }
.bf:not(.is-on) .bf__a { display: none; }
.bf:not(.is-on) .bf__q { display: none; }
.bf:not(.is-on) .bf__plain { display: table; grid-column: 1 / -1; border-collapse: collapse; width: 100%; }
.bf__plain th, .bf__plain td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }

/* ---------------------------------------------------------------- 3 · the ending: the cup empties onto the morning film */
.empty__st { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: var(--on-dark); }
.empty__f { position: absolute; inset: 0; }
.empty__f::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 20, 15, .8), rgba(28, 20, 15, .2) 65%); }
.empty__t { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(40px, 10vh, 110px); z-index: 2; }
.empty__h { font-size: clamp(42px, 6vw, 100px); }
.empty__s { margin: 18px 0 26px; font-size: 17px; }
.empty .band, .empty .cup { display: none; }
.cup__last { font-size: clamp(36px, 5vw, 80px); color: var(--ink); position: absolute; left: var(--gut); top: calc(var(--hd) + 8vh); }
.moving .empty { height: 190vh; }
.moving .empty__st { position: sticky; top: 0; }
.moving .empty .band, .moving .empty .cup { display: block; }
.moving .empty .cup { clip-path: inset(0 0 0 0); }

/* ---------------------------------------------------------------- menu pages */
.menu { padding-top: clamp(56px, 7vw, 100px); padding-bottom: 100px; max-width: 980px; }
.cat { margin-top: 64px; }
.cat:first-child { margin-top: 0; }
.cat__h { display: flex; align-items: baseline; gap: 14px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.cat__t { font-size: clamp(32px, 3.4vw, 48px); }
.cat__n { font-size: 15px; color: var(--mute); font-variant-numeric: tabular-nums; }
.cat__note { margin-top: 16px; color: var(--mute); max-width: 62ch; }
.cat__ex { margin-top: 16px; font-size: 15px; color: var(--mute); }
.inset { margin: 72px 0 0; aspect-ratio: 16 / 7; }
.inset .film { height: 100%; border-radius: var(--r); }
.inpair { margin-top: 64px; width: 62%; margin-left: auto; aspect-ratio: 4 / 3; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; font-weight: 600; font-size: 15px; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--crema); }
.r[hidden] { display: none; }
.menu__go { margin-top: 48px; }

/* Rösterei */
.rs { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 90px); padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(64px, 8vw, 120px); }
.rs__m { display: grid; gap: 16px; align-content: start; }
.rs__f { aspect-ratio: 4 / 3; border-radius: var(--r); }
.rs__p { width: 70%; margin-left: auto; aspect-ratio: 1; }
.days { padding-bottom: clamp(64px, 8vw, 120px); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 28px; border-top: 2px solid var(--ink); }
.facts > div { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 14px; color: var(--mute); }
.facts dd { margin-top: 4px; font-size: 17px; font-weight: 600; }

/* Besuch */
.vi { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); padding-top: clamp(56px, 7vw, 100px); padding-bottom: clamp(72px, 9vw, 120px); }
.vi__a > p { margin-top: 12px; }
.vi__h2 { margin-top: 48px; }
.vi__s { margin-top: 12px; color: var(--mute); }
.hours { margin-top: 18px; border-collapse: collapse; width: 100%; max-width: 520px; font-variant-numeric: tabular-nums; }
.hours th { text-align: left; font-size: 13px; color: var(--mute); font-weight: 500; padding: 0 0 8px; }
.hours td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.hours .is-today td { font-weight: 700; }
.form { margin-top: 24px; display: grid; gap: 16px; max-width: 560px; }
.form label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
.form input, .form select, .form textarea { min-height: 48px; border: 1.5px solid #8E7C6B; border-radius: var(--r); background: var(--milk); padding: 10px 12px; 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 { background: var(--milk); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; font-size: 15px; }

/* legal pages */
.legal { padding-top: clamp(48px, 7vw, 96px); padding-bottom: 100px; max-width: 820px; }
.legal h1 { font-size: clamp(40px, 5vw, 72px); }
.legal h2 { font-size: 20px; margin-top: 32px; }
.legal p { margin-top: 10px; }
.draft { background: var(--milk); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin-top: 24px !important; }

/* footer, phone bar, label */
.ft { background: var(--esp); color: var(--on-dark); padding: 72px 0 110px; }
.ft__in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 32px; }
.ft__name { font-size: clamp(40px, 4vw, 60px); color: var(--acc-lt); }
.ft h2 { font-size: 14px; font-weight: 600; letter-spacing: .04em; color: rgba(246, 238, 227, .78); margin-bottom: 10px; }
.ft p { font-size: 15px; line-height: 1.75; }
.ft a { text-decoration: none; border-bottom: 1px solid rgba(246, 238, 227, .4); }
.ft__fict { grid-column: 1 / -1; border-top: 1px solid rgba(246, 238, 227, .25); padding-top: 22px; color: rgba(246, 238, 227, .88); }
.ft :focus-visible { outline-color: var(--acc-lt); }
.pbar { display: none; }
.badge { position: fixed; left: 16px; bottom: 16px; z-index: 30; background: var(--ink); color: var(--crema); font-size: 12px; font-weight: 700; padding: 8px 12px; border-radius: 999px; text-decoration: none; }
.badge:focus-visible { outline-color: var(--acc-lt); }

/* ---------------------------------------------------------------- tablet and phone */
@media (max-width: 1100px) {
  .nav { gap: 16px; }
  .hd__live { display: none; }
  .ft__in { grid-template-columns: 1fr 1fr; }
  .ft__name { grid-column: 1 / -1; }
}
@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: 1.5px solid currentColor; border-radius: var(--r); background: transparent; font-weight: 600; }
  .logo b { font-size: 23px; }
  .fr, .rs, .vi { grid-template-columns: 1fr; }
  .fr__m { min-height: 0; display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; align-items: end; }
  .fr__a, .fr__b { position: relative; width: auto; }
  .fr__b img { border: 0; }
  .st { grid-template-columns: 1fr; }
  .st__ph { aspect-ratio: 4 / 3; }
  .bf, .bf__a { grid-template-columns: 1fr; }
  .bf__img img { min-height: 0; aspect-ratio: 16 / 9; }
  .facts { grid-template-columns: 1fr 1fr; }
  .inpair { width: 100%; }
  .moving .fill .cup__h { width: auto; right: var(--gut); top: calc(var(--hd) + 18px); }
  .moving .fill .cup__h .cup__s, .moving .fill .cup__f { display: none; }
  .moving .marks { --b0: 15vh; --rng: 41vh; --mx: var(--gut); }
  .moving .roast__in { width: 100vw; }
  .moving .st { width: 100vw; grid-template-rows: 46% 1fr; }
  .moving .st__ph { aspect-ratio: auto; }
  .moving .st__t { justify-content: flex-start; padding: 22px var(--gut); }
  .moving .st__h { font-size: 44px; }
  .moving .st__n { margin-top: 10px; }
  .moving .st__x { margin-top: 10px; font-size: 15px; }
  .moving .st__p { margin-top: 10px; }
  .pbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; gap: 8px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(239, 228, 211, .97); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s; }
  .pbar .btn { flex: 1; }
  .is-past .pbar { transform: none; }
  .badge { left: 10px; bottom: 10px; transition: bottom .35s; }
  .is-past .badge { bottom: 82px; }
  .ft { padding-bottom: 150px; }
}
@media (max-width: 520px) {
  .f2 { grid-template-columns: 1fr; }
  .bf__ms { grid-template-columns: 1fr 1fr; }
  .ft__in { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .mk__n { font-size: 19px; }
  .mk__ml { font-size: 13px; }
  .mk__p { font-size: 16px; }
  .fill__h { font-size: clamp(36px, 11vw, 46px); }
  .cup__t { font-size: 38px; }
  .ih__h { font-size: clamp(38px, 11vw, 48px); }
  .empty__h { font-size: 42px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
