/* ==========================================================================
   Old Town Barbers
   1  Design tokens      6  Hero             11  Visit           16  Booking
   2  Base               7  Facts strip      12  Footer and      17  Motion
   3  Backdrop           8  Services             phone dock      18  Fallbacks and
   4  Glass material     9  How it works                            the real glass
   5  Buttons, nav      10  Reviews, about
   ========================================================================== */

/* 1  Design tokens --------------------------------------------------------- */
:root {
  color-scheme: dark;

  /* Colour: deep charcoal, warm ivory type, one antique-gold accent.
     A muted green and coral are kept for open/closed and errors. */
  --charcoal: #121110;
  --surface: #1b1a17;
  --ink: #ede6d8;
  --ink-soft: #a39b8c;
  --gold: #c9a96e;
  --gold-light: #dcc28f;
  --on-gold: #14130f;
  --open: #8dbf9c;
  --closed: #d08a74;
  --error: #e58a7b;
  --fill: rgba(237, 230, 216, 0.04);
  --fill-hover: rgba(237, 230, 216, 0.08);
  --gold-fill: rgba(201, 169, 110, 0.09);
  --line: rgba(237, 230, 216, 0.1);
  --line-strong: rgba(237, 230, 216, 0.22);
  --line-gold: rgba(201, 169, 110, 0.42);

  /* Background: barely-there warmth, so the glass has something to soften */
  --umber: #201b15;
  --smoke: #1b1a18;
  --slate: #161818;

  /* Glass */
  --glass-fill: rgba(30, 28, 25, 0.6);
  --glass-border: rgba(237, 230, 216, 0.09);
  --glass-edge: rgba(237, 230, 216, 0.05);
  --glass-blur: 22px;
  --glass-saturate: 120%;
  --glass-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 24px 60px rgba(0, 0, 0, 0.35);
  --glass-solid: rgba(27, 26, 23, 0.97);

  /* Radius */
  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 28px;
  --radius-pill: 999px;

  /* Spacing: an 8px scale, with 4 for fine adjustments */
  --s-half: 4px;
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 48px;
  --s-6: 64px;
  --s-7: 96px;
  --gutter: 16px;
  --section: clamp(96px, 11vw, 160px);
  --max: 1200px;

  /* Type: a classic Garamond for headings, a clean modern sans for everything else */
  --serif: "Cormorant Garamond", Garamond, Georgia, "Times New Roman", serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.7, 0.25, 1);
  --fast: 250ms;
  --slow: 450ms;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}
@media (min-width: 1200px) {
  :root { --gutter: 48px; }
}

/* 2  Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
/* English readers: hidden for the moment it takes to swap the Albanian text (i18n.js) */
html.i18n-wait body { visibility: hidden; }
body {
  margin: 0;
  background: var(--charcoal);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(201, 169, 110, 0.35); color: var(--ink); }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
fieldset { border: 0; min-width: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: clamp(42px, 5.6vw, 68px); line-height: 1.02; }
h3 { font-size: 27px; line-height: 1.2; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }

/* No grey tap box, and no text selection on a quick double press. Buttons answer with a small press (section 5). */
html { -webkit-tap-highlight-color: transparent; }
a, button, label { touch-action: manipulation; }
button, label, .btn { -webkit-user-select: none; user-select: none; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-top: var(--section); }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--ink-soft); max-width: 32em; text-wrap: pretty; }
/* Small gold caps after a short rule: the one classic flourish */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; width: 28px; height: 1px; flex: none; background: currentColor; }
.skip { position: absolute; left: var(--s-2); top: -80px; z-index: 100; padding: var(--s-1) var(--s-2); background: var(--gold); color: var(--on-gold); border-radius: var(--radius-s); font-weight: 600; }
.skip:focus { top: var(--s-2); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Section heads: heading, one line, and a note */
.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-1); max-width: 40em; margin-bottom: var(--s-5); }
.section-head p { font-size: 18px; color: var(--ink-soft); }
.section-head--row { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-1) var(--s-3); max-width: none; }

/* 3  Backdrop ------------------------------------------------------------------
   Charcoal with faint warm patches that drift very slowly, and two large gold hairline shapes.
   Fixed, so the glass always has something soft behind it. */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--charcoal); }
.mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40% 36% at 16% 20%, var(--umber), transparent 70%),
    radial-gradient(34% 30% at 86% 12%, var(--smoke), transparent 70%),
    radial-gradient(42% 38% at 76% 80%, var(--slate), transparent 70%),
    radial-gradient(34% 30% at 22% 86%, #1c1813, transparent 70%);
  animation: mesh-drift 70s var(--ease) infinite alternate;
  will-change: transform;
}
@keyframes mesh-drift {
  from { transform: translate3d(-3%, -2%, 0) rotate(-2deg); }
  to { transform: translate3d(3%, 3%, 0) rotate(2deg) scale(1.04); }
}
.shape { position: absolute; border: 1px solid rgba(201, 169, 110, 0.1); }
.shape-1 {
  top: -18vmax;
  right: -14vmax;
  width: 60vmax;
  height: 60vmax;
  border-radius: 24%;
  transform: rotate(-12deg);
  background: linear-gradient(160deg, rgba(237, 230, 216, 0.035), rgba(237, 230, 216, 0) 70%);
}
.shape-2 {
  bottom: -24vmax;
  left: -18vmax;
  width: 56vmax;
  height: 56vmax;
  border-radius: 50%;
  background: linear-gradient(30deg, rgba(201, 169, 110, 0.045), rgba(201, 169, 110, 0) 75%);
}

/* 4  Glass material --------------------------------------------------------
   Solid first, so browsers without backdrop-filter still get a readable
   surface. The real glass is added in section 18. */
.glass {
  position: relative;
  background: var(--glass-solid);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 var(--glass-edge), var(--glass-shadow);
}

/* 5  Buttons, links and navigation --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-1);
  min-height: 48px;
  padding: 0 var(--s-3);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.btn-lg { min-height: 56px; padding: 0 var(--s-4); font-size: 17px; }
.btn-primary { background: var(--gold); color: var(--on-gold); }
.btn-primary:hover { background: var(--gold-light); }
.btn-secondary { background: var(--fill); border-color: var(--line-strong); color: var(--ink); }
.btn-secondary:hover { background: var(--fill-hover); border-color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: var(--s-1); min-height: 44px; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; text-decoration-thickness: 1px; transition: color var(--fast) var(--ease); }
.text-link:hover { color: var(--gold); }
.text-btn {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  background: none;
  border: 0;
  font-weight: 500;
  color: var(--ink);
  text-align: right;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.text-btn:hover { color: var(--gold); }

/* The press */
.btn:active, .option:active .option-box, .slot:active span, .cal-nav:active:not(:disabled), .cal-day:active:not(:disabled), .lang button:active { transform: scale(0.97); }
.nav-toggle:active, .text-btn:active, .text-link:active, .nav-links a:active, .booking-toggle:active, .rating:active { opacity: 0.65; }

/* Floating pill nav, centred */
.nav-wrap { position: sticky; top: var(--s-2); z-index: 50; display: flex; justify-content: center; padding-inline: var(--s-2); margin-top: var(--s-2); }
.nav {
  /* More solid than the other glass: the nav's text has to stay readable over anything scrolling under it */
  --glass-fill: rgba(22, 21, 19, 0.8);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-half);
  width: 100%;
  max-width: 1000px;
  padding: 6px 6px 6px var(--s-3);
  border-radius: var(--radius-l);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-right: auto;
  font: 600 22px/1 var(--serif);
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark em { color: var(--gold); font-weight: 500; }
.pole { width: 12px; height: 26px; flex: none; }
.nav-links { display: none; order: 3; flex-basis: 100%; padding: var(--s-1) 0 var(--s-2); }
.nav-links.is-open { display: block; }
.nav-links a { display: flex; align-items: center; min-height: 48px; font-weight: 500; text-decoration: none; }
.nav-toggle { min-height: 44px; padding: 0 var(--s-2); background: none; border: 0; font-weight: 500; }
html:not(.js) .nav-toggle, html:not(.js) .lang { display: none; }
@media (max-width: 959px) {
  html:not(.js) .nav-links { display: block; }
}

