/* Willie's Clippers Barbershop: the mirror station. v1, 2026-11-02. */

@font-face {
  font-family: "Anton";
  src: url("../fonts/Anton.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/Archivo.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* The shop's materials */
  --wall: #e0e3de; /* the shop's pale grey-green paint, cool rather than cream */
  --wall-deep: #d2d6d0;
  --ink: #121212;
  --ink-2: #4a4a48;
  --chrome: #b9bbbe;
  --chrome-lite: #d8d9d7;
  --chrome-dark: #8d9094;
  --oak: #c9a77c;
  --oak-deep: #b88f63;
  --light: #ffffff;
  --pole-red: #c8102e;
  --pole-blue: #1f4e9c;

  /* Type */
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --text: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-lede: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --fs-h1: clamp(3rem, 1.4rem + 6vw, 5.75rem);
  --fs-h2: clamp(2.5rem, 1.6rem + 3.2vw, 4.5rem);

  /* Space */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2.5rem;
  --s-5: 4rem;
  --s-6: 6.5rem;
  --s-7: 10rem;
  --gutter: clamp(1rem, 2.5vw, 1.5rem);
  --bar-h: 4rem;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 160ms;
  --t-reveal: 250ms;
  --t-light: 700ms;

  color-scheme: light;
  scrollbar-color: var(--ink) var(--wall-deep);
  accent-color: var(--ink);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  caret-color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--ink); color: var(--wall); }

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }

a, button, [tabindex] {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(18, 18, 18, 0.12);
}
/* Anchored sections and focused controls land clear of the sticky shelf bar */
[id], a, button, [tabindex] { scroll-margin-top: calc(var(--bar-h) + 1rem); }

:focus-visible {
  outline: 3px solid var(--light);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--ink), 0 0 24px 2px rgba(255, 255, 255, 0.9);
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100%;
  z-index: 100;
  background: var(--ink);
  color: var(--light);
  padding: 0.75rem 1rem;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: calc(var(--bar-h) + 0.5rem); }

.wrap {
  width: min(85rem, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Type ---------- */

.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.012em;
  line-height: 0.92;
  margin: 0;
  text-wrap: balance;
}
h1.display { font-size: var(--fs-h1); }
.display--2 { font-size: var(--fs-h2); }

.lede {
  font-size: var(--fs-lede);
  line-height: 1.45;
  max-width: 34ch;
  margin: var(--s-2) 0 0;
  color: var(--ink);
}

p { margin: 0 0 var(--s-2); max-width: 62ch; }

.link {
  font-weight: 600;
  text-decoration-thickness: 1.5px;
  transition: text-decoration-color var(--t-fast) ease;
}
.link:hover { text-decoration-color: var(--chrome-dark); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  min-height: 3rem;
  padding: 0.55rem 1.25rem 0.45rem;
  background: var(--ink);
  color: var(--light);
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  border: 0;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 10px 24px -14px rgba(0, 0, 0, 0.6);
  transition: box-shadow var(--t-fast) ease, transform var(--t-fast) ease;
}
.btn:hover {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 0 0 1px var(--ink), 0 0 28px 2px rgba(255, 255, 255, 0.85), 0 10px 24px -14px rgba(0, 0, 0, 0.6);
}
.btn:active { transform: translateY(1px); }
.btn--call { font-size: clamp(1.35rem, 1rem + 1.1vw, 1.75rem); min-height: 3.5rem; padding-inline: 1.5rem; }
.btn--bar {
  background: var(--light);
  color: var(--ink);
  font-size: 1.05rem;
  min-height: 2.6rem;
  padding: 0.45rem 0.9rem 0.35rem;
  box-shadow: none;
}
.btn--bar:hover { box-shadow: 0 0 22px 2px rgba(255, 255, 255, 0.7); }

/* ---------- Plates (chrome labels) ---------- */

.plate {
  display: inline-block;
  font-family: var(--text);
  font-variation-settings: "wdth" 88;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  padding: 0.42rem 0.6rem 0.36rem;
  background: var(--chrome-lite);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--chrome), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-radius: 1px;
}
.plate--frame {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  white-space: normal; /* a long caption wraps inside a narrow mirror instead of clipping */
  line-height: 1.25;
  transform: translateY(50%);
}
.plate--tc {
  vertical-align: 0.15em;
  margin-left: 0.35em;
  background: var(--wall);
  box-shadow: inset 0 0 0 1px var(--chrome-dark);
  white-space: nowrap;
}

