/* Tonsor: the shop from the sidewalk to the chair. Tokens live in tokens.css; this file never names a color or a font.
   Sections: 0 base, 1 buttons, 2 header, 3 hero, 4 sections, 5 menu board, 6 combo builder, 7 barbers, 8 gallery,
   9 the visit, 10 reviews, 11 find us, 12 faq, 13 cta band, 14 inner pages, 15 forms, 16 booking, 17 footer,
   18 motion, 19 breakpoints, 20 reduced motion, 21 print */

/* ---------------------------------------------------------------- 0. base */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; font: 400 var(--text-base)/1.6 var(--font-body); color: var(--ink); background: var(--paper); }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.02; text-transform: uppercase; overflow-wrap: break-word; min-width: 0; }
h1 { font-size: var(--text-3xl); font-weight: 800; }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-lg); }
h4 { font-size: var(--text-md); }
p, ul, ol, address, figure, blockquote { margin: 0; }
address { font-style: normal; }
ul, ol { padding: 0; }
a { color: var(--red-deep); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--red); }
strong { font-weight: 600; }
small { font-size: var(--text-sm); }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.wrap--text { width: min(var(--wrap-text), 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: var(--z-modal); padding: .6rem 1rem; background: var(--ink); color: var(--paper); border-radius: var(--radius); }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.lede { font-size: var(--text-md); line-height: 1.5; color: var(--ink-2); max-width: 38rem; }
.measure { max-width: var(--wrap-text); }
.ital { font-style: italic; }
.muted { color: var(--muted); }
.night, .night .lede { color: var(--on-night); }
.night .lede, .night .muted { color: var(--on-night-2); }
.night a { color: var(--red-light); }
.night a:hover { color: var(--on-night); }

/* ---------------------------------------------------------------- 1. buttons: machined, 2 px, the red bar slides under on hover */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 3rem; padding: .7rem 1.35rem; border: 2px solid var(--ink); border-radius: var(--radius); background: transparent; color: var(--ink); font: 700 var(--text-sm)/1 var(--font-display); font-size: 1.05rem; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap; overflow: hidden; isolation: isolate; transition: color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.btn::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-short) var(--ease-out); z-index: -1; }
.btn:hover::after, .btn:focus-visible::after { transform: scaleX(1); }
.btn:hover { color: var(--ink); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { color: var(--paper); }
.btn--red { background: var(--red); border-color: var(--red); color: var(--paper); }
.btn--red::after { background: var(--ink); }
.btn--red:hover { color: var(--paper); }
.btn--light { border-color: var(--on-night); color: var(--on-night); }
.btn--light:hover { color: var(--on-night); }
.btn--sm { min-height: 2.5rem; padding: .45rem 1rem; font-size: .95rem; }
.btn:disabled { opacity: .55; cursor: wait; }
.btn:active { transform: translateY(1px); }
.textlink { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--red-deep); text-decoration: none; border-bottom: 1px solid currentColor; transition: color var(--dur-micro), gap var(--dur-micro); }
.textlink:hover { color: var(--red); }
.textlink .icon { width: 1em; height: 1em; }

/* ---------------------------------------------------------------- 2. header: the sign over the door */
.site-header { position: sticky; top: 0; z-index: var(--z-sticky); background-color: var(--paper); border-bottom: var(--rule-ink); transition: box-shadow var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px var(--shadow); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 6px; background: var(--grad-stripes); background-size: 40px 40px; background-position: var(--stripe-x, 0) 0; }
.site-header__row { display: flex; align-items: center; gap: var(--space-md); min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; }
.brand__mark { width: 1.1rem; height: 2.2rem; }
.brand__cap { fill: var(--ink); }
.brand__glass { fill: var(--glass); stroke: var(--ink); stroke-width: 1; }
.brand__red { fill: var(--red); }
.brand__navy { fill: var(--navy); }
.brand__name { font: 800 1.65rem/1 var(--font-display); text-transform: uppercase; }
.brand--light { color: var(--on-night); }
.brand--light .brand__cap { fill: var(--chrome); }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: var(--space-md); list-style: none; }
.nav__list a { position: relative; display: inline-block; padding: .35rem 0; color: var(--ink); text-decoration: none; font-size: var(--text-sm); font-weight: 500; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-short) var(--ease-out); }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__toggle { display: none; align-items: center; gap: .4rem; padding: .5rem .6rem; border: 2px solid var(--ink); border-radius: var(--radius); background: none; color: var(--ink); font: 700 .95rem/1 var(--font-display); text-transform: uppercase; cursor: pointer; }
.nav__toggle .icon { width: 1.3rem; height: 1.3rem; }
.open-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .75rem .3rem .4rem; border: 1px solid var(--paper-3); border-radius: var(--radius-pill); font-size: var(--text-xs); color: var(--ink-2); white-space: nowrap; }
.open-chip__pole { width: .55rem; height: 1.35rem; border: 1px solid var(--ink); border-radius: 2px; background: var(--grad-stripes); background-size: 24px 24px; flex: none; }
.open-chip.is-open { border-color: var(--ok); color: var(--ink); }
.open-chip.is-closed .open-chip__pole { filter: grayscale(1); opacity: .55; }
.site-header__phone { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--text-sm); white-space: nowrap; }
.site-header__phone:hover { color: var(--red); }
.site-header__cta { flex: none; }
/* the home opens after hours: the header starts on the night wall and becomes the white sign on scroll */
.dark-top .site-header:not(.is-scrolled) { background-color: var(--night); border-bottom-color: var(--night-line); }
.dark-top .site-header:not(.is-scrolled) .brand, .dark-top .site-header:not(.is-scrolled) .nav__list a, .dark-top .site-header:not(.is-scrolled) .site-header__phone, .dark-top .site-header:not(.is-scrolled) .nav__toggle, .dark-top .site-header:not(.is-scrolled) .open-chip { color: var(--on-night); border-color: var(--night-line); }
.dark-top .site-header:not(.is-scrolled) .brand__cap { fill: var(--chrome); }
.dark-top .site-header:not(.is-scrolled) .btn--solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.dark-top .site-header:not(.is-scrolled) .open-chip.is-open { border-color: var(--ok); }
.dark-top .site-header:not(.is-scrolled) .open-chip__pole { border-color: var(--chrome); }