/* SQ / EN */
.lang { display: flex; flex: none; padding: 0; border-radius: var(--radius-pill); background: rgba(237, 230, 216, 0.06); }
.lang button { min-width: 44px; min-height: 44px; padding: 0 10px; background: none; border: 0; border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; letter-spacing: 0.06em; color: #bdb5a6; /* a step brighter than --ink-soft: the glass nav can sit over a light photo */ transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--ease); }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--charcoal); }

.nav-book { min-height: 44px; padding: 0 var(--s-3); }
.nav-back { padding-inline: var(--s-1) var(--s-2); text-decoration: none; }
/* Narrow phones: the bar keeps to one line */
@media (max-width: 419px) {
  .nav-wrap { padding-inline: 12px; }
  .nav { padding-left: var(--s-2); }
  .nav .pole { display: none; }
  .nav .wordmark { font-size: 19px; }
  .nav-toggle { padding: 0 12px; }
  .nav-back { padding-inline: 6px 10px; }
}
/* On phones the dock at the bottom carries Book, so the top bar doesn't repeat it */
@media (max-width: 767px) {
  .page-home .nav-book { display: none; }
}
@media (min-width: 960px) {
  .nav { flex-wrap: nowrap; border-radius: var(--radius-pill); }
  .nav-toggle { display: none; }
  .nav-links { display: flex; order: 0; flex-basis: auto; gap: var(--s-half); padding: 0; margin-right: auto; }
  .nav-links a { min-height: 44px; padding: 0 var(--s-2); border-radius: var(--radius-pill); transition: background-color var(--fast) var(--ease); }
  .nav-links a:hover { background: var(--fill-hover); }
  .wordmark { margin-right: var(--s-3); }
  .lang { margin-right: var(--s-1); }
  .nav-book { min-height: 46px; }
  .page-reserve .wordmark { margin-right: auto; }
}

/* 6  Hero ---------------------------------------------------------------------- */
.hero { padding-top: var(--s-5); }
.hero-grid { display: grid; gap: var(--s-5); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); }
.hero h1 { font-size: clamp(56px, 13.6vw, 116px); line-height: 0.96; letter-spacing: -0.02em; }
.hero h1 em { display: block; color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-1); }
.rating { display: inline-flex; align-items: center; gap: var(--s-1); min-height: 44px; font-size: 16px; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 5px; }
.rating:hover { text-decoration-color: var(--gold); }
.rating .star { width: 18px; height: 18px; color: var(--gold); }
/* The hero photo sits in a smoked-glass frame. The photo inside drifts a little on scroll (site.js). */
.hero-frame {
  position: relative;
  padding: 10px;
  border-radius: 36px;
  background: rgba(30, 28, 25, 0.75);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 var(--glass-edge), var(--glass-shadow);
}
.hero-photo { position: relative; overflow: hidden; border-radius: 27px; aspect-ratio: 4 / 3; background: var(--surface); }
.hero-photo img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: 50% 40%; transform: translate3d(0, var(--parallax, 0px), 0); will-change: transform; }
/* Before and after: the before photo covers the fade photo from the left edge up to --pos, so
   the hair is on the left and the finished fade on the right (site.js). Without JavaScript it's just the fade.
   isolation keeps the layers' z-index inside the photo, under the open/closed chip. */
.compare { --pos: 50%; isolation: isolate; }
.compare-before, .compare-after { position: absolute; inset: 0; }
.compare img { pointer-events: none; }
.compare-handle, .compare-tag, .compare-missing { display: none; }
.js .compare { cursor: ew-resize; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.js .compare-before { z-index: 1; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.js .compare-handle { display: block; position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--ink); pointer-events: none; }
.compare-knob { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--glass-solid); border: 1px solid var(--line-strong); color: var(--ink); }
.compare-knob svg { width: 22px; height: 22px; }
.compare-range:focus-visible ~ .compare-handle .compare-knob { outline: 2px solid var(--gold); outline-offset: 3px; }
.js .compare-tag { display: block; position: absolute; top: 18px; left: 18px; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--glass-solid); font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.js .compare-tag--after { left: auto; right: 18px; }
/* No before photo set: that side is the fade photo, dimmed past recognising, with a note saying so */
.compare.is-empty .compare-before img { filter: blur(16px) brightness(0.38) saturate(0.4); }
.js .compare-missing:not([hidden]) { display: block; position: absolute; top: 50%; left: 0; right: 50%; margin: 0; padding-inline: 24px 28px; transform: translateY(-50%); text-align: center; font-size: 15px; line-height: 1.45; color: var(--ink); }
/* Open or closed right now, sitting on the photo */
.status {
  --glass-fill: rgba(18, 17, 16, 0.74);
  position: absolute;
  left: 26px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 52px);
  padding: 10px 18px 10px 14px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}
