/* E-CUTZ — public site styles.
   Black is the brand's main colour (owner, 2026-10-31). The client's logo (gold textured E + off-white wordmark) sits on
   the page background without a seam. Gold is for the brand and thin details only: hairline frame/margin rule, the
   "now" line, a few small labels, focus rings, and at most ONE gold-filled button per view.
   The day sheet (ruled half-hours) stays the site's structural idea: hairline rules, times in the margin.
   All colours and fonts live in the first block. */

/* Sofia Sans + Sofia Sans Condensed (lettersoup), SIL Open Font License 1.1 — assets/fonts/OFL.txt.
   Self-hosted, latin subset, trimmed with fontTools instancer: Sofia Sans wght 400–700, Condensed wght 300–600.
   Condensed was chosen as the closest open match to the logo's thin condensed capitals.
   A weight outside those ranges needs the original font files again. */
@font-face {
  font-family: 'Sofia Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/sofia-sans-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Sofia Sans Cond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(/assets/fonts/sofia-sans-cond-latin.woff2) format('woff2');
}

/* ================================================================ tokens (sampled from materiale/e-cutz-logo.png) */
:root {
  --bg: #0B0B0B;           /* page: near-black, the logo PNG sits on it seamlessly */
  --bg-2: #151515;         /* hovered / pressed line, inputs on focus */
  --field: #121212;        /* inside inputs */
  --text: #F5F5F0;         /* off-white, median of the wordmark letters (18:1 on --bg) */
  --text-2: #A3A29B;       /* secondary text (7.6:1 on --bg, 7.1:1 on --bg-2) */
  --text-3: #8C8B85;       /* placeholders (5.6:1) */
  --gold: #D9BA8C;         /* flat gold, median of the logo's E (10.6:1 on --bg) */
  --gold-hi: #EBD2A6;      /* E highlight (85th percentile) */
  --gold-lo: #C5A274;      /* E shadow (15th percentile) */
  --gold-line: rgba(217, 186, 140, .38);  /* thin gold frame / margin rule */
  --line: #2B2A27;         /* hairline ruling (lines only, never text) */
  --line-2: #45433E;       /* section rules */
  --field-line: #6A675F;   /* input / select / textarea / checkbox borders (3.4:1 on --bg, 1.4.11) */
  --err: #F0907F;          /* error text (7.9:1 on --bg) */
  --open: #7CC796;         /* "open now" dot only */

  --font: 'Sofia Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-c: 'Sofia Sans Cond', 'Arial Narrow', 'Sofia Sans', system-ui, sans-serif;

  --maxw: 1360px;
  --gutter: 16px;
  --mcol: 32px;            /* margin column, left of the gold rule (hour numbers, labels) */
  --pad: 14px;             /* from the rule to the text */
  --line-h: 44px;          /* one ruled line = one touch target */
  --header-h: 60px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --radius: 2px;
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --gutter: 32px; --mcol: 120px; --pad: 28px; --line-h: 46px; --header-h: 72px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; --mcol: 168px; --pad: 40px; } }

/* ================================================================ base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.55 var(--font); font-kerning: normal;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent; overflow-x: hidden;
  scrollbar-color: var(--line-2) var(--bg); caret-color: var(--gold);
}
body.is-locked { overflow: hidden; }
::selection { background: var(--gold); color: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; }
ul { padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 1px; }
#app:focus { outline: none; }
.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 50; padding: 10px 16px; background: var(--text); color: var(--bg); font-weight: 700; border-radius: var(--radius); text-decoration: none; }
.skip:focus { top: 8px; }
.noscript { padding: 24px var(--gutter); font-size: 1rem; }

/* ================================================================ type */
.brand-mark { font-family: var(--font-c); font-weight: 400; text-transform: uppercase; letter-spacing: .18em; line-height: 1; }
.h-xl { font-family: var(--font-c); font-weight: 300; font-size: clamp(2.75rem, 11vw, 5.25rem); line-height: .95; letter-spacing: .01em; text-wrap: balance; margin-bottom: .3em; }
.h-lg { font-family: var(--font-c); font-weight: 300; font-size: clamp(2.125rem, 7.5vw, 3.375rem); line-height: 1; letter-spacing: .01em; text-wrap: balance; }
.h-sm { font-family: var(--font-c); font-weight: 500; font-size: 1.625rem; line-height: 1.1; letter-spacing: .01em; }
.lead { font-size: 1.1875rem; line-height: 1.5; color: var(--text-2); max-width: 40ch; text-wrap: pretty; }
.page .row-c > .lead { margin-bottom: 32px; }
.text-link { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold-line); text-decoration-thickness: 1px; text-underline-offset: .24em; transition: text-decoration-color 160ms ease, color 160ms ease; }
.text-link svg { width: 15px; height: 15px; margin-left: 4px; vertical-align: -1px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .text-link:hover { color: var(--gold); text-decoration-color: var(--gold); } }
/* letter-spaced gold small caps, as on the brand poster — used sparingly */
.caps { font-family: var(--font-c); font-weight: 400; text-transform: uppercase; letter-spacing: .32em; color: var(--gold); }

/* ================================================================ layout: full-width page, centred wraps; photo bands bleed to the edges */
:root { --gx-l: max(var(--gutter), env(safe-area-inset-left)); --gx-r: max(var(--gutter), env(safe-area-inset-right)); }
#app { position: relative; min-height: 62vh; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gx-l); padding-right: var(--gx-r); }

/* the ruled sheet (portal, 404): margin column with the thin gold rule + content */
.row { position: relative; display: grid; grid-template-columns: var(--mcol) minmax(0, 1fr); max-width: var(--maxw); margin: 0 auto; padding-left: var(--gx-l); padding-right: var(--gx-r); }
.row::before { content: ''; position: absolute; top: 0; bottom: 0; left: calc(var(--gx-l) + var(--mcol)); width: 1px; background: var(--gold-line); pointer-events: none; }
.row-c { padding-left: var(--pad); min-width: 0; }
.page .row-c { padding-top: 36px; padding-bottom: 80px; }
@media (min-width: 768px) { .page .row-c { padding-top: 64px; padding-bottom: 112px; } }

/* sections of the one page; the head is a title in condensed capitals over a short gold rule, as on the poster */
.sec { padding: 72px 0 80px; }
@media (min-width: 768px) { .sec { padding: 112px 0 120px; } }
.sec-head { display: grid; justify-items: center; max-width: 760px; margin: 0 auto 40px; text-align: center; }
.sec-title { font-family: var(--font-c); font-weight: 300; font-size: clamp(2.375rem, 10vw, 4.25rem); line-height: .98; letter-spacing: .06em; text-transform: uppercase; text-wrap: balance; }
.sec-title::after { content: ''; display: block; width: 56px; height: 1px; margin: 22px auto 0; background: var(--gold); }
.sec-title:focus { outline: none; }
.sec-head .lead { margin-top: 18px; }
@media (min-width: 768px) { .sec-head { margin-bottom: 56px; } }
/* heads beside a photo (booking, visit) sit on the left */
.book-panel .sec-head, .visit-info .sec-head { justify-items: start; margin: 0; text-align: left; }
.book-panel .sec-title::after, .visit-info .sec-title::after { margin-left: 0; }