/* ---------- Shelf bar (header) ---------- */

.shelf-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--light);
  box-shadow: 0 1px 0 var(--chrome-dark), 0 8px 24px -16px rgba(0, 0, 0, 0.7);
}
.shelf-bar__row {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  min-height: var(--bar-h);
  padding-inline: env(safe-area-inset-left) env(safe-area-inset-right);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-right: auto;
}
.brand__badge {
  width: 44px; height: 44px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--chrome);
}
.brand__name {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  padding-top: 0.15em;
  white-space: nowrap;
}
.site-nav a, .btn--bar { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1199px) {
  .site-nav__list { gap: var(--s-2); }
  .shelf-bar__row { gap: var(--s-2); }
  .btn--bar .num { display: none; }
  .brand__sub { display: none; }
}
.brand__sub { color: var(--chrome); }

.site-nav__list {
  display: flex;
  gap: var(--s-3);
  list-style: none;
  margin: 0; padding: 0;
}
.site-nav a {
  display: inline-block;
  padding: 0.5rem 0.1rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color var(--t-fast) ease;
}
.site-nav a:hover { border-color: var(--chrome); }
.site-nav a[aria-current="true"] { border-color: var(--light); }

.menu-btn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--light);
  border: 1px solid var(--chrome-dark);
  min-height: 2.6rem;
  padding: 0.4rem 0.75rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-btn svg { display: block; }

/* ---------- Mirrors ---------- */

.mirror {
  margin: 0;
  min-width: 0;
  background: var(--ink);
  padding: 10px;
  position: relative;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 24px 48px -28px rgba(0, 0, 0, 0.55),
    0 2px 0 rgba(0, 0, 0, 0.25);
}
.mirror__glass {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  box-shadow: inset 0 0 0 1px var(--chrome);
  aspect-ratio: 4 / 5;
}
.mirror__glass img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mirror__glass::before {
  /* a fixed specular edge along the top of the glass */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 22%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
  mix-blend-mode: screen;
}
.mirror__glass::after {
  content: "";
  position: absolute;
  inset: -40%;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 38%,
    rgba(255, 255, 255, 0.14) 48%,
    rgba(255, 255, 255, 0.04) 52%,
    rgba(255, 255, 255, 0) 62%
  );
  transform: translate(calc(var(--mx, 0.5) * 16px - 8px), calc(var(--my, 0.5) * 16px - 8px));
  transition: transform 400ms var(--ease-out);
  mix-blend-mode: screen;
}

/* ---------- Hero: the whole first screen is the mirror ---------- */

/* The frame: the shelf bar is its top edge; the ink runs down both sides and under the glass */
.hero-frame {
  position: relative;
  background: var(--ink);
  padding: 0 10px 10px;
}
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - var(--bar-h) - 10px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--ink);
  color: var(--light);
}
.hero::after {
  /* the chrome inner edge of the frame */
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--chrome);
  pointer-events: none;
  z-index: 3;
}
.hero__glass {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--ink);
}
.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}
.hero__glass::before {
  /* the glass: a little shadow under the bar, and depth at the foot so the words read over the video
     (2026-11-11: the grain that hid the old, blown-up photo is gone; the fades are lighter) */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 22%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.45) 66%, rgba(0, 0, 0, 0.8) 100%);
}
.hero__photo { object-position: 50% 50%; }
.hero__glass::after {
  /* the sheen that answers the pointer */
  content: "";
  position: absolute;
  inset: -40%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.12) 48%,
    rgba(255, 255, 255, 0.03) 52%,
    rgba(255, 255, 255, 0) 60%
  );
  transform: translate(calc(var(--mx, 0.5) * 24px - 12px), calc(var(--my, 0.5) * 24px - 12px));
  transition: transform 400ms var(--ease-out);
  mix-blend-mode: screen;
}
.hero__badge {
  position: absolute;
  z-index: 2;
  top: clamp(1.25rem, 4vh, 2.5rem);
  left: 50%;
  translate: -50% 0;
  width: clamp(80px, 9vw, 120px);
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--light), 0 18px 40px -14px rgba(0, 0, 0, 0.85);
}
.hero__copy {
  position: relative;
  z-index: 2;
  padding-block: clamp(7rem, 20vh, 11rem) clamp(1.75rem, 5vh, 3.5rem);
}
.hero h1.display {
  font-size: clamp(2.8rem, 8.6vw, 9.5rem);
  color: var(--light);
  max-width: 12ch;
}
.hero .lede { color: var(--light); max-width: 40ch; }
.hero__action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-3);
  margin-top: var(--s-3);
}
.hero .btn--call { background: var(--light); color: var(--ink); }
.hero .btn--call:hover { box-shadow: 0 0 0 1px var(--light), 0 0 32px 4px rgba(255, 255, 255, 0.75), 0 10px 24px -14px rgba(0, 0, 0, 0.6); }
.hero .open-state__text,
.hero .open-state--open .open-state__text,
.hero .open-state--closed .open-state__text { color: var(--light); } /* the pole and the words carry the state; red on a photo would not */
.hero__directions { align-self: center; }
.hero__plate {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 4;
  margin: 0;
  transform: translate(-50%, 50%);
}

