/* Has Tantuni. Tokens and sizes are the Paper boards' (DESIGN.md sections 3, 4, 6, 6b, 7): red #DC2C1D,
   black #17120F, white; Antonio 700/400 for display, names and prices; Libre Franklin 400 body, 500 actions,
   600 the button label. Square corners everywhere. Phone first at 390; the 1440 layout from 960 px.
   Phone sizes: h1 80/88, h2 64/72, h3 48/52, board header 32/36, row 22/26, lead 18/28, body 16/26,
   button 16/20, action 18/24 at 48 px (16/24 at 44 px in a top bar).
   Desktop: h1 104/116, h2 72/80, row 24/28, lead 20/30, body 18/30; 64 px gutters, two 640 columns, 32 gap. */

@font-face { font-family: "Antonio"; font-style: normal; font-weight: 400 700; font-display: block;
  src: url(/fonts/antonio-latin.woff2) format("woff2");
  unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+2013-2014, U+2018-2019, U+201C-201D, U+2026; }
@font-face { font-family: "Antonio"; font-style: normal; font-weight: 400 700; font-display: block;
  src: url(/fonts/antonio-tr.woff2) format("woff2"); unicode-range: U+011E-011F, U+0130, U+015E-015F; }
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/fonts/libre-franklin-latin.woff2) format("woff2");
  unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+2013-2014, U+2018-2019, U+201C-201D, U+2026; }
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/fonts/libre-franklin-tr.woff2) format("woff2"); unicode-range: U+011E-011F, U+0130, U+015E-015F; }

:root {
  --red: #DC2C1D; --black: #17120F; --white: #FFFFFF;
  --fd: "Antonio", "Arial Narrow", sans-serif;
  --fb: "Libre Franklin", Arial, sans-serif;
  --g: 20px;
  /* the motion layer reads these (assets/motion/motion.css): the button greys toward its ground on hover */
  --bg: var(--white); --ink: var(--black); --action: var(--black); --action-ink: var(--white);
  --card: var(--white); --line-strong: var(--black);
  --ring: 0 0 0 2px #FFFFFF, 0 0 0 4px #17120F;
  --ring-dark: 0 0 0 2px #17120F, 0 0 0 4px #FFFFFF;
  --sheet-ease: cubic-bezier(.32, .72, 0, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--white); color: var(--black); font: 400 16px/26px var(--fb); }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
h1, h2, h3, p, ul, ol, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; border-radius: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.i { display: block; flex: none; }
.on-red { --bg: var(--red); --ink: var(--white); background: var(--red); color: var(--white); }
:focus-visible { outline: none; box-shadow: var(--ring); }
/* the ring is drawn whole in the frame focus lands (the motion layer eases box-shadow on .btn) */
html:not([data-motion="off"]) .btn:focus-visible { transition-property: background-color, color, border-color, transform; }
/* the motion kit tints the black button on :hover outside a hover query; on a touch screen that tint stays after
   the tap (the hand-off's "WhatsApp’ı aç" appears under the finger), so touch screens keep the button black, as the
   kit's own rule for hover moves says */
@media (hover: none) { html:not([data-motion="off"]) .btn--primary:hover { background: var(--action); } }
.board :focus-visible, .foot :focus-visible { box-shadow: var(--ring-dark); }
.skip { position: absolute; left: 16px; top: -100px; z-index: 10; background: var(--black); color: var(--white); font: 600 16px/20px var(--fb); padding: 14px 20px; }
.skip:focus-visible { top: 16px; }

/* ---------------------------------------------------------------- type */
.h1 { font: 700 clamp(56px, 20.513vw, 80px)/1.1 var(--fd); }
.h2 { font: 700 clamp(48px, 16.41vw, 64px)/1.125 var(--fd); }
.h3 { font: 700 48px/52px var(--fd); }
.bh { font: 700 32px/36px var(--fd); }
.lead { font: 400 18px/28px var(--fb); text-wrap: pretty; }
.lead--ink { color: var(--black); }

/* ---------------------------------------------------------------- parts */
/* the badge on its white ring: --p the badge, the ring max(4, round(p * .024)) */
.plate { --p: 168px; --r: max(4px, round(calc(var(--p) * .024), 1px)); display: grid; place-items: center; flex: none;
  width: calc(var(--p) + 2 * var(--r)); height: calc(var(--p) + 2 * var(--r)); border-radius: 50%; background: var(--white); }