/* ---------------------------------------------------------------- 3. hero: the storefront after hours, the pole on, the mirror lit */
.hero { position: relative; padding: var(--space-xl) 0 var(--space-3xl); background: var(--grad-night); color: var(--on-night); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--space-xl); align-items: center; }
.hero__copy { display: grid; gap: var(--space-md); align-content: center; }
.hero__title { font-size: var(--text-display); font-weight: 800; line-height: .92; max-width: 11ch; }
.hero__title em { font-style: normal; color: var(--red-light); }
.hero__lead { max-width: 32rem; font-size: var(--text-md); line-height: 1.5; color: var(--on-night-2); }
.hero__actions { display: flex; flex-wrap: nowrap; gap: var(--space-sm); margin-top: var(--space-2xs); }
.hero__status { display: flex; align-items: center; gap: .6rem; font-size: var(--text-sm); color: var(--on-night-2); }
.hero__status .open-chip { border-color: var(--night-line); color: var(--on-night-2); }
.hero__status .open-chip.is-open { border-color: var(--ok); color: var(--on-night); }
.hero__status .open-chip__pole { border-color: var(--chrome); }
.hero__scene { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--space-md); min-height: 30rem; }
.mirror { position: relative; z-index: 1; width: min(26rem, 100%); aspect-ratio: 1; justify-self: center; border-radius: 50%; padding: .6rem; background: var(--night-2); border: 3px solid var(--tan); box-shadow: 0 40px 70px -40px var(--scrim); }
.mirror img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.mirror__hook { position: absolute; left: 50%; top: -1.6rem; width: 2px; height: 1.6rem; background: var(--tan); transform: translateX(-50%); }
/* the pole stage: the SVG pole until three.js takes over, then the canvas */
.pole-stage { position: relative; width: 7.5rem; height: 26rem; align-self: end; }
.pole-stage .pole { position: absolute; inset: 0; width: 100%; height: 100%; }
.pole-stage canvas { position: absolute; inset: -4rem -5rem; width: calc(100% + 10rem); height: calc(100% + 8rem); opacity: 0; transition: opacity var(--dur-long) var(--ease-out); cursor: grab; touch-action: pan-y; }
.pole-stage.is-3d canvas { opacity: 1; }
.pole-stage.is-3d .pole { opacity: 0; transition: opacity var(--dur-long) var(--ease-out); }
.pole { width: 100%; height: auto; overflow: visible; }
.pole__ink { fill: var(--chrome); }
.pole__glass { fill: var(--glass); }
.pole__red { fill: var(--red); }
.pole__navy { fill: var(--navy); }
.pole__frame { fill: none; stroke: var(--chrome); stroke-width: 4; }
.paper .pole__ink, .paper .pole__frame { fill: var(--ink); stroke: var(--ink); }
.hero__sign { position: absolute; z-index: 2; left: 0; bottom: -1.2rem; padding: .5rem .9rem; background: var(--navy); color: var(--on-night); font: 700 .95rem/1 var(--font-display); text-transform: uppercase; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--navy-light); }
.hero__sign small { display: block; font: 400 .8rem/1.2 var(--font-body); text-transform: none; color: var(--navy-light); }
/* home 2: the chair view, a full-bleed photo with the quick booking counter */
.hero--photo { display: grid; min-height: min(82vh, 46rem); padding: 0; background: var(--night); }
.hero--photo > * { grid-area: 1 / 1; }
.hero__photo { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.hero__veil { background: var(--grad-veil); }
.hero--photo .hero__copy { align-self: center; padding: var(--space-3xl) 0; }
.quickbook { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-xs); padding: var(--space-xs); margin-top: var(--space-xs); background: var(--paper); border-radius: var(--radius); max-width: 34rem; }
.quickbook select { min-height: 3rem; padding: 0 1rem; border: 2px solid var(--paper-3); border-radius: var(--radius); background: var(--paper); color: var(--ink); font: inherit; }

/* ---------------------------------------------------------------- 4. sections */
.section { padding: var(--space-3xl) 0; }
.section--tight { padding: var(--space-2xl) 0; }
.section--wash { background: var(--paper-2); }
.section--night { background: var(--grad-night); color: var(--on-night); }
.section--rule { border-top: var(--rule-ink); }
.section-head { display: grid; gap: var(--space-xs); max-width: 44rem; margin-bottom: var(--space-xl); }
.section-head p { color: var(--ink-2); font-size: var(--text-md); line-height: 1.5; }
.section--night .section-head p { color: var(--on-night-2); }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-md); }
.section-head--row > div { display: grid; gap: var(--space-xs); max-width: 40rem; }
.section-head .kicker { font-style: italic; color: var(--muted); font-size: var(--text-base); }
.section--night .kicker { color: var(--on-night-2); }
.photo-band { position: relative; height: clamp(18rem, 42vw, 32rem); overflow: hidden; }
.photo-band img { width: 100%; height: 120%; object-fit: cover; transform: translateY(var(--py, 0)); }
.photo-band figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-sm) 0; background: var(--grad-veil); color: var(--on-night); font-size: var(--text-sm); }
.photo-band figcaption .wrap { display: block; }