.status-dot { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--closed); }
.status.is-open .status-dot { background: var(--open); }

@media (min-width: 960px) {
  .hero { padding-top: var(--s-6); }
  .hero-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-3); align-items: center; }
  .hero-copy { grid-column: 1 / span 7; }
  .hero-frame { grid-column: 8 / -1; }
  .hero-photo { aspect-ratio: 4 / 5; }
}

/* 7  Facts strip: four things worth knowing before you come ----------------------- */
.facts-wrap { padding-top: var(--s-6); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-gold); }
.facts > div { padding: var(--s-3) var(--s-2) var(--s-3) 0; border-bottom: 1px solid var(--line); min-width: 0; }
.facts > div:nth-child(even) { padding-left: var(--s-2); border-left: 1px solid var(--line); }
.facts dt { font-size: 13px; font-weight: 500; letter-spacing: 0.16em; line-height: 1.4; text-transform: uppercase; color: var(--ink-soft); }
.facts dd { margin-top: 6px; font: 500 24px/1.25 var(--serif); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.fact-small { display: block; margin-top: 4px; font: 400 15px/1.45 var(--sans); color: var(--ink-soft); }
@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts > div { padding: var(--s-3) var(--s-3) var(--s-3) 0; }
  .facts > div + div { padding-left: var(--s-3); border-left: 1px solid var(--line); }
  .facts dd { font-size: 27px; }
}

/* 8  Services: a list on glass, no prices ------------------------------------------ */
.services-grid { display: grid; }
.menu { padding: var(--s-1) var(--s-3); border-radius: var(--radius-l); }
.menu-item { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: var(--s-2); padding-block: var(--s-3); border-top: 1px solid var(--line); }
.menu-item:first-child { border-top: 0; }
.menu-name { font-size: clamp(29px, 3.3vw, 36px); line-height: 1.12; }
.menu-desc { margin-top: var(--s-half); color: var(--ink-soft); max-width: 30em; }
.menu-book { justify-self: start; min-height: 44px; padding: 0 var(--s-3); }
@media (min-width: 640px) {
  .menu { padding: var(--s-1) var(--s-4); }
  .menu-item { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-3); }
  .menu-book { justify-self: end; }
}
@media (min-width: 960px) {
  .services-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-3); align-items: start; }
  .services .section-head { grid-column: 1 / span 4; position: sticky; top: 120px; }
  .menu { grid-column: 6 / -1; }
}

/* 9  How it works ------------------------------------------------------------------ */
.steps { display: grid; gap: var(--s-4); }
.steps li { display: flex; flex-direction: column; gap: var(--s-1); padding-top: var(--s-3); border-top: 1px solid var(--line-gold); }
.step-num { font: italic 500 76px/1 var(--serif); color: var(--gold); margin-bottom: var(--s-1); }
.steps p { color: var(--ink-soft); max-width: 26em; }
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
}

/* 10  Reviews and about --------------------------------------------------------------- */
/* Reviews: quiet italic quotes under gold rules, no cards */
.reviews .section-head--row { align-items: center; }
.quotes { display: grid; gap: var(--s-5) var(--s-4); }
.quote figure { display: flex; flex-direction: column; gap: var(--s-2); height: 100%; padding-top: var(--s-3); border-top: 1px solid var(--line-gold); }
.quote blockquote { margin: 0; }
.quote blockquote::before { content: "\201C"; display: block; height: 30px; font: 500 64px/1 var(--serif); color: var(--gold); }
.quote blockquote p { font: italic 500 23px/1.42 var(--serif); text-wrap: pretty; }
.quote figcaption { margin-top: auto; font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.quotes-note { margin-top: var(--s-5); font-size: 15px; color: var(--ink-soft); }
@media (min-width: 640px) {
  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.about-grid { display: grid; gap: var(--s-5); }
.about-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-l); }
.about-copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); }
.about-copy .lead { color: var(--ink); font: 500 clamp(25px, 2.5vw, 32px)/1.35 var(--serif); letter-spacing: -0.005em; }
.about-copy p:not(.lead):not(.eyebrow) { color: var(--ink-soft); max-width: 34em; }
@media (min-width: 960px) {
  .about-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-3); align-items: center; }
  .about-photo { grid-column: 1 / span 7; }
  .about-copy { grid-column: 9 / -1; }
}