/* the client's tagline: HAIRCUTS | FADES | BEARDS | SHAVES, letter-spaced, thin gold bars between */
.tagline { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 12px; font: 400 .8125rem/1.3 var(--font-c); letter-spacing: .26em; text-transform: uppercase; color: var(--text); }
.tagline span { margin-right: -.26em; }
.tagline i { width: 1px; height: 13px; background: var(--gold); }
@media (min-width: 768px) { .tagline { gap: 6px 18px; font-size: 1rem; letter-spacing: .34em; } .tagline span { margin-right: -.34em; } .tagline i { height: 16px; } }

/* ================================================================ buttons
   gold = the one main action per view (never more); light = off-white fill; line = outlined.
   Hover: the new colour grows as a circle from the pointer (--x/--y from btnPoint() in app.js) and pulls back on leave. */
.btn {
  --h: 52px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h); padding: 0 24px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--font-c); font-weight: 500; font-size: 1.1875rem; line-height: 1.1; letter-spacing: .06em; text-decoration: none; white-space: nowrap;
  cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation;
  transition: color 280ms ease, border-color 280ms ease, transform 160ms var(--ease-out);
}
.btn svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.btn span { overflow: hidden; text-overflow: ellipsis; }
.btn::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  left: var(--x, 50%); top: var(--y, 50%); width: 250%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%) scale(0); transition: transform 480ms var(--ease-out);
}
.btn:active { transform: scale(.97); transition-duration: 100ms; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-gold { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.btn-gold::before { background: var(--text); }
.btn-light { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-light::before { background: var(--bg); }
.btn-line { background: transparent; color: var(--text); border-color: rgba(245, 245, 240, .55); }
.btn-line::before { background: var(--text); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover::before { transform: translate(-50%, -50%) scale(1); }
  .btn-gold:hover { border-color: var(--text); }
  .btn-light:hover { color: var(--text); border-color: var(--text); }
  .btn-line:hover { color: var(--bg); border-color: var(--text); }
}
@media (prefers-reduced-motion: reduce) { .btn, .btn::before { transition: none; } }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 599px) { .actions > .btn { flex: 1 1 100%; white-space: normal; text-align: center; padding: 8px 18px; } }
.btn { max-width: 100%; }
.btn span { min-width: 0; }
.btn-wide { min-width: min(100%, 280px); }

/* ================================================================ header */
.header { position: sticky; top: 0; z-index: 30; background: rgba(11, 11, 11, .94); border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
@supports (backdrop-filter: blur(8px)) { .header { background: rgba(11, 11, 11, .82); backdrop-filter: blur(10px); } }
.header.is-solid { border-bottom-color: var(--line); }
.header-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left)); height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--text); text-decoration: none; font-size: 1.25rem; margin-right: auto; transition: opacity 220ms ease, transform 260ms var(--ease-out); }
.logo-emblem { width: auto; height: 34px; }
.logo-word { width: auto; height: 17px; }
@media (max-width: 339px) { .logo-emblem { display: none; } }
@media (min-width: 768px) { .logo-emblem { height: 40px; } .logo-word { height: 19px; } }
.header.mark-hidden .logo { opacity: 0; transform: translateY(6px); }
.header.mark-hidden .logo:focus-visible, .menu-open .header.mark-hidden .logo { opacity: 1; transform: none; }
.nav { display: none; gap: 4px; }
.nav a, .lang a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-family: var(--font-c); font-weight: 500; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text); }
.nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform 240ms var(--ease-out); }
.nav a.is-active::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav a:hover::after { transform: scaleX(1); } .lang a:hover { color: var(--gold); } }
.header-end { display: flex; align-items: center; gap: 4px; }
.header .lang { display: none; }
.lang { display: flex; align-items: center; }
.lang a { padding: 0 9px; color: var(--text-2); }
.lang a[aria-current] { color: var(--text); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .4em; }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px 0 12px; border: 0; background: none; font-weight: 600; font-size: .9375rem; color: var(--text); }
.menu-btn-icon { position: relative; width: 22px; height: 12px; }
.menu-btn-icon i { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--text); transition: transform 240ms var(--ease-out); }
.menu-btn-icon i:first-child { top: 0; }
.menu-btn-icon i:last-child { bottom: 0; }
.menu-open .menu-btn-icon i:first-child { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn-icon i:last-child { transform: translateY(-5px) rotate(-45deg); }
@media (min-width: 900px) {
  .nav { display: flex; }
  .header .lang { display: flex; margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line); }
  .menu-btn { display: none; }
}

/* ================================================================ menu (phones) */
.menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 25; background: var(--bg); color: var(--text); overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--line);
  opacity: 0; transform: translateY(-8px); transition: opacity 220ms ease, transform 260ms var(--ease-out); }
.menu.is-open { opacity: 1; transform: none; }
.menu-inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 20px var(--gutter) calc(28px + env(safe-area-inset-bottom)); }
.menu-links { display: flex; flex-direction: column; }
.menu-links a { display: flex; align-items: center; min-height: 60px; border-bottom: 1px solid var(--line); font-family: var(--font-c); font-weight: 300; font-size: 2.5rem; line-height: 1; letter-spacing: .02em; text-decoration: none; color: var(--text); }
.menu-links a.is-active::after { content: ''; width: 28px; height: 1px; margin-left: 16px; background: var(--gold); }
.menu-foot { display: grid; gap: 20px; }
.menu-addr { color: var(--text-2); }
.menu .lang a { padding: 0 16px 0 0; text-transform: none; letter-spacing: .04em; font-size: 1.0625rem; }
@media (prefers-reduced-motion: reduce) { .menu { transition: none; transform: none; } }

/* over the hero photo the header has no panel of its own, only a soft shade from the top */
.header.over-hero { background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, 0)); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; }

/* ================================================================ hero: a full-bleed dark photo with the poster's lockup over it
   (thin gold frame lines, BARBERSHOP between gold rules, the razor on its gold line, the tagline) */
