/* Anschnitt · Konditorei & Frühstück. FICTIONAL demo business (Konzept-Demo von Alixier). Concept "Um zehn wird angeschnitten."
   (tools/anschnitt/KONZEPT.md). Powdered-sugar working part + ganache film chapters + one pistachio panel, one raspberry accent
   (light tint on dark grounds); Bodoni Moda for every headline, Albert Sans for text and prices; one radius (4px).
   Base CSS = the still layout (no JS, "reduce motion"); html.moving = the pinned, scroll-driven chapters (cut, rosette, ending). */
@font-face { font-family: 'Bodoni Moda'; src: url(fonts/bodoni-moda.woff2) format('woff2'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Albert Sans'; src: url(fonts/albert-sans.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  --sugar: #FAF5F0; --sugar-2: #F3EBE3; --gan: #2A1A1E; --gan-2: #3A262B; --ink: #2A1A1E; --mute: #66555A; --line: #E0D3CB;
  --pis: #DCE3C6; --pis-line: #B9C49C;
  --acc: #A3214A; --acc-d: #85173B; --acc-lt: #F3A6BF; --on-dark: #FBF3EE;
  --r: 4px; --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(--sugar); color: var(--ink); font: 400 17px/1.55 'Albert Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
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); }
.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(--sugar); 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: 'Bodoni Moda', 'Didot', Georgia, serif; font-weight: 600; font-variation-settings: 'opsz' 28; letter-spacing: -.02em; line-height: 1.02; hyphens: manual; }
.acc { color: var(--acc); }
.tag { font-size: 12px; font-weight: 600; letter-spacing: .02em; background: rgba(250, 245, 240, .92); color: var(--ink); padding: 3px 7px; border-radius: var(--r); }
.small { font-size: 14px; color: var(--mute); margin-top: 32px; max-width: 66ch; }
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: 650; 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(--sugar); }
.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: 24px; }
.more { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-weight: 650; 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 page reaches it */
.hd { position: sticky; top: 0; z-index: 40; background: rgba(250, 245, 240, .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: 27px; }
.logo small { font-size: 12.5px; color: var(--mute); letter-spacing: .02em; }
.nav { display: flex; gap: 24px; margin-left: 12px; }
.nav a { text-decoration: none; font-weight: 600; 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(30, 16, 20, .66), rgba(30, 16, 20, 0)); pointer-events: none; }
.is-over .hd:not(.solid) .logo small, .is-over .hd:not(.solid) .hd__live { color: rgba(251, 243, 238, .92); }
.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: #8A7F80; 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(--sugar); 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: 'Bodoni Moda', Georgia, serif; font-weight: 600; 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: 650; font-size: 16px; line-height: 2.6; }

/* film */
.film { position: relative; overflow: hidden; background: var(--gan-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; }
.cv { display: none; }
.cut__f .tag, .ih__f .tag, .ros__f .tag, .end__f .tag { top: auto; bottom: 12px; right: 12px; } /* clear of the header buttons */

/* ---------------------------------------------------------------- 1 · first screen and the Tortenteiler (signature) */
.cut__st { position: relative; }
.cut__f { height: 100vh; height: 100svh; min-height: 520px; }
.cut__f::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30, 14, 18, .74), rgba(30, 14, 18, .06) 55%, rgba(30, 14, 18, .3)); pointer-events: none; }
.cut__t { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(36px, 9vh, 96px); color: var(--on-dark); max-width: 1100px; z-index: 5; }
.cut__h { font-size: clamp(40px, 6.6vw, 108px); }
.cut__h .acc, .ih__h .acc, .ros__h .acc, .end__h .acc { color: var(--acc-lt); }
.cut__s { margin-top: 18px; font-size: clamp(16px, 1.4vw, 19px); color: rgba(251, 243, 238, .94); }
.cut__go { margin-top: 26px; }
/* the Vitrine (still layout: below the film) */
.vt { background: var(--sugar); }
.vt__in { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--gut); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.vt__t { font-size: clamp(42px, 5.4vw, 88px); }
.vt__k { margin-top: 16px; font-size: 15px; color: var(--mute); }
.vt__s { margin-top: 14px; color: var(--mute); max-width: 36ch; }
.vt__h .btns { margin-top: 26px; }
.vt__l12 { counter-reset: s; columns: 1; }
.vt__r { display: flex; align-items: baseline; gap: 10px; padding: 9px 0 7px; border-bottom: 1px solid var(--line); transition: opacity .25s, color .25s; }
.vt__r::before { counter-increment: s; content: counter(s); font-size: 13px; color: var(--mute); width: 2ch; font-variant-numeric: tabular-nums; }
.vt__n { font-family: 'Bodoni Moda', Georgia, serif; font-weight: 600; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.15; }
.vt__l { flex: 1; border-bottom: 1px dotted #B5A49F; transform: translateY(-4px); min-width: 12px; }
.vt__p { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* moving: pinned; the film is cut and served, slice by slice, over the Vitrine */
.moving .cut { height: 330vh; }
.moving .cut__st { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; }
.moving .cut__f { position: absolute; inset: 0; height: auto; min-height: 0; z-index: 3; }
.moving .vt { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; }
.moving .vt__in { width: 100%; padding-top: calc(var(--hd) + 20px); padding-bottom: 28px; }
.moving .vt__r { opacity: .22; }
.moving .vt__r.is-lit { opacity: 1; }
.moving .vt__r.is-new .vt__n { color: var(--acc); }
.moving .vt.is-done .vt__r, .moving .vt:focus-within .vt__r { opacity: 1; }
.moving .cv { display: block; position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; pointer-events: none; visibility: hidden; }
.moving .cv.is-on { visibility: visible; }
.moving .is-cut .cut__f, .moving .is-cut .ih__f, .moving .is-cut .end__f { visibility: hidden; }

/* ---------------------------------------------------------------- inner page heroes: cut in four while scrolling away */
.ih { position: relative; background: var(--sugar); height: 82vh; height: 82svh; 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(30, 14, 18, .86), rgba(30, 14, 18, .5) 32%, rgba(30, 14, 18, .06) 62%, rgba(30, 14, 18, .36)); }
.ih__t { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(32px, 8vh, 80px); z-index: 5; max-width: 900px; color: var(--on-dark); }
.ih__h { font-size: clamp(40px, 6vw, 96px); }
.ih__s { margin-top: 16px; font-size: clamp(16px, 1.4vw, 19px); max-width: 46ch; color: rgba(251, 243, 238, .94); }
.moving .ih { height: 100vh; height: 100svh; }
.moving .ih .cv { z-index: 3; }

/* ---------------------------------------------------------------- sections, rows */
.sec__h { font-size: clamp(38px, 4.8vw, 74px); }
.sec__h--m { font-size: clamp(30px, 3.4vw, 50px); }
.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: 650; line-height: 1.3; }
.r__l { flex: 1; border-bottom: 1px dotted #B5A49F; 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: 62ch; }
.r__a { margin-top: 2px; font-size: 13px; color: var(--mute); }

/* Tortenrechner panel (pistachio) */
.tt { background: var(--pis); }
.tt__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); padding-top: clamp(72px, 9vw, 130px); padding-bottom: clamp(72px, 9vw, 130px); align-items: start; }
.tt .sec__s { color: #4E4A40; }
.tt__ph { margin-top: 36px; width: 78%; aspect-ratio: 4 / 3; }
.tr { background: var(--sugar); border-radius: var(--r); padding: clamp(22px, 3vw, 44px); border: 1px solid var(--pis-line); }
.tr__k { display: block; font-weight: 650; font-size: 17px; margin-bottom: 12px; }
.tr__step { display: flex; align-items: stretch; gap: 0; width: max-content; border: 1.5px solid var(--ink); border-radius: var(--r); overflow: hidden; }
.tr__b { width: 56px; min-height: 56px; border: 0; background: transparent; font-size: 26px; line-height: 1; }
.tr__b:hover { background: var(--sugar-2); }
.tr__step input { width: 84px; border: 0; border-left: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); text-align: center; font-size: 24px; font-weight: 650; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.tr__step input::-webkit-outer-spin-button, .tr__step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tr__a { margin-top: 28px; border-top: 2px solid var(--ink); padding-top: 20px; }
.tr__s { font-size: clamp(34px, 3.4vw, 52px); }
.dm { font-family: 'Albert Sans', system-ui, sans-serif; font-weight: 500; font-size: .8em; margin-right: .08em; }
.tr__dl { margin-top: 16px; display: grid; gap: 10px; }
.tr__dl > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.tr__dl dt { font-size: 14px; color: var(--mute); padding-top: 2px; }
.tr__dl dd { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tr .btns { margin-top: 22px; }
.tr__plain { display: none; }
.tr:not(.is-on) .tr__q, .tr:not(.is-on) .tr__a { display: none; }
.tr:not(.is-on) .tr__plain { display: table; border-collapse: collapse; width: 100%; }
.tr__plain th, .tr__plain td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }

/* ---------------------------------------------------------------- 3 · rosette chapter (dark): the film along a piped spiral */
.ros { background: var(--gan); color: var(--on-dark); }
.ros__st { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; }
.ros__f { position: absolute; inset: 0; }
.ros__f::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30, 14, 18, .66), rgba(30, 14, 18, 0) 55%); }
.ros__t { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(36px, 9vh, 96px); z-index: 5; }
.ros__h { font-size: clamp(42px, 6.4vw, 104px); }
.ros__more { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(64px, 8vw, 110px); }
.moving .ros__pin { height: 240vh; }
.moving .ros__st { position: sticky; top: 0; }
.moving .ros__f { opacity: 0; }
.moving .ros .cv { z-index: 3; }
.moving .is-full .ros__f { opacity: 1; }