/* 11  Visit --------------------------------------------------------------------- */
.visit-grid { display: grid; gap: var(--s-5); }
.visit-details { display: flex; flex-direction: column; gap: var(--s-3); }
.visit-details h2 { margin-bottom: var(--s-1); }
.contact-block { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-half); }
.contact-block h3, .visit-hours h3 { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.16em; line-height: 1.5; text-transform: uppercase; color: var(--ink-soft); }
.contact-block address, .contact-phone { font: 500 29px/1.25 var(--serif); letter-spacing: 0; }
.contact-phone a { display: inline-flex; align-items: center; min-height: 44px; text-decoration-color: var(--gold); text-underline-offset: 6px; text-decoration-thickness: 1px; white-space: nowrap; }
.contact-email a, .contact-social a { display: inline-flex; align-items: center; min-height: 44px; margin-right: var(--s-2); overflow-wrap: anywhere; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.visit-hours { display: flex; flex-direction: column; gap: var(--s-2); }
.hours > div { display: flex; justify-content: space-between; gap: var(--s-2); padding-block: var(--s-1); border-top: 1px solid var(--line); }
.hours > div:last-child { border-bottom: 1px solid var(--line); }
.hours dd { font-variant-numeric: tabular-nums; }
.hours .is-today { font-weight: 600; color: var(--gold); }
.hours .is-today dt span { font-weight: 400; color: var(--ink-soft); }
.good-title { margin-top: var(--s-2); }
.good { display: flex; flex-direction: column; gap: var(--s-1); }
.good li { display: flex; align-items: baseline; gap: var(--s-1); }
.good li::before { content: ""; width: 14px; height: 1px; flex: none; background: var(--gold); transform: translateY(-5px); }
/* The custom map: drawn in the site's own colours, the shop always at its centre (object-fit keeps the centre) */
.map { position: relative; min-height: 380px; overflow: hidden; border-radius: var(--radius-l); border: 1px solid var(--line); background: #141311; }
.map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-tag {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--radius-m);
  text-align: center;
  white-space: nowrap;
  transform: translate(-50%, calc(-100% - 26px));
}
.map-tag strong { font: 600 19px/1.2 var(--serif); }
.map-tag span { font-size: 13px; color: var(--ink-soft); }
.map-open { position: absolute; left: var(--s-2); bottom: var(--s-2); min-height: 44px; padding: 0 var(--s-2); background: var(--glass-solid); border-color: var(--line-strong); color: var(--ink); font-size: 15px; }
.map-open:hover { border-color: var(--gold); }
.map-credit { position: absolute; right: 10px; bottom: var(--s-2); font-size: 12px; color: var(--ink-soft); }
.map-credit a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; color: inherit; }
@media (min-width: 720px) {
  .visit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-4); }
  .map { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .visit-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-3); }
  .visit-details { grid-column: 1 / span 4; }
  .visit-hours { grid-column: 5 / span 3; padding-top: 100px; }
  .map { grid-column: 8 / -1; min-height: 560px; }
}

/* Sign-off: the shop's own emblem, fading into the charcoal at its edges */
/* lighten: the logo's near-black square takes the page's charcoal, so no box edge shows.
   On .emblem, not the img, so it still blends while the reveal fades it in. */
.emblem { padding-top: var(--section); mix-blend-mode: lighten; }
.emblem img {
  width: min(100% - 2 * var(--gutter), 640px);
  margin-inline: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 96%), linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 45%, transparent 96%), linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
  mask-composite: intersect;
}

