/* Barber Luke's demo site, second look (1 Dec 2026). Drawn from the shop's own badge: paper and ink, one oxblood accent,
   a poster face for headlines and prices, a quiet face for reading. Logical properties throughout so Hebrew mirrors.
   (c) 2026 Book A Tradesman FZC, trading as Page Tailors. All rights reserved. */
@font-face { font-family: "Anton"; src: url("fonts/anton-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Anton"; src: url("fonts/anton-latin-ext.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-latin.woff2") format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-latin-ext.woff2") format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-cyrillic.woff2") format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; src: url("fonts/oswald-latin.woff2") format("woff2"); font-weight: 200 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; src: url("fonts/oswald-cyrillic.woff2") format("woff2"); font-weight: 200 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Heebo"; src: url("fonts/heebo-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Heebo"; src: url("fonts/heebo-hebrew.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }

:root { --paper: #f4eee2; --paper2: #e9e0cf; --white: #fffdf8; --ink: #17130f; --ink2: #2b2620; --mute: #5d554a; --hair: #cbc0ab; --red: #8c1c24; --red-d: #6d131a; --soft: #b9b0a0;
  --sys: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif; --head: "Anton", "Arial Narrow", Impact, sans-serif; --body: "Source Sans 3", var(--sys); --hw: 400; --caps: uppercase; --tight: .94; }
html[lang="ru"] { --head: "Oswald", "Arial Narrow", sans-serif; --hw: 700; --tight: 1.04; }
html[lang="he"] { --head: "Heebo", Arial, sans-serif; --body: "Heebo", Arial, sans-serif; --hw: 900; --caps: none; --tight: 1.08; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 12px; }
body { margin: 0; background: var(--paper) url("img/paper.png"); color: var(--ink); font: 400 1.0625rem/1.55 var(--body); overflow-wrap: break-word; padding-bottom: 72px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3 { font-family: var(--head); font-weight: var(--hw); text-transform: var(--caps); line-height: var(--tight); margin: 0 0 .35em; letter-spacing: .005em; }
h1 { font-size: clamp(3rem, 14.5vw, 6.2rem); }
h2 { font-size: clamp(2.3rem, 9.5vw, 3.9rem); }
h3 { font-size: 1.5rem; line-height: 1.05; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-inline-start: 1.2em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
/* on the dark surfaces (price board, footer, the two bottom bars) the ring is the paper colour: about 16 to 1 against the ink */
.board :focus-visible, footer :focus-visible, .sticky :focus-visible, #bar :focus-visible { outline-color: var(--paper); }
.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: 18px; }
.skip { position: absolute; inset-inline-start: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 50; }
.skip:focus { inset-inline-start: 8px; top: 8px; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.note { color: var(--mute); font-size: .95rem; }
.plain { list-style: none; padding: 0; }

/* ---- buttons: one main button, the same words everywhere ---- */
.btn, .nav a.cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--red); color: var(--white); font: var(--hw) 1.35rem/1 var(--head); text-transform: var(--caps); letter-spacing: .03em; text-decoration: none; border: 2px solid var(--ink); border-radius: 0; padding: 15px 26px 14px; box-shadow: 4px 4px 0 var(--ink); cursor: pointer; transition: transform .08s, box-shadow .08s; }
.btn:hover, .nav a.cta:hover { background: var(--red-d); color: var(--white); }
.btn:active, .nav a.cta:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn.line { background: transparent; color: var(--ink); }
.btn.line:hover { background: var(--ink); color: var(--paper); }
.btn.sm { font-size: 1.05rem; padding: 9px 14px 8px; box-shadow: 3px 3px 0 var(--ink); }
.btn.ghost { background: var(--white); color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 16px; margin: 22px 0 4px; }
.more { font-weight: 600; }

