/* ==========================================================
   VUORO - the take-a-number barber
   World: red ticket dispenser, black LED housing, thermal paper.
   ========================================================== */
:root {
  --red: #D7261E;
  --red-deep: #A9170F;
  --red-tint: #FFF5F3;          /* body copy on red, tinted from the field (AA on --red) */
  --black: #0B0B0B;
  --housing: #141414;
  --glass: #060606;
  --led: #FF3B2F;
  --led-ghost: rgba(255, 59, 47, 0.1);
  --paper: #F4F1EA;
  --paper-2: #E9E6DD;
  --ink: #161514;
  --ink-2: #57534C;
  --steel: #9A9A96;
  --steel-2: #2A2A28;
  --enamel: #ECEAE4;
  --ring: #0B0B0B;

  --sans: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, "Cascadia Mono", monospace;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --bar-h: 64px;
}

/* ---------- language: both languages live in the DOM ---------- */
html[data-lang="fi"] body [lang="en"],
html[data-lang="en"] body [lang="fi"] { display: none !important; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); }
body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  caret-color: var(--red);
  scrollbar-color: var(--red) var(--black);
}
::selection { background: var(--red); color: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; line-height: 1; letter-spacing: -0.03em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; }
svg { width: 1em; height: 1em; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 30;
  background: #fff; color: var(--black); padding: 10px 16px; border-radius: 999px; font-weight: 700;
}
.skip:focus { top: 12px; }