/* 12  Footer and phone dock ------------------------------------------------------------ */
.footer { margin-top: var(--s-5); padding-block: var(--s-2); border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-1) var(--s-3); font-size: 15px; color: var(--ink-soft); }
.footer .wordmark { margin: 0; font-size: 20px; color: var(--ink); }
.footer p a { display: inline-block; padding-block: 12px; text-underline-offset: 3px; }

/* A solid bar, not glass: glass is kept for the nav, the price list and the booking surfaces */
.dock {
  position: fixed;
  left: var(--s-2);
  right: var(--s-2);
  bottom: calc(var(--s-2) + env(safe-area-inset-bottom));
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: var(--s-1);
  padding: 6px;
  background: var(--glass-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: var(--glass-shadow);
}
.dock .btn { min-height: 50px; }
@media (max-width: 767px) {
  .page-home { padding-bottom: 92px; } /* room for the dock, so it never covers the footer */
}
@media (min-width: 768px) {
  .dock { display: none; }
}

/* 16  Booking ---------------------------------------------------------------------- */
.page-reserve { display: flex; flex-direction: column; min-height: 100svh; }
.page-reserve .footer { margin-top: 0; }
.reserve-main { flex: 1; padding-block: var(--s-4) var(--s-7); }
.reserve-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 var(--s-3); margin-bottom: var(--s-3); }
.reserve-head h1 { font-size: clamp(46px, 8.6vw, 76px); line-height: 1; letter-spacing: -0.015em; }
.reserve-call { color: var(--ink-soft); }
.reserve-call a { display: inline-block; padding-block: 11px; font-weight: 500; color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 5px; white-space: nowrap; }
.reserve-grid { display: grid; gap: var(--s-2); align-items: start; }

/* Your booking */
.booking-card { padding: var(--s-1) var(--s-2); border-radius: var(--radius-l); }
.booking-title { font-size: 30px; }
.booking-card .booking-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.booking-toggle { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); width: 100%; min-height: 56px; padding: var(--s-1); background: none; border: 0; text-align: left; }
.booking-toggle-text { display: flex; flex-direction: column; min-width: 0; }
.booking-toggle-label { font: 500 21px/1.25 var(--serif); }
.booking-line { font-size: 15px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.booking-toggle-action { flex: none; font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.booking-body { padding: 0 var(--s-1) var(--s-2); }
.booking-card[data-collapsed="true"] .booking-body { display: none; }
.booking-list > div { display: grid; grid-template-columns: 84px 1fr; gap: var(--s-2); padding-block: 10px; border-top: 1px solid var(--line); }
.booking-list dt { font-size: 15px; color: var(--ink-soft); }
.booking-list dd { font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.booking-list dd.is-empty { font-weight: 400; color: var(--ink-soft); }
.booking-list dd small { display: block; font-size: 14px; font-weight: 400; color: var(--ink-soft); }
.booking-note { margin-top: var(--s-2); padding-top: var(--s-2); border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }

.panel { padding: var(--s-3) var(--s-2); border-radius: var(--radius-l); scroll-margin-top: 96px; }

/* Slim progress bar: three segments, each a way back to its step */
.progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: var(--s-4); }
.progress button { display: block; width: 100%; min-height: 44px; padding: 10px 0 0; background: none; border: 0; border-top: 2px solid var(--line-strong); border-radius: 0; font-size: 14px; font-weight: 500; line-height: 1.25; text-align: left; color: var(--ink-soft); transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease); }
.progress button:disabled { cursor: not-allowed; }
.progress button.is-done { border-top-color: var(--ink); color: var(--ink); }
.progress button:not(:disabled):hover { color: var(--gold); }
.progress button[aria-current="step"] { border-top-color: var(--gold); color: var(--ink); font-weight: 600; }

/* Steps */
.step { display: flex; flex-direction: column; gap: var(--s-3); animation: step-in var(--slow) var(--ease); }
@keyframes step-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.step h2 { font-size: clamp(36px, 7.6vw, 52px); line-height: 1.05; }
.step-count { display: block; margin-bottom: var(--s-1); font: 500 13px/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.step-note { margin-top: calc(-1 * var(--s-1)); color: var(--ink-soft); }

/* Fields */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .field > legend { padding: 0; font-weight: 600; font-size: 16px; }
.hint { font-size: 15px; color: var(--ink-soft); }
.field input[type="text"], .field input[type="date"], .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 var(--s-2);
  background: rgba(237, 230, 216, 0.05);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  font-size: 17px;
  transition: border-color var(--fast) var(--ease), background-color var(--fast) var(--ease);
}
.field textarea { min-height: 84px; padding: 12px var(--s-2); line-height: 1.5; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--ink-soft); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; background: rgba(237, 230, 216, 0.07); }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.error { font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--error); }
.error:empty { display: none; }