.hero { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 100vh; min-height: 100svh; margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + 24px) var(--gx-r) 44px var(--gx-l); overflow: hidden; text-align: center; background: #000; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
/* scrim: darker at the edges and under the text, so every line keeps AA contrast over the photo */
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 60% at 50% 46%, rgba(11, 11, 11, .5), rgba(11, 11, 11, .82) 80%), linear-gradient(to bottom, rgba(11, 11, 11, .55), rgba(11, 11, 11, .1) 26%, rgba(11, 11, 11, .45) 66%, var(--bg)); }
.hero::after { content: ''; position: absolute; left: 12px; right: 12px; top: calc(var(--header-h) + 6px); bottom: 12px; border: 1px solid var(--gold-line); border-top: 0; pointer-events: none; }
.hero-in { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 640px; }
.hero-mark { display: flex; flex-direction: column; align-items: center; margin: 0; font-weight: 400; }
.hero-lockup { width: min(62vw, 250px); height: auto; filter: drop-shadow(0 8px 30px rgba(0, 0, 0, .55)); }
.hero-mark .brand-xl { font-size: clamp(3.5rem, 18vw, 7rem); }
.hero-rule { display: flex; align-items: center; gap: 16px; width: min(80vw, 420px); margin-top: 18px; font-size: clamp(1rem, 4.2vw, 1.375rem); letter-spacing: .38em; }
.hero-rule::before, .hero-rule::after { content: ''; flex: 1; height: 1px; background: var(--gold); opacity: .8; }
.hero-rule > span { padding-left: .38em; } /* balances the trailing letter-spacing */
.hero-razor { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 14px; color: var(--gold); }
.hero-razor::before, .hero-razor::after { content: ''; width: 1px; height: 18px; background: var(--gold-line); }
.hero-razor svg { width: 52px; height: 21px; }
.hero-tags { margin-top: 18px; }
.hero-addr { margin-top: 12px; color: rgba(245, 245, 240, .82); font-size: .9375rem; }
.hero .actions { justify-content: center; width: 100%; max-width: 520px; margin-top: 26px; }
@media (min-width: 768px) {
  .hero { padding-bottom: 64px; }
  .hero::after { left: 24px; right: 24px; bottom: 24px; }
  .hero-lockup { width: 330px; }
  .hero-razor::before, .hero-razor::after { height: 26px; }
  .hero-tags { margin-top: 26px; }
  .hero-addr { font-size: 1.0625rem; }
}
@media (min-width: 1100px) { .hero-lockup { width: 390px; } .hero::after { left: 40px; right: 40px; bottom: 40px; } }
/* the one load moment: the lockup settles and the two gold rules draw outwards from "Barbershop" */
/* transform only: the logo is never hidden, even if the animation does not run (background tab, slow device) */
@keyframes lockup-in { from { transform: translateY(10px) scale(.985); } to { transform: none; } }
@keyframes rule-out-l { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.is-ready .hero-lockup, .is-ready .hero-mark .brand-xl { animation: lockup-in 900ms var(--ease-out) both; }
.is-ready .hero-rule::before { transform-origin: 100% 50%; animation: rule-out-l 900ms 250ms var(--ease-out) both; }
.is-ready .hero-rule::after { transform-origin: 0 50%; animation: rule-out-l 900ms 250ms var(--ease-out) both; }

/* facts list (label / value) */
.facts { display: grid; gap: 16px; }
.facts dt { font-size: .875rem; font-weight: 600; color: var(--text-2); line-height: 1.6; }
.facts dd { font-size: 1.0625rem; line-height: 1.5; }
.facts dd .num { font-family: var(--font-c); font-weight: 400; font-size: 1.5rem; letter-spacing: .04em; }
.facts-note { color: var(--text-2); font-size: .9375rem; }
@media (min-width: 768px) { .facts dt { line-height: 1.55; padding-top: 3px; } .facts dd .num { font-size: 1.625rem; } }

/* the day sheet (booking time picker): one ruled line per hour, two half-hour cells */
.sheet { position: relative; border-top: 1px solid var(--line-2); }
.sheet-row { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: var(--line-h); border-bottom: 1px solid var(--line); }
.sheet-h { position: absolute; top: 0; left: calc(-1 * (var(--mcol) + var(--pad))); width: calc(var(--mcol) - 6px); height: 100%; display: flex; align-items: center; justify-content: flex-end; font-family: var(--font-c); font-weight: 400; font-size: .9375rem; color: var(--text-2); }
.slot { position: relative; display: flex; align-items: center; min-height: var(--line-h); padding: 0 14px; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; touch-action: manipulation; color: var(--text); text-decoration: none; font-family: var(--font-c); font-weight: 400; font-size: 1.1875rem; letter-spacing: .04em; transition: background-color 160ms ease, color 160ms ease; }
.slot.is-void { pointer-events: none; }
.slot + .slot { border-left: 1px solid var(--line); }
.slot.is-static { color: var(--text-2); }
.slot.is-past { color: var(--text-2); }
.sheet.is-closed .slot { color: var(--text-2); }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-2); }
.status.is-open i { background: var(--open); }

/* ================================================================ photo panels: a photo under a dark scrim, framed by a thin gold
   line like the poster. Used by the category tiles, the barbers, booking and visit. */
.ph { position: relative; isolation: isolate; overflow: hidden; background: #111; }
.ph > img, .ph > picture img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.ph::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(11, 11, 11, .94), rgba(11, 11, 11, .45) 42%, rgba(11, 11, 11, .08) 72%); }
.ph::after { content: ''; position: absolute; inset: 8px; border: 1px solid var(--gold-line); pointer-events: none; }

/* ================================================================ services: the four poster categories, then the price menu */
.cats { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cat { aspect-ratio: 4 / 5; display: flex; align-items: flex-end; justify-content: center; }
.cat-txt { width: 100%; padding: 0 10px 18px; text-align: center; }
.cat-name { font: 400 1.0625rem/1.2 var(--font-c); letter-spacing: .26em; text-transform: uppercase; margin-right: -.26em; }
.cat-sub { margin-top: 4px; color: rgba(245, 245, 240, .8); font-size: .8125rem; }
@media (min-width: 900px) {
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .cat-txt { padding-bottom: 28px; }
  .cat-name { font-size: 1.375rem; letter-spacing: .32em; margin-right: -.32em; }
  .cat-sub { font-size: .9375rem; }
}
/* no price list yet: prices on request, the phone written large */
.ask { display: grid; justify-items: center; gap: 4px; margin-top: 44px; text-align: center; }
.ask-text { font-size: 1.0625rem; }
.ask-phone { display: inline-flex; align-items: center; min-height: 56px; color: var(--text); text-decoration: none; font: 300 clamp(2.25rem, 10vw, 3.5rem)/1 var(--font-c); letter-spacing: .04em; transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .ask-phone:hover { color: var(--gold); } }
.ask-phone:active { color: var(--gold); }
.ask-note { color: var(--text-2); font-size: .9375rem; }
/* the admin's services as a barbershop price board beside a framed photo (admin order, never re-sorted):
   name in condensed capitals, time and description under it, price and "Book" on the right, thin gold rules between */
.sec-services.has-menu { padding-top: 0; }
.prices-grid { display: grid; gap: 40px; }
.prices-pic { display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 16 / 10; margin-left: calc(-1 * var(--gx-l)); margin-right: calc(-1 * var(--gx-r)); }
.prices-pic::after { inset: 12px; }
.prices-tags { width: 100%; padding: 0 20px 30px; }
.prices .sec-head { justify-items: start; margin: 0 0 28px; text-align: left; }
.prices .sec-title::after { margin-left: 0; }
.price-list { list-style: none; border-top: 1px solid var(--gold-line); }
.price-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 4px 20px; padding: 18px 0 14px; border-bottom: 1px solid var(--gold-line); }
.price-name { font: 500 1.3125rem/1.15 var(--font-c); letter-spacing: .08em; text-transform: uppercase; overflow-wrap: anywhere; hyphens: auto; }
.price-time { margin-top: 6px; font: 400 .9375rem var(--font-c); letter-spacing: .06em; color: var(--gold); }
.price-desc { margin-top: 4px; max-width: 52ch; color: var(--text-2); font-size: .9375rem; line-height: 1.45; }
.price-side { display: grid; justify-items: end; align-content: start; text-align: right; }
.price-amt { font: 400 1.5rem/1.1 var(--font-c); letter-spacing: .02em; white-space: nowrap; }
.price-book { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-right: -2px; color: var(--text); font-weight: 600; font-size: .9375rem; text-decoration: underline; text-decoration-color: var(--gold-line); text-underline-offset: .24em; white-space: nowrap; touch-action: manipulation; transition: color 160ms ease, text-decoration-color 160ms ease; }
.price-book svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.price-book:active { color: var(--gold); }
@media (hover: hover) and (pointer: fine) { .price-book:hover { color: var(--gold); text-decoration-color: var(--gold); } }
@media (min-width: 768px) { .price-name { font-size: 1.5rem; } .price-amt { font-size: 1.75rem; } .price-item { padding: 22px 0 16px; } }
@media (min-width: 1024px) {
  .sec-services.has-menu { padding-top: 112px; }
  .prices-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .prices-pic { position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: 4 / 5; margin: 0; }
  .prices-pic::after { inset: 14px; }
}

