/* Parlour Men — landing page
   Spacing: every margin, padding and gap comes from the 4px scale below.
   Type: two families (serif for display, sans for text) and at most three sizes per section. */

:root {
  --espresso: #170d13;
  --espresso-2: #21131b;
  --bronze: #c98a86;
  --bronze-light: #eec3bd;
  --ivory: #f8ece7;
  --ivory-muted: #c3aca9;
  --line: rgba(201, 138, 134, 0.30);
  --line-soft: rgba(201, 138, 134, 0.16);
  --panel: rgba(255, 226, 222, 0.04);

  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* 4px spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;
  --s-32: 128px;

  /* type scale */
  --fs-sm: 13px;
  --fs-base: 17px;
  --fs-md: clamp(22px, 2.8vw, 28px);
  --fs-lg: clamp(36px, 6vw, 60px);
  --fs-display: clamp(76px, 15vw, 168px);

  --gutter: clamp(var(--s-4), 5vw, var(--s-16));
  --section: clamp(var(--s-16), 11vw, var(--s-32));
  --max: 1120px;

  accent-color: var(--bronze);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-tap-highlight-color: rgba(201, 138, 134, 0.25); }

body {
  margin: 0;
  background: var(--espresso);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--bronze); color: var(--espresso); }

img { max-width: 100%; }

a { color: inherit; transition: color .2s; }
a:hover { color: var(--bronze-light); }
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--bronze-light);
  outline-offset: 4px;
  border-radius: 2px;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.1; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 var(--s-4);
}

/* ---------- Top bar ---------- */
.topbar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-5) var(--gutter);
}
.topbar__brand {
  font-family: var(--serif);
  font-size: var(--fs-md);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.topbar__call {
  font-size: var(--fs-sm);
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--ivory-muted);
  white-space: nowrap;
}

/* ---------- Hero: display / md / sm ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--s-24) var(--gutter) var(--s-24);
  background:
    radial-gradient(ellipse 60% 50% at 50% 38%, rgba(201, 138, 134, 0.18), transparent 70%),
    radial-gradient(ellipse 120% 80% at 50% 110%, #2a1620 0%, transparent 60%),
    var(--espresso);
}
/* the dark band from the card, echoed as a vertical stripe */
.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: min(520px, 70vw);
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 226, 222, 0.032) 35%, rgba(255, 226, 222, 0.032) 65%, transparent);
  /* Soft column: no borders, and it dies out before the fold so no hard edge shows. */
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
}
.hero > * { position: relative; }

.hero__emblem {
  width: clamp(190px, 30vw, 260px);
  height: auto;
  aspect-ratio: 1;
  margin-bottom: var(--s-8);
  border-radius: 50%;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.6));
  animation: rise 1.2s cubic-bezier(.2, .7, .2, 1) both;
}
.hero .eyebrow { animation: rise 1.2s .05s cubic-bezier(.2, .7, .2, 1) both; }

.wordmark {
  font-size: var(--fs-display);
  line-height: .9;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, #fff4f1 20%, #dfc3bf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 1.2s .1s cubic-bezier(.2, .7, .2, 1) both;
}
.subbrand {
  margin: var(--s-4) 0 0;
  font-size: var(--fs-sm);
  letter-spacing: 0.62em;
  text-indent: 0.62em; /* optically recentre tracked text */
  text-transform: uppercase;
  color: var(--ivory-muted);
  animation: rise 1.2s .2s cubic-bezier(.2, .7, .2, 1) both;
}
.tagline {
  margin: var(--s-8) 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--fs-md);
  color: var(--bronze-light);
  animation: rise 1.2s .3s cubic-bezier(.2, .7, .2, 1) both;
}

/* ---------- Countdown ---------- */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: var(--s-10);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  animation: rise 1.2s .4s cubic-bezier(.2, .7, .2, 1) both;
}
.countdown__cell {
  padding: var(--s-4) clamp(var(--s-3), 3.5vw, var(--s-10));
  display: flex;
  flex-direction: column;
  align-items: center;
}
.countdown__cell + .countdown__cell { border-left: 1px solid var(--line); }
.countdown__cell span {
  font-family: var(--serif);
  font-size: var(--fs-md);
  line-height: 1.1;
  font-variant-numeric: tabular-nums lining-nums;
}
.countdown__cell small {
  margin-top: var(--s-2);
  font-size: var(--fs-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory-muted);
}
.countdown[hidden] { display: none; }

