:root {
  color-scheme: dark;
  --pitch: #14110f;
  --espresso: #211b17;
  --seam: #3a302a;
  --bone: #ece4d6;
  --ash: #a39a8d;
  --tan: #c0a780;      /* sampled from the logo */
  --oxblood: #7d231f;
  --red: #b3261e;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--pitch);
  color: var(--bone);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;   /* clip, unlike hidden, is not a scroll container, so scrollIntoView can never shift the page sideways */
}
/* film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--tan); outline-offset: 3px; }
::selection { background: var(--tan); color: var(--pitch); }

.display {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: .005em;
  text-wrap: balance;
}
.it {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--tan);
}
.eyebrow {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--tan);
}
.muted { color: var(--ash); }
.h2 { font-size: clamp(2.8rem, 8vw, 6.5rem); }

.section {
  padding: clamp(72px, 11vw, 150px) var(--gutter);
  position: relative;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(36px, 6vw, 72px);
}

/* line-by-line mask reveal for headlines */
.mask { display: block; overflow: hidden; padding-top: .06em; }
.mask > span { display: block; }
.js .mask > span { transform: translateY(108%); transition: transform 1.1s var(--ease); }
.js .in .mask > span, .js .mask.in > span { transform: none; }
.js .mask:nth-child(2) > span { transition-delay: .1s; }
.js .mask:nth-child(3) > span { transition-delay: .2s; }

/* generic scroll reveal */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bone);
  color: var(--pitch);
  border: 1px solid var(--bone);
  font: 700 .78rem/1 var(--body);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 26px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tan);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
  z-index: -1;
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover { border-color: var(--tan); }
.btn.ghost { background: none; color: var(--bone); border-color: var(--seam); }
.btn.ghost:hover { color: var(--pitch); }
.btn.red { background: var(--red); border-color: var(--red); color: var(--bone); }
.btn.red::before { background: var(--bone); }
.btn.red:hover { color: var(--pitch); border-color: var(--bone); }
.btn[disabled] { opacity: .35; cursor: not-allowed; }
.btn[disabled]::before { display: none; }

/* preloader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--pitch);
  display: none;
  place-items: center;
  transition: transform .9s var(--ease) .2s;
}
.js .loader { display: grid; }
.loader b {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.4rem, 8vw, 5rem);
  text-transform: uppercase;
  letter-spacing: .04em;
  animation: stamp .7s var(--ease) both;
}
.loader b i { font-style: normal; color: var(--tan); }
.loaded .loader { transform: translateY(-100%); }
@keyframes stamp { from { opacity: 0; transform: scale(1.35) rotate(-3deg); } to { opacity: 1; transform: none; } }

/* nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px var(--gutter);
  transition: background .4s, padding .4s, transform .5s var(--ease);
}
.nav.solid { background: rgba(20, 17, 15, .88); backdrop-filter: blur(10px); padding-block: 8px; border-bottom: 1px solid var(--seam); }
.nav.hide { transform: translateY(-100%); }
.brand {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  margin-right: auto;
  white-space: nowrap;
}
.brand i { font-style: normal; color: var(--tan); }
.brand { display: flex; align-items: center; gap: 12px; }
/* The shop's logo is black artwork, so it sits on a bone disc. logo.png has a transparent ground. */
.logo-badge { --s: 62px; width: var(--s); aspect-ratio: 1; border-radius: 50%; background: var(--bone); display: grid; place-items: center; flex: 0 0 auto; overflow: hidden; transition: transform .6s var(--ease); }
.logo-badge img { width: 84%; height: auto; }
.brand:hover .logo-badge { transform: rotate(-8deg) scale(1.06); }
.loader .logo-badge { --s: clamp(140px, 30vw, 200px); animation: stamp .7s var(--ease) both; }
.foot-logo .logo-badge { --s: 112px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ash);
  position: relative;
  padding: 6px 0;
  transition: color .3s;
}
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--tan); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--bone); }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.hv { color: var(--red); }
.nav .btn { padding: 13px 18px; }
.burger { display: none; background: none; border: 1px solid var(--seam); color: var(--bone); width: 44px; height: 44px; cursor: pointer; font-size: 1.1rem; }