.bar, .display, .face, .chairs, .where, .foot { --ring: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 22px; min-height: 48px;
  border-radius: 999px; border: 0;
  font-weight: 700; font-size: 1rem; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  transition: transform 0.5s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn__ic {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  transition: transform 0.5s var(--ease);
}
.btn__ic svg { width: 18px; height: 18px; }
.btn:hover .btn__ic { transform: translate(2px, -2px) scale(1.06); }
.btn--red { background: var(--red); color: #fff; }
.btn--red .btn__ic { background: rgba(0, 0, 0, 0.22); }
.btn--red:hover { background: #E8302A; }
.btn--white { background: #fff; color: var(--black); }
.btn--white .btn__ic { background: var(--red); color: #fff; }
.btn--white:hover { background: var(--paper); }
.btn--ghost {
  background: transparent; color: #fff; padding: 8px 22px;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
}
.btn--ghost:hover { background: rgba(0, 0, 0, 0.14); box-shadow: inset 0 0 0 1.5px #fff; }

/* ---------- seven-segment digits (rendered by script.js) ---------- */
.seg { display: inline-flex; gap: 0.06em; line-height: 1; color: var(--led); font-family: var(--mono); font-weight: 600; }
.seg svg { height: var(--seg-h, 1em); width: auto; overflow: visible; }
.seg .on { fill: var(--led); }
.seg .off { fill: var(--led-ghost); }
.seg--xl { --seg-h: clamp(72px, 10vw, 148px); }
.seg--lg { --seg-h: clamp(44px, 5.4vw, 80px); }
.seg--md { --seg-h: 46px; }
.seg--sm { --seg-h: 26px; }
.seg.is-ticking svg .on { animation: flick 0.42s steps(2, end) 1; }
@keyframes flick { 0% { opacity: 0.25; } 100% { opacity: 1; } }

/* ---------- header bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 20;
  height: var(--bar-h);
  display: flex; align-items: center; gap: 28px;
  padding: 0 var(--gutter);
  background: var(--black); color: #fff;
  border-bottom: 1px solid #1F1F1E;
}
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__word { font-weight: 900; font-size: 1.5rem; letter-spacing: -0.02em; }
.brand__sub { font-size: 0.8125rem; color: var(--steel); }
.nav { display: flex; gap: 26px; }
.nav a { color: #D9D8D3; text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.3s var(--ease); }
.nav a:hover { color: #fff; text-decoration: underline; }
.bar__end { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px #333230; }
.lang button {
  border: 0; background: transparent; color: var(--steel);
  font-family: var(--mono); font-size: 0.8125rem; font-weight: 600;
  min-width: 40px; height: 32px; border-radius: 999px; cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.lang button:hover { color: #fff; }
.lang button[aria-pressed="true"] { background: var(--red); color: #fff; }
.bar__book { min-height: 44px; padding-left: 18px; font-size: 0.95rem; }
.bar__book .btn__ic { width: 30px; height: 30px; }
.menu-btn { display: none; }

/* ---------- display: NOW SERVING ---------- */
.display { background: var(--black); padding: clamp(14px, 2.4vw, 28px) var(--gutter) 0; }
.display__inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(16px, 4vw, 64px);
  padding: clamp(18px, 2.6vw, 34px) clamp(18px, 3vw, 44px);
  background: var(--glass);
  border-radius: 10px 10px 0 0;
  box-shadow: inset 0 0 0 1px #1E1E1C, inset 0 18px 40px rgba(0, 0, 0, 0.8);
}
.display__label {
  font-family: var(--mono); font-weight: 600; text-transform: uppercase;
  font-size: clamp(0.75rem, 1.2vw, 1rem); letter-spacing: 0.14em; line-height: 1.35;
  color: var(--led);
}
.display__num { justify-self: center; }
.display__chair { display: flex; align-items: center; gap: 16px; color: var(--led); }
.display__chairlabel { font-family: var(--mono); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: clamp(0.75rem, 1.2vw, 1rem); }
.display__arrow {
  width: clamp(22px, 2.6vw, 34px); aspect-ratio: 1;
  background: var(--led);
  clip-path: polygon(0 30%, 55% 30%, 55% 0, 100% 50%, 55% 100%, 55% 70%, 0 70%);
}

/* ---------- face: the red dispenser ---------- */
.face {
  position: relative;
  background: var(--red); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(28px, 5vw, 80px);
  padding: clamp(36px, 4.4vw, 64px) var(--gutter) clamp(56px, 7vw, 104px);
  max-width: none;
  overflow: hidden;
}
.face > * { max-width: var(--max); }
.face__copy { align-self: center; justify-self: end; width: min(100%, 760px); }
.face__title { font-weight: 800; font-size: clamp(2.75rem, 6vw, 5.25rem); line-height: 0.92; letter-spacing: -0.04em; max-width: 12ch; }
.face__lead { margin-top: 22px; font-size: clamp(1.0625rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--red-tint); max-width: 44ch; }
.face__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.status {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px; padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  font-weight: 600; font-size: 0.95rem;
}
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; position: relative; }
.status.is-open .status__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #fff;
  animation: ping 2.4s var(--ease-out) infinite;
}
.status.is-closed .status__dot { background: transparent; box-shadow: inset 0 0 0 2px #fff; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(2.8); opacity: 0; } }

.machine { position: relative; align-self: start; justify-self: start; width: min(100%, 340px); padding-top: 8px; }
.machine__plate {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 18px; border-radius: 12px 12px 4px 4px;
  background: linear-gradient(180deg, #C6C5C0, #A9A8A3);
  color: #2B2A27; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 22px -12px rgba(60, 0, 0, 0.6);
}
.machine__brand { font-weight: 900; letter-spacing: -0.02em; }
.machine__hint { font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; }
.machine__slot {
  height: 16px; margin: 14px 14px 0; border-radius: 8px;
  background: #120403;
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* ---------- the ticket ---------- */
.ticket {
  --tear: 8px;
  position: relative;
  margin: -8px 26px 0;
  padding: 22px 20px calc(18px + var(--tear));
  background: var(--paper); color: var(--ink);
  font-family: var(--mono); font-size: 0.8125rem; line-height: 1.5;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 22px 36px -24px rgba(40, 0, 0, 0.75);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--tear)) no-repeat,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px var(--tear) repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--tear)) no-repeat,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px var(--tear) repeat-x;
}
.ticket--hero { transform: rotate(-1.5deg); transform-origin: top center; }
.ticket p + p { margin-top: 4px; }
.ticket__head { font-weight: 600; letter-spacing: 0.08em; }
.ticket__muted { color: var(--ink-2); }
.ticket__rule { border-top: 1px dashed #B9B4A8; margin: 12px 0 !important; }
.ticket__big { font-family: var(--sans); font-weight: 900; font-size: 4.25rem; line-height: 1; letter-spacing: -0.03em; margin: 6px 0 8px !important; }
.ticket__row { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 0.9375rem; }
.ticket__small { font-size: 0.75rem; color: var(--ink-2); }
.ticket__link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-family: var(--sans); font-weight: 700; font-size: 0.9375rem; color: var(--red-deep);
}
.ticket__link svg { width: 16px; height: 16px; }

/* ---------- services ---------- */
.services { background: var(--enamel); padding: clamp(72px, 9vw, 136px) var(--gutter); }
.services__head, .services__body, .services__note { max-width: var(--max); margin-inline: auto; }
.services__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.services h2 { font-size: clamp(2.5rem, 5.4vw, 4.75rem); font-weight: 800; }
.services__head p { color: var(--ink-2); max-width: 46ch; justify-self: end; }
.services__body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.8fr); gap: clamp(28px, 4vw, 64px); margin-top: clamp(40px, 5vw, 64px); align-items: start; }