/* ---------------------------------------------------------------- 5. the menu board + the tool rail (edge to edge, like a shelf on the wall) */
.board__tools { padding: var(--space-lg) 0 var(--space-md); background: var(--paper-2); border-top: 6px solid var(--ink); border-bottom: var(--rule); }
.board__tools > .wrap { display: grid; gap: var(--space-sm); }
.rail-tools { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-md); list-style: none; }
.tool { display: grid; justify-items: center; gap: var(--space-2xs); text-align: center; }
.tool__art { width: 100%; max-width: 7.5rem; aspect-ratio: 1; height: auto; overflow: visible; transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.tool__label { font-size: var(--text-sm); color: var(--ink-2); transition: color var(--dur-short) var(--ease-out); }
.board.has-pick .tool { opacity: .25; }
.board.has-pick .tool.is-on { opacity: 1; }
.board.has-pick .tool.is-on .tool__art { transform: translateY(-4px); }
.board.has-pick .tool.is-on .tool__label { color: var(--red-deep); font-weight: 600; }
.board__caption { min-height: 2.6em; text-align: center; color: var(--ink-2); }
.board__caption strong { color: var(--ink); }
.board__menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl); padding-top: var(--space-xl); }
.board__group { display: grid; align-content: start; }
.board__label { font-style: italic; color: var(--muted); padding-bottom: var(--space-xs); border-bottom: var(--rule-ink); }
.menu-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .15rem var(--space-sm); padding: var(--space-sm) 0; border-bottom: var(--rule); transition: padding var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.menu-row__pick { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: var(--space-xs); width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.menu-row__name { font: 700 var(--text-lg)/1.05 var(--font-display); text-transform: uppercase; }
.menu-row__meta { font-size: var(--text-sm); color: var(--muted); white-space: nowrap; }
.menu-row__price { font: 700 var(--text-xl)/1 var(--font-display); color: var(--ink); }
.menu-row__line { grid-column: 1 / -1; font-size: var(--text-sm); color: var(--ink-2); line-height: 1.45; }
.menu-row__book { grid-column: 1 / -1; justify-self: start; }
button.menu-row__pick:hover .menu-row__name { color: var(--red-deep); }
.menu-row.is-on { background: var(--paper-2); padding-inline: var(--space-sm); box-shadow: inset 0 0 0 1px var(--paper-3); }
.menu-row.is-on .menu-row__price { color: var(--red-deep); }
.price-note { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--muted); }
/* engraved tools (src/partials/tools.html): ink and highlights follow the surface they sit on */
.t-ink { fill: var(--ink); }
.t-hi { fill: var(--paper-2); stroke: var(--paper-2); }
.t-hole { fill: var(--paper-2); }
.t-cloth { fill: var(--glass); stroke: var(--ink); stroke-width: 4; }
.t-fold { stroke: var(--ink); stroke-width: 1.6; }
.t-spiral { stroke: var(--ink); stroke-width: 2.2; }
.t-cord { stroke: var(--ink); stroke-width: 5; stroke-linecap: round; fill: none; }
.t-steam { stroke: var(--tan); stroke-width: 3; stroke-linecap: round; fill: none; }
.t-blade-top, .t-blade-bottom { transform-box: view-box; transform-origin: 0 0; }
.night .t-ink { fill: var(--on-night); }
.night .t-hi, .night .t-hole { fill: var(--night); stroke: var(--night); }