/* The ticker: the services go by on a chrome-on-ink strip under the mirror */
.ticker {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--chrome-lite);
  padding: 1.6rem 0 1.1rem; /* room for the frame plate that hangs into it */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 52s linear infinite;
}
.ticker__run { display: flex; align-items: center; flex: none; }
.ticker__item {
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  padding: 0.2em 1.4rem 0.1em;
  white-space: nowrap;
}
.ticker__sep {
  width: 9px; height: 9px;
  flex: none;
  background: var(--chrome-dark);
  transform: rotate(45deg);
}
.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track,
.ticker.is-paused .ticker__track { animation-play-state: paused; }
.ticker__pause {
  position: absolute;
  right: var(--gutter);
  bottom: 0.5rem;
  width: 2rem; height: 2rem;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--chrome);
  border: 1px solid var(--chrome-dark);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 0 0 10px var(--ink); /* the words pass behind a clean ink circle */
}
.ticker__pause:hover { color: var(--light); border-color: var(--chrome); }
.ticker__icon-play { display: none; }
.ticker.is-paused .ticker__icon-pause { display: none; }
.ticker.is-paused .ticker__icon-play { display: block; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .ticker__pause { display: none; }
}

/* The light switches on: the photograph comes up from dark as the ring light blooms */
.js .hero .hero__photo { filter: brightness(0.3); transition: filter var(--t-light) var(--ease-out); }
.js .hero.lit .hero__photo { filter: brightness(1); }
@media (prefers-reduced-motion: reduce) {
  .js .hero .hero__photo { filter: none; transition: none; }
  .hero__glass::after, .mirror__glass::after { transition: none; }
}

.open-state {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
  max-width: none;
}
.open-state .plate--tc { margin-left: 0.2em; }
.open-state__text { flex: 1 1 0; min-width: 0; } /* the text wraps beside the pole, never under it */
.pole {
  width: 10px;
  height: 26px;
  flex: none;
  border-radius: 5px;
  background: repeating-linear-gradient(
    -55deg,
    var(--pole-red) 0 5px,
    var(--light) 5px 10px,
    var(--pole-blue) 10px 15px,
    var(--light) 15px 20px
  );
  box-shadow: inset 0 0 0 1px var(--chrome-dark), 0 1px 2px rgba(0, 0, 0, 0.3);
}
.open-state--open .open-state__text { color: var(--pole-blue); }
.open-state--closed .open-state__text { color: var(--pole-red); }


/* ---------- Sections ---------- */

.section { padding-block: var(--s-6) var(--s-5); }
.section__head { margin-bottom: var(--s-4); }
.section__head .lede { margin-top: var(--s-2); }

/* Reveal: visible by default; JS adds .reveal-ready to opt in */
.js .reveal-ready .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--t-reveal) ease-out, transform var(--t-reveal) var(--ease-out);
}
.js .reveal-ready .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal-ready .reveal { opacity: 1; transform: none; transition: none; }
}

