/* Sharp & Steady Barbers. Porcelain enamel signs on a tiled shop wall. */
:root {
  --navy: #1c2a4e;
  --navy-hi: #24355f;
  --navy-lo: #15203c;
  --red: #c2262e;
  --red-lo: #a11d24;
  --cream: #f3ecdd;
  --cream-dim: #dcd2be;
  --wall: #f4f3ef;
  --paper: #ffffff;
  --nickel: #a7a9ac;
  --ink: #1c2a4e;
  --ink-2: #4a5060;
  --line: #dcd6ca;
  --mute-bar: #6e7a98;
  --slab: 'Alfa Slab One', 'Rockwell', Georgia, serif;
  --sans: 'Libre Franklin', 'Segoe UI', sans-serif;
  --pad: clamp(16px, 4.6vw, 64px);
  --head: 76px;
  --tile: url("img/tile.svg");
  --stripes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='12'%3E%3Crect width='48' height='12' fill='%23f3ecdd'/%3E%3Cpath d='M0 12L12 0H24L12 12Z' fill='%23c2262e'/%3E%3Cpath d='M24 12L36 0H48L36 12Z' fill='%231c2a4e'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 24px); }
body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font: 400 18px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
p, li { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }
h1, h2, h3, h4 { margin: 0; font-family: var(--slab); font-weight: 700; font-synthesis: none; letter-spacing: 0.005em; line-height: 1.05; }
p { margin: 0; }
a { color: inherit; }
figure { margin: 0; }
button, input, select { font: inherit; color: inherit; }
button, select, a, label, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.linkish { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--red); font: 700 17px/1.2 var(--sans); text-decoration: underline; text-underline-offset: 4px; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 60; background: var(--red); color: #fff; padding: 12px 18px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* Buttons: flat fills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px;
  border: 2px solid transparent; border-radius: 12px;
  font: 700 17px/1.2 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-lo); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--navy-hi); }
.btn-line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-line:hover { background: var(--navy); color: var(--cream); }
.btn:disabled { background: #e6dcc8; color: #5b5547; cursor: not-allowed; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 26px;
  height: var(--head); padding: 0 var(--pad);
  background: var(--navy); color: var(--cream);
}
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; min-height: 48px; }
/* Logo: the enamel clock badge whose hands are an open straight razor, and the Sharp & Steady wordmark.
   Every size is in em, so one font-size scales the whole lockup. */