/* ---------------------------------------------------------------- 6. combo builder: pick services, the ticket adds them up */
.combo { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(18rem, .8fr); gap: var(--space-xl); align-items: start; }
.combo__picks { display: grid; gap: var(--space-2xs); list-style: none; }
.pick { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-sm); align-items: center; padding: var(--space-sm) var(--space-md); border: var(--rule); border-radius: var(--radius); background: var(--paper); cursor: pointer; transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.pick:hover { border-color: var(--ink); }
.pick input { width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--red); }
.pick__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .1rem var(--space-sm); align-items: baseline; }
.pick__body strong { font: 700 var(--text-md)/1.1 var(--font-display); text-transform: uppercase; }
.pick__body small { color: var(--muted); }
.pick__body .pick__price { font: 700 var(--text-md)/1 var(--font-display); grid-row: 1 / 3; align-self: center; }
.pick:has(input:checked) { border-color: var(--ink); background: var(--paper-2); }
.pick--barber { grid-template-columns: auto auto minmax(0, 1fr); }
.pick--barber img { width: 3.5rem; height: 3.5rem; border-radius: 50%; object-fit: cover; }
.pick--day { grid-template-columns: auto; text-align: center; padding: var(--space-xs); }
.pick--day .pick__body { grid-template-columns: 1fr; gap: 0; }
.pick--day input, .pick--time input { position: absolute; opacity: 0; pointer-events: none; }
.pick--day, .pick--time { position: relative; }
.pick--time { grid-template-columns: auto; justify-items: center; padding: var(--space-xs) var(--space-sm); font-weight: 600; }
.pick--time small { display: block; font-weight: 400; color: var(--muted); }
.pick--day:has(input:checked), .pick--time:has(input:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pick--day:has(input:checked) small, .pick--time:has(input:checked) small { color: var(--on-night-2); }
.pick:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.ticket { position: sticky; top: 6rem; padding: var(--space-lg); background: var(--paper); border: var(--rule-ink); border-radius: var(--radius); box-shadow: 0 30px 50px -40px var(--shadow); }
.ticket::before { content: ""; display: block; height: 6px; margin: calc(var(--space-lg) * -1) calc(var(--space-lg) * -1) var(--space-md); background: var(--grad-stripes); background-size: 40px 40px; }
.ticket__h { font-size: var(--text-lg); }
.ticket__list { display: grid; gap: .4rem; margin: var(--space-md) 0; padding: var(--space-md) 0; border-top: 1px dashed var(--paper-3); border-bottom: 1px dashed var(--paper-3); list-style: none; min-height: 3.5rem; }
.ticket__list li { display: flex; justify-content: space-between; gap: var(--space-sm); font-size: var(--text-sm); }
.ticket__list li span:last-child { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.ticket__empty { color: var(--muted); font-style: italic; font-size: var(--text-sm); }
.ticket__row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-sm); }
.ticket__row + .ticket__row { margin-top: .35rem; }
.ticket__row--save { color: var(--ok); }
.ticket__row--total { margin-top: var(--space-sm); padding-top: var(--space-sm); border-top: var(--rule-ink); font: 700 var(--text-lg)/1 var(--font-display); text-transform: uppercase; }
.ticket__total { font-size: var(--text-price); line-height: .9; }
.ticket__time { font-size: var(--text-sm); color: var(--muted); }
.ticket .btn { width: 100%; margin-top: var(--space-md); }
.ticket__note { margin-top: var(--space-sm); font-size: var(--text-xs); color: var(--muted); }

/* ---------------------------------------------------------------- 7. the barbers */
.team { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-md); list-style: none; }
.barber { position: relative; display: flex; flex-direction: column; gap: var(--space-xs); padding: 0 0 var(--space-md); background: var(--paper); border: var(--rule); border-radius: var(--radius); overflow: hidden; transition: border-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.barber:hover { border-color: var(--ink); transform: translateY(-3px); }
.barber__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper-2); transition: transform var(--dur-long) var(--ease-out); }
.barber:hover .barber__photo { transform: scale(1.03); }
.barber__stripe { height: 6px; background: var(--grad-stripes); background-size: 40px 40px; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-short) var(--ease-out); }
.barber:hover .barber__stripe, .barber:focus-within .barber__stripe { transform: scaleX(1); }
.barber__body { display: grid; gap: var(--space-2xs); padding: var(--space-xs) var(--space-md) 0; }
.barber__role { font-style: italic; color: var(--muted); font-size: var(--text-sm); }
.barber__name { font-size: var(--text-lg); }
.barber__name a { color: inherit; text-decoration: none; }
.barber__name a::after { content: ""; position: absolute; inset: 0; }
.barber__days { font-size: var(--text-sm); color: var(--ink-2); }
.barber__book { position: relative; z-index: 1; margin: auto var(--space-md) 0; align-self: start; }
.filters { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); margin-bottom: var(--space-lg); }
.filter { padding: .3rem 0; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--ink-2); font: inherit; cursor: pointer; transition: color var(--dur-micro), border-color var(--dur-micro); }
.filter:hover { color: var(--ink); }
.filter[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--red); font-weight: 600; }
.filters__count { margin-left: auto; font-style: italic; color: var(--muted); }

/* ---------------------------------------------------------------- 8. the wall: the gallery of cuts */
.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-sm); list-style: none; }
.wall--home { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cut { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); aspect-ratio: 4 / 5; }
.cut img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-long) var(--ease-out); }
.cut:hover img { transform: scale(1.04); }
.cut figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-sm); background: var(--grad-veil); color: var(--on-night); font-size: var(--text-sm); transform: translateY(30%); opacity: 0; transition: transform var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out); }
.cut figcaption strong { display: block; font: 700 var(--text-md)/1 var(--font-display); text-transform: uppercase; }
.cut:hover figcaption, .cut:focus-within figcaption { transform: none; opacity: 1; }
.cut__open { position: absolute; inset: 0; border: 0; padding: 0; background: none; cursor: zoom-in; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 60rem); max-height: 92vh; }
.lightbox::backdrop { background: var(--scrim); }
.lightbox__frame { position: relative; display: grid; gap: var(--space-xs); padding: var(--space-xs); background: var(--paper); border-radius: var(--radius); }
.lightbox img { max-height: 78vh; width: auto; max-width: 100%; object-fit: contain; margin: 0 auto; }
.lightbox__cap { display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm); padding: 0 var(--space-xs) var(--space-2xs); font-size: var(--text-sm); }
.lightbox__close { display: inline-flex; align-items: center; gap: .3rem; border: 0; background: none; color: var(--ink); font: inherit; cursor: pointer; }