/* The work: a dark gallery, three across, every third tile wide */
.work { background: var(--ink); color: var(--light); overflow-x: clip; } /* the side slide never widens the page */
.work .lede { color: var(--chrome-lite); }
.gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-3);
}
.gallery__item { min-width: 0; }
.mirror--tile { height: 100%; display: flex; flex-direction: column; padding: 6px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.mirror--tile .mirror__glass { flex: 1; aspect-ratio: 4 / 5; }
.gallery__item--wide { min-height: 0; }
.gallery__item--wide .mirror--tile .mirror__glass { aspect-ratio: 4 / 5; min-height: 0; } /* alone in its row on a phone: same shape as the others */
.gallery__item--wide .mirror--tile img { position: absolute; inset: 0; object-position: 50% 42%; } /* the row's height comes from the small tiles, not from this photo */
/* Hover: the mirror lifts a touch and the photo eases in, nothing more */
.mirror--tile { transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out); }
.mirror--tile img { transition: transform 600ms var(--ease-out); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .gallery__item:hover .mirror--tile {
    transform: translateY(-4px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 28px 44px -22px rgba(0, 0, 0, 0.9);
  }
  .gallery__item:hover .mirror--tile img { transform: scale(1.04); }
}
.tile__caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  margin: 0;
  padding: 3.5rem 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.72) 100%);
  color: var(--light);
  pointer-events: none;
}
.tile__index { font-family: var(--text); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em; color: var(--chrome); font-variant-numeric: tabular-nums; }
.tile__name { font-family: var(--display); font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.9rem); letter-spacing: 0.03em; text-transform: uppercase; line-height: 1; }

/* The shop */
.shop__grid,
.hours__grid {
  grid-template-columns: minmax(0, 1fr); /* never let long captions widen the page */
}
.shop__grid {
  display: grid;
  gap: var(--s-5);
}
.shop__copy p { max-width: 54ch; }
.shop__copy q { font-style: italic; }
/* The owner's note and the closing line (2026-11-13, the owner's own introduction) */
.owner-note { margin: var(--s-3) 0; padding-left: var(--s-3); border-left: 3px solid var(--ink); max-width: 54ch; }
.owner-note blockquote { margin: 0; }
.owner-note blockquote p { font-size: var(--fs-lede); line-height: 1.4; font-style: italic; margin-bottom: var(--s-1); }
.owner-note figcaption { font-weight: 700; font-size: var(--fs-small); letter-spacing: 0.08em; text-transform: uppercase; }
.owner-note figcaption::before { content: "\2014\00a0"; }
.shop__closer { font-family: var(--display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.1; margin-top: var(--s-3); }
.rating {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--chrome);
  max-width: 34rem;
}
.rating__score {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin: 0 0 var(--s-3);
}
.rating__score .num {
  font-family: var(--display);
  font-size: 4.5rem;
  line-height: 0.9;
  letter-spacing: 0.01em;
}
.rating__of { font-weight: 600; line-height: 1.3; }
.rating__date { font-weight: 400; font-size: var(--fs-small); color: var(--ink-2); }
.rating__lead {
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.ruled {
  list-style: none;
  margin: 0 0 var(--s-3);
  padding: 0;
  border-top: 1px solid var(--chrome);
}
.ruled li { padding: 0.55rem 0; border-bottom: 1px solid var(--chrome); }

.shop__mirrors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-4) var(--s-3);
  align-content: start;
  align-items: start;
}
.shop__copy .display { margin-bottom: var(--s-3); }
/* all four shop mirrors share the 4:5 glass; taller photos crop to it */
.shop__mirrors .mirror:nth-child(4) img { object-position: 50% 45%; }

/* What we do: the cabinet */
.services__head { display: grid; gap: var(--s-2) var(--s-5); align-items: end; }
.services__aside .lede { margin-top: 0; }
.services__note { max-width: 44ch; }
.cabinet--menu { padding: var(--s-2) var(--s-4) var(--s-3); }
.cabinet {
  margin: 0;
  background: var(--ink);
  color: var(--light);
  padding: var(--s-2) var(--s-3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 48px -28px rgba(0, 0, 0, 0.6);
  outline: 1px solid var(--chrome-dark); /* the same chrome inner edge as the mirror frames */
  outline-offset: -9px;
}
.cabinet__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name price" "desc desc";
  gap: 0.35rem var(--s-3);
  align-items: baseline;
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--chrome-dark);
}
.cabinet__row:last-child { border-bottom: 0; }
.cabinet dt { grid-area: name; }
.cabinet__desc { grid-area: desc; }
.cabinet__price { grid-area: price; justify-self: end; }
.cabinet dt {
  font-family: var(--display);
  font-size: 1.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
}
.cabinet dd { margin: 0; color: var(--chrome-lite); max-width: 48ch; }
.cabinet__price { font-family: var(--text); font-weight: 700; font-size: 1.25rem; color: var(--light); white-space: nowrap; }
.services__note { margin-top: var(--s-2); font-size: var(--fs-small); color: var(--ink-2); }
.services__note .plate--tc { margin: 0 0.4em 0 0; vertical-align: 0.1em; }
.cabinet .plate--tc { background: var(--ink); color: var(--chrome-lite); box-shadow: inset 0 0 0 1px var(--chrome); font-family: var(--text); }