.plate img { width: var(--p); height: var(--p); }
.plate--bar { --p: 56px; }
.plate--nf { --p: 168px; }

/* the one button: black board, white Libre Franklin 600, 56 px tall (the motion layer steps and presses it) */
.btn { display: flex; align-items: center; justify-content: center; gap: 12px; height: 56px; padding: 0 24px;
  background: var(--black); color: var(--white); font: 600 16px/20px var(--fb); text-align: center; }
/* the button with a label at the left and a price in Antonio at the right */
.pay { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 56px; padding: 0 20px;
  background: var(--black); color: var(--white); }
.pay__l { display: flex; align-items: center; gap: 12px; font: 600 16px/20px var(--fb); }
.pay__p { font: 700 24px/28px var(--fd); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* actions: glyph plus 500, never underlined; 48 px tall at 18/24, 44 px at 16/24 in a top bar */
.act { display: flex; align-items: center; gap: 12px; min-height: 48px; font: 500 18px/24px var(--fb); width: fit-content; }
.hact { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 2px; font: 500 16px/24px var(--fb); color: var(--white); }

/* 44 px squares: the add control (inverse of its ground), a stepper step, a choice */
.sq { width: 44px; height: 44px; display: grid; place-items: center; flex: none; }
.sq--w { background: var(--white); color: var(--black); }
.sq--b { background: var(--black); color: var(--white); }
.sq--b:disabled { background: var(--white); color: var(--black); box-shadow: inset 0 0 0 2px var(--black); cursor: default; }
.add__n { font: 700 22px/26px var(--fd); font-variant-numeric: tabular-nums; }
.add:not(.has) .add__n, .add.has .add__plus { display: none; }

/* the menu board: red header, black board, Antonio 400 rows with the price, the add square */
.board { background: var(--black); color: var(--white); }
.board__h { display: block; background: var(--red); color: var(--white); padding: 12px; font: 700 32px/36px var(--fd); }
.board__rows { padding: 4px 12px 8px; }
.brow { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.brow + .brow { border-top: 1px solid var(--white); }
.brow__t { flex: 1; min-width: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 400 22px/26px var(--fd); }
.brow__p { white-space: nowrap; font-variant-numeric: tabular-nums; }
/* the white menu sheet: Antonio 700 names, contents in Libre Franklin, black squares */
.msheet { background: var(--white); color: var(--black); border-bottom: 1px solid var(--black); }
.msheet__rows { padding: 0 12px; }
.srow { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-top: 1px solid var(--black); }
.srow__t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.srow__n, .srow__p { font: 700 22px/26px var(--fd); }
.srow__n { text-wrap: balance; }
.srow__p { white-space: nowrap; font-variant-numeric: tabular-nums; }
.srow__d { font: 400 16px/24px var(--fb); text-wrap: pretty; }

/* ---------------------------------------------------------------- S1 hero (phone: 4L6-0) */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "plate acts" "body body" "media media"; }
.hero__plate { grid-area: plate; padding: 12px 0 0 16px; }
/* 168 at 390 and up; on a narrower phone the badge gives way so the two header actions keep their row. On the
   phone the badge itself stands on the 20 px margin and its white ring reaches 4 px past it (the board's 16 px
   inset): the ring is drawn as an outline round the badge's own box, the margin keeps the footprint */
.hero__plate .plate { --p: clamp(112px, calc(100vw - 210px), 168px); width: var(--p); height: var(--p); margin: var(--r);
  box-shadow: 0 0 0 var(--r) var(--white); }
.hero__acts { grid-area: acts; display: flex; gap: 16px; align-self: start; padding: 16px 20px 0 0; }
.hero__body { grid-area: body; display: flex; flex-direction: column; gap: 20px; padding: 20px var(--g) 24px; }
.hero__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px;
  border-top: 2px solid var(--white); font: 400 22px/26px var(--fd); }
.hero__row span:last-child { white-space: nowrap; }
.hero__media { grid-area: media; overflow: hidden; }
.hero__media img, .visit__media img, .ch img { width: 100%; aspect-ratio: 390 / 488; object-fit: cover; }