/* ---------------------------------------------------------------- 9. the visit: a real sequence, the stripe fills as you read */
.visit { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg); list-style: none; counter-reset: step; }
.visit::before { content: ""; position: absolute; left: 0; right: 0; top: 1.4rem; height: 6px; background: var(--grad-stripes); background-size: 40px 40px; transform: scaleX(var(--draw, 0)); transform-origin: left; transition: transform var(--dur-long) linear; }
.visit__step { position: relative; display: grid; gap: var(--space-xs); padding-top: var(--space-xl); }
.visit__step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); font: 800 1.3rem/1 var(--font-display); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.visit__step.is-reached::before { background: var(--ink); color: var(--paper); }
.visit__step h3 { font-size: var(--text-lg); }
.visit__step p { color: var(--ink-2); font-size: var(--text-sm); line-height: 1.5; }

/* ---------------------------------------------------------------- 10. reviews (demo text; each shows where it came from) */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); list-style: none; }
.review { display: grid; gap: var(--space-sm); padding: var(--space-lg); background: var(--night-2); border: var(--rule-night); border-radius: var(--radius); }
.review blockquote { font-size: var(--text-md); line-height: 1.45; }
.review__who { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--text-sm); color: var(--on-night-2); }
.review__who .avatar { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--navy); color: var(--on-night); font: 700 1.1rem/1 var(--font-display); }
.review__src { display: inline-flex; align-items: center; gap: .35rem; margin-top: .15rem; font-style: italic; }
.review__src .icon { width: 1rem; height: 1rem; }

/* ---------------------------------------------------------------- 11. find the pole: address, hours, the drawn map */
.findus { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--space-xl); align-items: center; }
.hours { display: grid; gap: .3rem; list-style: none; }
.hours li { display: flex; justify-content: space-between; gap: var(--space-sm); padding: .35rem 0; border-bottom: var(--rule); }
.hours li.is-today { font-weight: 600; }
.hours li.is-today span:first-child::after { content: " (today)"; font-weight: 400; font-style: italic; color: var(--muted); }
.map { position: relative; aspect-ratio: 4 / 3; border: var(--rule-ink); border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.map svg { width: 100%; height: 100%; }
.map__street { stroke: var(--paper); stroke-width: 14; fill: none; stroke-linecap: round; }
.map__street--main { stroke-width: 22; }
.map__block { fill: var(--paper-3); }
.map__water { fill: var(--navy-light); opacity: .5; }
.map__label { font: 500 11px var(--font-body); fill: var(--ink-2); }
.map__pin { fill: var(--red); }
.map__pin-ring { fill: none; stroke: var(--red); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.map__link { position: absolute; left: var(--space-sm); bottom: var(--space-sm); }

/* ---------------------------------------------------------------- 12. questions */
.faq { display: grid; gap: 0; border-top: var(--rule-ink); }
.faq__item { border-bottom: var(--rule); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); padding: var(--space-md) 0; cursor: pointer; list-style: none; font: 700 var(--text-md)/1.2 var(--font-display); text-transform: uppercase; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; font: 700 1.2rem/1 var(--font-display); transition: transform var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--ink); color: var(--paper); }
.faq__item p { padding: 0 0 var(--space-md); max-width: var(--wrap-text); color: var(--ink-2); }

/* ---------------------------------------------------------------- 13. the band at the door */
.cta-band { padding: var(--space-2xl) 0; background: var(--night); color: var(--on-night); border-top: 6px solid var(--red); }
.cta-band .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-lg); }
.cta-band__pole { width: 1.3rem; height: 7rem; border: 1px solid var(--on-night); border-radius: 3px; background: var(--grad-stripes); background-size: 48px 48px; }
.cta-band h2 { font-size: var(--text-2xl); }
.cta-band p { color: var(--on-night-2); margin-top: var(--space-2xs); }
.cta-band__actions { display: flex; flex-wrap: nowrap; gap: var(--space-sm); }