/* Hours and where */
.hours__grid {
  display: grid;
  gap: var(--s-5);
}
.hours-table {
  width: 100%;
  max-width: 34rem;
  border-collapse: collapse;
  font-size: 1.0625rem;
}
.hours-table th,
.hours-table td {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--chrome);
  text-align: left;
  vertical-align: top;
}
.hours-table tbody tr:first-child th,
.hours-table tbody tr:first-child td { border-top: 1px solid var(--chrome); }
.hours-table th { font-weight: 700; width: 48%; }
.hours-table td { font-variant-numeric: tabular-nums lining-nums; }
.hours-table .plate--tc { display: block; width: fit-content; margin: 0.4rem 0 0; }
.hours__note {
  margin-top: var(--s-2);
  font-size: var(--fs-small);
  color: var(--ink-2);
  max-width: 34rem;
}
.open-state--inline { margin-top: var(--s-2); }

.where { font-style: normal; }
.where p { margin: 0 0 var(--s-1); }
.where__name { font-family: var(--display); font-size: 1.75rem; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1; margin-bottom: var(--s-2); }
.where__hint { color: var(--ink-2); }
/* Free parking and the front entrance (the shop's request, 2026-11-12) */
.where__perks { list-style: none; margin: var(--s-2) 0 var(--s-3); padding: 0; display: grid; gap: 0.35rem; }
.where__perks li { position: relative; padding-left: 1.15em; font-weight: 600; }
.where__perks li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 0.6em; height: 2px; background: currentColor; opacity: 0.55; }
.hours__call { margin-top: var(--s-4); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); }
.hours__walk { margin: 0; font-weight: 600; }

/* ---------- The floor (footer) ---------- */

.floor {
  margin-top: var(--s-5);
  background: var(--oak-deep);
  color: var(--ink);
  padding-block: var(--s-5) var(--s-4);
  box-shadow: inset 0 6px 0 var(--ink), inset 0 8px 0 var(--oak);
}
.floor__row {
  display: grid;
  gap: var(--s-3);
}
.floor__brand { display: flex; align-items: center; gap: var(--s-2); }
.floor__brand img { border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3); }
.floor__name { font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.05; margin: 0; }
.floor__est { font-family: var(--text); font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.1em; }
.floor__tag { margin: var(--s-1) 0 0; font-size: var(--fs-small); font-weight: 600; }
.floor__contact p { margin: 0 0 0.25rem; font-weight: 600; }
.link--floor { text-decoration-color: rgba(0, 0, 0, 0.5); }
.floor__small { font-size: var(--fs-small); margin: 0; }

/* ---------- Layout at width ---------- */

@media (min-width: 900px) {
  .hero-frame { padding: 0 12px 12px; }
  .hero { min-height: calc(100vh - var(--bar-h) - 12px); max-height: 60rem; }
  /* On a wide screen the ring light and the chair hold the left; the words take the right 42% */
  .hero__photo { object-position: 42% 50%; } /* the video: the barber and the storefront hold the left, the words the right */
  .hero__glass::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 22%),
      linear-gradient(90deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.38) 70%, rgba(0, 0, 0, 0.52) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.36) 74%, rgba(0, 0, 0, 0.7) 100%);
  }
  .hero__copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 38%); column-gap: var(--s-4); }
  .hero__copy > * { grid-column: 2; }
  .hero h1.display { font-size: clamp(4rem, 6.4vw, 6.25rem); }
  .shop__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 5vw, 5rem); }
  .services__head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .cabinet--menu { columns: 2; column-gap: var(--s-5); column-rule: 1px solid var(--chrome-dark); padding: var(--s-2) var(--s-4) var(--s-3); }
  .cabinet--menu .cabinet__row { break-inside: avoid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name price" "desc desc"; gap: 0.35rem var(--s-3); padding: var(--s-3) 0; }
  .hours__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 5vw, 5rem); }
  .floor__row { grid-template-columns: 1fr 1fr; align-items: end; }
  .floor__small { grid-column: 1 / -1; }
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); } /* each row: single, single, double */
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--wide .mirror--tile .mirror__glass { aspect-ratio: auto; } /* the row's height comes from the two small tiles beside it */
}