.keys { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.key {
  width: 100%; height: 100%;
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 18px; row-gap: 2px; align-items: center;
  padding: 16px 20px 16px 16px; text-align: left;
  border: 0; border-radius: 16px; cursor: pointer;
  background: #fff; color: var(--ink);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 14px 28px -20px rgba(30, 20, 10, 0.35);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.key:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 22px 34px -20px rgba(30, 20, 10, 0.45); }
.key:active { transform: translateY(1px) scale(0.99); }
.key[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--red), 0 14px 28px -20px rgba(30, 20, 10, 0.35); }
.key__code {
  grid-row: 1 / span 2; width: 64px; height: 64px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--glass); --seg-h: 34px; color: var(--led);
  font-family: var(--mono); font-weight: 600; font-size: 1.75rem;
}
.key__code .on { fill: rgba(255, 59, 47, 0.55); transition: fill 0.3s var(--ease); }
.key:hover .key__code .on, .key[aria-pressed="true"] .key__code .on { fill: var(--led); }
.key__name { font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.015em; align-self: end; }
.key__meta { grid-column: 2; color: var(--ink-2); font-size: 0.875rem; align-self: start; }
.key__price { grid-row: 1 / span 2; grid-column: 3; font-weight: 800; font-size: 1.75rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

.printer { position: sticky; top: calc(var(--bar-h) + 24px); }
.printer__body {
  background: var(--red); border-radius: 18px; padding: 18px 18px 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 24px 40px -26px rgba(80, 0, 0, 0.7);
}
.printer__display {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-radius: 10px; background: var(--glass);
  box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.8);
}
.printer__label { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--led); }
.printer__slot { margin: 18px 6px 0; }
.ticket--print { margin: -10px 24px 0; }
.ticket--print.is-printing { animation: feed 1.3s steps(14, end) both; }
@keyframes feed { from { clip-path: inset(0 0 100% 0); transform: translateY(-24px); } to { clip-path: inset(0 0 0 0); transform: translateY(0); } }
.printer__idle { margin: 18px 24px 0; color: var(--ink-2); font-size: 0.9375rem; }
.services__note { margin-top: 32px; color: var(--ink-2); font-size: 0.9375rem; }