/* ---------------------------------------------------------------- 14. inner pages */
.page-head { padding: var(--space-2xl) 0 var(--space-xl); border-bottom: var(--rule-ink); }
.page-head--night { background: var(--grad-night); color: var(--on-night); border-bottom: 0; }
.page-head__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-xl); align-items: end; }
.page-head h1 { font-size: var(--text-3xl); margin-top: var(--space-xs); }
.page-head .lede { margin-top: var(--space-sm); }
.page-head--night .lede { color: var(--on-night-2); }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; font-size: var(--text-sm); color: var(--muted); }
.crumbs a { color: inherit; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; }
.page-head--night .crumbs { color: var(--on-night-2); }
.page-head__photo { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; border-radius: var(--radius); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xl); align-items: center; }
.split--text { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; }
.split__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.frame { position: relative; }
.frame::after { content: ""; position: absolute; inset: 1rem -1rem -1rem 1rem; border: 2px solid var(--tan); border-radius: var(--radius); z-index: -1; transform: translateY(var(--py, 0)); }
.prose { display: grid; gap: var(--space-md); }
.prose h2 { font-size: var(--text-xl); margin-top: var(--space-md); }
.prose h3 { margin-top: var(--space-xs); }
.prose ul, .prose ol { padding-left: 1.3rem; display: grid; gap: .35rem; }
.prose li::marker { color: var(--red); }
.prose blockquote { padding-left: var(--space-md); border-left: 2px solid var(--tan); font-style: italic; font-size: var(--text-md); color: var(--ink-2); }
.prose figure img { width: 100%; border-radius: var(--radius); }
.prose figcaption { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--muted); font-style: italic; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); list-style: none; }
.values li { display: grid; gap: var(--space-xs); padding-top: var(--space-sm); border-top: 2px solid var(--ink); }
.values h3 { font-size: var(--text-md); }
.values p { color: var(--ink-2); font-size: var(--text-sm); line-height: 1.5; }
.stats { display: flex; flex-wrap: wrap; gap: var(--space-lg) var(--space-2xl); }
.stats div { display: grid; }
.stats strong { font: 800 var(--text-price)/1 var(--font-display); }
.stats span { color: var(--ink-2); font-size: var(--text-sm); }
/* services index */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); list-style: none; }
.service { display: grid; grid-template-rows: auto 1fr; border: var(--rule); border-radius: var(--radius); overflow: hidden; background: var(--paper); transition: border-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.service:hover { border-color: var(--ink); transform: translateY(-3px); }
.service img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service__body { display: grid; gap: var(--space-xs); padding: var(--space-md); }
.service__body h3 { font-size: var(--text-lg); }
.service__body h3 a { color: inherit; text-decoration: none; }
.service__meta { display: flex; justify-content: space-between; gap: var(--space-sm); font-size: var(--text-sm); color: var(--muted); }
.service__meta strong { font: 700 var(--text-lg)/1 var(--font-display); color: var(--ink); }
.service__body p { color: var(--ink-2); font-size: var(--text-sm); line-height: 1.5; }
.includes { display: grid; gap: var(--space-xs); list-style: none; }
.includes li { display: flex; gap: .6rem; align-items: start; }
.includes .icon { color: var(--red); margin-top: .25rem; }
.aside { display: grid; gap: var(--space-md); padding: var(--space-lg); background: var(--paper-2); border-radius: var(--radius); }
.aside h2 { font-size: var(--text-lg); }
.aside dl { display: grid; grid-template-columns: auto 1fr; gap: .35rem var(--space-md); margin: 0; }
.aside dt { color: var(--muted); font-style: italic; }
.aside dd { margin: 0; font-weight: 600; }
/* barber profile */
.profile { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--space-xl); align-items: start; }
.profile__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .35rem; list-style: none; }
.week li { display: grid; gap: .15rem; padding: var(--space-xs) .4rem; text-align: center; border: var(--rule); border-radius: var(--radius); font-size: var(--text-xs); color: var(--muted); }
.week li.is-on { border-color: var(--ink); color: var(--ink); background: var(--paper-2); }
.week strong { font: 700 1rem/1 var(--font-display); color: var(--ink); }
.week li:not(.is-on) strong { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; }
.chips li { padding: .25rem .65rem; border: var(--rule-ink); border-radius: var(--radius); font-size: var(--text-sm); }
/* journal */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); list-style: none; }
.post { display: grid; gap: var(--space-xs); }
.post img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); transition: transform var(--dur-long) var(--ease-out); }
.post:hover img { transform: translateY(-3px); }
.post__meta { font-size: var(--text-sm); color: var(--muted); font-style: italic; }
.post h2, .post h3 { font-size: var(--text-lg); }
.post h2 a, .post h3 a { color: inherit; text-decoration: none; }
.post p { color: var(--ink-2); font-size: var(--text-sm); line-height: 1.5; }
.post--lead { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--space-lg); align-items: center; }
.post--lead img { aspect-ratio: 16 / 10; }
.post--lead h2 { font-size: var(--text-2xl); }
.article { display: grid; gap: var(--space-xl); }
.article__hero { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius); }
.article .prose p { font-size: 1.125rem; line-height: 1.65; }
.author { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-md) 0; border-top: var(--rule-ink); border-bottom: var(--rule); }
.author img { width: 3.2rem; height: 3.2rem; border-radius: 50%; object-fit: cover; }
.author small { display: block; color: var(--muted); }
.pagination { display: flex; justify-content: center; gap: var(--space-xs); margin-top: var(--space-xl); list-style: none; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 2.6rem; height: 2.6rem; padding: 0 .6rem; border: var(--rule-ink); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 700; }
.pagination [aria-current] { background: var(--ink); color: var(--paper); }
/* 404 */
.lost { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: var(--space-3xl) 0; }
.lost__n { font: 800 clamp(6rem, 20vw, 14rem)/1 var(--font-display); color: var(--paper-3); }
.lost h1 { margin-top: calc(var(--space-xl) * -1); }
.lost p { margin: var(--space-sm) 0 var(--space-lg); color: var(--ink-2); }
.lost .hero__actions { justify-content: center; }

/* ---------------------------------------------------------------- 15. forms: one style for contact and booking */
.form { display: grid; gap: var(--space-md); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.field { display: grid; gap: .35rem; }
.field label, .field > span { font-weight: 600; font-size: var(--text-sm); }
.field input, .field select, .field textarea { width: 100%; min-height: 3rem; padding: .6rem .9rem; border: 2px solid var(--paper-3); border-radius: var(--radius); background: var(--paper); color: var(--ink); font: inherit; transition: border-color var(--dur-micro); }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--ink-2); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); outline: 3px solid var(--focus); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__err { min-height: 1.2em; font-size: var(--text-xs); color: var(--error); }
.field__hint { font-size: var(--text-xs); color: var(--muted); }
.check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .6rem; align-items: start; font-size: var(--text-sm); }
.check input { width: 1.2rem; height: 1.2rem; margin: .15rem 0 0; accent-color: var(--red); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.status { padding: var(--space-sm) var(--space-md); border-radius: var(--radius); background: color-mix(in oklch, var(--ok) 14%, var(--paper)); color: var(--ok); font-weight: 600; }
.status.is-error { background: color-mix(in oklch, var(--error) 12%, var(--paper)); color: var(--error); }
.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--space-xl); align-items: start; }