/* ================================================================ "Our professionals": photographic cards (real barbers only) */
.pros { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; max-width: 1200px; margin: 0 auto; }
.pros.is-one { grid-template-columns: minmax(0, 320px); justify-content: center; }
@media (min-width: 600px) { .pros, .pros.is-one { grid-template-columns: repeat(auto-fit, minmax(200px, 280px)); justify-content: center; gap: 36px 20px; } }
.pro-pic { aspect-ratio: 4 / 5; display: flex; align-items: flex-end; }
.pro-pic .avatar { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; aspect-ratio: auto; }
.pro-pic .avatar-init > span { font-size: 46cqi; transform: translateY(-14%); }
.pro-pic .avatar-init::after { bottom: 46%; left: 34%; right: 34%; }
.pro-cap { width: 100%; padding: 0 16px 18px; }
.pro-name { font: 400 clamp(1.25rem, 5vw, 1.75rem)/1.05 var(--font-c); letter-spacing: .06em; text-transform: uppercase; overflow-wrap: anywhere; }
.pro-title { margin-top: 5px; color: rgba(245, 245, 240, .82); font-size: .875rem; }
.pro-bio { margin-top: 12px; color: #DEDDD6; font-size: .9375rem; }
.pro-book { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-size: .9375rem; }

/* ================================================================ booking: a framed photo panel, then the flow on its own ruled sheet */
.sec-book { padding-top: 0; }
.book-grid { display: grid; gap: 36px; }
.book-panel { display: flex; align-items: flex-end; aspect-ratio: 1 / 1; margin-left: calc(-1 * var(--gx-l)); margin-right: calc(-1 * var(--gx-r)); }
.book-panel::after { inset: 12px; }
.book-panel-in { width: 100%; padding: 0 28px 32px; }
.book-panel .lead { color: rgba(245, 245, 240, .86); }
/* the flow's own sheet: step numbers, durations and hours in the margin left of the thin gold rule */
.flowrow { --mcol: 32px; --pad: 14px; position: relative; display: grid; grid-template-columns: var(--mcol) minmax(0, 1fr); }
.flowrow::before { content: ''; position: absolute; top: 0; bottom: 0; left: var(--mcol); width: 1px; background: var(--gold-line); pointer-events: none; }
.flowrow-c { grid-column: 2; min-width: 0; padding-left: var(--pad); }
@media (min-width: 768px) { .flowrow { --mcol: 64px; --pad: 24px; } }
/* offline: a full-width photo band, call or visit */
.sec-book.is-off { padding: 0; }
.sec-book.is-off + .sec-visit { padding-top: 72px; }
.book-band { display: grid; place-items: center; padding: 88px 0 80px; text-align: center; }
.book-band::before { background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(11, 11, 11, .6), rgba(11, 11, 11, .9) 80%); }
.book-band::after { inset: 12px; }
.book-band-in { width: 100%; }
.book-band-in .sec-head { margin-bottom: 28px; }
.book-band .lead { color: rgba(245, 245, 240, .88); }
.book-band .actions { justify-content: center; max-width: 520px; margin: 0 auto; }
@media (min-width: 1024px) { .book-band { padding: 150px 0 140px; } .book-band::after { inset: 24px; } .sec-book.is-off + .sec-visit { padding-top: 112px; } }
@media (min-width: 1024px) {
  .sec-book { padding-top: 112px; }
  .book-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .book-panel { position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: 4 / 5; margin: 0; }
  .book-panel::after { inset: 14px; }
  .book-panel-in { padding: 0 36px 40px; }
  .sec-book.is-off .book-grid { align-items: center; }
}

/* ================================================================ visit: a photo with the address on it, the hours and contacts beside */
.sec-visit { padding-top: 0; }
.visit { display: grid; gap: 36px; }
.visit-pic { display: flex; align-items: flex-end; aspect-ratio: 4 / 3; margin-left: calc(-1 * var(--gx-l)); margin-right: calc(-1 * var(--gx-r)); }
.visit-pic::after { inset: 12px; }
.visit-addr { width: 100%; margin: 0; padding: 0 28px 30px; }
.visit-info .actions { margin: 28px 0 32px; }
@media (min-width: 1024px) {
  .sec-visit { padding-top: 112px; }
  .visit { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }
  .visit-pic { aspect-ratio: 4 / 3; margin: 0; }
  .visit-pic::after { inset: 14px; }
  .visit-addr { padding: 0 40px 40px; }
}

/* empty page: blank ruled lines with the note written on them */
.empty { position: relative; max-width: 760px; }
.empty-lines { position: absolute; left: 0; right: 0; top: 0; border-top: 1px solid var(--line-2); pointer-events: none; }
.empty-lines i { display: block; height: var(--line-h); border-bottom: 1px solid var(--line); }
.empty-text { position: relative; top: 9px; min-height: calc(var(--line-h) * 3); padding-top: 1px; font-family: var(--font-c); font-weight: 300; font-size: clamp(1.5rem, 5.4vw, 2rem); line-height: var(--line-h); letter-spacing: .01em; color: var(--text); max-width: 22ch; text-wrap: pretty; }
.empty .actions { margin-top: 28px; }
.empty-after { margin-top: 22px; font-size: 1.1875rem; }

/* ================================================================ gallery */
.photos { list-style: none; columns: 2; column-gap: 10px; }
.photos li { break-inside: avoid; margin-bottom: 10px; }
.photo { display: block; width: 100%; padding: 0; border: 0; background: var(--bg-2); overflow: hidden; cursor: zoom-in; }
.photo img { width: 100%; height: auto; transition: transform 500ms var(--ease-out), opacity 200ms ease; }
@media (hover: hover) and (pointer: fine) { .photo:hover img { transform: scale(1.025); } }
.photo:focus-visible { outline-offset: 2px; }
@media (min-width: 1024px) { .photos { columns: 3; column-gap: 14px; } .photos li { margin-bottom: 14px; } }

.viewer { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--text); }
.viewer::backdrop { background: rgba(0, 0, 0, .9); }
.viewer[open] { display: flex; flex-direction: column; }
.viewer-fig { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; }
.viewer-fig img { max-width: 100%; max-height: calc(100dvh - 140px); width: auto; height: auto; object-fit: contain; }
.viewer-count { font-family: var(--font-c); letter-spacing: .06em; color: var(--text-2); }
.viewer-ui { display: flex; justify-content: center; gap: 12px; padding: 0 16px calc(16px + env(safe-area-inset-bottom)); }
.icon-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(245, 245, 240, .45); border-radius: var(--radius); background: transparent; color: var(--text); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: var(--text); color: var(--bg); } }

