/* ==========================================================================
   NEXIFY STUDIO: sections below the hero
   Same system as the hero (css/style.css): near-black ground, one spotlight
   from above, Lexend Giga light + bold titles, giant thin lowercase words in
   the lit warm grey of "hard", Outfit UI text, Google Sans Code labels,
   off-white and hairline pills. Relative units only.
   ========================================================================== */

:root {
  /* left/right gutter: lines up with the hero's left column on wide screens */
  --gx: max(1.25rem, calc((100vw - 1592 * var(--u)) / 2 + 62 * var(--u)));
  --sec-pad: clamp(5.5rem, 11vw, 11rem);
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.24);
  --panel: rgba(255, 255, 255, 0.025);
  --grey-dim: #8e8c8a;
  --err: #e3b4a8;
  --radius: clamp(0.9rem, 1.2vw, 1.25rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

.sections { position: relative; background: #030303; }

/* ---- section frame ------------------------------------------------------ */
.sec {
  position: relative;
  padding: var(--sec-pad) var(--gx);
  overflow: hidden;   /* fallback */
  overflow: clip;     /* clips the giant words without breaking position: sticky */
  isolation: isolate;
  scroll-margin-top: 0;
}
/* the hero's spotlight, falling from the top of every section */
.sec::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: min(80vh, 60rem);
  background:
    radial-gradient(ellipse 34% 70% at 50% 0%, rgba(255, 250, 245, 0.075), rgba(255, 250, 245, 0.02) 45%, transparent 72%);
  pointer-events: none;
  z-index: -1;
}
.sec + .sec { border-top: 1px solid rgba(255, 255, 255, 0.05); }
.sec__inner { position: relative; z-index: 1; }

/* giant thin lowercase word, lit like "hard" in the hero */
.sec__giant {
  position: absolute;
  top: calc(var(--sec-pad) * 0.25);
  right: calc(var(--gx) * 0.6);
  margin: 0;
  font-family: var(--font-display-light);
  font-weight: 300;
  font-size: clamp(7rem, 22vw, 26rem);
  line-height: 0.8;
  letter-spacing: -0.09em;
  white-space: nowrap;
  color: transparent;
  background: radial-gradient(ellipse 60% 90% at 45% 0%, #4a4847 0%, #343231 38%, #201f1e 75%);
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0.8;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.sec__giant--left { right: auto; left: calc(var(--gx) * 0.4); }
/* "craft" sits wholly inside the text column, clear of the photo's edge */
.sec--about .sec__giant { font-size: clamp(5rem, 14vw, 17rem); }

/* eyebrow: mono label led by the logo's slash */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  margin: 0 0 1.4em;
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 0.78vw, 0.86rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-rating);
}
.eyebrow::before {
  content: "";
  width: 1.5em;
  height: 1.5px;
  background: #fff;
  transform: rotate(-30deg);
  flex: none;
}
.eyebrow--small { font-size: clamp(0.66rem, 0.7vw, 0.76rem); margin-bottom: 1em; }
.eyebrow--small::before { width: 1.1em; }

.sec__title,
.cta__title {
  margin: 0;
  font-family: var(--font-headline);
  font-size: clamp(2.1rem, 3.7vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.1em;
  color: #fbfbfb;
}
.t-light { display: block; font-weight: 300; }
.t-bold { display: block; font-weight: 800; color: #fff; }
.sec__lede {
  margin: 1.4em 0 0;
  max-width: 32em;
  font-family: var(--font-ui);
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  line-height: 1.5;
  color: var(--grey-body);
}
.sec__head { position: relative; z-index: 1; margin-bottom: clamp(3rem, 6vw, 6rem); max-width: 44rem; }
.sec__head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem 4rem;
  max-width: none;
  flex-wrap: wrap;
}
.sec__head--row .sec__lede { margin: 0; max-width: 26em; }

/* editable placeholders: deliberate, never mistaken for real details */
.ph {
  font-family: var(--font-mono);
  font-size: 0.86em;
  letter-spacing: 0.02em;
  color: var(--grey-dim);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}
.empty { color: var(--grey-dim); font-family: var(--font-mono); font-size: 0.9rem; }

/* ---- pills and links (same as the hero buttons) ------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 3.4em;
  padding: 0 1.6em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: clamp(0.9rem, 0.95vw, 1rem);
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.pill svg { width: 0.9em; height: 0.9em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pill--light { background: var(--offwhite); color: var(--ink); }
.pill--light:hover { background: #fff; }
.pill--ghost { background: transparent; color: #fff; border-color: #c0c0bf; }
.pill--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.pill--big { min-height: 3.9em; padding: 0 2em; font-size: clamp(1rem, 1.1vw, 1.15rem); }
.pill:disabled { opacity: 0.35; cursor: not-allowed; }
/* placeholder action (e.g. Directions before a map link is added): visible, dashed, clearly not live */
.pill.is-disabled { color: var(--grey-body); border-style: dashed; border-color: rgba(255, 255, 255, 0.35); cursor: default; }
.pill:active:not(:disabled) { transform: translateY(1px); }
.sec .pill { margin-top: 2rem; }
.sec .location__actions .pill, .sec .bk .pill { margin-top: 0; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.4em 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: none;
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), gap 0.25s var(--ease);
}
.link-arrow svg { width: 0.85em; height: 0.85em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.link-arrow:hover { border-color: #fff; gap: 0.8em; }

/* ==========================================================================
   1. Services: the menu
   ========================================================================== */
.sec__split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(3rem, 7vw, 9rem);
  align-items: start;
}
.sec__head--sticky { position: sticky; top: 14vh; margin-bottom: 0; }
.menu__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.menu__item {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.4rem, 2vw, 2rem) 0;
  border-top: 1px solid var(--line);
  transition: background-color 0.3s var(--ease);
}
.menu__index { font-family: var(--font-mono); font-size: 0.8rem; color: var(--grey-dim); align-self: start; padding-top: 0.45em; }
.menu__name { margin: 0; font-family: var(--font-ui); font-weight: 500; font-size: clamp(1.2rem, 1.5vw, 1.55rem); color: #fff; letter-spacing: -0.01em; }
.menu__desc { margin: 0.45em 0 0; font-family: var(--font-ui); font-size: 0.97rem; line-height: 1.45; color: var(--grey-body); max-width: 34em; }
.menu__meta { display: flex; gap: 1.8rem; margin: 0; text-align: right; }
.menu__meta dt { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-dim); margin-bottom: 0.35em; }
.menu__meta dd { margin: 0; font-family: var(--font-mono); font-size: 0.92rem; color: #fff; white-space: nowrap; }
.menu__book {
  width: 2.9rem; height: 2.9rem; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent; color: #fff;
  display: grid; place-items: center; cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.menu__book svg { width: 0.95rem; height: 0.95rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu__item:hover .menu__book, .menu__book:focus-visible { background: var(--offwhite); color: var(--ink); border-color: var(--offwhite); }

/* ==========================================================================
   2. Barber team
   ========================================================================== */
.team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3.5rem);
  align-items: start;
}
.barber--1 { margin-top: clamp(3rem, 7vw, 8rem); }
.barber--2 { margin-top: clamp(1.5rem, 3.5vw, 4rem); }
.barber__photo { position: relative; margin: 0; aspect-ratio: 3 / 4; overflow: visible; }
.barber__photo img, .barber__nophoto { width: 100%; height: 100%; object-fit: cover; display: block; background: #0b0b0b; }
.barber__photo img { transition: transform 0.8s var(--ease); }
.barber__photo::after { /* falls to black at the foot, like the hero floor */
  content: ""; position: absolute; inset: auto 0 0 0; height: 38%;
  background: linear-gradient(to top, rgba(3, 3, 3, 0.92), transparent);
  pointer-events: none;
}
.barber__nophoto { display: grid; place-items: center; color: var(--grey-dim); font-family: var(--font-mono); }
.barber__num {
  position: absolute; left: -0.06em; bottom: -0.42em; z-index: 2;
  font-family: var(--font-display-heavy); font-weight: 900;
  font-size: clamp(4.5rem, 8.5vw, 9rem); line-height: 1; letter-spacing: -0.08em;
  color: transparent;
  background: linear-gradient(100deg, #868584 0%, #5d5b5a 40%, #2d2b2a 85%);
  -webkit-background-clip: text; background-clip: text;
  pointer-events: none;
}
.barber__body { position: relative; padding-top: clamp(3.4rem, 5.5vw, 5.8rem); }
.barber__specialty { margin: 0 0 0.9em; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-rating); }
.barber__name { margin: 0; font-family: var(--font-headline); font-weight: 800; font-size: clamp(1.5rem, 2vw, 2.1rem); letter-spacing: -0.09em; color: #fff; }
.barber__intro { margin: 0.8em 0 0; font-family: var(--font-ui); font-size: 1rem; line-height: 1.5; color: var(--grey-body); max-width: 26em; }
.barber__where { margin: 1.1em 0 0; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--grey-dim); }
.barber .link-arrow { margin-top: 1.4rem; }
.barber:hover .barber__photo img { transform: scale(1.025); }

/* ==========================================================================
   3. Gallery: cinematic mosaic (8-up layout, extra photos flow after)
   ========================================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(6.5rem, 10.5vw, 13rem);
  gap: clamp(0.6rem, 0.9vw, 1rem);
}
.gallery__item {
  position: relative; display: block; padding: 0; border: 0; overflow: hidden;
  background: #0b0b0b; cursor: zoom-in; grid-column: span 6; grid-row: span 2;
}
.gallery__item:nth-child(1) { grid-column: 1 / 6;  grid-row: 1 / 4; }
.gallery__item:nth-child(2) { grid-column: 6 / 13; grid-row: 1 / 3; }
.gallery__item:nth-child(3) { grid-column: 6 / 9;  grid-row: 3 / 5; }
.gallery__item:nth-child(4) { grid-column: 9 / 13; grid-row: 3 / 5; }
.gallery__item:nth-child(5) { grid-column: 1 / 6;  grid-row: 4 / 7; }
.gallery__item:nth-child(6) { grid-column: 6 / 13; grid-row: 5 / 7; }
.gallery__item:nth-child(7) { grid-column: 1 / 6;  grid-row: 7 / 10; }
.gallery__item:nth-child(8) { grid-column: 6 / 13; grid-row: 7 / 10; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease), opacity 0.4s; }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(3, 3, 3, 0.85) 0%, rgba(3, 3, 3, 0) 42%);
  pointer-events: none;
}
.gallery__cap {
  position: absolute; left: 1.1rem; bottom: 1rem; right: 1.1rem; z-index: 1;
  display: flex; flex-direction: column; gap: 0.3em; text-align: left;
  font-family: var(--font-ui); font-weight: 500; font-size: clamp(0.92rem, 1vw, 1.05rem); color: #fff;
}
.gallery__cat { font-family: var(--font-mono); font-weight: 400; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-rating); }
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.035); }
.gallery__item:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(3, 3, 3, 0.94); color: #fff;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.7); }
.lightbox__figure { margin: 0; display: grid; gap: 1rem; justify-items: center; }
.lightbox__figure img { max-width: 88vw; max-height: 80vh; object-fit: contain; display: block; }
.lightbox__figure figcaption { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey-rating); }
.lightbox__close, .lightbox__nav {
  position: absolute; width: 3rem; height: 3rem; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(3, 3, 3, 0.6); color: #fff;
  font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
.lightbox__close { top: 1.5rem; right: 1.5rem; }
.lightbox__nav--prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover, .lightbox__nav:hover { border-color: #fff; }

/* ==========================================================================
   4. Locations
   ========================================================================== */
.locations { display: grid; gap: 0; border-bottom: 1px solid var(--line); }
.location {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 6rem);
  padding: clamp(2.5rem, 4vw, 4.5rem) 0;
  border-top: 1px solid var(--line);
  align-items: center;
  scroll-margin-top: 12vh;
}
.location--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }   /* mirrored: photo keeps the wide column */
.location--flip .location__media { order: 2; }
.location__media { position: relative; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: #0b0b0b; }
.location__media img, .location__nophoto { width: 100%; height: 100%; object-fit: cover; display: block; }
.location__nophoto { display: grid; place-items: center; color: var(--grey-dim); font-family: var(--font-mono); }
.location__more { position: absolute; right: 1rem; bottom: 1rem; padding: 0.45em 0.9em; border-radius: 999px; background: rgba(3, 3, 3, 0.7); font-family: var(--font-mono); font-size: 0.72rem; color: #fff; }
.location__name { margin: 0; font-family: var(--font-headline); font-weight: 800; font-size: clamp(1.8rem, 2.6vw, 2.8rem); letter-spacing: -0.09em; color: #fff; }
.location__facts { display: grid; gap: 0.9rem; margin: 1.8rem 0 0; }
.location__facts div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; align-items: baseline; }
.location__facts dt { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-dim); }
.location__facts dd { margin: 0; font-family: var(--font-ui); font-size: 1rem; color: #fff; }
.location__facts a { color: #fff; border-bottom: 1px solid var(--line-strong); }
.location__hours { margin-top: 1.8rem; }
.hours { border-collapse: collapse; width: 100%; max-width: 24rem; }
.hours th, .hours td { padding: 0.42rem 0; border-top: 1px solid rgba(255, 255, 255, 0.06); text-align: left; font-weight: 400; }
.hours th { width: 4.5rem; font-family: var(--font-mono); font-size: 0.78rem; color: var(--grey-rating); }
.hours td { font-family: var(--font-ui); font-size: 0.93rem; color: #fff; }
.location__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

/* ---- the shop's map card: rounded, a gold rim with a lit top edge, and a soft
   vignette that sinks the map's edges into the page. The bundled maps are
   illustrations (js/site.js marks them) and say so in their corner. -------- */
.location__media { border-radius: clamp(0.9rem, 1.1vw, 1.3rem); isolation: isolate; }
.location__media::after {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px var(--gold-line-strong), inset 0 1px 0 rgba(255, 236, 190, 0.18);
}
.location__media--map { background: #0e0d0b; }
.location__media--map::after {
  background: radial-gradient(ellipse 82% 78% at 50% 47%, rgba(6, 5, 3, 0) 56%, rgba(6, 5, 3, 0.52) 100%);
}
.location__mapnote {
  position: absolute; left: 0.85rem; bottom: 0.8rem; z-index: 3;
  padding: 0.42em 0.75em; border-radius: 999px;
  border: 1px solid var(--gold-line);
  background: rgba(10, 9, 6, 0.64);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.05em; line-height: 1;
  color: rgba(243, 238, 228, 0.74);
}
.location__more { z-index: 3; }
@media (max-width: 640px) { .location__mapnote { left: 0.6rem; bottom: 0.6rem; font-size: 0.62rem; } }

/* ---- the display rating: big gold numerals, a gold star, a quiet caption.
   The number counts up from 0.0 as it arrives (js/ratings.js); a hidden copy
   of the final value holds its width, so the star never shifts while it
   counts. Clipped text keeps line-height 1 so no glyph leaves its gradient. */
.loc-rating {
  --rs: clamp(3.7rem, 5.2vw, 5.9rem);
  --star-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.7l2.83 5.73 6.32.92-4.57 4.46 1.08 6.3L12 17.13l-5.66 2.98 1.08-6.3-4.57-4.46 6.32-.92z' fill='%23000' stroke='%23000' stroke-width='1.1' stroke-linejoin='round'/%3E%3C/svg%3E");
  display: flex; align-items: center; gap: calc(var(--rs) * 0.13);
  margin-top: clamp(1.6rem, 2.3vw, 2.4rem);
}
.loc-rating__num {
  display: inline-grid; flex: none;
  font-family: var(--font-bogle); font-weight: 400; font-size: var(--rs);
  line-height: 1; letter-spacing: 0.01em; white-space: nowrap;
  font-variant-numeric: tabular-nums lining-nums;
}
.loc-rating__num > span { grid-area: 1 / 1; justify-self: start; }
.loc-rating__size { visibility: hidden; }
.loc-rating__live {
  color: transparent;
  background-image:
    linear-gradient(100deg, rgba(255, 250, 235, 0) 40%, rgba(255, 250, 235, 0.92) 50%, rgba(255, 250, 235, 0) 60%),
    var(--gold-brush),
    var(--gold-text-hi);
  background-size: 260% 100%, auto, 100% 100%;
  background-position: 100% 0, 0 0, 0 0;
  background-repeat: no-repeat, repeat, no-repeat;
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0.03em 0.1em rgba(0, 0, 0, 0.55));
}
.loc-rating__star {
  position: relative; flex: none;
  width: calc(var(--rs) * 0.5); height: calc(var(--rs) * 0.5);
  margin-top: calc(var(--rs) * -0.05);
  filter: drop-shadow(0 0 calc(var(--rs) * 0.09) rgba(240, 204, 128, 0.3));
  transition: opacity 0.5s, scale 0.8s var(--ease-out), rotate 1s var(--ease-out);
}
.loc-rating__star::before {
  content: ""; position: absolute; inset: 0;
  background: var(--gold-fill);
  -webkit-mask: var(--star-mask) center / contain no-repeat;
  mask: var(--star-mask) center / contain no-repeat;
}
.loc-rating__cap {
  margin-left: calc(var(--rs) * 0.05);
  padding: 0.15em 0 0.15em clamp(0.8rem, 1vw, 1.1rem);
  border-left: 1px solid var(--gold-line-strong);
  font-family: var(--font-bogle); font-weight: 400; font-size: clamp(0.8rem, 0.86vw, 0.92rem);
  letter-spacing: 0.18em; line-height: 1.55; color: var(--gold-ink);
}
/* waiting to count: the star sits dim and turned; it swings up as the count runs */
.mo .loc-rating:not(.is-counting):not(.is-counted) .loc-rating__star { opacity: 0.32; scale: 0.72; rotate: -36deg; }
/* landing: a glint runs across the number and the star lifts once */
.loc-rating.is-counted .loc-rating__live { animation: loc-glint 1.1s var(--ease-out) 1; }
.loc-rating.is-counted .loc-rating__star { animation: loc-star-pop 0.62s var(--ease-out) 1; }
html:not(.mo) .loc-rating.is-counted .loc-rating__live,
html:not(.mo) .loc-rating.is-counted .loc-rating__star { animation: none; }
@keyframes loc-glint {
  from { background-position: 100% 0, 0 0, 0 0; }
  to   { background-position: 0% 0, 0 0, 0 0; }
}
@keyframes loc-star-pop {
  0%   { scale: 1; }
  38%  { scale: 1.17; }
  100% { scale: 1; }
}

/* ==========================================================================
   5. Booking
   ========================================================================== */
.booking { position: relative; z-index: 1; }
.booking__noscript { color: var(--grey-body); }
.bk {
  display: grid;
  grid-template-columns: minmax(13rem, 17rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3.5rem);
  align-items: start;
}
.bk__rail { list-style: none; margin: 0; padding: 0; position: sticky; top: 12vh; display: grid; gap: 0.2rem; }
.bk__railbtn {
  width: 100%; display: grid; grid-template-columns: 2.2rem 1fr; grid-template-rows: auto auto; column-gap: 0.4rem;
  padding: 0.9rem 0.9rem 0.9rem 1rem; text-align: left; border: 0; border-left: 2px solid var(--line);
  background: transparent; color: var(--grey-dim); cursor: pointer; font-family: var(--font-ui);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.bk__railbtn:disabled { cursor: default; opacity: 0.55; }
.bk__railnum { grid-row: 1 / 3; font-family: var(--font-mono); font-size: 0.76rem; padding-top: 0.15em; }
.bk__raillabel { font-weight: 500; font-size: 0.98rem; }
.bk__railval { font-size: 0.82rem; color: var(--grey-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1em; }
.bk__railitem.is-done .bk__railbtn { color: var(--grey-body); border-left-color: var(--line-strong); }
.bk__railitem.is-done .bk__railval { color: var(--grey-body); }
.bk__railitem.is-current .bk__railbtn { color: #fff; border-left-color: var(--offwhite); background: rgba(255, 255, 255, 0.03); }
.bk__railbtn:not(:disabled):hover { color: #fff; }

.bk__panel {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.4);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  overflow: hidden;
}
.bk__stage { padding: clamp(1.5rem, 3vw, 3rem); min-height: 26rem; }
.bk__footer {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem clamp(1.5rem, 3vw, 3rem);
  border-top: 1px solid var(--line);
}
.bk__progress { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey-dim); }
.bk__q { margin: 0 0 1.6rem; font-family: var(--font-headline); font-weight: 300; font-size: clamp(1.4rem, 2vw, 2rem); letter-spacing: -0.09em; color: #fff; outline: none; }
.bk__subq { margin: 1.8rem 0 0.8rem; font-family: var(--font-ui); font-weight: 500; color: #fff; }

.bk__grid { display: grid; gap: 0.9rem; }
.bk__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bk__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bk__list { display: grid; gap: 0.6rem; }
.bk__opt {
  position: relative; display: flex; flex-direction: column; gap: 0.35rem; text-align: left;
  padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); color: #fff; font-family: var(--font-ui); cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.bk__opt:hover:not(:disabled) { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.045); }
.bk__opt.is-on { border-color: var(--offwhite); background: rgba(240, 238, 236, 0.08); }
.bk__opt.is-on::after {
  content: ""; position: absolute; top: 0.8rem; right: 0.8rem; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--offwhite) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5 10 17.5 19 7' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.bk__opt:disabled { opacity: 0.28; cursor: not-allowed; text-decoration: line-through; }
.bk__opt--card { padding: 0; overflow: hidden; }
.bk__opt--card > :not(.bk__optimg) { padding: 0 1.1rem; }
.bk__opt--card .bk__opttitle { padding-top: 1rem; }
.bk__opt--card .bk__optsub { padding-bottom: 1.1rem; }
.bk__optimg { display: block; aspect-ratio: 16 / 9; background: #0b0b0b center / cover no-repeat; }
.bk__optimg--portrait { aspect-ratio: 4 / 3; background-position: center 22%; }
.bk__opt--any { justify-content: flex-end; min-height: 100%; }
.bk__opt--any > * { padding: 0 1.1rem; }
.bk__anyicon { display: block; padding-top: 1.1rem !important; font-size: 1.6rem; color: var(--grey-rating); }
.bk__opttitle { font-weight: 500; font-size: 1.05rem; }
.bk__optsub { font-size: 0.88rem; line-height: 1.4; color: var(--grey-body); }
.bk__opt--row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.5rem; padding-right: 3rem; }
.bk__opt--row .bk__opttitle { grid-column: 1; }
.bk__opt--row .bk__optsub { grid-column: 1; }
.bk__optmeta { grid-column: 2; grid-row: 1 / 3; align-self: center; display: flex; gap: 1.4rem; font-family: var(--font-mono); font-size: 0.86rem; color: #fff; }

.bk__dates { display: flex; gap: 0.55rem; overflow-x: auto; padding-bottom: 0.6rem; scroll-snap-type: x proximity; scrollbar-width: thin; }
.bk__date { flex: 0 0 4.4rem; align-items: center; gap: 0.15rem; padding: 0.8rem 0.4rem; scroll-snap-align: start; text-align: center; }
.bk__date.is-on::after { display: none; }
.bk__dow, .bk__mon { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey-rating); }
.bk__day { font-family: var(--font-headline); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.08em; line-height: 1.1; }
.bk__date.is-on { background: var(--offwhite); color: var(--ink); }
.bk__date.is-on .bk__dow, .bk__date.is-on .bk__mon { color: #555; }
.bk__slotgroup { margin-top: 1.1rem; }
.bk__slotlabel { margin: 0 0 0.6rem; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-dim); }
.bk__slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.4rem, 1fr)); gap: 0.5rem; }
.bk__slot { align-items: center; padding: 0.7rem 0.4rem; border-radius: 999px; font-family: var(--font-mono); font-size: 0.9rem; }
.bk__slot.is-on { background: var(--offwhite); color: var(--ink); }
.bk__slot.is-on::after { display: none; }

.bk__form { display: grid; gap: 1.2rem; }
.bk__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.4rem; }
.bk__field { display: grid; gap: 0.5rem; }
.bk__field:last-child { grid-column: 1 / -1; }
.bk__field label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-rating); }
.bk__opt-label { color: var(--grey-dim); text-transform: none; letter-spacing: 0.02em; }
.bk__field input, .bk__field textarea {
  width: 100%; padding: 0.95rem 1.05rem; border: 1px solid var(--line-strong); border-radius: calc(var(--radius) * 0.8);
  background: rgba(255, 255, 255, 0.02); color: #fff; font-family: var(--font-ui); font-size: 1rem; line-height: 1.4;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.bk__field textarea { resize: vertical; min-height: 6rem; }
.bk__field input:focus, .bk__field textarea:focus { outline: none; border-color: var(--offwhite); background: rgba(255, 255, 255, 0.04); }
.bk__field.has-error input { border-color: var(--err); }
.bk__hint { font-size: 0.82rem; color: var(--grey-dim); }
.bk__err { font-family: var(--font-ui); font-size: 0.85rem; color: var(--err); }
.bk__err--block { display: block; margin-top: 1rem; }
.bk__check { display: flex; gap: 0.8rem; align-items: flex-start; font-family: var(--font-ui); font-size: 0.95rem; color: var(--grey-body); cursor: pointer; }
.bk__check input { appearance: none; -webkit-appearance: none; flex: none; width: 1.25rem; height: 1.25rem; margin: 0.1rem 0 0; border: 1.5px solid #c0c0bf; border-radius: 0.35rem; background: transparent; cursor: pointer; display: grid; place-items: center; }
.bk__check input:checked { background: var(--offwhite) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5 10 17.5 19 7' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; border-color: var(--offwhite); }
.bk__check input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bk__check.has-error input { border-color: var(--err); }

.bk__summary { margin: 0; border-top: 1px solid var(--line); }
.bk__sumrow { display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto; gap: 1rem; align-items: baseline; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.bk__sumrow dt { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-dim); }
.bk__sumrow dd { margin: 0; font-family: var(--font-ui); font-size: 1.02rem; color: #fff; display: grid; gap: 0.25rem; }
.bk__sumsub { font-size: 0.88rem; color: var(--grey-body); }
.bk__edit { border: 0; background: none; color: var(--grey-rating); font-family: var(--font-ui); font-size: 0.88rem; cursor: pointer; border-bottom: 1px solid var(--line-strong); padding: 0; }
.bk__edit:hover { color: #fff; }
.bk__note { margin: 1.4rem 0 0; font-family: var(--font-ui); font-size: 0.88rem; line-height: 1.5; color: var(--grey-dim); }
.bk__note--proto { padding-left: 0.9rem; border-left: 2px solid var(--line-strong); font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.02em; }

.bk--done { display: block; }
.bk__done {
  max-width: 44rem; margin: 0 auto; padding: clamp(2.5rem, 5vw, 5rem) clamp(1.5rem, 4vw, 4rem);
  border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.4);
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255, 250, 245, 0.07), transparent 70%), rgba(255, 255, 255, 0.015);
  text-align: center; outline: none;
}
.bk__done .eyebrow { display: flex; justify-content: center; }
.bk__tick { display: grid; place-items: center; width: 4rem; height: 4rem; margin: 0 auto 1.6rem; border-radius: 50%; background: var(--offwhite); }
.bk__tick svg { width: 1.8rem; height: 1.8rem; fill: none; stroke: #111; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.bk__donetitle { margin: 0; font-family: var(--font-headline); font-size: clamp(1.8rem, 3vw, 2.9rem); line-height: 1.06; letter-spacing: -0.1em; color: #fff; }
.bk__donesub { margin: 1rem 0 0; font-family: var(--font-ui); font-size: 1.05rem; color: var(--grey-body); }
.bk__doneactions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 2.2rem; }
.bk__done .bk__note { text-align: left; max-width: 34rem; margin: 2rem auto 0; }

/* ==========================================================================
   6. Workshops
   ========================================================================== */
.workshops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 2.6vw, 3rem); }
.workshop { display: flex; flex-direction: column; border-top: 1px solid var(--line-strong); padding-top: 1.4rem; }
.workshop__media { position: relative; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: #0b0b0b; }
.workshop__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.9s var(--ease); }
.workshop:hover .workshop__media img { transform: scale(1.03); }
.workshop__level { position: absolute; left: 0.9rem; top: 0.9rem; padding: 0.45em 0.95em; border-radius: 999px; background: rgba(3, 3, 3, 0.72); border: 1px solid var(--line-strong); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.workshop__body { display: flex; flex-direction: column; flex: 1; padding-top: 1.4rem; }
.workshop__title { margin: 0; font-family: var(--font-headline); font-weight: 800; font-size: clamp(1.3rem, 1.7vw, 1.75rem); letter-spacing: -0.09em; color: #fff; }
.workshop__desc { margin: 0.7em 0 0; font-family: var(--font-ui); font-size: 0.98rem; line-height: 1.5; color: var(--grey-body); }
.workshop__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 1.2rem; margin: 1.5rem 0 1.6rem; }
.workshop__facts dt { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-dim); margin-bottom: 0.3em; }
.workshop__facts dd { margin: 0; font-family: var(--font-ui); font-size: 0.93rem; color: #fff; }
.workshop .link-arrow { margin-top: auto; align-self: flex-start; }

/* ==========================================================================
   7. About / our craft
   ========================================================================== */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 7vw, 8rem); align-items: center; }
.about__media { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: #0b0b0b; }
.about__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__text .sec__lede { max-width: 28em; }
.principles { list-style: none; margin: clamp(2.5rem, 4vw, 4rem) 0 0; padding: 0; border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 3rem 9rem minmax(0, 1fr); gap: 1rem; align-items: baseline; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.principle__num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--grey-dim); }
.principle__title { margin: 0; font-family: var(--font-headline); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.08em; color: #fff; }
.principle__text { margin: 0; font-family: var(--font-ui); font-size: 0.98rem; line-height: 1.5; color: var(--grey-body); }

/* ==========================================================================
   8. Contact + footer
   ========================================================================== */
.sec--contact { padding-bottom: clamp(4rem, 7vw, 7rem); }
.sec--contact::before { height: 100%; background: radial-gradient(ellipse 40% 55% at 50% 0%, rgba(255, 250, 245, 0.11), rgba(255, 250, 245, 0.025) 50%, transparent 75%); }
.cta { text-align: center; max-width: 50rem; margin: 0 auto clamp(5rem, 9vw, 9rem); }
.cta .eyebrow { justify-content: center; }
.cta__title { font-size: clamp(2.8rem, 6vw, 6.4rem); }
.cta .sec__lede { margin-left: auto; margin-right: auto; }
.contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 4rem); padding-top: clamp(2.5rem, 4vw, 4rem); border-top: 1px solid var(--line); }
.contact-grid__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.contact-grid__list li { display: grid; gap: 0.25rem; font-family: var(--font-ui); font-size: 1rem; color: #fff; }
.contact-grid__list a { color: #fff; text-decoration: none; border-bottom: 1px solid transparent; justify-self: start; }
.contact-grid__list a:hover { border-bottom-color: var(--line-strong); }
.contact-grid__k { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-dim); }
.contact-grid__sub { font-size: 0.88rem; color: var(--grey-body); }
.contact-grid__note { font-size: 0.85rem !important; color: var(--grey-dim) !important; }

.footer { background: #030303; border-top: 1px solid var(--line); padding: 1.6rem var(--gx) 1.8rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.footer__logo { display: inline-flex; align-items: center; gap: 0.9rem; color: #fff; font-family: var(--font-ui); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.11em; }
.footer__logo svg { width: 1.6rem; height: 1rem; overflow: visible; }
.footer__logo line { stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.footer__legal { margin: 0; font-family: var(--font-ui); font-size: 0.85rem; color: var(--grey-dim); }
.footer__staff { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--grey-dim); text-decoration: none; border-bottom: 1px solid transparent; }
.footer__staff:hover, .footer__staff:focus-visible { color: #fff; border-bottom-color: var(--line-strong); }

/* focus rings everywhere in the new sections */
.sec :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .bk__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workshops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .sec__split, .about { grid-template-columns: minmax(0, 1fr); }
  .sec__head--sticky { position: relative; top: 0; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .barber--1, .barber--2 { margin-top: 0; }
  .barber:nth-child(2) { margin-top: clamp(2rem, 8vw, 5rem); }
  .location, .location--flip { grid-template-columns: minmax(0, 1fr); }
  .location--flip .location__media { order: 0; }
  .bk { grid-template-columns: minmax(0, 1fr); }
  .bk__rail { position: relative; top: 0; display: flex; overflow-x: auto; gap: 0.3rem; padding-bottom: 0.3rem; }
  .bk__railitem { flex: 0 0 auto; }
  .bk__railbtn { border-left: 0; border-bottom: 2px solid var(--line); padding: 0.6rem 0.8rem; grid-template-columns: auto auto; column-gap: 0.5rem; }
  .bk__railitem.is-current .bk__railbtn { border-bottom-color: var(--offwhite); }
  .bk__railnum { grid-row: auto; }
  .bk__railval { display: none; }
  .bk__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .gallery__item, .gallery__item:nth-child(n) { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 5; }
  .gallery__item:nth-child(1), .gallery__item:nth-child(2) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .about__media { max-width: 34rem; }
}
@media (max-width: 640px) {
  .team, .workshops, .contact-grid, .bk__grid--3, .bk__grid--4 { grid-template-columns: minmax(0, 1fr); }
  .barber:nth-child(2) { margin-top: 0; }
  .menu__item { grid-template-columns: 2rem minmax(0, 1fr) auto; }
  .menu__meta { grid-column: 2 / 3; justify-content: flex-start; text-align: left; }
  .menu__book { grid-row: 1; grid-column: 3; align-self: start; }
  .bk__fields { grid-template-columns: minmax(0, 1fr); }
  .bk__opt--row { grid-template-columns: minmax(0, 1fr); padding-right: 2.6rem; }
  .bk__optmeta { grid-column: 1; grid-row: auto; }
  .bk__sumrow { grid-template-columns: minmax(0, 1fr) auto; }
  .bk__sumrow dt { grid-column: 1 / -1; }
  .bk__footer .bk__progress { display: none; }
  .principle { grid-template-columns: 2.4rem minmax(0, 1fr); }
  .principle__text { grid-column: 2; }
  .location__facts div { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery__item:nth-child(n) { grid-column: 1; aspect-ratio: 4 / 5; }
  .sec__giant { font-size: 34vw; }
}
/* reduced motion: nothing slides or zooms; fades, focus pulls and wipes stay
   (css/motion.css). ?motion=full (.mo-full) shows the full choreography. */
@media (prefers-reduced-motion: reduce) {
  html:not(.mo-full) .sections *,
  html:not(.mo-full) .sections *::before,
  html:not(.mo-full) .sections *::after { transition-property: opacity, filter, clip-path, color, background-color, border-color, -webkit-mask-size, mask-size !important; }
}