/* ---------------------------------------------------------------- S2 visit (4LY-0) */
.visit { display: flex; flex-direction: column; gap: 24px; padding: 48px 0 32px; }
.visit__text { display: flex; flex-direction: column; gap: 16px; padding: 0 var(--g); }
.visit__acts { padding: 0 var(--g); }

/* ---------------------------------------------------------------- S3 menu (4MK-0) */
.menu { display: flex; flex-direction: column; gap: 20px; padding: 48px var(--g); background: var(--white); color: var(--black); }
.boards { display: flex; flex-direction: column; gap: 20px; }
.boards__col { display: contents; }
.boards .board:nth-of-type(1) { order: 1; }
.boards .msheet { order: 2; }
.boards__col:first-child .board:nth-of-type(2) { order: 3; }
.boards__col:last-child .board { order: 4; }

/* ---------------------------------------------------------------- S4 chapters (4QR-0) */
.chapters { padding-top: 48px; }
.chapters > .h2 { padding: 0 var(--g) 32px; }
.ch h3 { padding: 20px var(--g) 0; }
.ch p { padding: 8px var(--g) 40px; text-wrap: pretty; }

/* ---------------------------------------------------------------- S5 footer (4RC-0) */
.foot { display: flex; flex-direction: column; gap: 24px; padding: 48px var(--g) 32px; background: var(--black); color: var(--white); }
.foot__row { display: flex; flex-direction: column; gap: 24px; }
.foot__badge { width: 144px; height: 144px; margin-left: -4px; }
.foot__line { border-top: 1px solid var(--white); padding-top: 16px; font: 400 16px/24px var(--fb); }