/* hero */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  grid-template-columns: minmax(0, 1fr);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -6%;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 78% 38%, rgba(185, 139, 94, .22), transparent 70%),
    radial-gradient(45% 50% at 12% 90%, rgba(125, 35, 31, .28), transparent 70%),
    var(--pitch);
  will-change: transform;
}
.hero-bg.photo { background-size: cover; background-position: center; filter: grayscale(1) contrast(1.1) brightness(.55); }
.hero-ghost {
  position: absolute;
  right: -2vw;
  bottom: 6vh;
  z-index: -1;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(14rem, 44vw, 40rem);
  line-height: .7;
  color: transparent;
  -webkit-text-stroke: 1px var(--seam);
  user-select: none;
}
.hero-inner {
  padding: 140px var(--gutter) 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 28px;
}
.hero h1 { font-size: clamp(5.2rem, min(31vw, 30svh), 21rem); margin-left: -.03em; }
.hero .tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3.4vw, 2.6rem); color: var(--tan); line-height: 1.1; }
.hero-row { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ash); }
.hero-meta a { text-decoration: none; }
.hero-meta a:hover { color: var(--bone); }
.open-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ash); margin-right: 8px; }
.open-dot.on { background: #6fbf73; box-shadow: 0 0 0 0 rgba(111, 191, 115, .6); animation: pulse 2s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(111, 191, 115, 0); } }

/* marquee + pole */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  background: var(--tan);
  color: var(--pitch);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.2rem, 2.6vw, 1.9rem);
  text-transform: uppercase;
  padding: 12px 0;
}
.marquee > div { display: inline-block; animation: marq 32s linear infinite; }
.marquee span { padding: 0 .6em; }
.marquee.red { background: var(--red); color: var(--bone); }
@keyframes marq { to { transform: translateX(-50%); } }
.pole { height: 8px; background: repeating-linear-gradient(115deg, var(--red) 0 18px, var(--bone) 18px 36px, var(--pitch) 36px 54px); background-size: 200% 100%; animation: pole 14s linear infinite; }
@keyframes pole { to { background-position: -400px 0; } }

/* about */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.about p { max-width: 54ch; }
.about .copy { display: flex; flex-direction: column; gap: 22px; }
.about .lead { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.2; }
.ph {
  position: relative;
  background: repeating-linear-gradient(135deg, var(--seam) 0 1px, transparent 1px 14px), var(--espresso);
  border: 1px solid var(--seam);
  overflow: hidden;
}
.ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: filter .7s var(--ease), transform 1.2s var(--ease); }
.ph:hover img { filter: none; transform: scale(1.04); }
.ph .cap { position: absolute; left: 14px; bottom: 12px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ash); }
.about-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-pics .ph { aspect-ratio: 3 / 4; }
.about-pics .ph:nth-child(2) { margin-top: 56px; }

/* team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.barber {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--espresso);
  border: 1px solid var(--seam);
  color: var(--bone);
  font: inherit;
  text-align: left;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  display: block;
  width: 100%;
}
.barber .mono {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(8rem, 20vw, 17rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px #5c4c41;
  transition: transform .9s var(--ease), -webkit-text-stroke-color .5s;
}
.barber img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: filter .7s var(--ease), transform 1.2s var(--ease); }
.barber:hover img, .barber:focus-visible img { filter: none; transform: scale(1.05); }
.barber:hover .mono, .barber:focus-visible .mono { transform: scale(1.12) rotate(-4deg); -webkit-text-stroke-color: var(--tan); }
.barber .info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 48px 20px 18px;
  background: linear-gradient(transparent, rgba(20, 17, 15, .95));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.barber .name { font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1; display: block; }
.barber .role { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--tan); display: block; margin-top: 6px; }
.barber .go { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: .4s var(--ease); white-space: nowrap; }
.barber:hover .go, .barber:focus-visible .go { opacity: 1; transform: none; }

/* prices (light section) */
.light { background: var(--bone); color: var(--pitch); }
.light .eyebrow, .light .it { color: var(--oxblood); }
.light .muted { color: #5d554b; }
.prices { max-width: 980px; }
.price {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px 28px;
  align-items: baseline;
  padding: 22px 0;
  position: relative;
}
.price::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--pitch); transform-origin: left; }
.js .price::after { transform: scaleX(0); transition: transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .price.in::after { transform: scaleX(1); }
.price .nm { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 3.6vw, 2.6rem); text-transform: uppercase; line-height: 1; }
.price .mins { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #5d554b; white-space: nowrap; }
.price .amt { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3.2vw, 2.3rem); font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 5ch; text-align: right; }

/* gallery */
.gallery { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 0 var(--gutter) 20px; margin: 0 calc(var(--gutter) * -1); cursor: grab; scrollbar-width: thin; scrollbar-color: var(--seam) transparent; }
.gallery.drag { cursor: grabbing; scroll-snap-type: none; }
.gallery .ph { flex: 0 0 auto; height: clamp(260px, 44vw, 480px); aspect-ratio: 3 / 4; scroll-snap-align: center; }
.gallery .ph.wide { aspect-ratio: 4 / 3; }