/* ================================================================ booking form */
.book { max-width: 640px; }
.book-fields { display: grid; gap: 22px; }
.field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field > legend { font-weight: 600; font-size: .9375rem; line-height: 1.35; padding: 0; }
.opt { font-weight: 400; color: var(--text-2); }
.req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font-size: 1.0625rem; line-height: 1.4;
  background: var(--field); border: 1px solid var(--field-line); border-radius: var(--radius); color: var(--text);
  transition: border-color 160ms ease, background-color 160ms ease;
}
.field textarea { resize: vertical; min-height: 104px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D9BA8C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field select option { background: var(--bg); color: var(--text); }
.field input[type=date] { -webkit-appearance: none; appearance: none; font-family: var(--font-c); font-weight: 400; font-size: 1.25rem; letter-spacing: .04em; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); background: var(--bg-2); }
@media (hover: hover) and (pointer: fine) { .field input:hover, .field select:hover, .field textarea:hover { border-color: var(--text-2); } }
.field [aria-invalid=true] { border-color: var(--err); }
.hint { font-size: .875rem; color: var(--text-2); }
.hint.is-warn { color: var(--err); font-weight: 600; }
.hint:empty { display: none; }
.field-error { color: var(--err); font-weight: 600; font-size: .9375rem; }
.field-time .sheet { margin-top: 4px; }
fieldset[aria-invalid=true] .sheet { border-top-color: var(--err); }
.check-field { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 4px 12px; align-items: start; }
.check-field input { appearance: none; -webkit-appearance: none; display: grid; place-items: center; width: 24px; height: 24px; margin: 10px 0 0; border: 1.5px solid var(--field-line); border-radius: 2px; background: var(--field); cursor: pointer; }
.check-field input::after { content: ''; width: 12px; height: 7px; border-left: 2px solid var(--bg); border-bottom: 2px solid var(--bg); transform: translateY(-2px) rotate(-45deg); opacity: 0; }
.check-field input:checked { background: var(--gold); border-color: var(--gold); }
.check-field input:checked::after { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .check-field input:hover { border-color: var(--text-2); } }
.check-field label { padding: 8px 0; line-height: 1.45; cursor: pointer; }
.check-field .field-error { grid-column: 2; }
.check-field input[aria-invalid=true] { outline: 2px solid var(--err); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.book-out:empty { display: none; }
.notice { padding: 18px 0 20px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.notice p { font-weight: 600; font-size: 1.0625rem; margin-bottom: 14px; max-width: 52ch; }
@media (min-width: 768px) {
  .page-book .field > label, .page-book .field > legend { top: 15px; }
  .page-book .field-time > legend { position: static; width: auto; text-align: left; margin-bottom: 8px; }
  .page-book .field > label .opt { display: block; }
}

/* sent: a gold stamp on the request */
.sent { max-width: 640px; display: grid; gap: 14px; justify-items: start; }
.sent h2:focus { outline: none; }
.sent p { font-size: 1.125rem; max-width: 46ch; }
.sent .actions { margin-top: 10px; }
.stamp { display: inline-block; padding: 5px 16px 4px; border: 1px solid var(--gold); outline: 1px solid var(--gold-line); outline-offset: 3px; color: var(--gold); font-family: var(--font-c); font-weight: 500; font-size: 1.25rem; line-height: 1.1; letter-spacing: .3em; text-transform: uppercase; transform: rotate(-3deg); animation: stamp 320ms var(--ease-out) both; }
@keyframes stamp { from { opacity: 0; transform: rotate(-3deg) scale(1.3); } to { opacity: 1; transform: rotate(-3deg) scale(1); } }

.sent h3:focus { outline: none; }
.sent .hint { font-size: .9375rem; }
.receipt { display: grid; width: 100%; max-width: 520px; border-top: 1px solid var(--line-2); }
.receipt > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.receipt dt { color: var(--text-2); font-size: .9375rem; font-weight: 600; flex: none; }
.receipt dd { text-align: right; font-family: var(--font-c); font-size: 1.25rem; line-height: 1.25; letter-spacing: .02em; }
.book-off { margin-top: 4px; }

/* text that acts: a button styled as an underlined link */
.text-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--text); font-weight: 600; font-size: .9375rem; text-align: left; text-decoration: underline; text-decoration-color: var(--gold-line); text-decoration-thickness: 1px; text-underline-offset: .24em; cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; transition: color 160ms ease, text-decoration-color 160ms ease; }
.text-btn:active { color: var(--gold); }
.text-btn[disabled] { opacity: .6; cursor: progress; }
@media (hover: hover) and (pointer: fine) { .text-btn:hover { color: var(--gold); text-decoration-color: var(--gold); } }
.btn-sm { --h: 44px; padding: 0 18px; font-size: 1.0625rem; }
.btn-danger { background: transparent; color: var(--err); border-color: var(--err); }
.btn-danger::before { background: var(--err); }
@media (hover: hover) and (pointer: fine) { .btn-danger:hover { color: var(--bg); } }
.loading { padding: 14px 0; color: var(--text-2); font-weight: 600; }
.notice p:last-child { margin-bottom: 0; }
.form-out:empty { display: none; }

/* ================================================================ booking flow: five ruled steps, the number in the margin */
.flow { max-width: 760px; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.step { position: relative; border-bottom: 1px solid var(--line); }
.step-head { position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 0; }
.step-n { position: absolute; top: 0; bottom: 0; left: calc(-1 * (var(--mcol) + var(--pad))); width: calc(var(--mcol) - 6px); display: flex; align-items: center; justify-content: flex-end; font: 400 1.125rem/1 var(--font-c); color: var(--text-2); }
.step.is-open .step-n { color: var(--gold); }
.step-label { flex: 1; min-width: 0; }
.step-title { font-family: var(--font-c); font-weight: 400; font-size: 1.375rem; line-height: 1.15; letter-spacing: .01em; color: var(--text-2); }
.step-title:focus { outline: none; }
.step.is-open .step-title { color: var(--text); font-weight: 300; font-size: clamp(1.75rem, 6vw, 2.25rem); line-height: 1.05; }
.step.is-done .step-title { font-family: var(--font); font-size: .875rem; font-weight: 600; letter-spacing: 0; }
.step-val { margin-top: 2px; font-family: var(--font-c); font-size: 1.375rem; line-height: 1.2; letter-spacing: .01em; color: var(--text); overflow-wrap: anywhere; }
.step-val:empty { display: none; }
.step-change { flex: none; }
.step-body { padding: 2px 0 28px; }
@media (min-width: 768px) { .step-n { width: calc(var(--mcol) - 16px); font-size: 1.375rem; } }
.flow-msg { margin: 0 0 14px; padding: 12px 0; border-top: 1px solid var(--gold); font-weight: 600; max-width: 52ch; }
.pick-status { display: grid; gap: 2px; justify-items: start; padding: 14px 0 4px; }
.pick-status p { font-weight: 600; }
.pick-other { margin-top: 6px; }

/* choices as ledger lines (service: duration in the margin, price on the right; barber: avatar) */
.picks { border-top: 1px solid var(--line-2); }
.pick { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto 22px; align-items: center; gap: 4px 14px; width: 100%; min-height: 64px; padding: 12px 10px 12px 12px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); text-align: left; cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; transition: background-color 160ms ease; }
.pick:active, .pick[aria-pressed=true] { background: var(--bg-2); }
.pick:focus-visible { outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) { .pick:hover { background: var(--bg-2); } }
.pick-m { position: absolute; top: 50%; left: calc(-1 * (var(--mcol) + var(--pad))); width: calc(var(--mcol) - 4px); transform: translateY(-50%); text-align: right; font: 400 .875rem/1.1 var(--font-c); color: var(--text-2); }
@media (min-width: 768px) { .pick-m { width: calc(var(--mcol) - 16px); font-size: 1rem; } }
.pick-main { display: grid; gap: 2px; min-width: 0; }
.pick-name { font: 500 1.375rem/1.15 var(--font-c); letter-spacing: .01em; overflow-wrap: anywhere; }
.pick-desc { font-size: .9375rem; line-height: 1.4; color: var(--text-2); }
.pick-price { font: 500 1.375rem/1.15 var(--font-c); letter-spacing: .02em; white-space: nowrap; }
.pick-check { width: 22px; height: 22px; color: var(--gold); opacity: 0; }
.pick-check svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pick[aria-pressed=true] .pick-check { opacity: 1; }
.pick-barber { grid-template-columns: auto minmax(0, 1fr) 22px; }
@media (min-width: 768px) { .picks-barbers { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; } }