@media (max-width: 899px) {
  .site-nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--ink);
    box-shadow: 0 1px 0 var(--chrome-dark), 0 24px 40px -20px rgba(0, 0, 0, 0.7);
    display: none;
  }
  .site-nav[data-open] { display: block; }
  .site-nav__list { flex-direction: column; gap: 0; padding: var(--s-1) var(--gutter) var(--s-2); }
  .site-nav a { display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--chrome-dark); font-size: 1.05rem; }
  .site-nav li:last-child a { border-bottom: 0; }
  .menu-btn { display: inline-flex; order: 2; }
  .btn--bar { order: 3; }
  .btn--bar .num { display: none; }
  .brand__sub { display: none; }
  .brand__name { font-size: 1rem; }
  :root { --s-5: 3rem; --s-6: 4.5rem; }
  .hero-frame { padding: 0 8px 8px; }
  .hero { min-height: calc(100svh - var(--bar-h) - 8px); }
  .hero__photo { object-position: 50% 50%; } /* phones in portrait get the vertical cut, already framed */
  .hero__action .btn--call { width: 100%; justify-content: center; }
  .shop__mirrors { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 600px) and (max-width: 899px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--wide .mirror--tile .mirror__glass { aspect-ratio: 16 / 9; } /* a full-width band between the pairs */
}

@media (max-width: 480px) {
  .brand__name { display: none; }
  .shelf-bar__row { gap: var(--s-2); }
  .shop__mirrors { gap: var(--s-4) var(--s-2); }
  .floor__brand { align-items: flex-start; }
}


/* ---------- Motion, 2026-11-11 (cleanup round, approved by Brennan) ----------
   The glass clears: as a mirror comes up, its photo uncovers from the foot of the frame, settles
   from a slight zoom, and one band of light crosses the glass. Section names rise line by line
   like letters set on the sign; lists fill in row by row like the price board. Everything here is
   opt-in: main.js adds .motion-ready only when motion is allowed, so without JS or under reduced
   motion the page is simply there. */
.motion-ready [data-unveil].reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease-out, transform 900ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.motion-ready [data-unveil].reveal.is-in { opacity: 1; transform: none; }
.motion-ready [data-unveil] .mirror__glass img {
  clip-path: inset(100% 0 0 0);
  scale: calc(var(--rest, 1) + 0.12);
  transition: clip-path 1000ms var(--ease-out), scale 1600ms var(--ease-out), transform 600ms var(--ease-out);
  transition-delay: calc(var(--d, 0ms) + 120ms), calc(var(--d, 0ms) + 120ms), 0ms;
}
.motion-ready [data-unveil].is-in .mirror__glass img { clip-path: inset(0 0 0 0); scale: var(--rest, 1); }
.motion-ready [data-unveil].is-in .mirror__glass::after {
  animation: glass-clears 1300ms var(--ease-out) calc(var(--d, 0ms) + 380ms) both;
}
@keyframes glass-clears {
  from { translate: -38% -38%; opacity: 1; }
  55% { opacity: 1; }
  68% { translate: 26% 26%; opacity: 0; }
  69% { translate: 0 0; opacity: 0; }
  to { translate: 0 0; opacity: 1; } /* back to the resting sheen the static page has */
}
/* after the entrance the hover lift on the work tiles is the image's only motion */
.motion-ready [data-unveil].is-done .mirror__glass img { transition: transform 600ms var(--ease-out), scale 600ms var(--ease-out); transition-delay: 0ms; }

/* The work (2026-11-11, Brennan: "make the animations for the work section different"): each row of
   cuts glides in from alternating sides with a slight tilt that settles, like a chair swivelling round;
   the photo moves a touch against its frame, then the cut's name follows in. --dir is -1 (from the left)
   or 1 (from the right), set per row by main.js. */