/* ---------- chairs ---------- */
.chairs { background: var(--black); color: #fff; padding: clamp(72px, 9vw, 136px) var(--gutter); }
.chairs h2 { max-width: var(--max); margin: 0 auto; font-size: clamp(2.5rem, 5.4vw, 4.75rem); font-weight: 800; max-width: min(var(--max), 14ch); margin-left: max(0px, calc((100% - var(--max)) / 2)); }
.chairs__list {
  list-style: none; padding: 0; max-width: var(--max); margin: clamp(40px, 5vw, 64px) auto 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px);
}
.chair:nth-child(2) { margin-top: clamp(0px, 5vw, 72px); }
.chair:nth-child(3) { margin-top: clamp(0px, 2.5vw, 36px); }
.chair__counter {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; margin-bottom: 10px; border-radius: 10px;
  background: var(--glass); box-shadow: inset 0 0 0 1px #222120;
}
.chair__no { font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }
.chair img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.chair h3 { margin-top: 18px; font-size: 1.75rem; font-weight: 800; }
.chair p { margin-top: 6px; color: #B8B6B0; max-width: 34ch; }

/* ---------- cuts ---------- */
.cuts { background: var(--paper); padding: clamp(72px, 9vw, 136px) 0; }
.cuts__head { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.cuts h2 { font-size: clamp(2.5rem, 5.4vw, 4.75rem); font-weight: 800; max-width: 14ch; }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--red-deep); }
.textlink svg { width: 18px; height: 18px; }
.cuts__strip {
  list-style: none; margin: clamp(36px, 4vw, 56px) 0 0; padding: 0 var(--gutter) 12px;
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain;
  scrollbar-color: var(--red) var(--paper-2);
}
.cut { flex: 0 0 auto; scroll-snap-align: start; }
.cut img { height: clamp(300px, 38vw, 480px); width: auto; aspect-ratio: auto; object-fit: cover; border-radius: 10px; }
.cut:nth-child(3) img, .cut:nth-child(5) img { width: clamp(380px, 48vw, 640px); }
.cut:nth-child(1) img { width: clamp(340px, 42vw, 560px); }
.cut p { margin-top: 10px; font-family: var(--mono); font-size: 0.875rem; color: var(--ink-2); }
.cut b {
  display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 6px;
  border-radius: 6px; background: var(--black); color: var(--led); font-weight: 600;
}