/* ---------- Buttons ---------- */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: center;
  margin-top: var(--s-10);
  animation: rise 1.2s .5s cubic-bezier(.2, .7, .2, 1) both;
}
.btn {
  display: inline-block;
  padding: var(--s-4) var(--s-8);
  font-family: var(--sans);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: var(--ivory);
  border: 1px solid var(--bronze);
  transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.btn--primary {
  background: linear-gradient(135deg, var(--bronze-light), var(--bronze) 55%, #9a6068);
  color: var(--espresso);
  border-color: transparent;
}
.btn--primary:hover { color: var(--espresso); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(201, 138, 134, 0.25); }
.btn--primary:active { transform: none; box-shadow: none; }
.btn--ghost:hover { color: var(--ivory); background: rgba(201, 138, 134, 0.16); border-color: var(--bronze-light); }
.btn--ghost:active { background: rgba(201, 138, 134, 0.26); }

.scroll-cue {
  position: absolute;
  bottom: var(--s-6);
  left: 50%;
  width: var(--s-6);
  height: var(--s-12);
  transform: translateX(-50%);
}
.scroll-cue::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: 1px;
  background: linear-gradient(var(--bronze), transparent);
  animation: cue 2.4s ease-in-out infinite;
}
.scroll-cue:hover::after { background: linear-gradient(var(--bronze-light), transparent); width: 2px; }

/* ---------- Sections ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section) var(--gutter);
}
.section__head { text-align: center; margin-bottom: clamp(var(--s-10), 7vw, var(--s-20)); }
.section h2, .grooms h2, .notfound h1 { font-size: var(--fs-lg); }

/* ---------- Services: lg / md / base ---------- */
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(var(--s-8), 6vw, var(--s-20));
}
.service {
  display: grid;
  grid-template-columns: var(--s-12) 1fr;
  gap: var(--s-4);
  padding: var(--s-8) 0;
  border-top: 1px solid var(--line);
}
.service__num {
  font-family: var(--serif);
  /* Roman numerals upright: in the italic cut "I" reads as a slash. */
  font-style: normal;
  font-size: var(--fs-md);
  line-height: 1.1;
  color: var(--bronze);
}
.service h3 { font-size: var(--fs-md); margin-bottom: var(--s-2); }
.service p { margin: 0; color: var(--ivory-muted); }

/* ---------- Prices: lg / md / base ---------- */
.prices { padding-top: 0; }
.prices__note { margin: var(--s-5) auto 0; max-width: 44ch; color: var(--ivory-muted); text-wrap: balance; }
.prices__note strong { color: var(--bronze-light); font-weight: 400; }

.prices__nav {
  display: flex;
  gap: var(--s-2);
  margin: 0 0 var(--s-8);
  padding: 0 0 var(--s-2);
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  justify-content: safe center;
}
.prices__nav::-webkit-scrollbar { display: none; }
.prices__nav a {
  display: block;
  padding: var(--s-2) var(--s-4);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ivory-muted);
  transition: color .2s, border-color .2s, background .2s;
}
.prices__nav a:hover { color: var(--espresso); background: var(--bronze-light); border-color: var(--bronze-light); }
.prices__nav a:active { background: var(--bronze); border-color: var(--bronze); }

