/* Basin Barbers, concept "after". Faces: Archivo (expanded, OFL), Big Shoulders Display (OFL), Instrument Sans (OFL). */
@font-face {
  font-family: "Archivo Expanded";
  src: url(/assets/redesigns/basin-barbers/fonts/archivo-expanded-900.woff2) format("woff2");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "Big Shoulders Display";
  src: url(/assets/redesigns/basin-barbers/fonts/big-shoulders-800.woff2) format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url(/assets/redesigns/basin-barbers/fonts/instrument-sans.woff2) format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --chalk: #eef1ec;
  --paper: #fbfcfa;
  --ink: #12261e;
  --ink-2: #44594f;
  --felt: #0f4a38;
  --felt-deep: #0a3629;
  --tally: #f2662b;
  --mist: #d3ddd5;
  --wash: #e1e9e3;
  --board-muted: #b9cdc0;
  --display: "Archivo Expanded", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --num: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd, figure, ul { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--tally); outline-offset: 3px; border-radius: 4px; }
section[id], .find { scroll-margin-top: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: 600 1rem/1.1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--primary { background: var(--felt); color: var(--chalk); }
.btn--primary:hover { background: var(--felt-deep); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--chalk); }
.btn--call { min-height: 44px; border-color: var(--felt); color: var(--felt); padding: 0 16px; }
.btn--call:hover { background: var(--felt); color: var(--chalk); }
.btn--board { background: var(--felt); color: var(--chalk); }
.btn--board:hover { background: var(--felt-deep); }

/* Header */
.top { padding-block: 14px 6px; }
.top__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand__mark { fill: var(--felt); flex: none; }
.brand__mark .brand__free { fill: var(--tally); }
.brand__name { font: 900 1.1rem/1 var(--display); letter-spacing: -0.01em; }
.top__nav { display: flex; gap: 4px; order: 3; width: 100%; margin-left: -10px; }
.top__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.top__nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 0.3em; }
.top__num { display: none; }