.motion-ready [data-slide] {
  opacity: 0;
  translate: calc(var(--dir, -1) * 120px) 0;
  rotate: calc(var(--dir, -1) * 2deg);
  transition: opacity 650ms ease-out, translate 1200ms var(--ease-out), rotate 1400ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.motion-ready [data-slide].is-in { opacity: 1; translate: 0 0; rotate: 0deg; }
.motion-ready [data-slide] .mirror__glass img {
  translate: calc(var(--dir, -1) * -36px) 0;
  scale: 1.14;
  transition: translate 1300ms var(--ease-out), scale 1300ms var(--ease-out), transform 600ms var(--ease-out);
  transition-delay: var(--d, 0ms), var(--d, 0ms), 0ms;
}
.motion-ready [data-slide].is-in .mirror__glass img { translate: 0 0; scale: 1; }
.motion-ready [data-slide] .tile__caption {
  opacity: 0;
  translate: calc(var(--dir, -1) * 22px) 0;
  transition: opacity 500ms ease-out, translate 800ms var(--ease-out);
  transition-delay: calc(var(--d, 0ms) + 500ms);
}
.motion-ready [data-slide].is-in .tile__caption { opacity: 1; translate: 0 0; }

/* Section names rise from behind the line they sit on */
.rise__line { display: block; overflow: hidden; padding: 0.06em 0.04em 0.08em; margin: -0.06em -0.04em -0.08em; }
.rise__inner { display: block; translate: 0 108%; transition: translate 820ms var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.is-risen .rise__inner { translate: 0 0; }

/* Lists fill in, row by row */
.motion-ready [data-stagger] > * {
  opacity: 0;
  translate: 0 10px;
  transition: opacity 420ms ease-out, translate 620ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 55ms + 80ms);
}
.motion-ready [data-stagger].is-in > * { opacity: 1; translate: 0 0; }

/* The shop's photos sit a touch large, only when they drift with the scroll; the scale itself
   comes from the entrance rules above, so the settle still runs */
.motion-ready .shop__mirrors .mirror__glass img { --rest: 1.1; translate: 0 var(--py, 0px); }

/* The barber pole turns, slowly, while it is on screen */
.pole { background-size: 10px 34.868px; } /* one vertical repeat of the 20px stripe set at -55deg */
.open-state--open .pole.is-turning { animation: pole-turn 3.2s linear infinite; } /* a turning pole means open */
@keyframes pole-turn { to { background-position: 0 -34.868px; } }

/* The bar casts a deeper shadow once the page runs under it */
.shelf-bar { transition: box-shadow 300ms ease-out; }
.shelf-bar.is-raised { box-shadow: 0 1px 0 var(--chrome-dark), 0 16px 32px -18px rgba(0, 0, 0, 0.85); }

@media (prefers-reduced-motion: reduce) {
  .motion-ready [data-unveil].reveal, .motion-ready [data-unveil] .mirror__glass img,
  .motion-ready [data-stagger] > *, .rise__inner { opacity: 1; transform: none; translate: none; clip-path: none; transition: none; animation: none; }
  .motion-ready [data-slide], .motion-ready [data-slide] .mirror__glass img, .motion-ready [data-slide] .tile__caption { opacity: 1; translate: none; rotate: none; scale: none; transition: none; }
  .pole.is-turning { animation: none; }
}
@media print {
  .motion-ready [data-unveil].reveal, .motion-ready [data-unveil] .mirror__glass img,
  .motion-ready [data-stagger] > *, .rise__inner { opacity: 1 !important; transform: none !important; translate: none !important; clip-path: none !important; }
  .motion-ready [data-slide], .motion-ready [data-slide] .mirror__glass img, .motion-ready [data-slide] .tile__caption { opacity: 1 !important; translate: none !important; rotate: none !important; scale: none !important; }
}

/* ---------- Phones, 2026-11-11: tighter ---------- */
@media (max-width: 899px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--wide .mirror--tile .mirror__glass { aspect-ratio: 16 / 9; }
  .cabinet--menu { padding: var(--s-1) var(--s-3) var(--s-2); }
  .cabinet__row { padding: 0.95rem 0; gap: 0.2rem var(--s-2); }
  .cabinet dt { font-size: 1.45rem; }
}
@media (max-width: 599px) {
  .mirror--tile { padding: 4px; }
  .gallery__item:not(.gallery__item--wide) .tile__caption { padding: 2.25rem 0.7rem 0.7rem; gap: 0.2rem; }
  .gallery__item:not(.gallery__item--wide) .tile__name { font-size: 1.05rem; }
  .gallery__item:not(.gallery__item--wide) .tile__index { font-size: 0.7rem; letter-spacing: 0.16em; }
}
@media (max-width: 480px) {
  .plate__more { display: none; }
}