.lg { display: inline-flex; align-items: center; gap: .46em; color: #1C2A4E; --lg-desc: #4A5060; }
.lg-on-dark { color: #F3ECDD; --lg-desc: #DCD2BE; }
.lg-icon { width: 2.15em; height: 2.15em; flex: none; display: block; }
.lg-type { display: grid; justify-items: start; gap: .2em; }
.lg-word { display: block; font: 400 1em/1 'Alfa Slab One', Rockwell, Georgia, serif; letter-spacing: -.004em; white-space: nowrap; font-synthesis: none; }
.lg-word .kn { letter-spacing: -.035em; }
.lg-word .kn2 { letter-spacing: -.02em; }
.lg-amp { display: inline-block; width: .56em; height: 1em; margin: 0 .15em 0 .17em; vertical-align: -.2em; overflow: visible; }
.lg-desc { display: block; font: 600 max(15px, .6em)/1 'Libre Franklin', 'Segoe UI', sans-serif; letter-spacing: .08em; color: var(--lg-desc); }
.lg-stack { display: inline-grid; justify-items: center; gap: .18em; }
.lg-stack .lg-icon { width: 2.4em; height: 2.4em; margin-bottom: .06em; }
.brand .lg { font-size: 25px; }
.nav { display: flex; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 13px; font-weight: 600; font-size: 17px; text-decoration: none; border-radius: 10px; }
.nav a:hover { background: rgba(243, 236, 221, 0.1); }
.tel { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; font-weight: 700; font-size: 17px; text-decoration: none; white-space: nowrap; }
.tel svg { color: var(--cream-dim); }
.head-cta { min-height: 48px; }
.tel-icon, .burger { display: none; }
.tel-icon { flex: none; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 12px; border: 2px solid rgba(243, 236, 221, 0.35); color: var(--cream); }
.burger { flex: none; position: relative; width: 48px; height: 48px; border-radius: 12px; border: 2px solid rgba(243, 236, 221, 0.35); background: transparent; padding: 0; }
.burger span { position: absolute; left: 12px; width: 20px; height: 2.5px; border-radius: 2px; background: var(--cream); transition: transform .22s ease, opacity .18s ease, top .22s ease; }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* The one stripe on the page: a barber pole band under the header. */
.pole { position: sticky; top: var(--head); z-index: 39; height: 12px; background: var(--cream) var(--stripes) 0 0 / 48px 12px repeat-x; box-shadow: 0 1px 0 rgba(28, 42, 78, 0.25); }

.menu {
  position: fixed; z-index: 38; left: 0; right: 0; top: calc(var(--head) + 12px);
  max-height: calc(100vh - var(--head) - 12px); overflow-y: auto;
  background: var(--navy); color: var(--cream);
  padding: 6px var(--pad) 28px;
  box-shadow: 0 0 0 100vmax rgba(14, 20, 38, 0.55);
}
.menu nav { display: grid; }
.menu nav a { display: flex; align-items: center; min-height: 50px; font: 400 22px/1 var(--slab); text-decoration: none; border-bottom: 1px solid rgba(243, 236, 221, 0.16); }
.menu nav a:first-child { color: #ffd9db; }
.menu-cta { width: 100%; margin-top: 22px; }
.menu-call { width: 100%; margin-top: 12px; color: var(--cream); border-color: rgba(243, 236, 221, 0.6); }
.menu-call:hover { background: var(--cream); color: var(--navy); }
.menu-status { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(243, 236, 221, 0.16); font-size: 17px; font-weight: 600; color: var(--cream); }
.menu-foot { margin-top: 8px; font-size: 17px; line-height: 1.5; color: var(--cream-dim); }

/* The shop wall */
.shop {
  position: relative;
  display: grid; gap: 22px;
  padding: 26px var(--pad) 48px;
  background-color: var(--wall);
  background-image:
    radial-gradient(70% 60% at 28% 0%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, rgba(60, 50, 30, 0) 55%, rgba(60, 50, 30, 0.06)),
    var(--tile);
  background-size: auto, auto, 512px 256px;
}

/* Porcelain enamel: a glossy navy field, a cream keyline, nickel rivets. */
.sign, .board, .hours-board {
  position: relative; isolation: isolate;
  background-color: var(--navy);
  background-image:
    radial-gradient(120% 90% at 12% 0%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 58%),
    linear-gradient(180deg, #212f57, var(--navy) 45%, #182444);
  color: var(--cream);
  border-radius: 22px;
  box-shadow: 0 3px 0 #0e1630, 0 28px 40px -26px rgba(16, 20, 34, 0.6);
}
.sign::before, .board::before, .hours-board::before {
  content: ''; position: absolute; inset: 10px; z-index: 3; pointer-events: none;
  border: 3px solid var(--cream); border-radius: 14px;
}
.sign::after, .board::after, .hours-board::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0.075) 40%, rgba(255, 255, 255, 0.02) 46%, rgba(255, 255, 255, 0) 52%) no-repeat;
  background-size: 220% 100%; background-position: 78% 0;
}
.rivet {
  position: absolute; z-index: 4; width: 13px; height: 13px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ffffff 0 10%, #dfe1e3 22%, var(--nickel) 52%, #66696d 100%);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
}
.r1 { left: 17px; top: 17px; } .r2 { right: 17px; top: 17px; } .r3 { left: 17px; bottom: 17px; } .r4 { right: 17px; bottom: 17px; }

.sign { overflow: hidden; }
.sign-face { position: relative; z-index: 1; padding: 36px 36px 26px; }
.sign-top { font: 600 17px/1.3 var(--sans); color: var(--cream-dim); margin-bottom: 12px; padding-left: 2px; }
.sign h1 {
  font-size: clamp(34px, 11.2vw, 60px); line-height: 1.04; letter-spacing: 0;
  color: var(--cream); text-shadow: 0.04em 0.04em 0 var(--red);
}
.sign h1 span { display: block; }
.sign-sub { margin-top: 16px; font: 500 20px/1.35 var(--sans); color: var(--cream); }
.sign-band {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 18px;
  background: var(--red); color: #fff;
  padding: 14px 40px 22px; font: 700 17px/1.35 var(--sans);
}
.band-addr { font-weight: 600; }

.portrait { position: relative; }
.crop { overflow: hidden; border-radius: 18px; }
.portrait img {
  width: 100%; height: 260px; object-fit: cover; object-position: 50% 32%;
  transform: scale(1.14); transform-origin: 70% 32%;
  filter: saturate(0.82) sepia(0.12) contrast(1.06);
}

/* The live wait badge, hung on the photo */
.badge {
  position: absolute; z-index: 5; right: 12px; bottom: 12px;
  width: 140px; height: 140px; border-radius: 50%; padding: 12px;
  display: grid; place-content: center; justify-items: center; text-align: center; gap: 0;
  background-color: var(--red);
  background-image: radial-gradient(circle at 38% 30%, #d6434a, var(--red) 52%, #a51e25);
  color: #fff;
  transform: rotate(-4deg);
  box-shadow: 0 2px 0 #7f161c, 0 16px 24px -14px rgba(30, 10, 10, 0.55);
}
.badge-ring { position: absolute; inset: 8px; border: 2.5px solid var(--cream); border-radius: 50%; }
.badge-top { font: 700 15px/1.2 var(--sans); white-space: nowrap; }
.badge-pre { font: 700 15px/1.1 var(--sans); margin-top: 3px; }
.badge-big { font: 400 30px/1 var(--slab); margin: 1px 0 3px; white-space: nowrap; }
.badge-low { font: 700 15px/1.2 var(--sans); white-space: nowrap; }

/* Phones: the badge stands beside a portrait crop of the fade, so it never covers the cut. */
@media (max-width: 699px) {
  .portrait { display: grid; grid-template-columns: 146px minmax(0, 1fr); gap: 20px; align-items: center; }
  .portrait .crop { grid-column: 2; grid-row: 1; }
  .portrait img { height: 236px; object-position: 47% 40%; transform: none; }
  .badge { position: relative; grid-column: 1; grid-row: 1; right: auto; bottom: auto; width: 146px; height: 146px; justify-self: center; }
  .badge-big { font-size: 28px; }
}
@media (max-width: 359px) {
  .portrait { grid-template-columns: 134px minmax(0, 1fr); gap: 10px; }
  .badge { width: 134px; height: 134px; }
  .badge-pre { display: none; }
  .badge-big { font-size: 27px; margin: 3px 0; }
}
.phone-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0 8px; }
.phone-acts .btn { padding: 12px 10px; }

/* The booking ticket */
.booker {
  position: relative;
  background: var(--paper); color: var(--ink);
  border: 2px solid #d3ccbe; border-radius: 18px;
  padding: 20px 16px 18px;
  box-shadow: 0 4px 0 #ddd7cb;
}
.booker:focus { outline: none; }
.booker-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 14px; }
.booker-head h2 { font-size: 28px; }
.booker-step { font-size: 17px; color: var(--ink-2); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend, .field label { font: 700 16px/1.3 var(--sans); color: var(--ink); padding: 0; }
legend { margin-bottom: 8px; }

.barber-row { display: grid; grid-template-columns: 1fr; gap: 6px; }
.bp { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 6px 14px 6px 8px; border-radius: 14px; border: 2px solid #ddd7cb; background: #fff; transition: background-color .15s ease, border-color .15s ease; }
.bp input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.bp-face { position: relative; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: var(--navy); box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--line); transition: box-shadow .15s ease; }
.bp-face img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) sepia(0.22) contrast(1.06); transition: filter .2s ease; }
.bp input:checked ~ .bp-face img { filter: none; }
.bp-face svg { width: 100%; height: 100%; color: var(--cream); padding: 6px; }
.bp-name { font: 700 16px/1.15 var(--sans); }
.bp-next { font: 500 15px/1.2 var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bp:hover { background: #f4f2ec; }
.bp input:checked ~ .bp-face { box-shadow: 0 0 0 2px var(--paper), 0 0 0 5px var(--red); }
.bp input:checked ~ .bp-name { color: var(--red); }
.bp.on { border-color: var(--red); }
.bp input:focus-visible ~ .bp-face { outline: 3px solid var(--red); outline-offset: 6px; }
.bp.off { cursor: not-allowed; }
.bp.off input { cursor: not-allowed; }
.bp.off .bp-face img { filter: grayscale(1) contrast(0.9); opacity: 0.55; }
.bp.off:hover { background: #fff; }
.bp.off { background: #f6f5f1; border-style: dashed; }

.selects { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 16px 0 14px; }
.field { display: grid; gap: 6px; }
.select { position: relative; display: block; }
.select select, .field input {
  width: 100%; min-height: 50px; padding: 10px 14px;
  background: #fff; border: 2px solid #cbc3b3; border-radius: 12px;
  font: 600 17px/1.2 var(--sans); color: var(--ink);
  appearance: none; -webkit-appearance: none;
}
.select select { padding-right: 40px; }
.select svg { position: absolute; right: 14px; top: 50%; margin-top: -8px; color: var(--red); pointer-events: none; }
.select select:hover, .field input:hover { border-color: var(--navy); }
.field input::placeholder { color: #776f62; font-weight: 500; }
.field input[aria-invalid="true"] { border-color: var(--red); background: #fff6f5; }
.err { color: #a11d24; font-size: 17px; font-weight: 600; }

.times { position: relative; }
.time-row { display: grid; grid-template-columns: 1fr; }
/* A fieldset's abs-pos box starts below its legend, so the paging buttons climb back up to the legend's line. */
.times > legend { margin-bottom: 22px; line-height: 21px; }
#t-prev { position: absolute; top: -54px; right: 54px; }
#t-next { position: absolute; top: -54px; right: 0; }
.time-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.page-btn { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border-radius: 12px; border: 2px solid #cbc3b3; background: #fff; color: var(--navy); transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.page-btn:hover { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.page-btn:disabled { border-color: #dcd6ca; color: #8f8778; cursor: not-allowed; background: #f7f6f2; }
.tc { position: relative; }
.tc input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.tc span {
  display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 6px;
  background: #fff; border: 2px solid #cbc3b3; border-radius: 12px;
  font: 700 16px/1 var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.tc:hover span { border-color: var(--navy); }
.tc input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.tc input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 3px; }
.tc input:disabled { cursor: not-allowed; }
.tc input:disabled + span { background: #f2f0eb; border-color: #e6e1d7; color: #625b4f; font-weight: 500; text-decoration: line-through; text-decoration-thickness: 1px; }
.times-empty { font-size: 17px; color: var(--ink-2); padding: 10px 0 2px; }

.booker-foot { display: grid; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed #cbc3b3; }
.summary { font: 600 17px/1.4 var(--sans); }
.summary b { font-family: var(--slab); font-weight: 400; color: var(--red); font-size: 20px; }
.booker-foot .btn { width: 100%; }

.who-form .ticket-line, .booked-what { font: 600 18px/1.4 var(--sans); padding: 12px 14px; background: #f7f6f2; border: 2px dashed #cbc3b3; border-radius: 12px; margin-bottom: 14px; }
.who-fields { display: grid; gap: 12px; margin-bottom: 14px; }
.who-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.booked { display: grid; gap: 10px; justify-items: start; }
.booked:focus { outline: none; }
.booked-title { display: flex; align-items: center; gap: 10px; font: 400 28px/1.1 var(--slab); color: var(--red); }
.booked-what { margin: 0; width: 100%; }

/* Sections */
.sec-head { display: grid; gap: 10px; margin-bottom: 30px; max-width: 46em; }
.sec-head h2 { font-size: clamp(36px, 8vw, 64px); }
.sec-head p { font-size: 19px; color: var(--ink-2); }
.services, .barbers-sec, .walk, .hours { padding: clamp(56px, 8vw, 112px) var(--pad); }
.barbers-sec, .hours {
  background-color: var(--wall);
  background-image: radial-gradient(60% 50% at 70% 0%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 70%), var(--tile);
  background-size: auto, 512px 256px;
}
.services { background: var(--paper); }

.board { padding: 34px 22px 30px; }
.price-list { position: relative; z-index: 4; list-style: none; margin: 0; padding: 0; display: grid; }
.pl {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline;
  padding: 16px 4px 18px; border-bottom: 1px solid rgba(243, 236, 221, 0.18);
}
.pl:last-child { border-bottom: 0; }
.pl-name { font: 400 25px/1.1 var(--slab); }
.pl-price { font: 400 28px/1 var(--slab); color: #fff; font-variant-numeric: lining-nums; }
.pl-desc { grid-column: 1 / -1; font-size: 17px; color: var(--cream-dim); max-width: 30em; }
.pl-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 4px; }
.pl-time { font: 600 16px/1.2 var(--sans); color: var(--cream-dim); }
.pl-book { min-height: 44px; padding: 0 16px; border-radius: 10px; border: 2px solid rgba(243, 236, 221, 0.7); background: transparent; color: var(--cream); font: 700 16px/1 var(--sans); transition: background-color .15s ease, color .15s ease; }
.pl-book:hover { background: var(--cream); color: var(--navy); }
.pl-tag { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border-radius: 999px; background: var(--red); color: #fff; font: 700 15px/1.1 var(--sans); }
.services-body { display: grid; gap: 28px; }
.services-photo { display: flex; }
.services-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 48% 46%; border-radius: 18px; filter: saturate(0.85) sepia(0.12) contrast(1.06); }

/* The crew */
.crew { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
@media (max-width: 559px) {
  .mate { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .mate-photo { grid-row: 1 / span 6; margin-bottom: 0; }
  .mate .btn { white-space: normal; text-align: center; }
}
@media (min-width: 560px) {
  .crew { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 20px; }
}
.mate { display: grid; align-content: start; gap: 6px; }
.mate-photo { position: relative; margin-bottom: 22px; }
.mate-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; filter: grayscale(1) sepia(0.22) contrast(1.08) brightness(1.02); }
.plate {
  position: absolute; left: 10px; bottom: -18px; z-index: 2;
  padding: 8px 16px 9px; border-radius: 10px;
  background: var(--navy); color: var(--cream);
  font: 400 21px/1 var(--slab);
  box-shadow: inset 0 0 0 3px var(--navy), inset 0 0 0 5px var(--cream), 0 10px 16px -10px rgba(16, 20, 34, 0.6);
}
.mate-line { font-size: 17px; }
.mate-days { font-size: 17px; color: var(--ink-2); }
.mate-next { font: 700 17px/1.35 var(--sans); color: var(--red); }
.mate .btn { justify-self: start; margin-top: 6px; min-height: 46px; padding: 10px 16px; font-size: 16px; }

/* Walk in or book */
.walk { background: var(--paper); }
.walk-body { display: grid; gap: 48px; }
.walk-col { display: grid; gap: 16px; align-content: start; }
.walk-col h3 { font-size: 30px; }
.walk-col > p { font-size: 18px; max-width: 34em; }
.walk-col > .btn { justify-self: start; }
.walk-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; filter: saturate(0.85) sepia(0.1) contrast(1.05); }

.wait-chart { padding: 18px 16px 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.wait-chart figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; margin-bottom: 12px; }
.chart-title { font: 700 17px/1.3 var(--sans); }
.chart-note { font: 500 15px/1.3 var(--sans); color: var(--ink-2); }
.chart-plot { position: relative; height: 210px; margin: 0 0 0 30px; }
.grid-line { position: absolute; left: 0; right: 0; height: 1px; background: #e6dfd0; }
.grid-line span { position: absolute; right: 100%; top: -10px; padding-right: 8px; font: 500 15px/1 var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bars { position: absolute; left: 0; right: 0; top: 18px; bottom: 30px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.bar {
  position: relative; display: flex; align-items: flex-end; justify-content: center;
  padding: 0; border: 0; background: transparent; height: 100%;
}
.bar i { display: block; width: min(22px, 62%); height: var(--h); border-radius: 4px 4px 0 0; background: var(--mute-bar); transition: filter .15s ease; }
.bar.now i { background: var(--red); }
.bar:hover i { filter: brightness(1.18); }
.bar b { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); font: 500 15px/1 var(--sans); color: var(--ink-2); white-space: nowrap; }
.bar.now b { color: var(--red); font-weight: 700; }
.bar .now-tag { position: absolute; bottom: calc(var(--h) + 8px); left: 50%; transform: translateX(-50%); font: 700 15px/1.1 var(--sans); color: var(--ink); white-space: nowrap; background: #fff; padding: 2px 4px; }
.base-line { position: absolute; left: 0; right: 0; bottom: 30px; height: 1px; background: #cfc6b3; }
.chart-list { margin-top: 10px; }
.chart-list summary { display: inline-flex; align-items: center; min-height: 44px; font: 700 16px/1.2 var(--sans); color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.chart-list ul { list-style: none; margin: 4px 0 0; padding: 0; columns: 2; column-gap: 24px; }
.chart-list li { font-size: 17px; font-variant-numeric: tabular-nums; }
.tip { position: fixed; z-index: 70; pointer-events: none; background: var(--navy); color: var(--cream); padding: 8px 12px; border-radius: 10px; font: 500 15px/1.35 var(--sans); max-width: 220px; }
.tip strong { display: block; font: 700 17px/1.2 var(--sans); color: #fff; }

.board-form { display: grid; gap: 12px; padding: 18px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.board-form h4 { font-size: 22px; }
.board-form .who-fields { margin: 0; }
.board-form .btn { justify-self: start; }
.board-done { padding: 18px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.board-closed { font-size: 18px; padding: 16px; background: #fff; border: 1px dashed #cbc3b3; border-radius: 16px; }

/* Hours */
.hours { display: grid; gap: 40px; }
.hours-board { padding: 38px 24px 30px; }
.hours-board h2 { position: relative; z-index: 4; font-size: clamp(36px, 8vw, 56px); color: var(--cream); margin-bottom: 14px; text-shadow: 0.04em 0.04em 0 var(--red); }
.week { position: relative; z-index: 4; list-style: none; margin: 0; padding: 0; }
.week li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 12px; border-bottom: 1px solid rgba(243, 236, 221, 0.16); font-size: 18px; font-variant-numeric: tabular-nums; border-radius: 10px; }
.week li:last-child { border-bottom: 0; }
.week b { font-weight: 700; }
.week li.today { background: var(--red); color: #fff; border-bottom-color: transparent; }
.hours-info { display: grid; gap: 14px; align-content: start; }
.hours-info h3 { font-size: 30px; }
.hours-info p { font-size: 18px; max-width: 32em; }
.hours-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; filter: saturate(0.85) sepia(0.12) contrast(1.05); }
.call-line { display: inline-flex; align-items: center; min-height: 44px; font: 400 26px/1 var(--slab); color: var(--red); text-decoration: none; }
.call-line:hover { text-decoration: underline; text-underline-offset: 5px; }
.hours-note { color: var(--ink-2); }

/* Footer */
.foot { display: grid; gap: 26px; padding: 48px var(--pad) 36px; background: var(--navy); color: var(--cream); }
.foot .lg { font-size: 30px; margin-bottom: 18px; }
.foot p { font-size: 17px; line-height: 1.55; }
.foot-head { font-weight: 700; color: #ffd9db; margin-bottom: 4px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration-color: var(--red); text-underline-offset: 5px; }
.foot-demo { border-top: 1px solid rgba(243, 236, 221, 0.2); padding-top: 20px; color: var(--cream); }

/* Wider phones and tablets */
@media (min-width: 480px) {
  .selects { grid-template-columns: 1fr 1fr; }
  .who-fields { grid-template-columns: 1fr 1fr; }
  .booker { padding: 22px 22px 20px; }
}
@media (min-width: 700px) {
  .barber-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .bp { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 4px; padding: 6px 2px 8px; border-color: transparent; background: transparent; }
  .bp.off { background: transparent; border-style: solid; border-color: transparent; }
  .bp.on { background: #fff; border-color: transparent; box-shadow: 0 1px 0 #ddd7cb; }
  .bp-face { width: 58px; height: 58px; }
  .time-row { grid-template-columns: 44px 1fr 44px; gap: 8px; align-items: start; }
  #t-prev, #t-next { position: static; }
  .times > legend { margin-bottom: 8px; }
  .time-row #t-prev { grid-column: 1; grid-row: 1; }
  .time-chips { grid-column: 2; grid-row: 1; }
  .time-row #t-next { grid-column: 3; grid-row: 1; }
  .shop { grid-template-columns: 1fr 1fr; align-items: start; }
  .sign { grid-column: 1 / -1; }
  .portrait { grid-column: 1 / -1; }
  .portrait img { height: 380px; }
  .phone-acts { grid-column: 1 / -1; display: none; }
  .booker { grid-column: 1 / -1; }
  .sign h1 { font-size: clamp(60px, 9vw, 84px); line-height: 1; }
  .sign-face { padding: 44px 48px 30px; }
  .sign-band { padding: 16px 48px 22px; }
  .time-chips { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .badge { width: 176px; height: 176px; top: auto; bottom: 18px; right: 18px; }
  .badge-big { font-size: 36px; }
  .crew { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .crew .mate:nth-child(even) { margin-top: 56px; }
  .booker-foot { grid-template-columns: 1fr auto; align-items: center; }
  .booker-foot .btn { width: auto; }
  .chart-plot { height: 220px; }
}
@media (min-width: 1000px) {
  .services-body { grid-template-columns: 1.6fr 1fr; align-items: stretch; }
  .services-photo img { aspect-ratio: auto; height: 100%; min-height: 420px; }
  .board { padding: 40px 40px 34px; }
  .price-list { grid-template-columns: 1fr 1fr; column-gap: 44px; }
  .pl:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  .pl:last-child { border-bottom: 0; }
  .walk-body { grid-template-columns: 1.1fr 1fr; gap: 64px; }
  .hours { grid-template-columns: 1fr 1fr; align-items: start; gap: 56px; }
  .foot { grid-template-columns: 1.2fr 1fr 1.3fr; }
  .foot-demo { grid-column: 1 / -1; }
}
/* Desktop: sign and ticket on the left, the fade on the right with the badge hung between. */
@media (min-width: 1100px) {
  .shop { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); grid-template-rows: auto 1fr; gap: 20px 44px; padding-top: 24px; padding-right: 0; }
  .sign { grid-column: 1; grid-row: 1; }
  .booker { grid-column: 1; grid-row: 2; align-self: start; }
  .portrait { grid-column: 2; grid-row: 1 / span 2; align-self: stretch; }
  .crop { height: 100%; border-radius: 22px 0 0 22px; }
  .portrait img { height: 100%; min-height: 640px; object-position: 50% 34%; transform: scale(1.18); transform-origin: 72% 30%; }
  .sign h1 { font-size: clamp(64px, 5.9vw, 100px); }
  .sign-face { padding: 30px 48px 20px; }
  .sign-top { margin-bottom: 10px; }
  .sign-sub { margin-top: 12px; }
  .sign-band { padding: 13px 48px 19px; font-size: 18px; }
  .badge { width: 186px; height: 186px; left: -100px; right: auto; top: 30px; bottom: auto; }
  .badge-big { font-size: 38px; }
  .booker { padding: 18px 22px 18px; }
  .booker-head { margin-bottom: 10px; }
  .barbers { display: grid; grid-template-columns: 92px 1fr; align-items: center; }
  .barbers legend { float: left; width: 92px; margin: 0; }
  .barber-row { gap: 4px; }
  .selects { grid-template-columns: 92px minmax(0, 1.3fr) auto minmax(0, 1fr); align-items: center; gap: 0; margin: 16px 0; }
  .selects .field { display: contents; }
  .selects .field:nth-child(2) label { padding: 0 12px 0 18px; }
  .times { display: grid; grid-template-columns: 92px 1fr; align-items: start; }
  .times legend { float: left; width: 92px; margin: 12px 0 0; }
  .times-empty { grid-column: 2; }
  .booker-foot { margin-top: 16px; padding-top: 14px; }
}
@media (min-width: 1100px) and (max-width: 1379px) {
  .selects { grid-template-columns: 92px minmax(0, 1fr); gap: 10px 0; }
  .selects .field:nth-child(2) label { padding: 0; }
  .time-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1179px) {
  .nav, .tel, .head-cta { display: none; }
  .tel-icon, .burger { display: inline-flex; }
  .top { gap: 10px; }
}
@media (min-width: 1180px) {
  .menu { display: none; }
}
@media (max-width: 420px) {
  :root { --head: 66px; }
  .brand .lg { font-size: 19px; }
  .top { gap: 8px; }
}
@media (max-width: 359px) {
  .brand .lg { font-size: 17px; gap: 7px; }
  .brand .lg-desc { display: none; }
  .top { gap: 8px; }
  .time-chips { gap: 6px; }
  .tc span { padding: 0 2px; font-size: 15px; }
}
@media (min-width: 1700px) {
  .services, .barbers-sec, .walk, .hours, .foot { padding-left: max(var(--pad), calc((100vw - 1560px) / 2)); padding-right: max(var(--pad), calc((100vw - 1560px) / 2)); }
}

/* One load moment: the pole turns and settles, then light glints across the enamel. */
@media (prefers-reduced-motion: no-preference) {
  .pole { animation: pole-turn 2s cubic-bezier(.15, .65, .2, 1) both; }
  .sign::after { animation: glint 1.5s .55s cubic-bezier(.3, .6, .2, 1) both; }
  .badge { animation: swing 1.6s .9s cubic-bezier(.3, .7, .3, 1) both; transform-origin: 50% -14%; }
}
@keyframes pole-turn { from { background-position: 336px 0; } to { background-position: 0 0; } }
@keyframes glint { from { background-position: 125% 0; } to { background-position: 78% 0; } }
@keyframes swing { 0% { transform: rotate(1deg); } 35% { transform: rotate(-8deg); } 65% { transform: rotate(-2.5deg); } 100% { transform: rotate(-4deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