/* Hero */
.hero { display: grid; gap: 36px; padding-block: 28px 56px; }
.hero__text { max-width: 36rem; }
h1 {
  font: 900 clamp(1.85rem, 0.9rem + 2.7vw, 3.05rem)/1.04 var(--display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero__lede { margin-top: 18px; font-size: 1.125rem; color: var(--ink-2); max-width: 32rem; }
.status { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; font-weight: 600; }
.status__dot { flex: none; width: 11px; height: 11px; margin-top: 0.42em; border-radius: 50%; background: #8d9d94; }
.status[data-state="open"] .status__dot { background: #1f9a68; box-shadow: 0 0 0 4px rgba(31, 154, 104, 0.2); }
.status[data-state="late"] .status__dot { background: var(--tally); box-shadow: 0 0 0 4px rgba(242, 102, 43, 0.22); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero__prices { margin-top: 20px; color: var(--ink-2); font-size: 0.98rem; }
.hero__prices b { color: var(--ink); font-weight: 600; font-family: var(--num); font-size: 1.25em; letter-spacing: 0.01em; }

/* The board: the signature */
.board {
  --pad: clamp(18px, 3vw, 30px);
  position: relative;
  padding: var(--pad);
  background: var(--felt);
  color: var(--chalk);
  border-radius: 22px;
  outline: 1.5px dashed rgba(238, 241, 236, 0.28);
  outline-offset: -11px;
}
.board__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.board__kicker { font: 800 1.15rem/1 var(--num); letter-spacing: 0.1em; text-transform: uppercase; color: var(--board-muted); flex-basis: 100%; }
.board__title { font: 900 clamp(1.3rem, 1rem + 1.2vw, 1.75rem)/1.1 var(--display); letter-spacing: -0.015em; margin-right: auto; }
.board__walkin { display: flex; align-items: flex-start; gap: 8px; font-size: 0.92rem; color: var(--board-muted); margin-top: 8px; flex-basis: 100%; }
.board__walkin-dot { flex: none; width: 9px; height: 9px; margin-top: 0.5em; border-radius: 50%; background: var(--board-muted); }
.board__walkin[data-state="good"] { color: var(--chalk); }
.board__walkin[data-state="good"] .board__walkin-dot { background: var(--tally); }

.chairs { margin-top: 14px; }
.chair { padding-block: 16px; border-top: 1.5px solid rgba(238, 241, 236, 0.18); }
.chair__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }
.chair__name { font: 600 1.15rem/1.2 var(--body); }
.chair__no { font: 800 0.95rem/1 var(--num); letter-spacing: 0.1em; text-transform: uppercase; color: var(--board-muted); margin-right: 6px; }
.chair__does { font-size: 0.9rem; color: var(--board-muted); }
.chair__static { margin-top: 6px; font-size: 0.95rem; }
.chair.is-off .chair__name { color: var(--board-muted); }

/* day strip: one block per 30-minute slot */
.strip { display: flex; gap: 2px; height: 10px; margin-top: 12px; }
.strip i { flex: 1; border-radius: 2px; background: rgba(238, 241, 236, 0.14); }
.strip i[data-s="taken"] { background: rgba(238, 241, 236, 0.42); }
.strip i[data-s="free"] { background: var(--chalk); }
.strip i[data-s="next"] { background: var(--tally); }
.strip__ends { display: flex; justify-content: space-between; margin-top: 4px; font: 800 0.8rem/1 var(--num); letter-spacing: 0.08em; text-transform: uppercase; color: var(--board-muted); }

.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; margin-top: 12px; }
.chip {
  min-height: 44px;
  padding: 0 12px;
  background: transparent;
  color: var(--chalk);
  border: 1.5px solid rgba(238, 241, 236, 0.6);
  border-radius: 8px;
  font: 800 1.3rem/1 var(--num);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.12s, color 0.12s, border-color 0.12s;
}
.chip:hover { background: var(--chalk); color: var(--ink); border-color: var(--chalk); }
.chip[data-next] { background: var(--tally); border-color: var(--tally); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--chalk); border-color: var(--chalk); color: var(--felt); box-shadow: 0 0 0 3px var(--felt), 0 0 0 5px var(--chalk); }
.chip--more { font: 600 0.95rem/1 var(--body); border-style: dashed; color: var(--board-muted); }
.board :focus-visible { outline-color: var(--chalk); }
.chair__none { margin-top: 10px; font-size: 0.95rem; color: var(--board-muted); }

/* booking panel inside the board */
.pick { margin-top: 14px; padding: 16px; background: var(--paper); color: var(--ink); border-radius: 14px; }
.pick[hidden] { display: none; }
.pick__what { font-weight: 600; margin-bottom: 12px; }
.pick__fields { display: grid; gap: 12px; }
.pick label { display: grid; gap: 4px; font-size: 0.9rem; font-weight: 600; }
.pick input, .pick select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1.5px solid #9fb0a5;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: 400 1rem/1.2 var(--body);
}
.pick :focus-visible { outline-color: var(--felt); }
.pick .btn { margin-top: 14px; width: 100%; }
.pick__msg { margin-top: 10px; font-size: 0.95rem; color: var(--felt); font-weight: 600; }
.pick__msg:empty { display: none; }

.board__foot { margin-top: 14px; font-size: 0.95rem; color: var(--board-muted); }
.board__foot a { color: var(--chalk); }
.board.is-live .board__foot, .board.is-live .chair__static { display: none; }
.board__fine { margin-top: 12px; font-size: 0.82rem; line-height: 1.45; color: var(--board-muted); }

/* Sections */
.h2 { font: 900 clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem)/1.1 var(--display); letter-spacing: -0.02em; }
.h3 { margin-top: 30px; font: 800 1.2rem/1 var(--num); letter-spacing: 0.12em; text-transform: uppercase; color: var(--felt); }
.band { padding-block: clamp(40px, 6vw, 80px); }