/* booking */
.book { background: var(--espresso); border-block: 1px solid var(--seam); }
.book-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.steps { display: flex; gap: 6px; margin-bottom: 28px; }
.steps i { flex: 1; height: 3px; background: var(--seam); transition: background .5s; }
.steps i.on { background: var(--tan); }
.panel { display: none; flex-direction: column; gap: 20px; animation: slide .6s var(--ease) both; }
.panel.on { display: flex; }
@keyframes slide { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
.panel h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.8rem); text-transform: uppercase; line-height: 1; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.opts.list { grid-template-columns: 1fr; }
.opt {
  background: none;
  border: 1px solid var(--seam);
  color: var(--bone);
  font: inherit;
  text-align: left;
  padding: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  transition: border-color .3s, background .3s, color .3s;
}
.opt:hover { border-color: var(--tan); }
.opt[aria-pressed="true"] { background: var(--tan); border-color: var(--tan); color: var(--pitch); }
.opt.any { border-color: var(--red); }
.opt.any[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--bone); }
.opt b { font-family: var(--display); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; line-height: 1.05; }
.opt small { font-size: .78rem; opacity: .75; white-space: nowrap; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: var(--seam) transparent; }
.days .opt { flex: 0 0 auto; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 84px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slots .opt { justify-content: center; font-variant-numeric: tabular-nums; font-weight: 700; padding: 12px 6px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ash); }
.field input { background: none; border: 0; border-bottom: 1px solid var(--seam); color: var(--bone); font: inherit; font-size: 1.15rem; padding: 10px 0; border-radius: 0; }
.field input:focus { outline: none; border-color: var(--tan); }
.book-nav { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.summary { border: 1px solid var(--seam); padding: 18px; display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; font-size: .95rem; }
.summary dt { color: var(--ash); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; align-self: center; }
.demo-note { font-size: .82rem; color: var(--ash); border-left: 3px solid var(--oxblood); padding-left: 12px; }
.err { color: #e0857f; font-size: .88rem; min-height: 1.4em; }

/* contact */
.contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 80px); }
.map { min-height: 420px; border: 1px solid var(--seam); filter: grayscale(1) invert(.92) contrast(.9); width: 100%; height: 100%; }
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.big-link { font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 4.6vw, 3.6rem); text-transform: uppercase; line-height: 1; text-decoration: none; display: block; transition: color .3s; }
.big-link:hover { color: var(--tan); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 28px; font-variant-numeric: tabular-nums; }
.hours dt { color: var(--ash); }
.hours .today { color: var(--tan); font-weight: 700; }
.socials { display: flex; gap: 24px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

/* footer */
.foot { padding: 56px var(--gutter) 110px; border-top: 1px solid var(--seam); display: flex; flex-direction: column; gap: 28px; }
.foot .huge { font-size: clamp(4rem, 19vw, 17rem); color: transparent; -webkit-text-stroke: 1px var(--seam); white-space: nowrap; }
.foot-row { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: .8rem; color: var(--ash); }

/* teaser strip linking to the tribute page */
.teaser { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 5vw, 64px); align-items: center; background: #0c0a09; border-block: 1px solid var(--seam); padding: clamp(36px, 6vw, 72px) var(--gutter); text-decoration: none; position: relative; overflow: hidden; }
.teaser::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 50%; background: var(--red); transform: skewX(-14deg) translateX(-115%); transition: transform .9s var(--ease); }
.teaser:hover::before { transform: skewX(-14deg) translateX(-30%); }
.teaser > * { position: relative; }
.teaser .ten { font-family: var(--display); font-weight: 900; font-size: clamp(6rem, 17vw, 13rem); line-height: .75; color: var(--red); transition: color .5s; }
.teaser:hover .ten { color: var(--bone); }
.teaser .display { font-size: clamp(2rem, 5.4vw, 4.4rem); }
.teaser .arrow { font-family: var(--display); font-size: clamp(2rem, 5vw, 4rem); transition: transform .5s var(--ease); }
.teaser:hover .arrow { transform: translateX(14px); }

/* sticky mobile CTA */
.sticky-cta { display: none; }