/* ---- header: the badge first, big, nothing above it ---- */
.top-in { display: flex; flex-direction: column; align-items: center; padding-top: 14px; }
.brand { display: block; }
.brand img { width: 150px; mix-blend-mode: multiply; }
.home .brand img { width: clamp(168px, 47vw, 200px); }
.nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 2px; margin-top: 8px; border-block: 2px solid var(--ink); width: 100%; }
.nav a { font-weight: 700; text-transform: var(--caps); letter-spacing: .09em; font-size: .86rem; text-decoration: none; padding: 11px 9px 10px; }
html[lang="he"] .nav a { letter-spacing: 0; font-size: 1rem; }
.nav a[aria-current="page"] { box-shadow: inset 0 -4px 0 var(--red); }
.nav a.opt, .nav a.cta { display: none; }
details.lang { font-size: .9rem; color: var(--mute); text-align: center; width: 100%; }
details.lang summary { cursor: pointer; display: inline-block; padding: 7px 10px 5px; list-style: none; text-decoration: underline; text-underline-offset: 3px; }
details.lang summary::-webkit-details-marker { display: none; }
.langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 4px; padding: 0 0 8px; }
.langs a { text-decoration: none; padding: 5px 9px; color: var(--ink); }
.langs a:hover, .langs a[aria-current="true"] { background: var(--ink); color: var(--paper); }
.pole { height: 12px; border-block: 2px solid var(--ink); background: repeating-linear-gradient(135deg, var(--red) 0 11px, var(--paper) 11px 22px, var(--ink) 22px 33px, var(--paper) 33px 44px); }

/* ---- first screen ---- */
.hero { padding: 22px 0 34px; }
.hero-grid { display: grid; gap: 30px; }
.home-hero h1 { font-size: clamp(4.5rem, 22.4vw, 7rem); line-height: .9; margin-bottom: .14em; }
.home-hero h1 span { display: block; }
html:not([lang^="en"]) .home-hero h1 { font-size: clamp(3.1rem, 14.5vw, 6.2rem); line-height: var(--tight); }
.sub { font-size: 1.2rem; line-height: 1.4; max-width: 34ch; margin: 0; }
.hero .cta-row { margin-top: 20px; }
.crumbs { font-size: .9rem; color: var(--mute); padding-top: 12px; }
.crumbs a { color: var(--mute); }
.tag { font-family: var(--head); font-weight: var(--hw); text-transform: var(--caps); letter-spacing: .14em; font-size: .95rem; margin: 0; }

/* ---- photographs: the shop's own, small, black and white, set tight ---- */
figure { margin: 0; }
.shot, figure.ph { border: 2px solid var(--ink); background: var(--ink); }
.shot img, figure.ph img { width: 100%; height: 100%; object-fit: cover; }
figure.ph { background: var(--white); }
figure.ph img { height: auto; }
figure.ph figcaption { font-size: .78rem; color: var(--mute); padding: 5px 8px 6px; border-top: 2px solid var(--ink); }
.wall { display: grid; gap: 6px; align-items: start; }
.wall-3 { grid-template-columns: repeat(3, 1fr); }
.wall-2 { grid-template-columns: repeat(2, 1fr); max-width: 520px; }
.wall-1 { max-width: 300px; }
.wall-cap { grid-column: 1 / -1; font-size: .85rem; color: var(--mute); margin: 4px 0 0; }
.sign { max-width: 560px; }
.stamp { width: 132px; mix-blend-mode: multiply; transform: rotate(-9deg); opacity: .9; }
.stamp-big { width: min(300px, 70%); transform: rotate(-7deg); margin: 8px 0 8px 8%; }