.prices__grid { columns: 2; column-gap: var(--s-8); }
.price-group {
  break-inside: avoid;
  margin: 0 0 var(--s-8);
  padding: var(--s-6) var(--s-6) var(--s-3);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--bronze);
  scroll-margin-top: var(--s-6);
}
.price-group table { width: 100%; border-collapse: collapse; }
.price-group caption {
  caption-side: top;
  text-align: left;
  font-family: var(--serif);
  font-size: var(--fs-md);
  line-height: 1.15;
  padding-bottom: var(--s-3);
}
.price-group thead th {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--bronze);
  text-align: right;
  padding: 0 0 var(--s-2) var(--s-3);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.price-group tbody th {
  text-align: left;
  font-weight: 300;
  line-height: 1.35;
  padding: var(--s-3) 0;
}
.price-group tbody td {
  text-align: right;
  width: 1%; /* as narrow as the numbers allow, so names get the room */
  padding: var(--s-3) 0 var(--s-3) var(--s-5);
  font-family: var(--serif);
  font-variant-numeric: tabular-nums lining-nums;
  vertical-align: top;
  white-space: nowrap;
}
.price-group tbody td:last-child { color: var(--bronze-light); }
.price-group tbody tr + tr th, .price-group tbody tr + tr td { border-top: 1px solid var(--line-soft); }
.price-group tbody tr:hover th { color: var(--bronze-light); }
.price__none { color: var(--ivory-muted); opacity: .6; }

/* ---------- Grooms: lg / base / sm ---------- */
.grooms {
  position: relative;
  padding: var(--section) var(--gutter);
  text-align: center;
  background:
    linear-gradient(180deg, var(--espresso) 0%, transparent 18%, transparent 82%, var(--espresso) 100%),
    radial-gradient(ellipse 70% 90% at 50% 50%, #3a2030 0%, var(--espresso-2) 70%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.grooms__inner { max-width: 640px; margin: 0 auto; }
.grooms h2 em { font-style: italic; color: var(--bronze-light); }
.grooms p { color: var(--ivory-muted); margin: var(--s-6) 0 var(--s-8); }

/* ---------- Visit: lg / base / sm ---------- */
.visit {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(var(--s-8), 6vw, var(--s-20));
  align-items: center;
}
.visit address {
  font-style: normal;
  font-family: var(--serif);
  line-height: 1.5;
  margin: var(--s-6) 0;
}
.visit__meta { margin: 0 0 var(--s-8); display: grid; gap: var(--s-3); }
.visit__meta div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--line);
}
.visit__meta dt { font-size: var(--fs-sm); letter-spacing: 0.24em; text-transform: uppercase; color: var(--bronze); }
.visit__meta dd { margin: 0; }
.visit__meta a { text-decoration: none; }
.visit__meta a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Map: a shimmering placeholder shows until the map has loaded over it. */
.visit__map {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  padding: var(--s-2);
}
.visit__map::before {
  content: "Loading map…";
  position: absolute;
  inset: var(--s-2);
  display: grid;
  place-items: center;
  font-size: var(--fs-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory-muted);
  background: linear-gradient(100deg, #21131b 30%, #2d1a25 50%, #21131b 70%) 0 0 / 200% 100%;
  animation: shimmer 1.6s linear infinite;
}
.visit__map iframe {
  position: relative;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: invert(.9) hue-rotate(180deg) grayscale(.45) brightness(.92) contrast(.92);
  transition: filter .4s;
}
.visit__map:hover iframe, .visit__map:focus-within iframe { filter: none; }

/* ---------- Footer: md / sm ---------- */
.footer {
  text-align: center;
  padding: var(--s-16) var(--gutter) var(--s-12);
  border-top: 1px solid var(--line);
}
.footer__emblem { width: var(--s-24); height: var(--s-24); border-radius: 50%; }
.footer__brand { font-family: var(--serif); font-size: var(--fs-md); line-height: 1.2; margin: var(--s-4) 0 var(--s-1); }
.footer__brand span {
  display: block;
  font-family: var(--sans);
  font-size: var(--fs-sm);
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  text-transform: uppercase;
  color: var(--ivory-muted);
  margin-top: var(--s-1);
}
.footer__fine { font-size: var(--fs-sm); color: var(--ivory-muted); margin: var(--s-6) 0 0; }
.footer__fine a { text-decoration: none; color: var(--bronze); }
.footer__fine a:hover { color: var(--bronze-light); text-decoration: underline; text-underline-offset: 4px; }
.footer__credit {
  margin: var(--s-2) 0 0;
  font-size: var(--fs-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(195, 172, 169, 0.55);
}

/* ---------- Not found page: lg / base / sm ---------- */
.notfound {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--s-16) var(--gutter);
  background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(201, 138, 134, 0.16), transparent 70%), var(--espresso);
}
.notfound img { width: var(--s-32); height: var(--s-32); border-radius: 50%; margin-bottom: var(--s-8); }
.notfound p { color: var(--ivory-muted); max-width: 40ch; margin: var(--s-4) 0 var(--s-8); }