/* Step 1: choosing a service. Flat tints, as the panel behind them is already the glass. */
.options { display: grid; gap: var(--s-1); }
.option { position: relative; display: block; }
.option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.option-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: start;
  gap: var(--s-half) var(--s-2);
  height: 100%;
  padding: var(--s-2) var(--s-2) var(--s-2) 20px;
  background: var(--fill);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.option:hover .option-box { background: var(--fill-hover); border-color: var(--line-strong); }
.option input:checked + .option-box { background: var(--gold-fill); border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.option input:focus-visible + .option-box { outline: 2px solid var(--gold); outline-offset: 3px; }
.option-name { font: 500 27px/1.15 var(--serif); letter-spacing: 0; }
.option-tick { display: grid; place-items: center; width: 24px; height: 24px; border: 1.5px solid var(--line-strong); border-radius: 50%; color: transparent; transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease); }
.option input:checked + .option-box .option-tick { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.option-desc { grid-column: 1 / -1; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }

/* Step 2: calendar */
.when { display: grid; gap: var(--s-3); }
.calendar { margin-top: var(--s-1); max-width: 460px; }
.when input[type="date"] { max-width: 460px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-1); margin-bottom: var(--s-1); }
.cal-title { font: 500 25px/1.2 var(--serif); }
.cal-nav { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: var(--fill); border: 1px solid var(--line-strong); border-radius: 50%; font-size: 18px; line-height: 1; transition: background-color var(--fast) var(--ease), transform var(--fast) var(--ease); }
.cal-nav:hover:not(:disabled) { background: var(--fill-hover); }
.cal-nav:disabled { opacity: 0.35; cursor: not-allowed; }
.cal-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal-grid th { padding-bottom: var(--s-half); font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.cal-grid td { padding: 1px; text-align: center; }
.cal-day { display: block; width: 100%; height: 44px; padding: 0; background: none; border: 1px solid transparent; border-radius: var(--radius-s); font-weight: 500; font-variant-numeric: tabular-nums; transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--ease); }
.cal-day:hover:not(:disabled) { background: var(--fill-hover); }
.cal-day[aria-current="date"] { border-color: var(--line-strong); }
.cal-day[aria-pressed="true"], .cal-day[aria-pressed="true"]:hover { background: var(--gold); color: var(--on-gold); font-weight: 600; }
.cal-day:disabled { color: rgba(237, 230, 216, 0.3); font-weight: 400; text-decoration: line-through; cursor: not-allowed; }
.cal-day.is-past:disabled { text-decoration: none; }

/* Step 2: times */
.time-field { scroll-margin-top: 96px; }
.time-hint { color: var(--ink-soft); }
.time-notice { font-weight: 500; color: var(--gold); }
.time-notice:empty { display: none; }
.slot-title { margin-top: var(--s-2); margin-bottom: var(--s-1); font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: var(--s-1); }
.slot { position: relative; }
.slot input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.slot span { display: flex; align-items: center; justify-content: center; min-height: 44px; background: var(--fill); border: 1px solid var(--line-strong); border-radius: var(--radius-pill); font-weight: 500; font-variant-numeric: tabular-nums; transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease), transform var(--fast) var(--ease); }
.slot:hover span { background: var(--fill-hover); }
.slot input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--on-gold); font-weight: 600; }
.slot input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Step 3: cash reminder */
.cash-note { display: flex; align-items: center; gap: 12px; padding: 12px var(--s-2); border-radius: var(--radius-s); background: var(--gold-fill); font-weight: 500; }
.cash-mark { width: 26px; height: 26px; flex: none; color: var(--gold); }