/* ---- sections ---- */
main { display: block; }
.sec { padding: 40px 0 44px; border-top: 2px solid var(--ink); }
.sec.first { border-top: 0; }
.split { display: grid; gap: 22px; }
.sec-head p { max-width: 36ch; margin: 0; }
.sec-head h2::before { content: ""; display: block; width: 58px; height: 8px; background: var(--red); margin-bottom: 14px; }
.sec-head.stack { margin-bottom: 20px; }
.end { margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.prose p { max-width: 58ch; }
.prose h2 { font-size: clamp(1.9rem, 7vw, 2.6rem); }

/* ---- the price board ---- */
.board { background: var(--ink); color: var(--paper); padding: 24px 20px 20px; outline: 1px solid var(--soft); outline-offset: -8px; }
.board a { color: var(--paper); }
.board a:hover { color: #fff; }
.board .group-h, .board h3 { font-size: 1.9rem; display: flex; align-items: center; gap: 12px; margin: 26px 0 4px; }
.board .group-h:first-child, .board h3:first-child { margin-top: 2px; }
.board .group-h::after, .board h3::after { content: ""; flex: 1; height: 2px; background: var(--red); }
.prices { list-style: none; padding: 0; margin: 0; }
.prices li { display: grid; grid-template-columns: minmax(0, auto) minmax(16px, 1fr) auto; grid-template-areas: "name dots price" "sub sub book"; column-gap: 8px; align-items: baseline; padding: 10px 0 9px; }
.p-main { grid-area: name; }
.p-name { font-weight: 600; font-size: 1.08rem; line-height: 1.25; }
.p-dots { grid-area: dots; align-self: end; border-bottom: 2px dotted var(--soft); margin-bottom: .42em; }
.p-price { grid-area: price; font: var(--hw) 1.55rem/1 var(--head); white-space: nowrap; letter-spacing: .02em; }
.p-sub { grid-area: sub; font-size: .9rem; color: var(--soft); line-height: 1.35; }
.p-sub .p-en { display: block; }
.p-sub .p-meta + .p-meta::before { content: " \00b7  "; }
.p-with { color: var(--paper); }
.p-book { grid-area: book; font-size: .82rem; font-weight: 700; text-transform: var(--caps); letter-spacing: .1em; align-self: end; }
.board-foot { margin: 18px 0 2px; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.board .btn { border-color: var(--paper); box-shadow: 4px 4px 0 var(--paper); }
.board .btn:active { box-shadow: 0 0 0 var(--paper); }
.board-note { color: var(--soft); font-size: .9rem; margin: 14px 0 0; }

/* ---- what we do: a plain index, no boxes ---- */
.index { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.index a { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 0 8px; border-bottom: 1px solid var(--ink); text-decoration: none; }
.index .i-name { font: var(--hw) clamp(1.7rem, 7.4vw, 2.3rem)/1 var(--head); text-transform: var(--caps); }
.index .i-from { white-space: nowrap; color: var(--mute); font-size: .98rem; }
.index a:hover .i-name { color: var(--red); }

/* ---- the barbers ---- */
.crew { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); }
.crew li { padding: 16px 12px 18px 0; border-bottom: 1px solid var(--ink); }
.crew li:nth-child(even) { padding-inline: 14px 0; border-inline-start: 1px solid var(--ink); }
.crew h3 { font-size: clamp(2.5rem, 11vw, 3.6rem); margin: 0 0 6px; }
.c-rate { margin: 0 0 10px; color: var(--mute); font-size: .95rem; line-height: 1.3; }
.c-rate b { font: var(--hw) 1.5rem/1 var(--head); color: var(--ink); margin-inline-end: 6px; }
.crew a { font-weight: 700; }

/* ---- reviews: big type, word for word ---- */
.score { font: var(--hw) 1.25rem/1.1 var(--head); text-transform: var(--caps); letter-spacing: .04em; margin: 0 0 22px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.score b { font-size: 4.4rem; line-height: .8; font-weight: inherit; color: var(--red); }
.quote { margin: 0 0 26px; }
.quote blockquote { margin: 0 0 8px; font-size: clamp(1.45rem, 5.6vw, 2.05rem); line-height: 1.22; font-weight: 600; letter-spacing: -.01em; }
.quote blockquote p { margin: 0; }
.quote blockquote p::before { content: "\201C"; }
.quote blockquote p::after { content: "\201D"; }
.quote.big blockquote { font-size: clamp(1.75rem, 7.4vw, 3rem); line-height: 1.12; }
.quote figcaption { font-size: .95rem; color: var(--mute); text-transform: var(--caps); letter-spacing: .08em; font-weight: 700; }
.quotes-rest { display: grid; gap: 0 40px; }
.all-reviews .quote { border-top: 1px solid var(--ink); padding-top: 18px; }

/* ---- Instagram strip ---- */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.insta-handle { font: var(--hw) clamp(2.3rem, 10.5vw, 3.9rem)/1 var(--head); text-decoration: none; display: inline-block; margin-bottom: 4px; }

/* ---- areas, hours, questions ---- */
.areas { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 2px 0; font-size: 1.15rem; font-weight: 600; line-height: 1.7; }
.areas li:not(:last-child)::after { content: "/"; color: var(--red); margin-inline: 10px; font-weight: 400; }
.rel { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.rel a { display: block; padding: 9px 0; border-bottom: 1px solid var(--hair); font-weight: 600; text-decoration: none; }
.rel a::after { content: " \2192"; color: var(--red); }
html[dir="rtl"] .rel a::after { content: " \2190"; }
.hours { border-collapse: collapse; width: 100%; max-width: 400px; }
.hours th, .hours td { text-align: start; padding: 6px 0; border-bottom: 1px dotted var(--mute); font-weight: 400; }
.hours td { text-align: end; white-space: nowrap; font-weight: 600; }
.addr { font-size: 1.2rem; line-height: 1.4; font-weight: 600; }
.tel-big { font: var(--hw) 1.9rem/1.15 var(--head); letter-spacing: .02em; text-decoration: none; display: inline-block; }
details.faq { border-bottom: 1px solid var(--ink); }
details.faq:first-of-type { border-top: 2px solid var(--ink); }
details.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; padding: 13px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font: var(--hw) 1.4rem/1 var(--head); color: var(--red); }
details.faq[open] summary::after { content: "\2212"; }
details.faq p { margin: 0 0 14px; max-width: 60ch; }

/* ---- footer: ink, with the badge as it is on the shop's own pages ---- */
footer { background: var(--ink); color: var(--paper); padding: 34px 0 22px; font-size: .98rem; }
footer h2 { font-size: 1.35rem; letter-spacing: .04em; margin-bottom: .6em; }
footer a { color: var(--paper); }
footer a:hover { color: #fff; }
.foot { display: grid; gap: 26px 30px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.foot-badge { width: 128px; mix-blend-mode: lighten; margin: -8px 0 6px -8px; }
footer .hours th, footer .hours td { border-color: #5a5146; }
footer .note { color: var(--soft); }
footer .plain li { margin-bottom: 3px; }
.foot-base { color: var(--soft); border-top: 1px solid #5a5146; margin-top: 26px; padding-top: 14px; font-size: .9rem; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }
.foot-base p { margin: 0; }

/* ---- Book now, fixed at the bottom on phones ---- */
.sticky { position: fixed; inset-inline: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 2fr 1fr; gap: 8px; background: var(--ink); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
.sticky a { display: flex; align-items: center; justify-content: center; min-height: 50px; font: var(--hw) 1.3rem/1 var(--head); text-transform: var(--caps); letter-spacing: .04em; text-decoration: none; color: var(--paper); border: 2px solid var(--paper); }
.sticky a:first-child { background: var(--red); border-color: var(--red); color: var(--white); }
.sticky a:active { transform: translateY(2px); }
body.book { padding-bottom: 0; }
body.book.has-bar { padding-bottom: 88px; }

/* ---- booking: Squire's steps, in the shop's own look ---- */
.book-col { padding-top: 22px; }
.book-col > h1 { font-size: clamp(3rem, 14vw, 5rem); }
.lead { font-size: 1.15rem; max-width: 60ch; }
.demo-note { border: 1px dashed var(--mute); padding: 8px 12px; color: var(--mute); font-size: .9rem; }
#booking { padding-bottom: 34px; }
.steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 6px 0 22px; counter-reset: s; }
.steps li { flex: 1; counter-increment: s; font-size: .8rem; font-weight: 600; color: var(--mute); border-top: 5px solid var(--hair); padding-top: 6px; min-width: 0; line-height: 1.25; }
.steps li::before { content: counter(s) ". "; }
.steps li.done { border-color: var(--ink); color: var(--ink); }
.steps li[aria-current] { border-color: var(--red); color: var(--ink); font-weight: 700; }
.step { padding: 0; }
.step h2 { outline: none; font-size: clamp(2rem, 8vw, 2.9rem); }
.step h3 { margin-top: 1.1em; }
.back { background: none; border: 0; color: var(--ink); font: inherit; font-weight: 600; padding: 6px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; margin-bottom: 8px; }
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 8px; }
.svc { text-align: start; background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: 0; padding: 11px 12px 9px; font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 2px; min-height: 112px; position: relative; }
.svc .s-name { font-weight: 700; line-height: 1.22; padding-inline-end: 24px; }
.svc .s-en { color: var(--mute); font-size: .8rem; }
.svc .s-time { color: var(--mute); font-size: .9rem; }
.svc .s-with { color: var(--red); font-weight: 600; }
.svc .s-price { margin-top: auto; padding-top: 6px; align-self: flex-end; font: var(--hw) 1.5rem/1 var(--head); letter-spacing: .02em; }
.svc:hover:not(:disabled) { box-shadow: 3px 3px 0 var(--ink); }
.svc:active:not(:disabled) { transform: translate(2px, 2px); box-shadow: none; }
.svc[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.svc[aria-pressed="true"] .s-time, .svc[aria-pressed="true"] .s-en { color: var(--soft); }
.svc[aria-pressed="true"] .s-with { color: var(--paper); }
.svc[aria-pressed="true"]::after { content: ""; position: absolute; top: 9px; inset-inline-end: 9px; width: 20px; height: 20px; background: var(--red) url("img/tick.svg") center / 13px no-repeat; }
.svc:disabled { opacity: .36; cursor: not-allowed; }
.hint { color: var(--mute); font-size: .95rem; }
#bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; background: var(--ink); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
#bar-btn { width: min(1144px, 100%); margin-inline: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--red); color: var(--white); border: 2px solid var(--paper); border-radius: 0; padding: 14px 18px 13px; font: var(--hw) 1.35rem/1 var(--head); text-transform: var(--caps); letter-spacing: .03em; cursor: pointer; }
#bar-btn:active:not(:disabled) { transform: translateY(2px); }
#bar-btn:disabled { background: var(--ink2); color: #9a9184; border-color: #6b6256; cursor: not-allowed; }
#bar-btn:focus-visible { outline-color: var(--paper); outline-offset: 2px; }
.order { border-block: 2px solid var(--ink); padding: 12px 0; margin-bottom: 18px; }
.order h3 { margin-top: 0; }
.order ul { list-style: none; padding: 0; margin: 0; }
.order li, .order .tot { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.order .tot { border-top: 1px dotted var(--mute); margin-top: 6px; padding-top: 10px; font-weight: 700; }
.order .tot bdi, .o-price { font-family: var(--head); font-weight: var(--hw); font-size: 1.25rem; }
/* the barber row: stays in view through the steps; scrolls sideways inside itself on a phone, the page never does */
.who-wrap { position: sticky; top: 0; z-index: 20; margin: 0 -18px 12px; background: var(--paper); border-block: 2px solid var(--ink); }
.who { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--ink) var(--paper2); padding: 8px 18px; }
.who-wrap .who-msg { margin: 0 18px 10px; }
/* where more barbers are off the edge: a fade and an arrow on that side (the script sets more-start and more-end), and a thin scrollbar */
.who-scroll { position: relative; }
.who-scroll::before, .who-scroll::after { position: absolute; top: 0; bottom: 0; width: 46px; display: none; align-items: center; pointer-events: none; z-index: 1; font: var(--hw) 1.9rem/1 var(--head); color: var(--ink); }
.who-scroll::after { inset-inline-end: 0; content: "\203A"; justify-content: flex-end; padding-inline-end: 5px; background: linear-gradient(to right, rgba(244, 238, 226, 0), var(--paper) 62%); }
.who-scroll::before { inset-inline-start: 0; content: "\2039"; justify-content: flex-start; padding-inline-start: 5px; background: linear-gradient(to left, rgba(244, 238, 226, 0), var(--paper) 62%); }
html[dir="rtl"] .who-scroll::after { content: "\2039"; background: linear-gradient(to left, rgba(244, 238, 226, 0), var(--paper) 62%); }
html[dir="rtl"] .who-scroll::before { content: "\203A"; background: linear-gradient(to right, rgba(244, 238, 226, 0), var(--paper) 62%); }
.who-scroll.more-end::after, .who-scroll.more-start::before { display: flex; }
.w-chip { flex: none; display: flex; align-items: center; gap: 8px; min-height: 52px; background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: 0; padding: 5px 12px 5px 7px; font: inherit; cursor: pointer; text-align: start; }
.w-chip .b-pic { width: 36px; height: 36px; font-size: 1.1rem; font-family: var(--head); }
.w-tx { display: flex; flex-direction: column; line-height: 1.1; }
.w-name { font: var(--hw) 1.25rem/1 var(--head); text-transform: var(--caps); letter-spacing: .02em; white-space: nowrap; }
.w-rate { font-size: .78rem; color: var(--mute); margin-top: 3px; white-space: nowrap; }
.w-chip[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.w-chip[aria-checked="true"] .w-rate { color: var(--soft); }
.w-chip[aria-checked="true"] .b-pic { border-color: var(--paper); }
.w-chip.w-no { border-style: dashed; color: var(--mute); background: transparent; }
.w-chip:active { transform: translateY(2px); }
.w-pick { font: var(--hw) 1.05rem/1 var(--head); text-transform: var(--caps); background: var(--ink); color: var(--paper); border: 0; padding: 8px 12px 7px; margin: 4px 6px 2px 0; cursor: pointer; }
/* "Any barber" and the barber named has gone: the question, with a button for each barber still free and one to choose another time */
#swap .swap-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
#swap .w-pick { margin: 0; padding: 12px 14px 11px; min-height: 44px; }
#swap .w-other { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.ts-box { margin: 0 0 14px; min-height: 65px; }
.whose { font-weight: 700; margin: 0 0 10px; padding: 8px 12px; background: var(--paper2); border-inline-start: 6px solid var(--red); }
.slots.named { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.slot .sl-b { display: block; font-size: .74rem; font-weight: 400; color: var(--mute); line-height: 1.1; margin-top: 2px; }
.slot[aria-pressed="true"] .sl-b { color: var(--soft); }
#booking:not(.js) .who-wrap { display: none; }
.barbers { display: grid; gap: 10px; margin-bottom: 16px; }
.barber { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; text-align: start; background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: 0; padding: 12px 14px; font: inherit; cursor: pointer; }
.barber .b-name { font: var(--hw) 1.6rem/1.1 var(--head); text-transform: var(--caps); display: flex; align-items: center; gap: 10px; }
.barber .b-sub { grid-column: 1; color: var(--mute); font-size: .92rem; }
.barber .b-price { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: var(--hw) 1.5rem/1 var(--head); }
.barber[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.barber[aria-checked="true"] .b-sub { color: var(--soft); }
.barber:disabled { opacity: .45; cursor: not-allowed; }
.b-pic { width: 40px; height: 40px; border-radius: 50%; flex: none; background: #000; object-fit: cover; border: 1px solid var(--ink); }
.barber[aria-checked="true"] .b-pic { border-color: var(--paper); }
.b-init { display: inline-flex; align-items: center; justify-content: center; background: var(--paper2); color: var(--ink); font-size: 1.2rem; }
.days { display: flex; gap: 6px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 8px; scrollbar-width: thin; }
.day { flex: none; width: 60px; background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: 0; padding: 8px 4px 6px; font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
.day .d-num { font: var(--hw) 1.6rem/1 var(--head); }
.day .d-wk { font-size: .8rem; color: var(--mute); text-transform: var(--caps); letter-spacing: .06em; }
.day[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.day[aria-pressed="true"] .d-wk { color: var(--paper); }
.day:disabled { opacity: .3; cursor: not-allowed; }
#day-title { margin: 0 0 .1em; }
#day-count { color: var(--mute); margin-bottom: 1em; }
.part { font: 700 .88rem var(--body); text-transform: var(--caps); letter-spacing: .1em; color: var(--mute); margin: 1.2em 0 .5em; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 6px; }
.slot { background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: 0; padding: 11px 4px; font: 600 1rem var(--body); cursor: pointer; }
.slot:hover { background: var(--paper2); }
.slot[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.msg { background: var(--white); border: 2px solid var(--red); color: var(--red-d); font-weight: 600; padding: 10px 14px; margin: 0 0 14px; }
.msg.good { border-color: var(--ink); color: var(--ink); }
.sum { border-block: 2px solid var(--ink); padding: 2px 0; margin: 0 0 20px; }
.sum .row { display: grid; grid-template-columns: 104px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px dotted var(--mute); }
.sum .row:last-child { border-bottom: 0; }
.sum dt { color: var(--mute); }
.sum dd { margin: 0; font-weight: 600; }
form .field { margin-bottom: 14px; }
form label { display: block; font-weight: 700; margin-bottom: 5px; }
form input, form textarea, form select { width: 100%; background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: 0; padding: 12px; font: inherit; }
form textarea { min-height: 84px; resize: vertical; }
.trap { position: absolute; inset-inline-start: -5000px; width: 1px; height: 1px; overflow: hidden; }
#send { width: 100%; }
#send:disabled { background: var(--soft); color: var(--ink2); box-shadow: none; }
.done-box { border: 2px solid var(--ink); outline: 1px solid var(--ink); outline-offset: 4px; background: var(--white); padding: 20px 18px 8px; margin: 6px 4px 26px; }
.done-box h2 { color: var(--red); }
.refline { font-size: 1.05rem; }
.refline b { font: var(--hw) 1.6rem/1 var(--head); letter-spacing: .06em; }
#booking:not(.js) .step[data-step]:not([data-step="1"]), #booking:not(.js) .steps { display: none; }

/* ---- the shop's diary: the same paper and ink, nothing more ---- */
.diary h1 { margin-top: 18px; font-size: clamp(2.6rem, 10vw, 4rem); }
.d-formbox { max-width: 520px; }
.d-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 14px; }
.d-bar input[type="date"] { background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: 0; padding: 8px 10px; font: inherit; width: auto; }
.d-datelabel { position: absolute; inset-inline-start: -999px; }
.d-cols { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 30px; }
.d-col { background: var(--white); border: 2px solid var(--ink); padding: 14px; min-width: 0; }
.d-col h3 { margin-bottom: 2px; font-size: 1.8rem; }
.d-hours, .d-empty, .d-ref, .d-note { color: var(--mute); font-size: .9rem; margin: 0 0 8px; }
.d-row { border-top: 1px solid var(--ink); padding: 10px 0 2px; }
.d-row p { margin: 0 0 4px; }
.d-time { font-weight: 800; }
.d-block { background: var(--paper2); margin-inline: -14px; padding-inline: 14px; }
.d-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 12px; }
.d-panel { background: var(--white); border: 2px solid var(--red); padding: 16px; margin: 0 0 18px; }
.d-checks { display: grid; gap: 4px; max-height: 260px; overflow-y: auto; background: var(--paper); border: 1px solid var(--ink); padding: 8px 10px; }
.d-check { display: block; font-weight: 400; margin: 0; }
.d-check input, form .d-check input { width: auto; margin-inline-end: 6px; }
.d-label { font-weight: 700; margin: 0 0 5px; }
.d-outside { margin: 0 0 14px; }
.d-whoami { color: var(--mute); font-size: .95rem; margin: 0 0 12px; }
.d-log { overflow-x: auto; margin: 0 0 14px; }
.d-table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.d-table th, .d-table td { text-align: start; padding: 6px 10px 6px 0; border-bottom: 1px dotted var(--mute); vertical-align: top; }
.d-staffrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 10px; }
@media (min-width: 700px) { .d-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .d-cols { grid-template-columns: repeat(4, 1fr); } }

@media (min-width: 620px) {
  .strip { grid-template-columns: repeat(6, 1fr); }
  .crew { grid-template-columns: repeat(4, 1fr); }
  .crew li, .crew li:nth-child(even) { padding: 18px 16px 20px; border-inline-start: 1px solid var(--ink); }
  .crew li:first-child { border-inline-start: 0; padding-inline-start: 0; }
  .quotes-rest { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .barbers { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; font-size: 1.125rem; }
  .sticky { display: none; }
  .wrap { padding-inline: 32px; }
  .top-in { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0 28px; padding-top: 16px; padding-bottom: 10px; }
  .brand img, .home .brand img { width: 178px; }
  .nav { flex: 1; width: auto; justify-content: flex-end; align-items: center; border: 0; margin: 0; gap: 0 6px; }
  .nav a { font-size: .92rem; padding: 10px 12px; }
  .nav a.opt { display: inline-block; }
  .nav a.cta { display: inline-flex; font-size: 1.2rem; padding: 12px 20px 11px; margin-inline-start: 14px; }
  details.lang { width: 100%; text-align: end; margin-top: -34px; }
  .langs { justify-content: flex-end; }
  .hero { padding: 34px 0 56px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
  .home-hero h1 { font-size: clamp(6rem, 10.2vw, 8.8rem); }
  .home-hero h1 span { white-space: nowrap; }
  .wall { gap: 8px; }
  .hero-grid > .sign { justify-self: end; width: 100%; }
  .sub { font-size: 1.4rem; }
  .wall-3 .shot:nth-child(2), .wall-2 .shot:nth-child(2), .wall-2 .ph:nth-child(2) { margin-top: 34px; }
  .sec { padding: 64px 0 72px; }
  .split { grid-template-columns: 300px minmax(0, 1fr); gap: 64px; }
  .split.even { grid-template-columns: 1fr 1fr; }
  .board { padding: 34px 36px 30px; outline-offset: -10px; }
  .board.cols { columns: 2; column-gap: 56px; }
  .board.cols .grp { break-inside: avoid; }
  .board.cols .grp:first-child .group-h { margin-top: 2px; }
  .index.cols { columns: 2; column-gap: 48px; border-top: 0; }
  .index.cols li { break-inside: avoid; }
  .index.cols li:first-child a, .index.cols li.col2 a { border-top: 2px solid var(--ink); }
  .quote.big { max-width: 860px; margin-bottom: 40px; }
  .foot { grid-template-columns: 150px 1.15fr 1.35fr 1fr .9fr .7fr; }
  .hero + .sec.first { padding-top: 0; }
  .stamp-corner { position: absolute; inset-inline-end: 32px; top: -34px; width: 168px; }
  .rel-pos { position: relative; }
  .svc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .who-wrap { margin-inline: 0; }
  .who { padding-inline: 8px; }
  .who-wrap .who-msg { margin-inline: 8px; }
  .book-col { max-width: 980px; }
  .book-col.narrow { max-width: 760px; }
}
@media (max-width: 899px) { .stamp-corner { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .svc { transition: none; } }

/* ---- second-round corrections after looking at the screenshots ---- */
h1 { overflow-wrap: anywhere; }
html[lang="ru"] .home-hero h1 { font-size: clamp(2.3rem, 10.6vw, 5.6rem); }
html[lang="ru"] h1 { font-size: clamp(2.3rem, 10.6vw, 5.2rem); }
.sub { max-width: 38ch; }
.c-rate b { display: block; margin: 0 0 2px; }
html[dir="rtl"] .p-sub .p-en { text-align: right; }
.sec h2:not(:first-child), .sec h3:not(:first-child) { margin-top: 1.1em; }
.sec .board h3:not(:first-child), .step h2 { margin-top: 0; }
details.faq summary::after { font-size: 1.9rem; line-height: .7; }