/* ============ tribute page ============ */
.hv { --tan: #c9342b; --seam: #33211f; }
.hv body, body.hv { background: #0c0a09; }
.hv-hero { min-height: 100svh; display: grid; align-items: end; position: relative; overflow: hidden; padding: 140px var(--gutter) 56px; }
.hv-stripes { position: absolute; inset: 0; z-index: -1; display: grid; grid-template-columns: repeat(8, 1fr); }
.hv-stripes i { background: var(--red); transform-origin: top; }
.hv-stripes i:nth-child(even) { background: #0c0a09; }
.js .hv-stripes i { transform: scaleY(0); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.js.loaded .hv-stripes i { transform: scaleY(1); }
.hv-stripes::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 10, 9, .25), #0c0a09 88%); }
.hv-ten { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-58%); font-family: var(--display); font-weight: 900; font-size: clamp(16rem, 52vw, 46rem); line-height: .7; color: var(--bone); mix-blend-mode: overlay; user-select: none; z-index: -1; }
.hv-hero h1 { font-size: clamp(4.2rem, min(17vw, 26svh), 15rem); }
.hv-hero .tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3.2vw, 2.4rem); line-height: 1.15; margin-top: 20px; max-width: 26ch; }
.hv-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.hv-intro .lead { font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.2; }
.hv-intro .copy { display: flex; flex-direction: column; gap: 20px; max-width: 56ch; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--seam); border: 1px solid var(--seam); }
.stat { background: #0c0a09; padding: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.stat b { font-family: var(--display); font-weight: 900; font-size: clamp(4rem, 10vw, 8.5rem); line-height: .8; color: var(--red); font-variant-numeric: tabular-nums; }
.stat span { font-size: .9rem; color: var(--ash); }
.quote { margin-top: clamp(48px, 8vw, 110px); display: flex; flex-direction: column; gap: 18px; }
.quote p { font-family: var(--serif); font-style: italic; font-size: clamp(2.2rem, 6.6vw, 6rem); line-height: 1.02; text-wrap: balance; }
.quote cite { font-style: normal; font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }

/* Wembley scoreboard */
.board { background: var(--bone); color: var(--pitch); }
.board .eyebrow { color: var(--oxblood); }
.score { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(12px, 4vw, 56px); align-items: center; }
.score .team-name { font-family: var(--display); font-weight: 900; font-size: clamp(1.5rem, 5vw, 4.4rem); text-transform: uppercase; line-height: .9; }
.score .team-name:last-child { text-align: right; color: var(--red); }
.digits { display: flex; align-items: center; gap: clamp(6px, 1.4vw, 18px); font-family: var(--display); font-weight: 900; font-size: clamp(5rem, 19vw, 17rem); line-height: .8; font-variant-numeric: tabular-nums; }
.digits b { background: var(--pitch); color: var(--bone); padding: .12em .14em .06em; min-width: .78em; text-align: center; }
.digits b.hu { background: var(--red); }
.digits i { font-style: normal; font-size: .5em; }
.board-meta { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 28px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #5d554b; }
.board p.story { max-width: 60ch; margin-top: 28px; }

/* pitch with the Aranycsapat line-up */
.pitch-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.pitch {
  position: relative;
  aspect-ratio: 7 / 9;
  max-width: 600px;
  width: 100%;
  border: 2px solid var(--bone);
  background: repeating-linear-gradient(180deg, #1c3324 0 11.11%, #18301f 11.11% 22.22%);
}
.pitch::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px solid var(--bone); }
.pitch::after { content: ""; position: absolute; left: 50%; top: 50%; width: 26%; aspect-ratio: 1; border: 2px solid var(--bone); border-radius: 50%; transform: translate(-50%, -50%); }
.pitch .box { position: absolute; left: 22%; right: 22%; height: 15%; border: 2px solid var(--bone); }
.pitch .box.top { top: -2px; } .pitch .box.bot { bottom: -2px; }
.player { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 4px; z-index: 2; }
.js .player { opacity: 0; transform: translate(-50%, 40%); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--n) * 80ms); }
.js .pitch.in .player { opacity: 1; transform: translate(-50%, -50%); }
.player b { width: clamp(28px, 5.4vw, 44px); aspect-ratio: 1; border-radius: 50%; background: var(--bone); color: var(--pitch); display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: clamp(.9rem, 2.2vw, 1.3rem); }
.player.h b { background: var(--red); color: var(--bone); }
.player span { font-size: clamp(.56rem, 1.5vw, .74rem); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(12, 10, 9, .8); padding: 1px 6px; white-space: nowrap; }
.legend { display: flex; flex-direction: column; gap: 20px; }
.legend ul { display: flex; flex-direction: column; gap: 10px; }
.legend li { display: flex; align-items: center; gap: 12px; color: var(--ash); }
.legend li i { width: 16px; height: 16px; border-radius: 50%; background: var(--bone); flex: 0 0 auto; }
.legend li i.h { background: var(--red); }

/* timeline */
.timeline { display: flex; flex-direction: column; }
.tl { display: grid; grid-template-columns: minmax(110px, 240px) 1fr; gap: clamp(16px, 4vw, 56px); padding: 26px 0; border-top: 1px solid var(--seam); align-items: baseline; }
.tl b { font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--red); transition: color .5s; font-variant-numeric: tabular-nums; }
.tl:hover b { color: var(--red); }
.tl h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2.6vw, 1.9rem); text-transform: uppercase; line-height: 1.05; }
.tl p { color: var(--ash); max-width: 58ch; margin-top: 6px; }
.hv-cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.hv-cta .display { font-size: clamp(3.4rem, 13vw, 11rem); }
.fine { font-size: .78rem; color: var(--ash); max-width: 70ch; }