/* ---------------------------------------------------------------- 16. booking: four steps, the ticket on the side */
.book { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(18rem, .7fr); gap: var(--space-xl); align-items: start; }
.book__progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xs); margin-bottom: var(--space-lg); list-style: none; counter-reset: bstep; }
.book__mark { position: relative; padding-top: .6rem; border-top: 4px solid var(--paper-3); font-size: var(--text-sm); color: var(--muted); transition: border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.book__mark::before { counter-increment: bstep; content: counter(bstep) ". "; font-family: var(--font-display); font-weight: 700; }
.book__mark button { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: .15em; }
.book__mark[aria-current="step"] { border-top-color: var(--ink); color: var(--ink); font-weight: 600; }
.book__mark.is-done { border-top-color: var(--red); color: var(--ink); }
.book__step { display: grid; gap: var(--space-md); }
.book__step legend { font: 700 var(--text-xl)/1.05 var(--font-display); text-transform: uppercase; padding: 0; margin-bottom: var(--space-sm); }
.book__step fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.book__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); list-style: none; }
.book__days { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .4rem; }
.book__times { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); gap: .4rem; margin-top: var(--space-md); }
.book__nav { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: var(--space-sm); padding-top: var(--space-md); border-top: var(--rule); }
.book__err { color: var(--error); font-size: var(--text-sm); min-height: 1.2em; }
.book__done { display: grid; gap: var(--space-md); padding: var(--space-xl); border: var(--rule-ink); border-radius: var(--radius); background: var(--paper-2); }
.book__done h2 { font-size: var(--text-2xl); }
.book__done .hero__actions { flex-wrap: wrap; }
.sum { display: grid; gap: .5rem; }
.sum dt { font-style: italic; color: var(--muted); font-size: var(--text-sm); }
.sum dd { margin: 0 0 .35rem; font-weight: 600; }
.sum dd.is-empty { font-weight: 400; color: var(--muted); }

/* ---------------------------------------------------------------- 17. footer and the phone action bar */
.site-footer { padding: var(--space-2xl) 0 var(--space-xl); background: var(--night); color: var(--on-night-2); border-top: 6px solid var(--ink); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xl); }
.site-footer__brand { display: grid; gap: var(--space-sm); align-content: start; }
.site-footer__about { max-width: 26rem; line-height: 1.5; }
.site-footer__ig { display: inline-flex; align-items: center; gap: .4rem; color: var(--on-night); text-decoration: none; }
.site-footer__h { font-size: var(--text-md); color: var(--on-night); margin-bottom: var(--space-sm); }
.site-footer a { color: var(--on-night); text-decoration: none; }
.site-footer a:hover { color: var(--red-light); }
.site-footer__links { display: grid; gap: .3rem; margin-top: var(--space-sm); list-style: none; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-sm); margin-top: var(--space-xl); padding-top: var(--space-md); border-top: var(--rule-night); font-size: var(--text-sm); }
.actionbar { display: none; }

/* ---------------------------------------------------------------- 18. motion: entrances by kind, parallax by layer */
.js [data-reveal-group] > * { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal-group] > .is-in { opacity: 1; transform: none; }
.js [data-reveal-group="wipe"] > * { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); transition: clip-path var(--dur-long) var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal-group="wipe"] > .is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal-group="rise"] > * { transform: translateY(34px); }
.js [data-parallax] { transform: translateY(var(--py, 0)); will-change: transform; }
.js [data-parallax].frame::after { transform: translateY(calc(var(--py, 0) * -0.6)); }
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title, .js .hero__lead, .js .hero__actions, .js .hero__status { animation: rise var(--dur-long) var(--ease-out) both; }
  .js .hero__lead { animation-delay: 90ms; } .js .hero__actions { animation-delay: 180ms; } .js .hero__status { animation-delay: 260ms; }
  .js .mirror { animation: mirror-in 800ms var(--ease-out) 120ms both; }
  .js .hero__sign { animation: sign-drop 700ms var(--ease-out) 420ms both; }
  .is-open .open-chip__pole, .is-open .cta-band__pole { animation: pole-slide 1.6s linear infinite; }
  .is-open .pole__stripes { animation: stripes 2.8s linear infinite; }
  .tool.is-on .t-blade-top { animation: snip-top 1.1s var(--ease-in-out) infinite; }
  .tool.is-on .t-blade-bottom { animation: snip-bottom 1.1s var(--ease-in-out) infinite; }
  .tool.is-on .t-hum { animation: hum 120ms linear infinite; }
  .tool.is-on .t-comb { animation: comb 1.6s var(--ease-in-out) infinite; }
  .tool.is-on .t-razor { animation: glide 1.8s var(--ease-in-out) infinite; }
  .tool.is-on .t-steam { stroke-dasharray: 24 14; animation: steam 2.4s linear infinite; }
  .tool.is-on .t-steam-2 { animation-delay: .7s; } .tool.is-on .t-steam-3 { animation-delay: 1.4s; }
  .map__pin-ring { animation: ring 2.4s var(--ease-out) infinite; }
  .ticket__total.is-bump { animation: bump var(--dur-short) var(--ease-out); }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes mirror-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes sign-drop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes pole-slide { to { background-position: 0 -24px; } }