/* ---------------------------------------------------------------- breakfast on the start page */
.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: 80%; aspect-ratio: 4 / 5; }
.fr__a .film { width: 100%; height: 100%; border-radius: var(--r); }
.fr__b { position: absolute; left: 0; bottom: 0; width: 50%; aspect-ratio: 1; }
.fr__b img { border: 8px solid var(--sugar); }

/* facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); 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: 650; }
.facts--dk { margin-top: 0; border-color: var(--acc-lt); }
.facts--dk > div { border-color: rgba(251, 243, 238, .22); }
.facts--dk dt { color: rgba(251, 243, 238, .82); }

/* ---------------------------------------------------------------- 5 · ending: the slices fly back in and close the Torte */
.end { background: var(--gan); }
.end__st { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: var(--on-dark); }
.end__f { position: absolute; inset: 0; }
.end__f::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30, 14, 18, .84), rgba(30, 14, 18, .2) 62%, rgba(30, 14, 18, .3)); }
.end__t { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(40px, 10vh, 110px); z-index: 5; }
.end__h { font-size: clamp(42px, 6vw, 100px); }
.end__s { margin: 18px 0 26px; font-size: 17px; }
.moving .end { height: 230vh; }
.moving .end__st { position: sticky; top: 0; }
.moving .end .cv { z-index: 3; }