/* ============ responsive ============ */
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 0; background: var(--pitch); flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding: var(--gutter); transform: translateY(-100%); transition: transform .6s var(--ease); z-index: -1; }
  .nav-links a { font-family: var(--display); font-size: 2.8rem; font-weight: 900; letter-spacing: .01em; color: var(--bone); }
  .menu-open .nav-links { transform: none; visibility: visible; }
  .nav-links { visibility: hidden; transition: transform .6s var(--ease), visibility 0s .6s; height: 100dvh; }
  .menu-open .nav-links { transition: transform .6s var(--ease), visibility 0s; }
  /* a transformed or filtered header would trap the full-screen menu inside itself */
  .nav.solid { backdrop-filter: none; background: rgba(20, 17, 15, .96); }
  .nav.hide { transform: none; }
  .burger { display: block; }
  .nav { gap: 10px; }
  .logo-badge { --s: 52px; }
  .nav .btn { display: none; }
  .about, .book-grid, .contact, .hv-intro, .pitch-wrap { grid-template-columns: minmax(0, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .barber .go { display: none; }
  .price { grid-template-columns: 1fr auto; }
  .price .mins { grid-column: 1; grid-row: 2; }
  .price .amt { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
  .teaser { grid-template-columns: auto 1fr; }
  .teaser .arrow { display: none; }
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--bone); color: var(--pitch); text-align: center; text-decoration: none; font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateY(100%); transition: transform .5s var(--ease); }
  .sticky-cta.show { transform: none; }
  .map { min-height: 320px; }
  .score { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .score .team-name:last-child { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv, .js .mask > span, .js .player, .js .hv-stripes i, .js .price::after { opacity: 1; transform: none; }
  .js .player { transform: translate(-50%, -50%); }
  .js .loader { display: none; }
}

/* language switch */
.lang { background: none; border: 1px solid var(--seam); color: var(--bone); font: 700 .72rem/1 var(--body); letter-spacing: .16em; width: 44px; height: 44px; cursor: pointer; transition: border-color .3s, color .3s; }
.lang:hover { border-color: var(--tan); color: var(--tan); }

/* uploaded gallery photos keep their own proportions */
.gallery .ph.photo { aspect-ratio: auto; background: var(--espresso); }
.gallery .ph.photo img { height: 100%; width: auto; max-width: none; object-fit: cover; user-select: none; }

@media (max-width: 400px) { .brand-text { display: none; } }

/* the A of CAVE wears the logo's handlebar moustache */
.a-tash { position: relative; display: inline-block; }
.a-tash .tash { position: absolute; left: 50%; top: 53%; width: .62em; height: auto; transform: translate(-50%, -50%) rotate(-4deg); overflow: visible; transition: transform .5s var(--ease); }
.a-tash .tash path { fill: var(--tan); stroke: var(--pitch); stroke-width: 7; stroke-linejoin: round; paint-order: stroke; }
.a-tash .tash .hi { fill: none; stroke: var(--bone); stroke-width: 3; stroke-linecap: round; opacity: .55; paint-order: normal; }
.hero h1:hover .a-tash .tash { transform: translate(-50%, -54%) rotate(5deg) scale(1.08); }

/* ---------- rotating seal with the logo (about section) ---------- */
.about-pics { position: relative; }
.seal { position: absolute; left: -46px; bottom: -40px; width: clamp(120px, 14vw, 176px); aspect-ratio: 1; z-index: 3; display: grid; place-items: center; }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 28s linear infinite; }
.seal text { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: .04em; fill: var(--bone); }
.seal .logo-badge { --s: 58%; }
.seal:hover svg { animation-duration: 8s; }
@keyframes spin { to { transform: rotate(360deg); } }
.panel .logo-badge { --s: 84px; }
.foot { position: relative; }

/* ---------- things to snip: hair tufts, moustaches, beards ---------- */
.cut-spot { position: absolute; z-index: 2; pointer-events: none; --cut: var(--tan); --cut-edge: var(--pitch); }
.light .cut-spot { --cut: var(--pitch); --cut-edge: var(--bone); }
.cut { pointer-events: auto; display: block; width: 100%; background: none; border: 0; padding: 0; color: var(--cut); cursor: pointer; }
.cut svg { display: block; width: 100%; height: auto; overflow: visible; }
.cut .strand { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; }
.cut .solid { fill: currentColor; stroke: var(--cut-edge); stroke-width: 6; stroke-linejoin: round; paint-order: stroke; }
.cut .hi { fill: none; stroke: var(--cut-edge); stroke-width: 3; stroke-linecap: round; opacity: .35; }
.cut .fall { transform-box: fill-box; transform-origin: 50% 0; animation: sway 4.5s ease-in-out infinite alternate; }
.cut-tash .fall { transform-origin: 50% 50%; }
.cut:hover .fall, .cut:focus-visible .fall { animation-duration: .5s; }
.cut.done { pointer-events: none; }
.cut.done .fall { animation: cut-fall 1.15s cubic-bezier(.45, 0, .85, .5) forwards; }
@keyframes sway { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }
@keyframes cut-fall { 15% { transform: translateY(-6px) rotate(-4deg); } 100% { transform: translateY(300px) rotate(26deg); opacity: 0; } }
.a-tash .tash { cursor: pointer; pointer-events: auto; }
.a-tash .tash.done { pointer-events: none; animation: tash-fall 1.1s cubic-bezier(.45, 0, .85, .5) forwards; }
@keyframes tash-fall { 15% { transform: translate(-50%, -62%) rotate(-10deg); } 100% { transform: translate(-50%, 320%) rotate(34deg); opacity: 0; } }
.cut-toast { position: fixed; left: 20px; bottom: 20px; z-index: 60; background: var(--bone); color: var(--pitch); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; padding: 12px 16px; transform: translateY(160%); transition: transform .5s var(--ease); pointer-events: none; }
.cut-toast.show { transform: none; }

/* ---------- scissors cursor (mouse only) ---------- */
html.snip, html.snip a, html.snip button, html.snip .gallery, html.snip label { cursor: none; }
.snip-cursor { position: fixed; left: 0; top: 0; width: 68px; height: 68px; z-index: 200; pointer-events: none; opacity: 0; transition: opacity .2s; will-change: transform; }
.snip-cursor.on { opacity: 1; }
.snip-cursor svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .45)); transition: transform .25s var(--ease); transform-origin: 18px 14px; }
.snip-cursor .blade { fill: var(--bone); stroke: var(--pitch); stroke-width: 1.4; stroke-linejoin: round; }
.snip-cursor .ring { fill: none; stroke: var(--tan); stroke-width: 3.2; }
.snip-cursor .b1, .snip-cursor .b2 { transition: transform .11s ease-out; }
.snip-cursor .b1 { transform: rotate(-15deg); }
.snip-cursor .b2 { transform: rotate(15deg); }
.snip-cursor.shut .b1, .snip-cursor.shut .b2 { transform: rotate(0deg); }
.snip-cursor.link svg { transform: scale(1.18); }
.snip-cursor.hot svg { transform: scale(1.3) rotate(-8deg); }