@keyframes stripes { to { transform: translateY(-66px); } }
@keyframes snip-top { 50% { rotate: 7deg; } }
@keyframes snip-bottom { 50% { rotate: -7deg; } }
@keyframes hum { 25% { translate: .6px 0; } 75% { translate: -.6px 0; } }
@keyframes comb { 50% { translate: 10px -4px; } }
@keyframes glide { 50% { translate: 8px 5px; } }
@keyframes steam { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -76; } }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
@keyframes bump { 40% { transform: scale(1.06); } }

/* ---------------------------------------------------------------- 19. breakpoints: 1600 wide, 1180 notebook, 820 tablet, 360 phone */
@media (max-width: 75rem) {
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wall--home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-header__phone { display: none; }
}
@media (max-width: 60rem) {
  .site-header__row { gap: var(--space-sm); min-height: 4rem; }
  .nav__toggle { display: inline-flex; }
  .brand { margin-inline: auto; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: var(--paper); border-bottom: var(--rule-ink); box-shadow: 0 30px 40px -30px var(--shadow); clip-path: inset(0 0 100% 0); transition: clip-path var(--dur-short) var(--ease-out); }
  .dark-top .site-header:not(.is-scrolled) .nav { background: var(--night); }
  .nav.is-open { clip-path: inset(0 0 0 0); }
  .nav__list { flex-direction: column; gap: 0; padding: var(--space-xs) 0; }
  .nav__list a { display: block; width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; padding: .8rem 0; font-size: var(--text-md); border-bottom: var(--rule); }
  .nav__list a::after { display: none; }
  .site-header .open-chip { display: none; }
  .hero__grid, .findus, .split, .split--text, .contact, .combo, .book, .profile, .page-head__grid, .post--lead { grid-template-columns: minmax(0, 1fr); }
  .hero__scene { min-height: 0; grid-template-columns: minmax(0, 1fr) auto; }
  .mirror { width: min(20rem, 70vw); }
  .pole-stage { width: 5rem; height: 18rem; }
  .board__menu { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .rail-tools { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-xs); }
  .tool__label { font-size: var(--text-xs); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wall, .wall--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visit::before { display: none; }
  .reviews, .services, .posts, .values { grid-template-columns: minmax(0, 1fr); }
  .ticket { position: static; }
  .cta-band .wrap { grid-template-columns: minmax(0, 1fr); }
  .cta-band__pole { display: none; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .book__days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .book__progress { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .actionbar { position: fixed; z-index: var(--z-sticky); left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1.2fr; background: var(--paper); border-top: var(--rule-ink); padding-bottom: env(safe-area-inset-bottom); }
  .actionbar a { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 3.2rem; color: var(--ink); text-decoration: none; font: 700 .95rem/1 var(--font-display); text-transform: uppercase; }
  .actionbar__book { background: var(--ink); color: var(--paper); }
  body { padding-bottom: 3.4rem; }
}
@media (max-width: 40rem) {
  .hero { padding-bottom: var(--space-2xl); }
  .hero__title { max-width: none; }
  .hero__actions .btn, .cta-band__actions .btn, .book__nav .btn { padding-inline: 1rem; font-size: .95rem; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .team, .wall, .wall--home { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); }
  .barber__body { padding-inline: var(--space-xs); }
  .barber__book { margin-inline: var(--space-xs); }
  .visit { grid-template-columns: minmax(0, 1fr); }
  .rail-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .book__days { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .book__grid { grid-template-columns: minmax(0, 1fr); }
  .pole-stage { width: 4rem; height: 15rem; }
  .mirror { width: min(17rem, 64vw); }
  .week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats { gap: var(--space-md) var(--space-lg); }
}
@media (max-width: 24rem) {
  .hero__actions .btn, .cta-band__actions .btn { padding-inline: .75rem; font-size: .88rem; min-height: 2.75rem; }
  .brand__name { font-size: 1.4rem; }
}
@media (min-width: 100rem) {
  .hero__scene { min-height: 34rem; }
}

/* ---------------------------------------------------------------- 20. reduced motion: everything stands still, nothing is hidden */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal-group] > *, .js [data-reveal-group="wipe"] > *, .js [data-reveal-group="rise"] > * { opacity: 1; transform: none; clip-path: none; transition: none; }
  .js [data-parallax], .js [data-parallax].frame::after, .photo-band img { transform: none; }
  .visit::before { transform: scaleX(1); transition: none; }
  .open-chip__pole, .cta-band__pole, .pole__stripes, .t-blade-top, .t-blade-bottom, .t-hum, .t-comb, .t-razor, .t-steam, .map__pin-ring, .ticket__total { animation: none; }
  .barber:hover, .service:hover, .barber:hover .barber__photo, .cut:hover img, .post:hover img { transform: none; }
  .nav { transition: none; }
}

/* ---------------------------------------------------------------- 21. print: white paper, no navigation, no 3D */
@media print {
  .site-header, .nav, .btn, .actionbar, .site-footer__links, .pole-stage, .cta-band, .hero__actions, .book__nav, .filters, .lightbox { display: none; }
  body { background: #fff; color: #000; }
  .hero, .section--night, .page-head--night { background: none; color: #000; }
  .js [data-reveal-group] > * { opacity: 1; transform: none; clip-path: none; }
  a { text-decoration: none; color: inherit; }
}