/* Actions under each step */
.step-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.btn-next { flex: 1; min-height: 54px; font-size: 17px; }
.step-actions [data-back] { min-height: 54px; }
.btn-next[aria-disabled="true"] { background: var(--fill); border-color: var(--line-strong); color: var(--ink-soft); cursor: not-allowed; }
.still-needed, .send-hint { flex-basis: 100%; font-size: 15px; color: var(--ink-soft); }
.still-needed:empty { display: none; }

/* Review and confirmation: one block per step, each with its own Change */
.review { display: flex; flex-direction: column; }
.review-section { padding-block: var(--s-2); border-top: 1px solid var(--line); }
.review-section:last-child { border-bottom: 1px solid var(--line); }
.review-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); }
.review-head h3 { font: 500 13px/1.5 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.review-value { font: 500 25px/1.3 var(--serif); overflow-wrap: anywhere; }
.review-value small { display: block; margin-top: 2px; font: 400 15px/1.45 var(--sans); color: var(--ink-soft); }
.confirmation { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); animation: step-in var(--slow) var(--ease); }
.confirmation h2 { font-size: clamp(42px, 7.6vw, 68px); line-height: 1.02; }
.confirmation .review { width: 100%; }
.done-links { margin-top: calc(-1 * var(--s-1)); }
.proto-note { padding: 12px var(--s-2); border: 1.5px dashed var(--line-strong); border-radius: var(--radius-s); font-size: 15px; background: var(--fill); }
.reserve-grid.is-done .booking-card { display: none; }

@media (min-width: 560px) {
  .panel { padding: var(--s-4); }
  .options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btn-next { flex: 0 0 auto; min-width: 220px; }
  .still-needed, .send-hint { flex: 1 1 14em; }
}
/* Narrow phones: the calendar borrows some of the panel's padding so every day stays a full 44px wide */
@media (max-width: 420px) {
  .calendar { margin-inline: calc(-1 * var(--s-1)); }
  .cal-grid td { padding: 1px 0; }
}
@media (min-width: 1040px) {
  .reserve-main { padding-block: var(--s-5) var(--s-7); }
  .reserve-head { margin-bottom: var(--s-4); }
  .reserve-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s-3); }
  .panel { grid-column: 1; grid-row: 1; padding: var(--s-5); }
  .booking-card { grid-column: 2; grid-row: 1; position: sticky; top: 104px; padding: var(--s-3); }
  .booking-card .booking-title { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; margin-bottom: var(--s-2); }
  .booking-toggle { display: none; }
  .booking-body { padding: 0; }
  .booking-card[data-collapsed="true"] .booking-body { display: block; }
  .reserve-grid.is-done { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
  .when { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s-4); align-items: start; }
}

/* Cormorant's default figures are old-style, which makes "09:00" look lowercase.
   Times, dates and numbers use lining figures instead. Last, so it outlasts the font shorthands above. */
h1, h2, h3, .wordmark, .facts dd, .step-num, .contact-block address, .contact-phone, .booking-toggle-label, .option-name, .cal-title, .review-value { font-variant-numeric: lining-nums tabular-nums; }

/* 17  Motion ---------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  .mesh { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-photo img { transform: none; }
}

/* 18  Fallbacks and the real glass ---------------------------------------------------------
   Only browsers that support backdrop-filter get the see-through version. Everyone else
   keeps the solid surface from section 4. */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  @media (prefers-reduced-transparency: no-preference) {
    .glass {
      background: var(--glass-fill);
      -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
      backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    }
    .hero-frame {
      background: rgba(30, 28, 25, 0.45);
      -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
      backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    }
  }
}
/* Without JavaScript the booking can't run, so it steps aside */
html:not(.js) .panel, html:not(.js) .booking-card { display: none; }
@media (forced-colors: active) {
  .glass, .hero-frame, .dock, .lang { border: 1px solid CanvasText; }
  .cal-day[aria-pressed="true"], .slot input:checked + span, .option input:checked + .option-box, .lang button[aria-pressed="true"] { outline: 2px solid Highlight; }
}