@media (max-width: 900px) {
  .seal { left: auto; right: -8px; bottom: auto; top: -52px; }
  .cut-toast { bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .cut.done .fall, .a-tash .tash.done { opacity: 0; }
}

/* ---------- red touches (the Honvéd red, used sparingly) ---------- */
.hero h1 .dot { color: var(--red); }
.marquee i { font-style: normal; color: var(--red); }
.btn::before { background: var(--red); }
.btn:hover, .btn:focus-visible { border-color: var(--red); color: var(--bone); }
.btn.ghost:hover { color: var(--bone); }
.nav-links a::after { background: var(--red); }
.light .eyebrow, .light .it { color: var(--red); }
.snip-cursor .ring { stroke: var(--red); }
.hours .today { color: var(--red); }
.steps i.on { background: var(--red); }

/* ---------- free-kick mini game (Honvéd page) ---------- */
.game { max-width: 900px; display: flex; flex-direction: column; gap: 18px; }
.game canvas { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; border: 2px solid var(--bone); background: #18301f; touch-action: none; }
html.snip .game canvas, .game canvas { cursor: crosshair; }
.game-score { display: flex; align-items: center; gap: clamp(12px, 3vw, 28px); }
.game-score .team-name { font-family: var(--display); font-weight: 900; font-size: clamp(1.4rem, 3.4vw, 2.4rem); text-transform: uppercase; line-height: 1; }
.game-score .team-name:first-child { color: var(--red); }
.game-score .digits { font-size: clamp(2.6rem, 7vw, 4.6rem); }
.game-score .digits b { background: var(--bone); color: var(--pitch); }
.game-score .digits b.hu { background: var(--red); color: var(--bone); }
.game-score[hidden], .arcade-hud[hidden] { display: none; }
.game-modes { display: flex; flex-wrap: wrap; gap: 8px; }
.game-modes .chip-btn[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--bone); }
/* arcade mode: score, level, streak and lives in cabinet-style boxes */
.arcade-hud { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.hud-box { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--seam); padding: 8px 12px 10px; min-width: 0; }
.hud-box small { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ash); }
.hud-box b { font-family: var(--display); font-weight: 900; font-size: clamp(1.8rem, 5vw, 2.8rem); line-height: 1; font-variant-numeric: tabular-nums; }
.hud-box b { color: var(--bone); }
.hud-box.red { background: var(--red); border-color: var(--red); }
.hud-box.red small { color: var(--bone); }
.lives { display: flex; gap: 6px; align-items: center; min-height: clamp(1.8rem, 5vw, 2.8rem); }
.life { width: clamp(14px, 2.6vw, 20px); aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--bone); opacity: .25; }
.life.on { background: #7a4a2a; opacity: 1; }
/* name entry after a top-10 run */
.lb-form { border: 2px solid var(--red); padding: clamp(16px, 3vw, 26px); display: flex; flex-direction: column; gap: 14px; }
.lb-title { font-family: var(--display); font-weight: 900; font-size: clamp(1.5rem, 4vw, 2.2rem); text-transform: uppercase; line-height: 1; }
.lb-title b { color: var(--red); }
.lb-err { color: #ff8a80; font-weight: 600; min-height: 1.2em; }
.lb-err:empty { display: none; }
.lb-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lb-note { color: var(--tan); font-weight: 600; }
.lb-note:empty { display: none; }
/* the all-time top 10 */
.leaderboard h3 { font-size: clamp(1.6rem, 4vw, 2.4rem); text-transform: uppercase; line-height: 1; margin-bottom: 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.leaderboard h3 small { font-family: var(--body); font-size: .72rem; font-weight: 700; letter-spacing: .16em; color: var(--ash); }
.lb-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--seam); }
.lb-list li { display: grid; grid-template-columns: 2.4em minmax(0, 1fr) auto 3.2em; gap: 12px; align-items: baseline; padding: 10px 4px; border-bottom: 1px solid var(--seam); font-variant-numeric: tabular-nums; }
.lb-list li.empty { display: block; color: var(--ash); }
.lb-list .r { font-family: var(--display); font-weight: 900; font-size: 1.3rem; color: var(--ash); }
.lb-list li:nth-child(-n+3) .r { color: var(--tan); }
.lb-list .n { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-list .l { font-size: .7rem; font-weight: 700; letter-spacing: .12em; color: var(--ash); }
.lb-list .s { font-family: var(--display); font-weight: 900; font-size: 1.5rem; text-align: right; }
.lb-list li.me { background: var(--red); border-color: var(--red); animation: lb-blink .5s steps(2) 6; }
.lb-list li.me .r, .lb-list li.me .l { color: var(--bone); }
@keyframes lb-blink { 50% { background: transparent; } }
@media (max-width: 520px) {
  .arcade-hud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lb-list li { grid-template-columns: 2em minmax(0, 1fr) 2.8em; gap: 8px; }
  .lb-list .l { display: none; }
}

/* the logo perched on top of the outlined BP in the hero */
/* glyph tops sit .078em above the line box; the badge rests on them with a small overlap */
.ghost-logo { --s: clamp(124px, 14vw, 210px); position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, calc(var(--s) * .24 - .078em)); -webkit-text-stroke: 0; }
.ghost-logo .logo-badge { --s: inherit; outline: 1px solid var(--seam); outline-offset: 7px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); animation: perch 6s ease-in-out infinite alternate; }
@keyframes perch { from { transform: translateY(0) rotate(-3deg); } to { transform: translateY(-8px) rotate(3deg); } }
@media (max-width: 760px) { .ghost-logo { display: none; } }