/* avatars: square photo, or the initial on a dark tile with a thin gold rule */
.avatar { position: relative; display: block; flex: none; width: 56px; aspect-ratio: 1; overflow: hidden; background: var(--bg-2); container-type: inline-size; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-init, .avatar-any { display: grid; place-items: center; background: #151515; }
.avatar-init > span { font: 300 52cqi/1 var(--font-c); color: var(--text); transform: translateY(-4%); }
.avatar-init::after { content: ''; position: absolute; left: 26%; right: 26%; bottom: 17%; height: 1px; background: var(--gold); opacity: .8; }
.avatar-emblem { width: 54%; height: auto; }
.avatar-any > span { font: 300 1.75rem/1 var(--font-c); color: var(--gold); }

/* the month: ruled week lines (Monday first), the chosen day filled off-white, today marked with the gold dot */
.cal { max-width: 520px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.cal-title { font: 400 1.5rem/1.1 var(--font-c); letter-spacing: .02em; }
.icon-sm { width: 44px; height: 44px; }
.icon-btn[disabled] { opacity: .3; cursor: default; }
.cal-wd { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding-bottom: 6px; }
.cal-wd span { text-align: center; font: 500 .8125rem var(--font-c); letter-spacing: .06em; color: var(--text-2); }
.cal-grid { border-top: 1px solid var(--line-2); transition: opacity 160ms ease; }
.cal.is-busy .cal-grid { opacity: .45; }
.cal-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.cal-day { position: relative; display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0; border: 0; background: none; color: var(--text); font: 500 1.25rem/1 var(--font-c); letter-spacing: .02em; cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; transition: background-color 160ms ease, color 160ms ease; }
.cal-day + .cal-day { border-left: 1px solid var(--line); }
.cal-day.is-off { color: var(--text-2); opacity: .5; font-weight: 400; cursor: default; }
.cal-day[aria-pressed=true] { background: var(--text); color: var(--bg); font-weight: 600; }
.cal-day:not(.is-off):active { background: var(--bg-2); }
.cal-day:focus-visible { outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) { .cal-day:not(.is-off):not([aria-pressed=true]):hover { background: var(--bg-2); } }
.cal-today { position: absolute; left: 50%; bottom: 6px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--gold); }
/* small phones: the month starts at the gold rule so each day stays a full touch target */
@media (max-width: 420px) { .cal { margin-left: calc(1px - var(--pad)); } }

/* free times: the day sheet with one line per hour and a cell per start time */
.sheet.is-times .sheet-row { grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); }
.sheet.is-times .slot { padding: 0 10px; font-size: 1.125rem; }
button.slot { width: 100%; border: 0; background: none; text-align: left; cursor: pointer; }
.slot[aria-pressed=true] { background: var(--text); color: var(--bg); font-weight: 600; }
button.slot:active { background: var(--bg-2); }
button.slot:focus-visible { outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) { button.slot:not([aria-pressed=true]):hover { background: var(--bg-2); } }

/* details: the logged-in customer's details instead of the fields */
.book-login { font-size: .9375rem; }
.as-me { display: grid; gap: 8px; justify-items: start; padding: 14px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); }
.as-me-title { font-weight: 600; font-size: .9375rem; color: var(--text-2); }
.as-me-list { display: grid; gap: 4px; }
.as-me-list div { display: flex; flex-wrap: wrap; gap: 0 12px; }
.as-me-list dt { min-width: 7.5ch; color: var(--text-2); }
.as-me-list dd { overflow-wrap: anywhere; }
.book-go { display: grid; gap: 10px; }


/* ================================================================ account link (header + menu) */
.acct-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 8px; color: var(--text); text-decoration: none; font: 500 1rem var(--font-c); text-transform: uppercase; letter-spacing: .1em; touch-action: manipulation; transition: color 160ms ease; }
.acct-link[hidden], .menu-acct[hidden] { display: none; }
.acct-link svg, .menu-acct svg { width: 21px; height: 21px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.acct-link[aria-current] svg { color: var(--gold); }
.acct-label { max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .acct-link:hover, .menu-acct:hover { color: var(--gold); } }
/* phones: the icon alone in the header (its name is in the label); the menu shows it written out */
@media (max-width: 479px) { .header .acct-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.menu-acct { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; justify-self: start; color: var(--text); text-decoration: none; font-weight: 600; font-size: 1.0625rem; }
.menu-acct .acct-label { max-width: 20em; }

/* ================================================================ customer portal */
.page-acct .row-c > * { max-width: 760px; }
.acct-head { margin-bottom: 24px; }
.acct-head h1 { overflow-wrap: anywhere; }
.acct-head h1:focus { outline: none; }
.acct-head .lead { overflow-wrap: anywhere; }
.acct-form { margin-top: 8px; }
.acct-alt { color: var(--text-2); font-size: .9375rem; }
.acct-alt .text-btn, .acct-links .text-btn { margin-left: 2px; }
.acct-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; margin: 4px 0 32px; border-bottom: 1px solid var(--line-2); }
.tabs { display: flex; }
.tab { position: relative; min-height: 48px; margin-right: 22px; padding: 0; border: 0; background: none; color: var(--text-2); font: 500 1.125rem var(--font-c); text-transform: uppercase; letter-spacing: .1em; cursor: pointer; touch-action: manipulation; transition: color 160ms ease; }
.tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform 240ms var(--ease-out); }
.tab[aria-current] { color: var(--text); }
.tab[aria-current]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .tab:hover { color: var(--text); } }
.acct-sec + .acct-sec { margin-top: 52px; }
.acct-h { margin-bottom: 14px; }
.policy { max-width: 62ch; margin-bottom: 16px; color: var(--text-2); font-size: .9375rem; }