/* ---------- where ---------- */
.where {
  background: var(--red); color: #fff;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px);
  padding: clamp(72px, 9vw, 136px) var(--gutter);
}
.board {
  align-self: start; justify-self: end; width: min(100%, 560px);
  background: var(--glass); border-radius: 18px; padding: clamp(24px, 3vw, 40px);
  box-shadow: inset 0 0 0 1px #1E1E1C, 0 30px 50px -30px rgba(60, 0, 0, 0.8);
  color: var(--led); font-family: var(--mono);
}
.board__title { font-family: var(--mono); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.16em; text-transform: uppercase; }
.hours { width: 100%; border-collapse: collapse; margin-top: 22px; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 14px 0; font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 500; border-top: 1px solid #2A1210; }
.hours th { text-align: left; font-weight: 400; color: #E8352B; }
.hours td { text-align: right; font-weight: 400; color: #E8352B; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--led); font-weight: 700; }
.hours tr.is-today th::after { content: "  ●"; font-size: 0.6em; vertical-align: middle; }
.board__note { margin-top: 20px; font-size: 0.875rem; line-height: 1.5; color: #E8C9C5; font-family: var(--sans); }

.find { align-self: start; width: min(100%, 640px); }
.find__title { font-size: clamp(2.5rem, 5.4vw, 4.75rem); font-weight: 800; }
.find__addr { margin-top: 24px; font-style: normal; font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 600; line-height: 1.3; }
.find__facts { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; color: var(--red-tint); }
.find__facts li { display: flex; align-items: center; gap: 10px; }
.find__facts svg { width: 20px; height: 20px; flex: none; }
.find__facts a { color: #fff; font-weight: 600; }
.find__actions { margin-top: 26px; }
.find .btn--red { background: var(--black); }
.find .btn--red:hover { background: #222; }
.find__map { display: block; width: 100%; height: 280px; margin-top: 32px; border: 0; border-radius: 14px; filter: grayscale(0.4) contrast(1.05); }

/* ---------- faq ---------- */
.faq { background: var(--paper); padding: clamp(72px, 9vw, 120px) var(--gutter); }
.faq h2 { max-width: var(--max); margin: 0 auto; font-size: clamp(2.25rem, 4.4vw, 3.75rem); font-weight: 800; }
.faq__list { max-width: var(--max); margin: 40px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); }
.faq details { border-top: 1px solid #D8D3C7; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-weight: 700; font-size: 1.1875rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; color: var(--red); transition: transform 0.5s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 60ch; }

/* ---------- footer ---------- */
.foot { background: var(--black); color: #D9D8D3; padding: clamp(56px, 7vw, 96px) var(--gutter) 32px; }
.foot__word { max-width: var(--max); margin: 0 auto; font-weight: 900; font-size: clamp(5rem, 19vw, 17rem); line-height: 0.8; letter-spacing: -0.05em; color: var(--red); }
.foot__cols { max-width: var(--max); margin: 40px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; font-size: 0.95rem; }
.foot__cols a { color: #fff; }
.foot__demo { max-width: var(--max); margin: 48px auto 0; padding-top: 20px; border-top: 1px solid #222; font-size: 0.8125rem; color: var(--steel); }
.foot__demo a { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .nav a { font-size: 0.875rem; }
}
@media (max-width: 960px) {
  .menu-btn {
    display: grid; place-items: center; position: relative;
    width: 44px; height: 44px; border: 0; border-radius: 50%; background: #1C1C1B; cursor: pointer;
  }
  .menu-btn__l { position: absolute; left: 13px; width: 18px; height: 1.5px; background: #fff; transition: transform 0.5s var(--ease); }
  .menu-btn__l:first-child { transform: translateY(-4px); }
  .menu-btn__l:nth-child(2) { transform: translateY(4px); }
  .menu-btn[aria-expanded="true"] .menu-btn__l:first-child { transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__l:nth-child(2) { transform: rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--bar-h) 0 0; z-index: 19;
    flex-direction: column; gap: 6px; padding: 32px var(--gutter);
    background: rgba(11, 11, 11, 0.97);
    opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
  }
  .nav a { font-size: 2.25rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; padding: 6px 0; transform: translateY(24px); opacity: 0; transition: transform 0.7s var(--ease), opacity 0.7s var(--ease); }
  .nav.is-open { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease); }
  .nav.is-open a { transform: none; opacity: 1; }
  .nav.is-open a:nth-child(2) { transition-delay: 0.05s; }
  .nav.is-open a:nth-child(3) { transition-delay: 0.1s; }
  .nav.is-open a:nth-child(4) { transition-delay: 0.15s; }

  .face { grid-template-columns: 1fr; }
  .face__copy { justify-self: start; }
  .machine { justify-self: center; }
  .services__head { grid-template-columns: 1fr; }
  .services__head p { justify-self: start; }
  .services__body { grid-template-columns: 1fr; }
  .printer { position: relative; top: 0; max-width: 420px; }
  .chairs__list { grid-template-columns: 1fr; max-width: 520px; margin-left: 0; }
  .chair:nth-child(n) { margin-top: 0; }
  .chair + .chair { margin-top: 24px; }
  .where { grid-template-columns: 1fr; }
  .board { justify-self: start; }
  .faq__list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --bar-h: 60px; }
  .brand__sub { display: none; }
  .bar { gap: 12px; }
  .bar__book { display: none; }
  .display__inner { grid-template-columns: 1fr auto; row-gap: 6px; }
  .display__label { grid-column: 1 / -1; }
  .display__label br { display: none; }
  .display__num { justify-self: start; }
  .display__arrow { display: none; }
  .display__chair { gap: 10px; }
  .keys { grid-template-columns: 1fr; }
  .key { grid-template-columns: 52px minmax(0, 1fr) auto; column-gap: 14px; padding: 14px 16px 14px 12px; }
  .key__code { width: 52px; height: 52px; --seg-h: 28px; }
  .key__price { font-size: 1.5rem; }
  .foot__cols { grid-template-columns: 1fr; }
  .ticket { margin-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