.prices { background: #fff; }
.prices__grid { display: grid; gap: 36px; }
.prices__intro { margin-top: 10px; color: var(--ink-2); }
.menu { margin-top: 6px; }
.menu > div { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 13px; border-bottom: 1.5px dashed var(--mist); }
.menu dt { font-weight: 600; }
.menu dt small { display: block; margin-top: 1px; font-size: 0.92rem; font-weight: 400; color: var(--ink-2); }
.menu dd { flex: none; font: 800 1.9rem/1 var(--num); letter-spacing: 0.01em; color: var(--ink); }
.prices__side { display: contents; }
.prices__photo { order: -1; }
.prices__kids { order: 1; margin-top: -20px; }
.prices__kids .h3 { margin-top: 0; }
.prices__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.prices__photo figcaption { margin-top: 8px; font-size: 0.9rem; color: var(--ink-2); }

.quick { padding-block: clamp(40px, 6vw, 80px); }
.quick__list { display: grid; gap: 0 48px; margin-top: 18px; }
.quick__list > div { padding-block: 16px; border-top: 1.5px solid var(--mist); }
.quick__list dt { font-weight: 600; }
.quick__list dd { margin-top: 4px; color: var(--ink-2); max-width: 34rem; }

.hours { background: var(--wash); }
.hours__grid { display: grid; gap: 40px; }
.hours__note { margin-top: 10px; color: var(--ink-2); }
.timetable { width: 100%; margin-top: 18px; border-collapse: collapse; background: var(--paper); border-radius: 14px; overflow: hidden; }
.timetable th, .timetable td { padding: 13px 10px; text-align: left; vertical-align: baseline; border-bottom: 1.5px solid var(--wash); }
.timetable thead th { font: 800 0.95rem/1 var(--num); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); background: transparent; padding-block: 12px 8px; }
.timetable tbody th { font-weight: 600; white-space: nowrap; }
.timetable td { color: var(--ink-2); }
.timetable td:nth-child(2) { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink); }
.timetable tr:last-child > * { border-bottom: 0; }
.timetable tr.is-late td b { color: var(--ink); background: linear-gradient(transparent 62%, rgba(242, 102, 43, 0.45) 62%); }
.timetable tr.is-today { background: #fff; box-shadow: inset 5px 0 0 var(--tally); }
.timetable tr.is-today th::after { content: " (today)"; font-weight: 400; color: var(--ink-2); }
.hours__fine { margin-top: 12px; font-size: 0.92rem; color: var(--ink-2); }

.find__photo img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 18px; }
.find__photo figcaption { margin-top: 8px; font-size: 0.9rem; color: var(--ink-2); }
.find__title { margin-top: 26px; }
.find__text { margin-top: 10px; color: var(--ink-2); max-width: 34rem; }
.find__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.foot { background: var(--felt); color: var(--chalk); padding-block: 36px 40px; }
.foot__row { display: grid; gap: 14px; }
.foot__brand { font: 900 1.25rem/1 var(--display); letter-spacing: -0.01em; }
.foot a { color: var(--chalk); }
.foot__fine { font-size: 0.88rem; color: var(--board-muted); }

/* Credits block from the layout */
.pl-credits { margin: 0; }

@media (min-width: 520px) {
  .top__num { display: inline; margin-left: 0.35em; }
  .timetable th, .timetable td { padding-inline: 14px; }
  .pick__fields { grid-template-columns: 1fr 1fr; }
  .pick__wide { grid-column: 1 / -1; }
  .pick .btn { width: auto; }
  .quick__list { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .top { padding-block: 20px 0; }
  .top__row { flex-wrap: nowrap; }
  .top__nav { order: 0; width: auto; margin: 0 auto 0 28px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: center; padding-block: 48px 88px; }
  .prices__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .prices__side { display: block; }
  .prices__photo { order: 0; }
  .prices__kids { margin-top: 36px; }
  .prices__photo img { aspect-ratio: 4 / 3; }
  .timetable td:nth-child(2) { white-space: nowrap; }
  .hours__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .foot__row { grid-template-columns: 1fr auto auto; align-items: end; gap: 40px; }
}

@media (max-width: 380px) {
  .btn { padding: 0 16px; }
}