.appts { list-style: none; border-top: 1px solid var(--line-2); }
.appt { position: relative; padding: 16px 0 18px; border-bottom: 1px solid var(--line); }
.appt-m { position: absolute; top: 17px; left: calc(-1 * (var(--mcol) + var(--pad))); width: calc(var(--mcol) - 4px); display: grid; justify-items: end; text-align: right; font: 400 .75rem/1.15 var(--font-c); letter-spacing: .04em; color: var(--text-2); }
.appt-m b { font-weight: 300; font-size: 1.625rem; line-height: 1; color: var(--text); }
@media (min-width: 768px) { .appt-m { width: calc(var(--mcol) - 16px); font-size: .9375rem; } .appt-m b { font-size: 2.25rem; } }
.appt-when { font: 400 1.5rem/1.15 var(--font-c); letter-spacing: .01em; }
.appt-what { margin-top: 2px; color: var(--text-2); }
.appt-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 10px; }
.appt-price { margin-left: auto; font: 500 1.25rem var(--font-c); letter-spacing: .02em; }
.appt.is-cancelled .appt-when { color: var(--text-2); text-decoration: line-through; text-decoration-color: var(--gold-line); }
.appts.is-past .appt-m b { color: var(--text-2); }
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border: 1px solid var(--line-2); border-radius: var(--radius); font-size: .8125rem; font-weight: 600; letter-spacing: .02em; color: var(--text); }
.tag-cancelled, .tag-no_show, .tag-pay-unpaid { color: var(--text-2); }
.appt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 14px; }
.appt-late { margin-top: 12px; }
.appt-panel { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.confirm-q { font-weight: 600; margin-bottom: 12px; max-width: 46ch; }
.move > h3 { margin-bottom: 10px; }
.move > h3:focus { outline: none; }
.move-day { margin: 16px 0 4px; font: 400 1.25rem var(--font-c); letter-spacing: .01em; }
.move .actions { margin-top: 18px; }
.move .form-out { margin-top: 14px; }

.acct-danger { margin-top: 64px; border-top: 1px solid var(--line); }
.danger > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; cursor: pointer; list-style: none; }
.danger > summary::-webkit-details-marker { display: none; }
.danger > summary svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--text-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 240ms var(--ease-out); }
.danger[open] > summary svg { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .danger > summary:hover .h-sm { color: var(--err); } }
.danger-text { max-width: 62ch; margin: 4px 0 18px; color: #DEDDD6; }

/* password field with a show / hide switch inside */
.pw { position: relative; }
.field .pw input { padding-right: 84px; }
.pw-toggle { position: absolute; top: 4px; right: 4px; bottom: 4px; min-width: 72px; padding: 0 12px; border: 0; border-radius: var(--radius); background: none; color: var(--text); font-weight: 600; font-size: .9375rem; text-decoration: underline; text-decoration-color: var(--gold-line); text-underline-offset: .24em; cursor: pointer; touch-action: manipulation; }
.pw-toggle:focus-visible { outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) { .pw-toggle:hover { color: var(--gold); } }

/* ================================================================ contact & hours, privacy text */
.addr { font-family: var(--font-c); font-weight: 300; font-size: clamp(2.125rem, 9vw, 4rem); line-height: 1; letter-spacing: .01em; text-wrap: balance; }
.addr span { display: block; margin-top: 6px; color: rgba(245, 245, 240, .78); }
.facts-wide { gap: 22px; }
.facts-wide dd .text-link { font-size: 1.1875rem; }
.week { display: grid; max-width: 420px; margin-top: 6px; border-top: 1px solid var(--line); }
.week-row { display: flex; justify-content: space-between; gap: 16px; min-height: 40px; align-items: center; border-bottom: 1px solid var(--line); }
.week-row dd { font-family: var(--font-c); font-weight: 400; font-size: 1.25rem; letter-spacing: .04em; }
.week-row.is-closed dd { color: var(--text-2); }
.week-row.is-today dt { font-weight: 700; }
.today-tag { margin-left: 6px; font-size: .8125rem; font-weight: 700; color: var(--gold); }
.hours-general { font-family: var(--font-c); font-weight: 400; font-size: 1.625rem; letter-spacing: .04em; }

.prose { max-width: 68ch; }
.prose .updated { color: var(--text-2); font-size: .9375rem; margin-bottom: 8px; }
.prose section { margin-top: 36px; }
.prose h2 { margin-bottom: 10px; }
.prose p { color: #DEDDD6; }
.prose p + p { margin-top: 12px; }


/* privacy: a short collapsible section near the footer (the booking form's privacy box links to it and opens it) */
.sec-privacy { padding: 20px 0 28px; border-top: 1px solid var(--line); }
.sec-privacy .privacy { max-width: 820px; margin: 0 auto; }
.privacy > summary { display: flex; align-items: center; gap: 16px; min-height: 56px; cursor: pointer; list-style: none; border-radius: var(--radius); }
.privacy > summary::-webkit-details-marker { display: none; }
.privacy-title { font-family: var(--font-c); font-weight: 300; font-size: clamp(1.75rem, 6vw, 2.25rem); line-height: 1; letter-spacing: .01em; }
.privacy-hint { margin-left: auto; color: var(--text-2); font-size: .9375rem; font-weight: 600; }
.privacy[open] .privacy-hint { visibility: hidden; }
.privacy > summary svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 240ms var(--ease-out); }
.privacy[open] > summary svg { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .privacy > summary:hover .privacy-title { color: var(--gold); } }
.privacy .prose { padding: 12px 0 28px; }
@media (prefers-reduced-motion: reduce) { .privacy > summary svg { transition: none; } }

/* ================================================================ footer: the lockup and tagline, where and how to reach the shop */
.footer { background: #070707; color: var(--text); border-top: 1px solid var(--gold-line); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 56px var(--gx-r) calc(28px + env(safe-area-inset-bottom)) var(--gx-l); display: grid; gap: 40px; }
.footer a { color: var(--text); text-decoration: none; transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .footer a:hover { color: var(--gold); } }
.footer-mark { display: grid; justify-items: center; gap: 22px; text-align: center; }
.footer-brand { display: inline-flex; align-items: center; min-height: 44px; }
.footer-lockup { width: 150px; height: auto; }
.brand-md { font-size: 1.75rem; }
.footer-tags { color: var(--text-2); }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.footer-h { margin-bottom: 4px; color: var(--text-2); font-size: .875rem; font-weight: 600; }
.footer-col p { overflow-wrap: anywhere; }
.footer-col a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-col .num { font-family: var(--font-c); font-size: 1.25rem; letter-spacing: .04em; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-2); font-size: .875rem; }
.footer-bottom > a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); }
.footer .lang a { color: var(--text-2); }
.footer .lang a[aria-current] { color: var(--text); }
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 64px; padding-top: 72px; }
  .footer-mark { justify-items: start; text-align: left; }
  .footer-tags { justify-content: flex-start; }
  .footer-cols { grid-template-columns: repeat(2, minmax(180px, 260px)); }
  .footer-bottom { grid-column: 1 / -1; }
}

/* ================================================================ phone action bar */
.quickbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px max(var(--gutter), env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left)); background: rgba(11, 11, 11, .96); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 280ms var(--ease-out); }
.quickbar:has(> :only-child) { grid-template-columns: 1fr; }
.quickbar.is-on { transform: none; }
.quickbar .btn { --h: 48px; padding: 0 12px; font-size: 1.125rem; }
.is-typing .quickbar, .menu-open .quickbar { transform: translateY(110%); }
@media (max-width: 767px) { .footer-inner { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }
@media (min-width: 768px) { .quickbar { display: none; } }
@media (prefers-reduced-motion: reduce) { .quickbar { transition: none; } }

/* ================================================================ interaction pass: one easing family (--ease-out, strong ease-out),
   press 100–120ms, UI 160–240ms, reveals ≤ 400ms. Only transform and opacity move; colours fade. Hover motion only for a
   fine pointer; touch gets press feedback instead. */
:root { --champagne: #E6CDA2; --dur-press: 110ms; --dur-ui: 180ms; }

/* nav: each letter tilts a few degrees on its baseline and settles, letter by letter (18ms apart, ≤ 360ms in all);
   the gold underline grows under the hovered link and stays under the section on screen */
.ltrs { display: inline-block; pointer-events: none; transition: transform var(--dur-press) var(--ease-out); }
.ltr { display: inline-block; transform-origin: 50% 85%; }
@keyframes ltr-tilt { 0% { transform: none; } 42% { transform: translateY(-1.5px) rotate(-7deg); } 100% { transform: none; } }
.nav a { transition: color var(--dur-ui) ease; }
.nav a.is-active { color: var(--champagne); }
.nav a:focus-visible { color: var(--champagne); }
.nav a:focus-visible::after { transform: scaleX(1); }
.nav a:focus-visible .ltr { animation: ltr-tilt 260ms var(--ease-out) calc(var(--i) * 18ms) both; }
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--champagne); }
  .nav a:hover .ltr { animation: ltr-tilt 260ms var(--ease-out) calc(var(--i) * 18ms) both; }
}
/* touch: a short press instead of a hover */
.nav a:active { color: var(--champagne); }
.nav a:active .ltrs { transform: translateY(1px); }
.menu-links a { transition: color var(--dur-ui) ease; -webkit-user-select: none; user-select: none; touch-action: manipulation; }
.menu-links a.is-active { color: var(--champagne); }
.menu-links a:active { color: var(--champagne); }
.menu-links a:active .ltrs { transform: translateX(6px); }
.menu-links a:focus-visible .ltr { animation: ltr-tilt 260ms var(--ease-out) calc(var(--i) * 18ms) both; }