/* ---------- app, privacy, map gate ---------- */
.fine a { color: inherit; }
.map-gate { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(20px, 4vw, 40px); background: repeating-linear-gradient(135deg, var(--seam) 0 1px, transparent 1px 14px), var(--espresso); filter: none; color: var(--bone); }
.map-gate p { max-width: 46ch; color: var(--ash); }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.map-frame { width: 100%; height: 100%; min-height: inherit; border: 0; filter: grayscale(1) invert(.92) contrast(.9); display: block; }
.foot-app { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; border: 1px solid var(--seam); padding: clamp(18px, 3vw, 28px); }
.foot-app > div { display: flex; flex-direction: column; gap: 6px; max-width: 56ch; }
.foot-app-title { font-size: clamp(2rem, 5vw, 3.2rem); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.remind { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; border-top: 1px solid var(--seam); padding-top: 18px; }
.captcha { min-height: 65px; }
.sheet { position: fixed; inset: 0; z-index: 120; background: rgba(12, 10, 9, .72); display: flex; align-items: flex-end; justify-content: center; padding: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
.sheet-card { background: var(--espresso); border: 1px solid var(--seam); width: min(520px, 100%); padding: 24px; display: flex; flex-direction: column; gap: 14px; animation: slide-up .45s var(--ease) both; }
.sheet-card h3 { font-family: var(--display); font-weight: 900; font-size: 1.8rem; text-transform: uppercase; line-height: 1; }
.sheet-card ol { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; list-style: decimal; }
.sheet-card ol li { display: list-item; }
.sheet-card .btn { align-self: flex-start; }
@keyframes slide-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- long-form pages (privacy notice) ---------- */
.doc { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.doc h2 { font-family: var(--display); font-weight: 900; font-size: clamp(1.5rem, 3.4vw, 2.2rem); text-transform: uppercase; line-height: 1.05; margin-top: 18px; }
.doc p, .doc li { color: var(--ash); }
.doc strong { color: var(--bone); }
.doc ul { list-style: disc; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.doc table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-top: 1px solid var(--seam); }
.doc th { color: var(--bone); font-weight: 700; }
.table-wrap { overflow-x: auto; }
.todo { background: rgba(179, 38, 30, .16); border-left: 3px solid var(--red); padding: 12px 14px; color: var(--bone); }
.page-top { padding-top: clamp(110px, 16vw, 170px); }

/* ---------- webshop ---------- */
.shop-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(24px, 4vw, 40px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { background: none; border: 1px solid var(--seam); color: var(--bone); font: 700 .74rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 11px 14px; min-height: 44px; cursor: pointer; }
.chip-btn[aria-pressed="true"] { background: var(--tan); border-color: var(--tan); color: var(--pitch); }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.product { border: 1px solid var(--seam); background: var(--espresso); display: flex; flex-direction: column; min-width: 0; }
.product .pic { aspect-ratio: 4 / 3; background: repeating-linear-gradient(135deg, var(--seam) 0 1px, transparent 1px 14px), var(--pitch); display: grid; place-items: center; overflow: hidden; position: relative; }
.product .pic img { width: 100%; height: 100%; object-fit: cover; }
.product .pic .mono { font-family: var(--display); font-weight: 900; font-size: 5rem; color: transparent; -webkit-text-stroke: 1px #5c4c41; }
.product .pic .tag { position: absolute; left: 10px; top: 10px; font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--pitch); color: var(--tan); padding: 4px 8px; }
.product .body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product h3 { font-family: var(--display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; line-height: 1.05; }
.product p { color: var(--ash); font-size: .92rem; flex: 1; }
.product .buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.product .price { font-family: var(--serif); font-style: italic; font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.product .out { color: #e58d86; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--seam); }
.qty button { width: 44px; height: 44px; background: none; border: 0; color: var(--bone); font-size: 1.2rem; cursor: pointer; }
.qty button:disabled { opacity: .3; cursor: default; }
.qty span { min-width: 2ch; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.cart { border: 1px solid var(--seam); background: var(--espresso); padding: clamp(18px, 3vw, 28px); display: flex; flex-direction: column; gap: 16px; }
.cart h2 { font-family: var(--display); font-weight: 900; font-size: 2rem; text-transform: uppercase; line-height: 1; }
.cart-line { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--seam); }
.cart-line b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--display); font-weight: 900; font-size: 1.8rem; text-transform: uppercase; border-top: 1px solid var(--bone); padding-top: 12px; }
.cart-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; background: var(--bone); color: var(--pitch); display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); font-weight: 700; }
.cart-bar a { color: inherit; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--pitch); padding: 12px 14px; }
.shop-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(20px, 4vw, 40px); align-items: start; }
.shop-grid .cart { position: sticky; top: 96px; }
.order-code { font-family: var(--display); font-weight: 900; font-size: clamp(3rem, 12vw, 6rem); line-height: .9; color: var(--tan); letter-spacing: .02em; overflow-wrap: anywhere; }
.track { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; }
.track li { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ash); }
.track li::before { content: ""; height: 4px; background: var(--seam); }
.track li.on { color: var(--bone); }
.track li.on::before { background: var(--red); }