/* ---------- Motion ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes cue {
  0%, 100% { opacity: .2; transform: translateY(-6px); }
  50% { opacity: 1; transform: translateY(4px); }
}
@keyframes shimmer { to { background-position: -200% 0; } }

html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
html.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .service-list { grid-template-columns: 1fr; }
  .prices__grid { columns: 1; }
  .prices__nav { justify-content: flex-start; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .visit { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  :root { --fs-base: 16px; }
  .topbar__call { letter-spacing: 0.06em; }
  .countdown { width: 100%; }
  .countdown__cell small { letter-spacing: 0.08em; }
  .actions { flex-direction: column; width: 100%; max-width: 320px; }
  .service { grid-template-columns: var(--s-8) 1fr; }
  .price-group { padding: var(--s-5) var(--s-4) var(--s-2); }
  .price-group tbody td, .price-group thead th { padding-left: var(--s-4); }
}

/* ---------- Top links ---------- */
.topbar__links { display: flex; align-items: center; gap: var(--s-6); }
.topbar__links a { font-size: var(--fs-sm); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--ivory-muted); }
.topbar__links a:hover { color: var(--bronze-light); }
.topbar__links .topbar__book { color: var(--espresso); background: var(--bronze); padding: var(--s-2) var(--s-4); }
.topbar__links .topbar__book:hover { color: var(--espresso); background: var(--bronze-light); }
.topbar__links .topbar__call { text-transform: none; }
@media (max-width: 640px) {
  /* Keep the phone reachable on phones; only the section links collapse. */
  .topbar__links { gap: var(--s-3); }
  .topbar__links a:not(.topbar__book):not(.topbar__call) { display: none; }
  .topbar__call { font-size: 12px; letter-spacing: 0.02em; padding: var(--s-2) 2px; }
}