/* the gold call to action: lifts 2px, a sheen crosses once, a soft light rim comes up, the icon steps forward; press 0.98 */
.btn svg { transition: transform var(--dur-ui) var(--ease-out); }
.btn-gold { transition: color 280ms ease, border-color 280ms ease, transform var(--dur-ui) var(--ease-out); }
.btn-gold::before { left: 0; top: 0; width: 42%; height: 100%; aspect-ratio: auto; border-radius: 0; background: linear-gradient(100deg, rgba(255, 252, 240, 0), rgba(255, 252, 240, .55), rgba(255, 252, 240, 0)); transform: translateX(-130%) skewX(-20deg); transition: none; }
.btn-gold::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 250, 235, .5), inset 0 -12px 24px rgba(255, 248, 228, .3); opacity: 0; transition: opacity 220ms ease; }
@media (hover: hover) and (pointer: fine) {
  .btn-gold:hover { transform: translateY(-2px); border-color: var(--gold-hi); }
  .btn-gold:hover::before { transform: translateX(360%) skewX(-20deg); transition: transform 400ms var(--ease-out); }
  .btn-gold:hover::after { opacity: 1; }
  .btn-gold:hover svg { transform: translateX(2px); }
  .btn-line:hover svg, .btn-light:hover svg { transform: translateX(2px); }
}
.btn-gold:focus-visible { transform: translateY(-2px); }
.btn-gold:focus-visible::after { opacity: 1; }
.btn-gold:active { transform: scale(.98); transition-duration: var(--dur-press); }

/* links that act ("Book this", "Book with …", "Change"): the arrow steps forward */
.text-link svg, .price-book svg { transition: transform var(--dur-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .text-link:hover svg, .price-book:hover svg { transform: translateX(3px); } }
.price-book:focus-visible svg { transform: translateX(3px); }

/* team cards: the whole card books with that barber; the photo eases in (≤ 1.04) inside its fixed frame and a short gold
   rule draws under the name */
.pro { position: relative; }
.pro-book::before { content: ''; position: absolute; inset: 0; z-index: 1; }
.pro-pic .avatar img { transition: transform 400ms var(--ease-out); }
.pro-pic { transition: transform var(--dur-press) var(--ease-out); }
.pro-name::after { content: ''; display: block; width: 32px; height: 1px; margin-top: 10px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .pro:has(.pro-book):hover .pro-pic .avatar img { transform: scale(1.04); }
  .pro:has(.pro-book):hover .pro-name::after { transform: scaleX(1); }
  .pro:has(.pro-book):hover .pro-book { color: var(--gold); text-decoration-color: var(--gold); }
  .pro:has(.pro-book):hover .pro-book svg { transform: translateX(3px); }
}
.pro:focus-within .pro-name::after { transform: scaleX(1); }
.pro:has(.pro-book):active .pro-pic { transform: scale(.985); }

/* gallery tiles and the photo viewer */
.photo img { transition: transform 400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .photo:hover img { transform: scale(1.04); } }
.photo:active img { transform: scale(1.01); transition-duration: var(--dur-press); }
@keyframes viewer-in { from { opacity: 0; transform: scale(.98); } }
@keyframes viewer-out { to { opacity: 0; transform: scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
.viewer[open] { animation: viewer-in 220ms var(--ease-out); }
.viewer[open]::backdrop { animation: fade-in 220ms ease; }
.viewer.is-closing { animation: viewer-out 160ms var(--ease-out) forwards; }
.viewer.is-closing::backdrop { animation: fade-out 160ms ease forwards; }

/* booking: the opened step settles in; chosen states; press on days and times; skeleton while the times load; messages */
@keyframes rise-in { from { opacity: 0; transform: translateY(6px); } }
.step.is-open > .step-body { animation: rise-in 240ms var(--ease-out); }
.pick-check { transform: scale(.7); transition: opacity 160ms ease, transform 220ms var(--ease-out); }
.pick[aria-pressed=true] .pick-check { transform: none; }
.cal-day .num, button.slot .num { display: inline-block; transition: transform var(--dur-press) var(--ease-out); }
.cal-day:not(.is-off):active .num, button.slot:active .num { transform: scale(.92); }
@keyframes skel { from { opacity: .3; } to { opacity: .75; } }
.is-skel .slot { pointer-events: none; }
.is-skel .slot i { display: block; width: min(46px, 70%); height: 12px; border-radius: 2px; background: var(--line-2); animation: skel 900ms ease-in-out infinite alternate; }
.is-skel .sheet-row:nth-child(2) .slot i { animation-delay: 150ms; }
.is-skel .sheet-row:nth-child(3) .slot i { animation-delay: 300ms; }
.flow-msg, .notice, .field-error, .pick-status { animation: rise-in 200ms var(--ease-out); }

/* ================================================================ reduced motion: no lockup settle, no rule draw, no stamp, no fades */
@media (prefers-reduced-motion: reduce) {
  /* nav: colour and underline only (the underline fades instead of growing) */
  .ltr { animation: none !important; }
  .ltrs { transform: none !important; }
  .nav a::after { transform: scaleX(1); opacity: 0; transition: opacity var(--dur-ui) ease; }
  .nav a.is-active::after, .nav a:focus-visible::after { opacity: 1; }
  /* no lift, sheen, nudge, zoom or press scale; the light rim and colours still answer */
  .btn:hover, .btn:active, .btn:focus-visible, .pro:has(.pro-book):active .pro-pic { transform: none !important; }
  .btn-gold::before { display: none; }
  .btn svg, .text-link svg, .price-book svg, .pro-pic .avatar img, .photo img, .cal-day .num, button.slot .num { transform: none !important; transition: none; }
  .pro-name::after { transition: none; }
  .step.is-open > .step-body, .flow-msg, .notice, .field-error, .pick-status { animation: none; }
  .viewer[open], .viewer.is-closing { animation: none; }
  .is-skel .slot i { animation: none; opacity: .5; }
}
@media (prefers-reduced-motion: reduce) and (hover: hover) and (pointer: fine) { .nav a:hover::after { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .is-ready .hero-lockup, .is-ready .hero-mark .brand-xl, .is-ready .hero-rule::before, .is-ready .hero-rule::after, .stamp { animation: none; }
  #app > * { transition: none; }
  .slot, .menu-btn-icon i, .logo { transition: none; }
  .pick, .cal-day, .cal-grid, .tab, .tab::after, .text-btn, .acct-link, .danger > summary svg { transition: none; }
}