/* ---------- touch and small screens ---------- */
@media (pointer: coarse) {
  .opt, .btn, .nav-links a, .lang, .burger { min-height: 44px; }
  .slots .opt { min-height: 48px; }
}
@media (max-width: 900px) {
  .shop-grid { grid-template-columns: minmax(0, 1fr); }
  .shop-grid .cart { position: static; }
  .cart-bar.show { display: flex; }
  body.has-cart-bar .sticky-cta { display: none; }
}
@media (max-width: 480px) {
  :root { --gutter: 16px; }
  .section { padding-block: 64px; }
  .h2 { font-size: clamp(2.4rem, 13vw, 3.4rem); }
  .btn { padding: 16px 18px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .team { grid-template-columns: 1fr 1fr; gap: 10px; }
  .barber .name { font-size: 1.5rem; }
  .barber .info { padding: 36px 12px 12px; }
  .price .nm { font-size: 1.35rem; }
  .opts { grid-template-columns: 1fr 1fr; }
  .opts.list { grid-template-columns: 1fr; }
  .contact-info .big-link { font-size: 1.9rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat b { font-size: 3.4rem; }
  .tl { grid-template-columns: 1fr; gap: 6px; }
  #cart-lines .cart-line { grid-template-columns: 1fr auto; }
  .cart-total { font-size: 1.4rem; gap: 12px; }
  .cart-total span:last-child { white-space: nowrap; }
}
@media (max-width: 360px) {
  .team, .opts { grid-template-columns: 1fr; }
}
/* phones held sideways: keep the hero and sticky bars from eating the screen */
@media (orientation: landscape) and (max-height: 500px) {
  .hero { min-height: auto; }
  .hero-inner { padding-top: 100px; }
  .hero h1 { font-size: clamp(3.6rem, 22vh, 8rem); }
  .hv-hero { min-height: auto; padding-top: 100px; }
  .nav { padding-block: 8px; }
}

/* ---------- mobile pass fixes ---------- */
/* grid columns must be allowed to shrink below their widest child (the sideways day picker) */
.book-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
#booking, .book-grid > * { min-width: 0; }
@media (max-width: 900px) { .book-grid { grid-template-columns: minmax(0, 1fr); } }
/* phone numbers and other big text links get a comfortable tap height */
.big-link { padding-block: 8px; }
/* nothing a visitor needs to read below ~11.5px */
.ph .cap, .barber .role, .product .pic .tag, .chip-btn { font-size: .72rem; }
.player span { font-size: clamp(.7rem, 1.6vw, .78rem); padding: 2px 6px; }

/* pages under the fixed header keep their title clear of it, also on small screens */
.section.page-top { padding-top: clamp(110px, 16vw, 170px); }

/* app section: install button on phones, QR code on computers */
.foot-app-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.app-qr { margin: 0; display: flex; align-items: center; gap: 16px; }
.app-qr-code { width: 124px; padding: 10px; background: var(--bone); flex: 0 0 auto; }
.app-qr-code svg { display: block; width: 100%; height: auto; }
.app-qr figcaption { font-size: .82rem; color: var(--ash); max-width: 24ch; }