/* ---------- Online booking ---------- */
.book { padding-top: 0; }
.booker { max-width: 760px; margin: 0 auto; border: 1px solid var(--line); background: var(--panel); padding: clamp(var(--s-6), 4vw, var(--s-12)); }
.booker [hidden] { display: none !important; }
.booker__loading { display: flex; align-items: center; justify-content: center; gap: var(--s-3); color: var(--ivory-muted); padding: var(--s-8) 0; }
.booker__closed { text-align: center; color: var(--ivory-muted); }
.booker__closed .actions { animation: none; margin-top: var(--s-6); }
.booker__step { border: 0; padding: 0; margin: 0 0 var(--s-10); min-width: 0; }
.booker__step legend { display: flex; align-items: center; gap: var(--s-3); padding: 0; margin-bottom: var(--s-5); font-family: var(--serif); font-size: var(--fs-md); color: var(--ivory); }
.booker__step legend span { display: inline-grid; place-items: center; width: var(--s-8); height: var(--s-8); border: 1px solid var(--bronze); border-radius: 50%; font-family: var(--sans); font-size: var(--fs-sm); color: var(--bronze-light); }
.booker__field { display: grid; gap: var(--s-2); margin-bottom: var(--s-5); }
.booker__field > span { font-size: var(--fs-sm); letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); }
.booker__field em { font-style: normal; letter-spacing: 0.06em; text-transform: none; color: var(--ivory-muted); }
.booker input, .booker select {
  width: 100%; font: inherit; font-weight: 400; color: var(--ivory); background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line); border-radius: 0; padding: var(--s-3) var(--s-4); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.booker select option, .booker select optgroup { color: #1a1a1a; }
.booker input:focus, .booker select:focus { border-color: var(--bronze-light); box-shadow: 0 0 0 3px rgba(201, 138, 134, 0.22); }
.booker__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.booker__chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-5); }
.booker__days { flex-wrap: nowrap; overflow-x: auto; padding-bottom: var(--s-2); scrollbar-width: thin; }
.chip, .slot {
  font: inherit; font-size: var(--fs-sm); letter-spacing: 0.08em; color: var(--ivory); background: transparent;
  border: 1px solid var(--line); padding: var(--s-2) var(--s-4); cursor: pointer; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
}
.chip:hover, .slot:hover:not(:disabled) { border-color: var(--bronze-light); }
.chip[aria-checked="true"], .slot[aria-pressed="true"] { background: var(--bronze); border-color: var(--bronze); color: var(--espresso); font-weight: 500; }
.booker__times { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: var(--s-2); }
.slot:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.booker__small { font-size: var(--fs-sm); color: var(--ivory-muted); margin: 0; }
.booker__error { border-left: 2px solid #e07a5f; padding: var(--s-3) var(--s-4); background: rgba(224, 122, 95, 0.1); color: #f2c4b8; margin: 0 0 var(--s-5); }
.booker__submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); border-top: 1px solid var(--line); padding-top: var(--s-6); }
.booker__summary { margin: 0; color: var(--bronze-light); }
.booker__submit .btn:disabled { opacity: .6; cursor: wait; }
.booker__done { text-align: center; outline: none; }
.booker__done h3 { font-family: var(--serif); font-size: clamp(30px, 4.5vw, 44px); font-weight: 400; line-height: 1.15; margin: 0 0 var(--s-3); }
.booker__done .visit__meta { max-width: 420px; margin: var(--s-8) auto; text-align: left; }
.booker__done .btn { margin-top: var(--s-6); }
.spinner { width: 18px; height: 18px; border: 2px solid var(--bronze); border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 480px) {
  .booker__submit { flex-direction: column; align-items: stretch; }
  .booker__times { grid-template-columns: repeat(3, 1fr); }
}
button.btn { cursor: pointer; }
button.btn--ghost { background: transparent; }

/* ---------- Team: live from the shop floor ---------- */
:root {
  --free: #8fc79a;
  --busy: #e0a458;
  --off: #8a7d6d;
}
.team { padding-top: 0; }
.team[hidden] { display: none; }
.team__live {
  display: inline-flex; align-items: center; gap: var(--s-3); margin: var(--s-6) 0 0;
  font-size: var(--fs-sm); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ivory-muted);
}
.team__pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--free); }
.team__pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--free);
  animation: ping 2.4s cubic-bezier(.2, .7, .2, 1) infinite;
}
.team.is-closed .team__pulse { background: var(--off); }
.team.is-closed .team__pulse::after { display: none; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }

.team__grid {
  list-style: none; margin: 0 auto; padding: 0; max-width: var(--max);
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s-6);
}
.team__fine { max-width: 52ch; margin: var(--s-10) auto 0; text-align: center; font-size: var(--fs-sm); color: var(--ivory-muted); }

.barber {
  display: flex; flex-direction: column; border: 1px solid var(--line-soft); background: var(--panel);
  transition: border-color .4s, transform .4s cubic-bezier(.2, .7, .2, 1);
  animation: rise .9s cubic-bezier(.2, .7, .2, 1) both;
}
.barber:hover { border-color: var(--line); transform: translateY(-4px); }
.barber__photo { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #3a2030 0%, var(--espresso-2) 70%); }
.barber__photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.85) contrast(1.02); transition: filter .6s, transform .9s cubic-bezier(.2, .7, .2, 1); }
.barber:hover .barber__photo img { transform: scale(1.04); filter: none; }
.barber__photo-mono {
  position: absolute; inset: var(--s-6); display: grid; place-items: center;
  border: 1px solid var(--line); font-family: var(--serif); font-size: clamp(64px, 9vw, 104px); color: var(--bronze-light); letter-spacing: 0.04em;
}
.barber__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(23, 13, 19, .65)); pointer-events: none; }
.barber--off .barber__photo img, .barber--closed .barber__photo img { filter: grayscale(1) brightness(.7); }
.barber--off .barber__photo-mono, .barber--closed .barber__photo-mono { color: var(--ivory-muted); }