/* ---------------------------------------------------------------- 1440 (54F-0), from 960 px */
@media (min-width: 960px) {
  :root { --g: max(clamp(32px, 4.444vw, 64px), (100vw - 1312px) / 2); }
  .h1 { font-size: clamp(72px, 7.222vw, 104px); line-height: 1.115; white-space: nowrap; }
  .h2 { font-size: 72px; line-height: 80px; }
  br.ph { display: none; }
  .lead { font-size: 20px; line-height: 30px; }
  .brow__t, .srow__n, .srow__p { font-size: 24px; line-height: 28px; }

  /* the hero fills the first screen alone: at 1440 x 900 it is the board's 900 (photo 640 x 800); on a screen
     with more height than the column's 4:5 photo needs, the photo grows down to the fold and crops at its sides */
  .hero { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; grid-template-areas: "plate media" "body media";
    column-gap: 32px; padding: 0 var(--g); min-height: 100svh; }
  .hero__plate { align-self: start; padding: 32px 0 0; }
  .hero__plate .plate { --p: clamp(176px, 16.667vw, 240px); width: calc(var(--p) + 2 * var(--r)); height: calc(var(--p) + 2 * var(--r));
    margin: 0; box-shadow: none; }
  .hero__acts { position: absolute; top: 32px; right: var(--g); gap: 24px; padding: 0; }
  .hero__body { align-self: end; gap: 28px; padding: 0 0 64px; }
  .hero__row { padding-top: 16px; font-size: 24px; line-height: 28px; }
  .hero__btn { align-self: flex-start; padding: 0 48px; }
  .hero__media { grid-area: auto; grid-column: 2; grid-row: 1 / 3; margin-top: 100px; }
  .hero__media picture { height: 100%; }
  .hero__media img { aspect-ratio: 4 / 5; height: 100%; }

  .visit { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto auto 1fr; column-gap: 32px; gap: 0 32px;
    padding: 96px var(--g); }
  .visit__text { grid-column: 1; grid-row: 2; gap: 24px; padding: 0; }
  .visit__text .lead { max-width: 560px; }
  .visit__acts { grid-column: 1; grid-row: 3; display: flex; flex-direction: column; gap: 4px; padding: 32px 0 0; }
  .visit__media { grid-column: 2; grid-row: 1 / 5; justify-self: end; width: 90%; }
  .visit__media img { aspect-ratio: 4 / 5; }

  .menu { gap: 40px; padding: 96px var(--g); }
  .boards { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
  .boards__col { display: flex; flex-direction: column; gap: 32px; }

  .chapters { display: flex; flex-direction: column; gap: 48px; padding: 96px var(--g); }
  .chapters > .h2 { padding: 0; }
  .ch-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: start; }
  .ch img { aspect-ratio: 4 / 5; }
  .ch h3 { padding: 24px 0 0; }
  .ch p { padding: 8px 0 0; font-size: 18px; line-height: 30px; }

  .foot { gap: 32px; padding: 64px var(--g) 40px; }
  .foot__row { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .foot__badge { width: 160px; height: 160px; }
}

/* ---------------------------------------------------------------- order page (5J6-0) */
.obar { display: flex; justify-content: space-between; align-items: center; padding: 8px 20px 8px 16px; }
.obar__home { display: block; border-radius: 50%; }
.order { display: flex; flex-direction: column; gap: 16px; padding: 32px var(--g) 48px; }
.order > .h2 { white-space: nowrap; }
.order__lead { font: 400 16px/26px var(--fb); }
/* without JavaScript the cart cannot open: the add squares go and the house takes the order by phone or WhatsApp */
.order__nojs { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 2px solid var(--black); }
.order__nojs p { font: 400 16px/26px var(--fb); text-wrap: pretty; }
.order .board, .order .msheet { scroll-margin-top: 16px; }
/* the cart bar at the foot: white, one black pay button with the tray, the count and the total */
.cbar { position: sticky; bottom: 0; z-index: 2; background: var(--white); border-top: 1px solid var(--black);
  padding: 12px var(--g) calc(20px + env(safe-area-inset-bottom)); }
.cbar[hidden] { display: none; }
@media (min-width: 720px) {
  .order { width: 640px; margin: 0 auto; padding-left: 0; padding-right: 0; }
  .cbar { padding-left: max(var(--g), (100vw - 640px) / 2); padding-right: max(var(--g), (100vw - 640px) / 2); }
}

/* ---------------------------------------------------------------- dialogs: item (5M4-0) and cart (5NT-0, 5QF-0) */
.dlg { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; inset: 0;
  background: var(--white); color: var(--black); overflow-y: auto; overscroll-behavior: contain; }
.dlg::backdrop { background: rgb(23 18 15 / .55); }
.dlg:focus-visible { box-shadow: inset 0 0 0 2px #FFFFFF, inset 0 0 0 4px #17120F; }
html:has(.dlg[open]) { overflow: hidden; }
@media (min-width: 720px) {
  .dlg { width: 480px; height: auto; max-height: calc(100dvh - 48px); margin: auto; }
}
.dbar { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; }
.dbar--plate { padding: 8px 20px 8px 16px; }

/* item: their photograph square at the top with the close square, then the name, contents, price, sides, count */
.itm { display: flex; flex-direction: column; min-height: 100%; }
.itm__top { position: relative; display: flex; justify-content: flex-end; padding: 16px; }
.itm__top.has-ph { padding: 0; }
.itm__top.has-ph picture { flex: 1; aspect-ratio: 1; background: var(--black); }
.itm__top.has-ph img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.itm__top.has-ph .itm__x { position: absolute; top: 16px; right: 16px; }
.itm__top:not(.has-ph) .itm__x { background: var(--black); color: var(--white); }
.itm__body { flex: 1; display: flex; flex-direction: column; gap: 20px; padding: 24px 20px 32px; }
.itm__top:not(.has-ph) + .itm__body { padding-top: 0; }
.itm__head { display: flex; flex-direction: column; gap: 8px; }
.bh--wrap { text-wrap: balance; }
.itm__d { font: 400 16px/24px var(--fb); text-wrap: pretty; }
.itm__d:empty { display: none; }
.side { width: 44px; height: 44px; display: grid; place-items: center; flex: none; background: var(--white); color: var(--black); }
.side .i-check, .side[aria-pressed="true"] .i-plus { display: none; }
.side[aria-pressed="true"] .i-check { display: block; }
.qty { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 2px solid var(--black); }
.step { display: flex; align-items: center; }
.step__n { width: 48px; text-align: center; font: 700 24px/28px var(--fd); font-variant-numeric: tabular-nums; }
.dfoot { position: sticky; bottom: 0; background: var(--white); border-top: 1px solid var(--black);
  padding: 12px 20px calc(20px + env(safe-area-inset-bottom)); }

/* cart */
.cart { display: flex; flex-direction: column; gap: 28px; padding: 16px 20px 32px; }
.line { display: flex; flex-direction: column; gap: 8px; padding: 16px 0; }
.line + .line { border-top: 1px solid var(--black); }
.line__t { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 700 22px/26px var(--fd); }
.line__t span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.grp { display: flex; flex-direction: column; gap: 4px; }
.grp legend { float: left; width: 100%; }
.grp--fields { gap: 16px; }
.grp--pay { gap: 8px; }
/* the delivery choice: a native radio group (arrow keys, one chosen) drawn as the board's 24 px squares */
.choice { display: flex; align-items: center; gap: 12px; min-height: 48px; font: 400 18px/28px var(--fb); cursor: pointer; }
.choice input { appearance: none; -webkit-appearance: none; margin: 0; flex: none; width: 24px; height: 24px; border: 2px solid var(--black);
  background: var(--white); border-radius: 0; display: grid; place-items: center; cursor: pointer; }
.choice input:checked { background: var(--black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFFFFF' fill-rule='evenodd' d='M2 13L5 10L9 14L19 4L22 7L9 20Z'/%3E%3C/svg%3E") center / 20px 20px no-repeat; }
.choice input:focus-visible { box-shadow: var(--ring); }
.fld { display: flex; flex-direction: column; gap: 8px; }
.fld[hidden] { display: none; }
.fld__l { font: 400 16px/24px var(--fb); }
.inp { display: block; width: 100%; height: 56px; padding: 0 14px; border: 2px solid var(--black); border-radius: 0; background: var(--white);
  color: var(--black); font: 400 18px/28px var(--fb); -webkit-appearance: none; appearance: none; }
.inp--area { height: 96px; padding: 12px 14px; resize: none; }
.inp:focus { outline: none; box-shadow: var(--ring); }
.fld__e { display: flex; align-items: flex-start; gap: 8px; color: var(--black); font: 400 16px/24px var(--fb); }
.inp[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--black); }
.fld__e .i { margin-top: 2px; }
.fld__e[hidden] { display: none; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 2px solid var(--black); }
#total { font-variant-numeric: tabular-nums; }
.send { display: flex; flex-direction: column; gap: 12px; }
.send__n { font: 400 16px/24px var(--fb); }

/* the hand-off on red: the message as WhatsApp will open it */
.view[hidden] { display: none; }
.view--hand { min-height: 100%; }
.hand { display: flex; flex-direction: column; gap: 24px; padding: 32px 20px 40px; }
.hand .h2:focus { outline: none; box-shadow: none; }
.msg { background: var(--white); color: var(--black); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.msg__b { display: flex; flex-direction: column; gap: 2px; }
.msg p { font: 400 16px/24px var(--fb); overflow-wrap: anywhere; }
.msg strong { font-weight: 600; }

/* ---------------------------------------------------------------- 404 */
.nf { min-height: 100svh; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 32px var(--g) 48px; }
.nf .lead { max-width: 560px; }

/* ---------------------------------------------------------------- motion (DESIGN.md section 8; transform and opacity only) */
/* press: every control that is not a .btn (the motion layer presses those) sinks a little while held */
:is(.sq, .side, .pay, .act, .hact) { transition: transform 160ms cubic-bezier(.2, .8, .2, 1), opacity 150ms ease-out; }
:is(.sq, .side, .pay):active { transform: scale(.97); }
:is(.act, .hact):active { opacity: .72; }
@media (hover: hover) and (pointer: fine) {
  :is(.act, .hact):hover { opacity: .8; }
}
/* the sheets rise from the bottom edge and leave the same way; on a wide screen the panel rises a little */
@media (prefers-reduced-motion: no-preference) {
  .dlg { transition: transform 200ms var(--sheet-ease), opacity 200ms var(--sheet-ease), overlay 200ms allow-discrete, display 200ms allow-discrete; transform: translateY(100%); }
  .dlg[open] { transform: none; transition-duration: 280ms; }
  @starting-style { .dlg[open] { transform: translateY(100%); } }
  .dlg::backdrop { opacity: 0; transition: opacity 200ms ease-out, overlay 200ms allow-discrete, display 200ms allow-discrete; }
  .dlg[open]::backdrop { opacity: 1; transition-duration: 280ms; }
  @starting-style { .dlg[open]::backdrop { opacity: 0; } }
  @media (min-width: 720px) {
    .dlg { transform: translateY(24px); opacity: 0; }
    .dlg[open] { transform: none; opacity: 1; }
    @starting-style { .dlg[open] { transform: translateY(24px); opacity: 0; } }
  }
  /* the cart bar comes up from the foot when the first item goes in, and goes back down the same way when the
     cart empties */
  .cbar { transition: transform 280ms var(--sheet-ease), display 280ms allow-discrete; }
  .cbar[hidden] { display: none; transform: translateY(100%); transition-duration: 200ms; }
  @starting-style { .cbar:not([hidden]) { transform: translateY(100%); } }
}
@media (prefers-reduced-motion: reduce) {
  .dlg { transition: opacity 150ms ease-out, overlay 150ms allow-discrete, display 150ms allow-discrete; opacity: 0; }
  .dlg[open] { opacity: 1; }
  @starting-style { .dlg[open] { opacity: 0; } }
  :is(.sq, .side, .pay):active { transform: none; opacity: .8; }
  .cbar { transition: opacity 150ms ease-out, display 150ms allow-discrete; }
  .cbar[hidden] { display: none; opacity: 0; }
  @starting-style { .cbar:not([hidden]) { opacity: 0; } }
}

/* ---------------------------------------------------------------- footer links (all pages) */
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 24px; font: 500 16px/24px var(--fb); }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; }
.ul { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- QR menu (menu.hastantuni.katsayi.com) */
.qtable { font: 700 24px/28px var(--fd); padding: 6px 10px; border: 2px solid var(--white); white-space: nowrap; }
.qtable[hidden] { display: none; }
.qmenu { display: flex; flex-direction: column; gap: 16px; padding: 32px var(--g) 48px; }
.qhead { display: flex; flex-direction: column; gap: 8px; }
.qpics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qpics img { width: 100%; aspect-ratio: 1; object-fit: cover; }
/* the categories, a rail that stays under the finger while the sheets scroll */
.qrail { position: sticky; top: 0; z-index: 2; margin: 0 calc(-1 * var(--g)); background: var(--white); border-bottom: 1px solid var(--black); }
.qrail ul { display: flex; gap: 8px; overflow-x: auto; padding: 8px var(--g); scrollbar-width: none; }
.qrail ul::-webkit-scrollbar { display: none; }
.qrail a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; background: var(--black); color: var(--white);
  font: 700 18px/22px var(--fd); white-space: nowrap; }
.qsec { scroll-margin-top: 72px; }
.qnote { font: 400 16px/24px var(--fb); }
.qvisit { padding-bottom: 48px; }
.qvisit__go { padding: 8px var(--g) 0; }
@media (min-width: 720px) {
  .qmenu { width: 640px; margin: 0 auto; padding-left: 0; padding-right: 0; }
  .qrail { margin: 0; }
  .qrail ul { padding: 8px 0; }
}
@media (min-width: 960px) {
  .qvisit { display: flex; padding: 96px var(--g); }
  .qvisit .visit__text, .qvisit .visit__acts, .qvisit__go { padding-left: 0; padding-right: 0; }
  .qvisit__go .btn { width: fit-content; padding: 0 48px; }
}

/* ---------------------------------------------------------------- KVKK and feedback pages */
.doc { display: flex; flex-direction: column; gap: 24px; padding: 32px var(--g) 64px; }
.doc section { display: flex; flex-direction: column; gap: 8px; }
.doc section p { font: 400 16px/26px var(--fb); text-wrap: pretty; }
.doc__note { padding: 12px 16px; border: 2px solid var(--black); font: 400 16px/24px var(--fb); }
.doc .fb { padding: 0; }
.fb[hidden], .fb__done[hidden] { display: none; }
.fb__done { display: flex; flex-direction: column; gap: 20px; }
.fb__done .bh:focus { outline: none; box-shadow: none; }
.fb__done .msg { border: 2px solid var(--black); }
@media (min-width: 720px) {
  .doc { width: 640px; margin: 0 auto; padding-left: 0; padding-right: 0; }
}