/* ---------------------------------------------------------------- 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, 50px); }
.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; }
.menu__go { margin-top: 48px; }

/* Torten */
.ts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(48px, 6vw, 90px); align-items: start; }
.ts .tr { margin-top: 8px; }
.tw { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px 48px; align-items: end; padding-bottom: clamp(48px, 6vw, 90px); }
.tw__f { grid-row: span 2; aspect-ratio: 16 / 10; border-radius: var(--r); }
.tw__t { font-size: clamp(30px, 3vw, 46px); }
.tw__s { color: var(--mute); }
.ord { padding-bottom: clamp(72px, 9vw, 120px); max-width: 900px; margin-left: 0; }
.ord .sec__h { font-size: clamp(32px, 3.6vw, 54px); }

/* 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__note { margin-top: 20px !important; color: var(--mute); max-width: 46ch; }
.vi__b > p:first-of-type { margin-top: 12px; }
.vi__ph { margin-top: 36px; aspect-ratio: 3 / 2; }
.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: 640px; }
.form label { display: grid; gap: 6px; min-width: 0; font-size: 15px; font-weight: 650; }
.form input, .form select, .form textarea { min-height: 48px; border: 1.5px solid #8F7C80; border-radius: var(--r); background: #fff; padding: 10px 12px; font-weight: 400; font-size: 16px; width: 100%; min-width: 0; }
.f2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.form__p { font-size: 14px; color: var(--mute); }
.form .btn { justify-self: start; }
.form__ok { background: var(--pis); border: 1px solid var(--pis-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(--pis); border: 1px solid var(--pis-line); border-radius: var(--r); padding: 14px 16px; margin-top: 24px !important; }

/* footer, phone bar, label */
.ft { background: var(--gan); 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 .ft__name { font-size: clamp(40px, 4vw, 60px); line-height: 1; color: var(--acc-lt); }
.ft h2 { font-size: 14px; font-weight: 650; letter-spacing: .04em; color: rgba(251, 243, 238, .8); margin-bottom: 10px; }
.ft p { font-size: 15px; line-height: 1.75; }
.ft a { text-decoration: none; border-bottom: 1px solid rgba(251, 243, 238, .4); }
.ft__fict { grid-column: 1 / -1; border-top: 1px solid rgba(251, 243, 238, .25); padding-top: 22px; color: rgba(251, 243, 238, .9); }
.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(--sugar); 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: 650; }
  .logo b { font-size: 24px; }
  .vt__in, .tt__in, .fr, .ts, .vi, .tw { grid-template-columns: 1fr; }
  .tw__f { grid-row: auto; }
  .tt__ph { width: 100%; }
  .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; }
  .facts { grid-template-columns: 1fr 1fr; }
  .inpair { width: 100%; }
  .moving .vt__in { gap: 18px; padding-top: calc(var(--hd) + 14px); padding-bottom: 16px; align-content: start; }
  .moving .vt { align-items: flex-start; }
  .moving .vt__s, .moving .vt__h .btns .btn--line { display: none; }
  .moving .vt__h .btns { margin-top: 14px; }
  .moving .vt__t { font-size: clamp(34px, 9.6vw, 44px); }
  .moving .vt__k { margin-top: 8px; }
  .moving .vt__r { padding: 6px 0 4px; }
  .moving .vt__n { font-size: 18px; }
  .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(250, 245, 240, .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; }
  .ft__in { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .cut__h { font-size: clamp(38px, 11.4vw, 48px); }
  .ih__h { font-size: clamp(36px, 10.6vw, 46px); }
  .ros__h, .end__h { font-size: clamp(38px, 11vw, 46px); }
  .tr__dl > div { grid-template-columns: 5.5em 1fr; }
  .end__t { bottom: 132px; } /* clear of the phone bar and the label */
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