.barber__state {
  position: absolute; z-index: 1; top: var(--s-4); left: var(--s-4); display: inline-flex; align-items: center; gap: var(--s-2);
  padding: var(--s-1) var(--s-3); font-size: var(--fs-sm); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ivory); background: rgba(23, 13, 19, .62); border: 1px solid rgba(248, 236, 231, .14);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.barber__state i { width: 8px; height: 8px; border-radius: 50%; background: var(--off); flex: none; }
.barber--free .barber__state i, .barber--soon .barber__state i, .barber--duty .barber__state i { background: var(--free); box-shadow: 0 0 0 3px rgba(143, 199, 154, .22); }
.barber--busy .barber__state i, .barber--reserved .barber__state i { background: var(--busy); animation: glow 1.6s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 5px rgba(224, 164, 88, .18); } }

.barber__body { display: flex; flex-direction: column; flex: 1; padding: var(--s-6); }
.barber__role { margin: 0 0 var(--s-2); font-size: var(--fs-sm); letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); }
.barber h3 { font-size: var(--fs-md); margin-bottom: var(--s-3); }
.barber__bio { margin: 0 0 var(--s-4); color: var(--ivory-muted); font-size: var(--fs-sm); line-height: 1.7; }
.barber__tags { list-style: none; margin: 0 0 var(--s-5); padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.barber__tags li { font-size: var(--fs-sm); padding: 2px var(--s-3); border: 1px solid var(--line-soft); color: var(--ivory-muted); }
.barber__live { margin-top: auto; padding-top: var(--s-4); border-top: 1px solid var(--line-soft); }
.barber__label { margin: 0; font-size: var(--fs-sm); color: var(--ivory); }
.barber--free .barber__label, .barber--soon .barber__label { color: var(--free); }
.barber--busy .barber__label, .barber--reserved .barber__label { color: var(--busy); }
.barber--off .barber__label, .barber--closed .barber__label { color: var(--ivory-muted); }
.barber__bar { height: 2px; margin-bottom: var(--s-3); background: var(--line-soft); overflow: hidden; }
.barber__bar[hidden] { display: none; }
.barber__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--bronze), var(--busy)); }
.barber__foot { display: grid; gap: var(--s-2); margin-top: var(--s-5); }
.barber__foot [hidden] { display: none; }
.barber__book { width: 100%; text-align: center; padding-inline: var(--s-4); }
.barber__next { font-size: var(--fs-sm); color: var(--ivory-muted); text-align: center; }

/* Barber picker in the booking form */
.pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: var(--s-2); }
.pick__opt {
  display: grid; justify-items: center; gap: var(--s-1); padding: var(--s-3) var(--s-2);
  font: inherit; color: var(--ivory); background: transparent; border: 1px solid var(--line); cursor: pointer; text-align: center;
  transition: background .2s, border-color .2s;
}
.pick__opt:hover { border-color: var(--bronze-light); }
.pick__opt[aria-checked="true"] { border-color: var(--bronze); background: rgba(201, 138, 134, .16); }
.pick__avatar { position: relative; width: var(--s-12); height: var(--s-12); border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--espresso-2); border: 1px solid var(--line); }
.pick__opt[aria-checked="true"] .pick__avatar { border-color: var(--bronze-light); }
.pick__avatar img { width: 100%; height: 100%; object-fit: cover; }
.pick__avatar-mono { font-family: var(--serif); font-size: var(--fs-base); color: var(--bronze-light); }
.pick__name { font-size: var(--fs-sm); }
.pick__state { min-height: 1.4em; font-size: 11px; letter-spacing: 0.06em; color: var(--ivory-muted); }
.pick__state--free, .pick__state--soon { color: var(--free); }
.pick__state--busy, .pick__state--reserved { color: var(--busy); }
.pick__state--off, .pick__state--closed { opacity: .7; }

@media (max-width: 480px) {
  .team__grid { grid-template-columns: 1fr; }
  .pick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
