/* ==========================================================================
   The Golden Age Barbers
   Black walls, gold lettering and hexagon lights, taken from the shop itself,
   with cream sections for breathing room.
   ========================================================================== */

/* Fonts ------------------------------------------------------------------- */

@font-face {
  font-family: 'Unbounded';
  src: url('../assets/fonts/unbounded-latin.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Sans';
  src: url('../assets/fonts/instrument-sans-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

/* Tokens ------------------------------------------------------------------ */

:root {
  --ink: #0c0c0e;
  --ink-2: #121215;
  --ink-3: #1a1a1e;
  --cream: #f4eee3;
  --paper: #f1eadb;
  --paper-ink: #1b1813;

  /* Section colours. Light sections override these (see .theme-light). */
  --bg: var(--ink);
  --surface: var(--ink-3);
  --text: #f3ede1;
  --muted: #a39d91;
  --line: rgba(243, 237, 225, 0.12);
  --line-strong: rgba(243, 237, 225, 0.24);
  --gold: #d8b265;
  --gold-light: #f0d79c;
  --on-gold: #231a07;
  --live: #7fd49a;
  --error: #f0a08f;

  --gold-ink: #231a07;
  --gilded: linear-gradient(105deg, #a97f36 0%, #e8c87f 38%, #f6e2aa 50%, #cf9f4b 66%, #a97f36 100%);
  --led: 140, 108, 255;

  --display: 'Unbounded', 'Arial Black', sans-serif;
  --sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --gutter: clamp(20px, 4.2vw, 64px);
  --header-height: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

.theme-light {
  --bg: var(--cream);
  --surface: #fffaf1;
  --text: #17140e;
  --muted: #615849;
  --line: rgba(23, 20, 14, 0.13);
  --line-strong: rgba(23, 20, 14, 0.26);
  --gold: #8d6721;
  --gold-light: #6b4d14;
  --on-gold: #fffaf1;
  --live: #2f8f55;
  --error: #b3402c;
  background: var(--bg);
  color: var(--text);
}

/* Base -------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body:has(dialog[open]) {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

h1, h2, h3, p, ol, ul, dl, dd, figure, address {
  margin: 0;
}

ol, ul {
  padding: 0;
  list-style: none;
}

address,
em {
  font-style: normal;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button:disabled {
  cursor: wait;
  opacity: 0.6;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

::selection {
  background: var(--gold);
  color: var(--on-gold);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: none;
}

.nowrap {
  white-space: nowrap;
}

/* Layout helpers ---------------------------------------------------------- */

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

.section {
  padding-block: clamp(96px, 11vw, 168px);
}

/* Section headings are two lines: a plain line and a gold line. */
.section h2 {
  font: 600 clamp(1.9rem, 3.4vw, 3.3rem)/1.1 var(--display);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section h2 em,
.booking-dialog h2 em,
.privacy-dialog h2 em {
  font-style: normal;
  color: var(--gold);
}

.section h2 em,
.finale h2 em {
  display: block;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  font: 600 0.72rem/1 var(--sans);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font: 600 0.72rem/1 var(--display);
  letter-spacing: 0;
  color: var(--muted);
}

.eyebrow span::after {
  content: '';
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.lede {
  margin-top: 26px;
  max-width: 42ch;
  font-size: 1.0625rem;
  color: var(--muted);
}

.fine {
  margin-top: 26px;
  max-width: 46ch;
  font-size: 0.8125rem;
  color: var(--muted);
}

.text-link,
.inline-button {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
  transition: color 0.25s;
}

.text-link:hover,
.inline-button:hover {
  color: var(--gold);
}

/* Buttons ----------------------------------------------------------------- */

.button {
  --height: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: var(--height);
  padding: 0 26px;
  border: 1px solid transparent;
  font: 600 0.8125rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.3s, border-color 0.3s, background-color 0.3s, opacity 0.3s;
}

.button .icon {
  transition: transform 0.35s var(--ease);
}

.button:hover .icon {
  transform: translateX(4px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.button-gold {
  background: var(--gilded);
  background-size: 160% 100%;
  color: var(--gold-ink);
}

/* A sheen that sweeps across gold buttons, like light over gold leaf. */
.button-gold::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.8s var(--ease);
}

.button-gold:not(:disabled):hover::after {
  transform: translateX(110%);
}

.button-line {
  border-color: var(--line-strong);
  color: var(--text);
}

.button-line:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.button-dark {
  background: #15120c;
  color: var(--gold-light);
}

.button-dark:hover {
  background: #000;
}

.button-line-dark {
  border-color: rgba(21, 18, 12, 0.35);
  color: #15120c;
}

.button-line-dark:hover {
  border-color: #15120c;
}

.button-sm {
  --height: 42px;
  padding: 0 18px;
}

/* Animated barber icons --------------------------------------------------- */
/* Inline SVGs from includes/icons.php. `.loop` animates continuously, otherwise on hover. */

.bi {
  --play: paused;
  flex: none;
  width: 28px;
  height: 28px;
  overflow: visible;
  stroke-width: 1.5;
}

.bi.loop,
.service-card:hover .bi,
.shop-details li:hover .bi,
.craft-card:hover .bi {
  --play: running;
}

.bi * {
  animation-play-state: var(--play);
}

.bi .solid {
  fill: currentColor;
  stroke: none;
}

.bi .faint {
  opacity: 0.45;
}

.bi-scissors .blade-a,
.bi-scissors .blade-b {
  transform-box: view-box;
  transform-origin: 16px 16.5px;
  animation: snip-a 0.9s ease-in-out infinite;
}

.bi-scissors .blade-b {
  animation-name: snip-b;
}

.bi-clipper .clipper-body {
  animation: buzz 1.6s linear infinite;
}

.bi-razor .razor-blade {
  transform-box: view-box;
  transform-origin: 7.4px 21.2px;
  animation: razor 2.6s ease-in-out infinite;
}

.bi-comb .comb-body {
  animation: comb 1.4s ease-in-out infinite;
}

.bi-beard .beard-body {
  transform-box: view-box;
  transform-origin: 16px 18px;
  animation: wobble 2.2s ease-in-out infinite;
}

.bi-pole .pole-stripes {
  animation: pole-icon 1.2s linear infinite;
}

.bi-pole .pole-stripes path {
  stroke-width: 2.4;
}

.bi-chair .chair-seat {
  animation: chair 2.4s ease-in-out infinite;
}

.bi-spray .mist circle {
  fill: currentColor;
  stroke: none;
  transform-box: fill-box;
  transform-origin: center;
  animation: mist 1.6s ease-out infinite;
}

.bi-spray .mist circle:nth-child(2) { animation-delay: 0.15s; }
.bi-spray .mist circle:nth-child(3) { animation-delay: 0.3s; }
.bi-spray .mist circle:nth-child(4) { animation-delay: 0.45s; }

@keyframes snip-a { 50% { transform: rotate(-13deg); } }
@keyframes snip-b { 50% { transform: rotate(13deg); } }
@keyframes razor { 40%, 60% { transform: rotate(-24deg); } }
@keyframes comb { 25% { transform: translateX(-2px); } 75% { transform: translateX(2px); } }
@keyframes wobble { 25% { transform: rotate(-6deg); } 75% { transform: rotate(6deg); } }
@keyframes pole-icon { to { transform: translateY(8px); } }
@keyframes chair { 50% { transform: translateY(-2.5px); } }
@keyframes mist { 0% { opacity: 0; transform: scale(0.4); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(3px, 0) scale(1.4); } }

/* Short bursts of buzzing with a pause, so it reads as a clipper rather than a glitch. */
@keyframes buzz {
  0%, 46%, 100% { transform: none; }
  4% { transform: translate(0.5px, -0.4px); }
  8% { transform: translate(-0.5px, 0.4px); }
  12% { transform: translate(0.4px, 0.5px); }
  16% { transform: translate(-0.4px, -0.5px); }
  20% { transform: translate(0.5px, 0.3px); }
  24% { transform: translate(-0.5px, -0.3px); }
  28% { transform: translate(0.3px, -0.5px); }
  32% { transform: translate(-0.3px, 0.5px); }
  36% { transform: translate(0.5px, -0.2px); }
  40% { transform: translate(-0.4px, 0.3px); }
}

/* Live status ------------------------------------------------------------- */

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  box-shadow: 0 0 0 4px rgba(243, 237, 225, 0.07);
}

.status.is-open .status-dot {
  background: var(--live);
  box-shadow: 0 0 0 4px rgba(127, 212, 154, 0.16);
  animation: pulse 2.6s ease-in-out infinite;
}

.status-pill {
  margin-top: 36px;
  padding: 12px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.875rem;
}

.dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.dot-live {
  background: var(--live);
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 7px rgba(127, 212, 154, 0); }
}

/* Loader ------------------------------------------------------------------ */
/* Shown while the page loads. Without JavaScript it lifts on its own after a few seconds. */

.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background:
    radial-gradient(50% 40% at 50% 45%, rgba(216, 178, 101, 0.1), transparent 70%),
    var(--ink);
  animation: loader-out 0.8s var(--ease) 3.2s forwards;
}

.loader.is-done {
  animation: loader-out 0.8s var(--ease) forwards;
}

.loader-inner {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.loader-emblem {
  position: relative;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
}

.loader-hex {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--gold);
  stroke-width: 1.3;
}

.loader-hex path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.1s var(--ease) 0.1s forwards;
}

.loader-emblem .bi {
  width: 42px;
  height: 42px;
  color: var(--gold-light);
  animation: fade-in 0.6s ease 0.4s both;
}

.loader-name {
  font: 800 0.95rem/1 var(--display);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  background: var(--gilded);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 0.8s var(--ease) 0.3s both;
}

.loader-bar {
  width: 150px;
  height: 2px;
  overflow: hidden;
  background: rgba(243, 237, 225, 0.12);
}

.loader-bar span {
  display: block;
  height: 100%;
  background: var(--gilded);
  transform-origin: left;
  animation: load 1.4s var(--ease) forwards;
}

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes loader-out { to { transform: translateY(-100%); visibility: hidden; } }

/* The hero waits for the loader before it animates in. */
.js:not(.is-loaded) .hero,
.js:not(.is-loaded) .hero * {
  animation-play-state: paused !important;
}

/* Header ------------------------------------------------------------------ */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s, border-color 0.4s;
}

.site-header.is-scrolled {
  background: rgba(12, 12, 14, 0.84);
  border-bottom-color: rgba(243, 237, 225, 0.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
}

.menu-open .site-header {
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  color: var(--gold);
  stroke-width: 1.4;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name > span {
  font: 700 0.92rem/1 var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-name small {
  margin-top: 7px;
  font: 600 0.6rem/1 var(--sans);
  letter-spacing: 0.62em;
  text-transform: uppercase;
  color: var(--gold);
}

.primary-nav {
  display: flex;
  gap: clamp(20px, 2.6vw, 38px);
}

.primary-nav a {
  position: relative;
  padding-block: 8px;
  font-size: 0.875rem;
  color: rgba(243, 237, 225, 0.78);
  transition: color 0.25s;
}

.primary-nav a::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.primary-nav a:hover {
  color: var(--text);
}

.primary-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(243, 237, 225, 0.78);
  transition: color 0.25s;
}

.header-phone:hover {
  color: var(--gold);
}

.header-phone .icon {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
}

.menu-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}

.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 21.5px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 21.5px;
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: calc(var(--header-height) + 32px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  overflow-y: auto;
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(216, 178, 101, 0.12), transparent 70%),
    var(--ink);
  animation: fade-in 0.35s var(--ease);
}

.mobile-nav-links a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font: 600 clamp(1.5rem, 7vw, 2.3rem)/1.1 var(--display);
  letter-spacing: -0.02em;
}

.mobile-nav-links span {
  font: 600 0.75rem/1 var(--display);
  color: var(--gold);
}

.mobile-nav-links li {
  animation: rise 0.6s var(--ease) both;
}

.mobile-nav-links li:nth-child(2) { animation-delay: 0.04s; }
.mobile-nav-links li:nth-child(3) { animation-delay: 0.08s; }
.mobile-nav-links li:nth-child(4) { animation-delay: 0.12s; }
.mobile-nav-links li:nth-child(5) { animation-delay: 0.16s; }

.mobile-nav-foot {
  display: grid;
  gap: 16px;
  color: var(--muted);
  font-size: 0.875rem;
}

.mobile-nav-phone {
  font: 700 1.25rem/1 var(--display);
  color: var(--gold);
}

/* Hero -------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(100svh, 760px);
  padding: calc(var(--header-height) + 36px) 0 56px;
  overflow: hidden;
  background:
    radial-gradient(70% 55% at 50% 0%, rgba(255, 240, 214, 0.08), transparent 70%),
    radial-gradient(40% 50% at 100% 85%, rgba(var(--led), 0.12), transparent 70%),
    radial-gradient(35% 45% at 0% 100%, rgba(216, 178, 101, 0.08), transparent 70%),
    var(--ink);
}

/* Fine grain keeps the large dark areas from looking flat. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Darkens the top so the navigation reads cleanly over the lights. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: calc(var(--header-height) + 40px);
  background: linear-gradient(rgba(12, 12, 14, 0.85), rgba(12, 12, 14, 0));
  pointer-events: none;
}

.hero-ceiling {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
  -webkit-mask-image: linear-gradient(#000 16%, transparent 46%);
  mask-image: linear-gradient(#000 16%, transparent 46%);
}

.hero-ceiling.is-ready {
  opacity: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr);
  align-items: end;
  gap: clamp(32px, 5vw, 88px);
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  font: 600 0.72rem/1 var(--sans);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  animation: rise 1s var(--ease) 0.2s both;
}

.hero-kicker .rule {
  flex: 0 0 64px;
  height: 1px;
  background: var(--gold);
}

/* The wordmark echoes the gold lettering on the shop wall: one line, set below the ceiling lights. */
.wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 22px;
}

.wm-name {
  font: 800 min(4.1rem, 4.9vw)/1 var(--display);
  letter-spacing: -0.035em;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--gilded);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 32px rgba(216, 178, 101, 0.18));
  animation: wordmark-in 1.3s var(--ease) both, gild 12s ease-in-out 1.3s infinite alternate;
}

.wm-barbers {
  display: flex;
  align-items: center;
  gap: 16px;
  font: 600 clamp(0.68rem, 0.9vw, 0.8rem)/1 var(--sans);
  letter-spacing: 0.9em;
  text-transform: uppercase;
  color: var(--gold);
  animation: rise 1s var(--ease) 0.35s both;
}

.wm-barbers::before {
  content: '';
  width: 48px;
  height: 1px;
  background: var(--gold);
}

.hero-tagline {
  margin-top: 30px;
  font: 600 clamp(1.1rem, 1.6vw, 1.45rem)/1.2 var(--display);
  letter-spacing: -0.01em;
  color: var(--text);
  animation: rise 1s var(--ease) 0.45s both;
}

.hero-tagline em {
  color: var(--gold);
}

.hero-copy {
  margin-top: 14px;
  max-width: 46ch;
  color: var(--muted);
  animation: rise 1s var(--ease) 0.55s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  animation: rise 1s var(--ease) 0.65s both;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  margin-top: 30px;
  font-size: 0.8125rem;
  color: var(--muted);
  animation: rise 1s var(--ease) 0.75s both;
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-facts .icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.hero-facts .status {
  color: var(--text);
}

/* Hexagon photo with a slowly turning outline, a spinning badge and a barber pole. */
.hero-visual {
  position: relative;
  align-self: center;
  justify-self: end;
  width: min(100%, 470px);
  aspect-ratio: 0.866;
  animation: rise 1.2s var(--ease) 0.35s both;
}

.hero-hex,
.hero-hex img {
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.hero-hex {
  position: absolute;
  inset: 0;
  background: var(--gilded);
}

.hero-hex img {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  object-fit: cover;
  object-position: 50% 40%;
  filter: saturate(0.85) contrast(1.06) brightness(0.92);
  transition: transform 1.6s var(--ease);
}

.hero-visual:hover .hero-hex img {
  transform: scale(1.05);
}

.hero-hex::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 12, 14, 0) 55%, rgba(12, 12, 14, 0.55)), linear-gradient(120deg, rgba(216, 178, 101, 0.18), transparent 50%);
  pointer-events: none;
}

.hero-hex-line {
  position: absolute;
  inset: -9%;
  width: 118%;
  height: 118%;
  color: var(--gold);
  stroke-width: 0.35;
  opacity: 0.6;
  animation: spin 60s linear infinite;
}

.hero-badge {
  position: absolute;
  left: -10%;
  bottom: 12%;
  display: grid;
  place-items: center;
  width: clamp(104px, 9vw, 136px);
  aspect-ratio: 1;
  border: 1px solid rgba(216, 178, 101, 0.45);
  border-radius: 50%;
  background: rgba(12, 12, 14, 0.88);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero-badge-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 22s linear infinite;
}

.hero-badge-ring text {
  fill: var(--gold);
  stroke: none;
  font: 600 9px var(--sans);
}

.hero-badge .bi {
  width: 40%;
  height: 40%;
  color: var(--gold-light);
}

.barber-pole {
  position: absolute;
  top: 4%;
  right: -2%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30px;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.6));
}

.pole-top,
.pole-base {
  width: 30px;
  height: 12px;
  border-radius: 6px 6px 2px 2px;
  background: var(--gilded);
}

.pole-top {
  position: relative;
}

.pole-top::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff4d2, #c99a43 60%, #7c5a22);
  transform: translateX(-50%);
}

.pole-base {
  border-radius: 2px 2px 6px 6px;
}

.pole-glass {
  position: relative;
  width: 22px;
  height: clamp(110px, 12vw, 160px);
  overflow: hidden;
  background: #f6efe0;
}

.pole-stripes {
  position: absolute;
  inset: -60px 0 0;
  background: repeating-linear-gradient(-45deg, #c99a43 0 10px, #f6efe0 10px 20px, #15120c 20px 30px, #f6efe0 30px 40px);
  animation: pole 1.8s linear infinite;
}

.pole-glass::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), rgba(255, 255, 255, 0.45) 35%, rgba(255, 255, 255, 0) 55%, rgba(0, 0, 0, 0.35));
}

.hero-chip {
  position: absolute;
  right: -6%;
  bottom: 6%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  border: 1px solid var(--line-strong);
  background: rgba(18, 18, 21, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.9);
  font-size: 0.75rem;
  color: var(--muted);
  animation: float 6s ease-in-out infinite;
}

.hero-chip .bi {
  width: 30px;
  height: 30px;
  color: var(--gold);
}

.hero-chip strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--text);
}

@keyframes wordmark-in {
  from { clip-path: inset(0 0 100% 0); transform: translateY(0.25em); }
  to { clip-path: inset(-100% -20% -100% -20%); transform: none; }
}

@keyframes gild {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes fade-in {
  from { opacity: 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pole {
  to { transform: translateY(56.57px); }
}

@keyframes float {
  50% { transform: translateY(-10px); }
}

/* Marquee ----------------------------------------------------------------- */

.marquee {
  display: flex;
  overflow: hidden;
  background: var(--gilded);
  color: var(--gold-ink);
}

.marquee-track {
  display: flex;
  flex: none;
  align-items: center;
  gap: 36px;
  padding: 20px 36px 20px 0;
  font: 700 clamp(1rem, 1.6vw, 1.45rem)/1 var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: marquee 46s linear infinite;
}

.marquee-track .bi {
  width: 30px;
  height: 30px;
  stroke-width: 1.6;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  to { transform: translateX(-100%); }
}

/* Service menu (light) ---------------------------------------------------- */

.menu-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}

.menu-intro {
  position: sticky;
  top: calc(var(--header-height) + 40px);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.filter {
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--muted);
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}

.filter:hover {
  border-color: var(--text);
  color: var(--text);
}

.filter.active {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto 50px;
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
  padding: 28px 12px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 12%, transparent), transparent 75%);
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold);
  transition: background-color 0.35s, border-color 0.35s, color 0.35s, transform 0.5s var(--ease);
}

.service-card:hover .service-icon {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
  transform: rotate(-8deg) scale(1.06);
}

.service-thumb {
  display: none;
}

.service-body h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font: 600 clamp(1.2rem, 1.75vw, 1.6rem)/1.15 var(--display);
  letter-spacing: -0.02em;
  transition: transform 0.5s var(--ease), color 0.3s;
}

.service-card:hover h3 {
  transform: translateX(8px);
  color: var(--gold-light);
}

.service-body p {
  margin-top: 8px;
  max-width: 46ch;
  font-size: 0.9375rem;
  color: var(--muted);
}

.service-tag {
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  border-radius: 999px;
  font: 600 0.6rem/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.service-meta {
  text-align: right;
}

.service-price {
  display: block;
  font: 700 clamp(1.5rem, 2.3vw, 2.1rem)/1 var(--display);
  letter-spacing: -0.02em;
  color: var(--gold);
}

.service-price sup,
.ticket-price sup {
  position: relative;
  top: 0.1em;
  margin-right: 3px;
  font-size: 0.45em;
  vertical-align: top;
}

.service-time {
  display: block;
  margin-top: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
}

.service-book {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

/* The whole row is clickable through the button. */
.service-book::after {
  content: '';
  position: absolute;
  inset: 0;
}

.service-card:hover .service-book,
.service-book:focus-visible {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--on-gold);
}

.service-book .icon {
  transition: transform 0.4s var(--ease);
}

.service-card:hover .service-book .icon {
  transform: rotate(-45deg);
}

/* A photo of the hovered service follows the pointer. */
.menu-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  pointer-events: none;
}

.menu-preview img {
  width: 240px;
  height: 300px;
  object-fit: cover;
  border: 6px solid #fffaf1;
  box-shadow: 0 30px 60px -20px rgba(23, 20, 14, 0.45);
  opacity: 0;
  transform: translate(36px, -50%) scale(0.8) rotate(-4deg);
  transition: opacity 0.35s, transform 0.5s var(--ease);
}

.menu-preview.is-visible img {
  opacity: 1;
  transform: translate(36px, -50%) scale(1) rotate(0);
}

/* Cut line ---------------------------------------------------------------- */

.cut-line {
  --cut: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  height: 40px;
  transform: translateY(-50%);
  pointer-events: none;
}

.cut-line-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 2px dashed var(--gold);
  clip-path: inset(-2px 0 -2px calc(var(--cut) * 100%));
}

.cut-line-scissors {
  position: absolute;
  top: 50%;
  left: calc(var(--cut) * (100% - 40px));
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
}

.cut-line-scissors .bi {
  width: 30px;
  height: 30px;
  transform: rotate(90deg);
}

/* Crew -------------------------------------------------------------------- */

.crew {
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  margin-bottom: clamp(56px, 7vw, 100px);
}

.section-head .lede {
  margin: 0;
}

.crew-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
}

.barber-card:nth-child(2) {
  margin-top: 88px;
}

/* Photos sit in thin gold frames, like the mirrors at each station. */
.mirror {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(216, 178, 101, 0.55);
  transition: border-color 0.5s, box-shadow 0.6s;
}

.mirror::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(216, 178, 101, 0.2);
  pointer-events: none;
}

.mirror-glass {
  display: block;
  overflow: hidden;
  background: var(--ink-3);
}

.mirror img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) sepia(0.28) contrast(1.06) brightness(0.9);
  transform: scale(1.01);
  transition: filter 0.8s var(--ease), transform 1.4s var(--ease);
}

.barber-card:hover .mirror,
.barber-card:focus-within .mirror {
  border-color: rgba(var(--led), 0.7);
  box-shadow: 0 0 0 1px rgba(var(--led), 0.25), 0 0 48px -8px rgba(var(--led), 0.55), inset 0 0 28px rgba(var(--led), 0.25);
}

.barber-card:hover .mirror img,
.barber-card:focus-within .mirror img {
  filter: none;
  transform: scale(1.05);
}

.photo-jaime { object-position: 50% 38%; }
.photo-danny { object-position: 60% 30%; }
.photo-jose { object-position: 55% 30%; }

.barber-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 26px;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.barber-meta span:first-child {
  font: 600 0.78rem/1 var(--display);
  letter-spacing: 0;
  color: var(--gold);
}

.barber-card h3 {
  margin-top: 12px;
  font: 600 clamp(1.4rem, 2.1vw, 1.9rem)/1.1 var(--display);
  letter-spacing: -0.02em;
}

.barber-availability {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

.barber-book {
  width: 100%;
  margin-top: 26px;
  justify-content: space-between;
}

/* The craft --------------------------------------------------------------- */

.craft {
  overflow: hidden;
  padding-bottom: clamp(120px, 12vw, 180px);
  background: var(--ink-2);
}

.craft-reel {
  display: flex;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.craft-track {
  display: flex;
  flex: none;
  align-items: flex-start;
  gap: 22px;
  padding-right: 22px;
  animation: marquee 70s linear infinite;
}

.craft-reel:hover .craft-track {
  animation-play-state: paused;
}

.craft-card {
  position: relative;
  flex: none;
  width: clamp(230px, 24vw, 340px);
  aspect-ratio: 4 / 5;
  padding: 8px;
  border: 1px solid rgba(216, 178, 101, 0.4);
  transition: border-color 0.5s, transform 0.6s var(--ease);
}

.craft-card:nth-child(even) {
  margin-top: 56px;
}

.craft-card:hover {
  border-color: var(--gold);
  transform: translateY(-8px) rotate(-1deg);
}

.craft-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) sepia(0.12) contrast(1.05);
  transition: filter 0.6s, transform 1.2s var(--ease);
}

.craft-card:hover img {
  filter: none;
}

.craft-label {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  background: rgba(12, 12, 14, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font: 600 0.68rem/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.craft-label .bi {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

/* The shop (light) -------------------------------------------------------- */

.shop {
  position: relative;
  overflow: hidden;
}

.shop .wrap {
  position: relative;
}

.shop-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}

.statement {
  font: 500 clamp(1.25rem, 1.9vw, 1.75rem)/1.45 var(--sans);
  letter-spacing: -0.01em;
}

.statement .word {
  opacity: 0.2;
  transition: opacity 0.35s ease;
}

.statement .word.is-lit {
  opacity: 1;
}

.shop-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(64px, 8vw, 112px);
  border-top: 1px solid var(--line);
}

.fact {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 14px;
  padding: 36px 24px 0 0;
}

.fact + .fact {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.fact dd {
  font: 700 clamp(1.9rem, 3.4vw, 3.2rem)/1 var(--display);
  letter-spacing: -0.04em;
  color: var(--gold);
}

.fact dd small {
  font-size: 0.42em;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text);
}

.fact dt {
  font-size: 0.875rem;
  color: var(--muted);
}

.shop-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(64px, 7vw, 100px);
}

.shop-details li {
  padding: 34px 30px 36px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}

.shop-details li:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -36px rgba(23, 20, 14, 0.45);
}

.shop-details .bi {
  width: 44px;
  height: 44px;
  color: var(--gold);
  stroke-width: 1.3;
}

.shop-details h3 {
  margin-top: 22px;
  font: 600 1.15rem/1.25 var(--display);
}

.shop-details p {
  margin-top: 12px;
  max-width: 34ch;
  color: var(--muted);
}

/* Visit ------------------------------------------------------------------- */

.visit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
}

.visit address {
  margin-top: 40px;
  font: 500 clamp(1.05rem, 1.6vw, 1.4rem)/1.5 var(--display);
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* The hours card reads like the printed sign on the shop door. */
.hours-card {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  background: var(--paper);
  color: var(--paper-ink);
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.9);
}

.hours-card::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(27, 24, 19, 0.18);
  pointer-events: none;
}

.hours-card-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 16px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--paper-ink);
}

.hours-card h3 {
  font: 800 clamp(1.3rem, 1.9vw, 1.7rem)/1 var(--display);
  letter-spacing: 0;
  text-transform: uppercase;
}

.hours-card-top span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6f6656;
}

.hours-list > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 15px 12px;
  margin-inline: -12px;
  border-bottom: 1px dashed rgba(27, 24, 19, 0.22);
}

.hours-list dt {
  font-weight: 500;
}

.hours-list dd {
  font-variant-numeric: tabular-nums;
}

.hours-list .closed-label {
  color: #8b8170;
}

.hours-list .today {
  background: linear-gradient(90deg, rgba(169, 127, 54, 0.22), rgba(169, 127, 54, 0.04));
  font-weight: 600;
}

.hours-list .today dt::after {
  content: 'Today';
  margin-left: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--paper-ink);
  color: var(--paper);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  vertical-align: 2px;
}

.hours-note {
  margin-top: 20px;
  font-size: 0.8125rem;
  color: #6f6656;
}

.map-wrap {
  position: relative;
  margin-top: clamp(64px, 8vw, 112px);
  border: 1px solid var(--line);
  background: var(--ink-3);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 38vw, 460px);
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(0.88) brightness(0.92);
}

.map-link {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--ink);
  border: 1px solid var(--line-strong);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.25s, border-color 0.25s;
}

.map-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* FAQ (light) ------------------------------------------------------------- */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  font: 600 clamp(0.98rem, 1.25vw, 1.15rem)/1.4 var(--display);
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
  transition: color 0.25s;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:hover {
  color: var(--gold-light);
}

.faq-icon {
  position: relative;
  flex: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s, transform 0.4s var(--ease);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-list details[open] .faq-icon {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--on-gold);
  transform: rotate(180deg);
}

.faq-list details[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-list details p {
  max-width: 60ch;
  padding: 0 64px 30px 0;
  color: var(--muted);
  animation: rise 0.5s var(--ease);
}

/* Contact ----------------------------------------------------------------- */

.contact {
  background: var(--ink-2);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}

.contact-call-label {
  margin-top: 44px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-phone {
  display: inline-block;
  margin-top: 12px;
  font: 700 clamp(1.5rem, 2.6vw, 2.3rem)/1 var(--display);
  letter-spacing: -0.02em;
  color: var(--gold);
  transition: color 0.25s;
}

.contact-phone:hover {
  color: var(--gold-light);
}

.contact-form,
.booking-form {
  display: grid;
  gap: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.req {
  color: var(--gold);
}

.optional {
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  font-size: 1.0625rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
  box-shadow: 0 1px 0 var(--gold);
}

.field select {
  appearance: none;
  padding-right: 32px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8b265' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 18px no-repeat;
}

.field select option {
  background: var(--ink-2);
  color: var(--text);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field ::placeholder {
  color: color-mix(in srgb, var(--muted) 65%, transparent);
}

.field [aria-invalid="true"] {
  border-bottom-color: var(--error);
}

.field-error {
  display: block;
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--error);
}

.field-error:empty {
  margin: 0;
}

.textarea-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

#message-count {
  flex: none;
  margin-top: 8px;
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--muted);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--muted);
  cursor: pointer;
}

.consent input {
  appearance: none;
  display: grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  border: 1px solid var(--line-strong);
  transition: background-color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.consent input:checked {
  border-color: var(--gold);
  background: var(--gold);
}

.consent input:checked::after {
  content: '';
  width: 10px;
  height: 5px;
  margin-top: -2px;
  border-left: 2px solid var(--gold-ink);
  border-bottom: 2px solid var(--gold-ink);
  transform: rotate(-45deg);
}

.consent input[aria-invalid="true"] {
  border-color: var(--error);
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 0.8125rem;
  color: var(--muted);
}

#form-status:not(:empty) {
  padding: 18px 20px;
  border: 1px solid rgba(216, 178, 101, 0.4);
  background: rgba(216, 178, 101, 0.06);
}

#form-status.error {
  border-color: rgba(240, 160, 143, 0.4);
  background: rgba(240, 160, 143, 0.06);
  color: var(--error);
}

#form-status strong {
  display: block;
  margin-bottom: 4px;
  font: 600 1rem/1.3 var(--display);
  color: var(--gold);
}

/* Finale ------------------------------------------------------------------ */

.finale {
  position: relative;
  overflow: hidden;
  padding-block: clamp(104px, 13vw, 200px);
  background: var(--gilded);
  background-size: 200% 100%;
  color: #15120c;
  text-align: center;
  animation: gild 14s ease-in-out infinite alternate;
}

.finale::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='180' viewBox='0 0 104 180'%3E%3Cg fill='none' stroke='%2315120c' stroke-width='1.2'%3E%3Cpath d='M52 4 96 30v52L52 108 8 82V30Z'/%3E%3Cpath d='M0 94 44 120v52L0 198M104 94 60 120v52l44 26'/%3E%3C/g%3E%3C/svg%3E") center / 104px 180px;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, transparent 30%, #000 100%);
  mask-image: radial-gradient(60% 70% at 50% 50%, transparent 30%, #000 100%);
}

.finale-icons .bi {
  position: absolute;
  width: clamp(64px, 8vw, 120px);
  height: clamp(64px, 8vw, 120px);
  color: #15120c;
  stroke-width: 1;
  opacity: 0.22;
  animation: float 7s ease-in-out infinite;
}

.finale-icons .bi:nth-child(1) { top: 14%; left: 8%; }
.finale-icons .bi:nth-child(2) { top: 18%; right: 9%; animation-delay: -2s; }
.finale-icons .bi:nth-child(3) { bottom: 14%; left: 14%; animation-delay: -4s; }
.finale-icons .bi:nth-child(4) { bottom: 12%; right: 13%; animation-delay: -1s; }

.finale .wrap {
  position: relative;
}

.finale .eyebrow {
  justify-content: center;
  color: #4a3a17;
}

.finale h2 {
  font: 800 clamp(2.3rem, 6.6vw, 6.2rem)/1.02 var(--display);
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.finale h2 em {
  font-style: normal;
  color: #3a2a0b;
}

.finale-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
  padding: clamp(72px, 8vw, 112px) 0 36px;
  background: var(--ink);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}

.footer-tagline {
  margin-top: 26px;
  font: 600 1.05rem/1.3 var(--display);
}

.footer-tagline em {
  color: var(--gold);
}

.footer-col h3 {
  margin-bottom: 18px;
  font: 600 0.7rem/1 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-col p,
.footer-col address {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 6px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.footer-links a {
  width: fit-content;
  transition: color 0.25s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding-top: 28px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.footer-bottom div {
  display: flex;
  gap: 28px;
}

.footer-bottom button,
.footer-bottom a {
  transition: color 0.25s;
}

.footer-bottom button:hover,
.footer-bottom a:hover {
  color: var(--gold);
}

/* Mobile booking bar ------------------------------------------------------ */

.mobile-bar {
  display: none;
}

/* Dialogs ----------------------------------------------------------------- */

dialog {
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}

dialog::backdrop {
  background: rgba(6, 6, 8, 0.74);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

dialog[open] {
  animation: dialog-in 0.5s var(--ease);
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
}

.booking-dialog,
.privacy-dialog {
  width: min(920px, 100% - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(70% 40% at 50% 0%, rgba(216, 178, 101, 0.09), transparent 70%),
    var(--ink-2);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9);
}

.privacy-dialog {
  width: min(640px, 100% - 32px);
}

.dialog-top {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(18, 18, 21, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.dialog-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 600 0.7rem/1 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.dialog-brand svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.4;
}

.dialog-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color 0.3s, color 0.3s, transform 0.4s var(--ease);
}

.dialog-close:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: rotate(90deg);
}

.booking-body,
.privacy-body {
  padding: clamp(28px, 3.4vw, 40px) clamp(28px, 4vw, 48px);
}

.booking-dialog h2,
.privacy-dialog h2 {
  font: 600 clamp(1.6rem, 2.8vw, 2.3rem)/1.1 var(--display);
  letter-spacing: -0.03em;
}

.booking-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 26px 0 30px;
}

.booking-steps li {
  position: relative;
  padding-top: 16px;
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.3s;
}

.booking-steps li::before,
.booking-steps li::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
}

.booking-steps li::before {
  right: 0;
  background: var(--line-strong);
}

.booking-steps li::after {
  width: 0;
  background: var(--gold);
  transition: width 0.6s var(--ease);
}

.booking-steps li.current::after,
.booking-steps li.complete::after {
  width: 100%;
}

.booking-steps li.current {
  color: var(--text);
}

.booking-steps li.complete {
  color: var(--gold);
}

.booking-steps span {
  margin-right: 10px;
  font: 600 0.72rem/1 var(--display);
  color: var(--gold);
}

#booking-content {
  animation: rise 0.45s var(--ease);
}

.booking-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.booking-question {
  margin-bottom: 18px;
  padding: 0;
  font: 600 1.05rem/1.3 var(--display);
  letter-spacing: -0.01em;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.option {
  position: relative;
  display: block;
  cursor: pointer;
}

/* The real radio stays in place, invisible, so keyboard and screen reader behaviour is native. */
.option input,
.date-chip input,
.slot input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.option-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  background: rgba(243, 237, 225, 0.02);
  transition: border-color 0.25s, background-color 0.25s;
}

.option:hover .option-card {
  border-color: rgba(216, 178, 101, 0.55);
}

.option input:checked + .option-card {
  border-color: var(--gold);
  background: rgba(216, 178, 101, 0.09);
}

.option input:focus-visible + .option-card,
.date-chip input:focus-visible + span,
.slot input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.option-radio {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color 0.25s;
}

.option-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  transform: scale(0);
  transition: transform 0.3s var(--ease);
}

.option input:checked + .option-card .option-radio {
  border-color: var(--gold);
}

.option input:checked + .option-card .option-radio::after {
  transform: scale(1);
}

.option-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.option-name {
  font: 600 0.95rem/1.25 var(--display);
}

.option-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.option-meta {
  display: grid;
  gap: 6px;
  text-align: right;
}

.option-price {
  font: 700 1.1rem/1 var(--display);
  color: var(--gold);
}

.option-time {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.option-grid-barbers {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.option-barber .option-card {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 14px;
  padding: 10px 10px 16px;
}

.option-photo {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--ink-3);
}

.option-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) sepia(0.25) brightness(0.82);
  transition: filter 0.5s var(--ease), transform 0.8s var(--ease);
}

.option-barber:hover .option-photo img {
  transform: scale(1.04);
}

.option input:checked + .option-card .option-photo img {
  filter: none;
}

.option-any,
.ticket-any {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 40%, rgba(216, 178, 101, 0.22), transparent 65%),
    var(--ink-3);
  color: var(--gold);
}

.option-any svg {
  width: 46%;
  height: 46%;
  stroke-width: 1.2;
}

.option-barber .option-text {
  padding-inline: 6px;
}

.option-barber .option-radio {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(12, 12, 14, 0.65);
}

.booking-call {
  padding: 8px 0 4px;
}

/* Dates scroll sideways; each shows how many times are free. */
.date-strip {
  display: flex;
  gap: 8px;
  margin: 0 -4px 26px;
  padding: 4px 4px 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.date-chip {
  position: relative;
  flex: none;
  scroll-snap-align: start;
}

.date-chip > span {
  display: grid;
  justify-items: center;
  gap: 2px;
  width: 76px;
  padding: 12px 6px 10px;
  border: 1px solid var(--line-strong);
  text-align: center;
  transition: border-color 0.25s, background-color 0.25s;
}

.date-chip small {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.date-chip strong {
  font: 700 1.3rem/1.15 var(--display);
}

.date-chip em {
  margin-top: 4px;
  font-size: 0.64rem;
  font-style: normal;
  color: var(--gold);
}

.date-chip:hover > span {
  border-color: rgba(216, 178, 101, 0.55);
}

.date-chip input:checked + span {
  border-color: var(--gold);
  background: rgba(216, 178, 101, 0.12);
}

.date-chip.is-off {
  opacity: 0.4;
}

.date-chip.is-off input {
  cursor: not-allowed;
}

.date-chip.is-off em {
  color: var(--muted);
}

.slot-group {
  min-width: 0;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}

.slot-group legend {
  margin-bottom: 10px;
  padding: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(98px, 1fr));
  gap: 8px;
}

.slot {
  position: relative;
}

.slot span {
  display: block;
  padding: 12px 6px;
  border: 1px solid var(--line-strong);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.slot:hover span {
  border-color: rgba(216, 178, 101, 0.6);
}

.slot input:checked + span {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 600;
}

/* Shimmering placeholders while times load. */
.slot-loading {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(98px, 1fr));
  gap: 8px;
}

.slot-loading span {
  height: 46px;
  background: linear-gradient(90deg, rgba(243, 237, 225, 0.04), rgba(243, 237, 225, 0.1), rgba(243, 237, 225, 0.04));
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}

.slot-loading-dates {
  display: flex;
}

.slot-loading-dates span {
  flex: none;
  width: 76px;
  height: 96px;
}

@keyframes shimmer {
  to { background-position: -200% 0; }
}

.slot-empty,
.booking-state p,
.booking-alert {
  color: var(--muted);
}

.booking-alert {
  margin: -6px 0 18px;
  padding: 12px 16px;
  border: 1px solid rgba(240, 160, 143, 0.4);
  background: rgba(240, 160, 143, 0.07);
  color: var(--error);
}

.booking-state-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
}

.booking-form {
  margin-top: 28px;
  gap: 24px;
}

.booking-form .field textarea {
  min-height: 70px;
}

.booking-privacy {
  font-size: 0.8125rem;
  color: var(--muted);
}

.booking-status:not(:empty) {
  padding: 12px 16px;
  border: 1px solid rgba(240, 160, 143, 0.4);
  background: rgba(240, 160, 143, 0.07);
  color: var(--error);
}

.ticket {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 18px;
  border: 1px solid var(--gold);
  background: linear-gradient(120deg, rgba(216, 178, 101, 0.13), rgba(216, 178, 101, 0.02));
}

.ticket-photo {
  width: 96px;
  height: 120px;
  object-fit: cover;
}

.ticket-any svg {
  width: 50%;
  height: 50%;
}

.ticket-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.ticket h3 {
  margin-top: 8px;
  font: 600 clamp(1.15rem, 2.1vw, 1.55rem)/1.15 var(--display);
  letter-spacing: -0.02em;
}

.ticket-with {
  margin-top: 6px;
  color: var(--muted);
}

.ticket-when,
.ticket-ref {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.9375rem;
}

.ticket-when .icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.ticket-ref strong {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  letter-spacing: 0.06em;
  color: var(--gold-light);
}

/* The dashed rule reads as the tear line on a ticket stub. */
.ticket-price {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding-left: 24px;
  border-left: 1px dashed rgba(216, 178, 101, 0.55);
  font: 700 2.2rem/1 var(--display);
  letter-spacing: -0.03em;
  color: var(--gold);
}

.booking-final-note {
  margin-top: 22px;
  max-width: 60ch;
  color: var(--muted);
}

.booking-final-note a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.calendar-launch {
  margin-top: 24px;
}

.booking-done {
  text-align: left;
}

.done-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--gilded);
  color: var(--gold-ink);
  animation: pop 0.7s var(--ease) both;
}

.done-mark .icon {
  width: 30px;
  height: 30px;
  stroke-width: 2.2;
}

@keyframes pop {
  0% { transform: scale(0.4); opacity: 0; }
  60% { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); }
}

.booking-done-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.booking-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.is-done .booking-controls {
  display: none;
}

.button-back {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.25s;
}

.button-back:hover {
  color: var(--text);
}

#booking-next {
  margin-left: auto;
}

.booking-help {
  margin-top: 22px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.booking-help a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.privacy-body p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--muted);
}

.privacy-body h2 {
  margin-bottom: 8px;
}

.privacy-body a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

.privacy-body .button {
  margin-top: 32px;
}

/* Reveal on scroll -------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.service-card:nth-child(2),
.barber-card:nth-child(2),
.fact:nth-child(2),
.shop-details li:nth-child(2) { transition-delay: 0.08s; }

.service-card:nth-child(3),
.barber-card:nth-child(3),
.fact:nth-child(3),
.shop-details li:nth-child(3) { transition-delay: 0.16s; }

.service-card:nth-child(4),
.fact:nth-child(4) { transition-delay: 0.24s; }

.service-card:nth-child(5) { transition-delay: 0.3s; }
.service-card:nth-child(6) { transition-delay: 0.36s; }

/* Hover lifts on detail cards must win over the reveal transform. */
.js .shop-details li[data-reveal].is-visible:hover {
  transform: translateY(-6px);
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1180px) {
  .header-phone {
    display: none;
  }

  .hero-chip {
    right: -2%;
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 72px;
  }

  .primary-nav,
  .header-actions .button-sm {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    align-items: flex-start;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .hero-main {
    position: relative;
    z-index: 2;
  }

  /* The photo tucks in behind the wordmark at the top right. */
  .hero-visual {
    order: -1;
    width: min(48vw, 360px);
    margin: 0 4vw -10vw 0;
  }

  .hero-chip {
    display: none;
  }

  .hero-badge {
    left: -22%;
    bottom: 18%;
  }

  .wm-name {
    font-size: min(7.4vw, 3.6rem);
  }

  .section h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .menu-layout,
  .faq-layout,
  .contact-layout,
  .visit-layout,
  .shop-intro {
    grid-template-columns: minmax(0, 1fr);
  }

  .menu-intro {
    position: static;
  }

  .section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .crew-grid {
    gap: 16px;
  }

  .barber-card:nth-child(2) {
    margin-top: 0;
  }

  .shop-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .fact:nth-child(n + 3) {
    padding-top: 28px;
    margin-top: 28px;
    border-top: 1px solid var(--line);
  }

  .shop-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .hours-card {
    max-width: 560px;
  }

  .option-grid-barbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .section h2 {
    font-size: clamp(1.45rem, 6.6vw, 1.9rem);
  }

  .hero {
    min-height: calc(100svh - 76px);
    padding-bottom: 28px;
  }

  .hero-ceiling {
    -webkit-mask-image: linear-gradient(#000 12%, transparent 40%);
    mask-image: linear-gradient(#000 12%, transparent 40%);
  }

  .hero-visual {
    width: 46vw;
    margin: 0 2vw 18px 0;
  }

  .hero-badge {
    width: 84px;
    left: -48%;
    bottom: 30%;
  }

  .barber-pole {
    right: -6%;
    transform: scale(0.75);
    transform-origin: top right;
  }

  .hero-kicker {
    gap: 12px;
    font-size: 0.62rem;
    letter-spacing: 0.22em;
  }

  .hero-kicker .rule {
    flex-basis: 28px;
  }

  .wm-name {
    font-size: 10.2vw;
    line-height: 1.05;
    white-space: normal;
  }

  .wm-barbers {
    font-size: 0.66rem;
    letter-spacing: 0.7em;
  }

  .hero-tagline {
    margin-top: 22px;
  }

  .hero-actions,
  .hero-facts li:not(:first-child) {
    display: none;
  }

  .hero-facts {
    margin-top: 20px;
  }

  .marquee-track {
    padding-block: 15px;
  }

  .marquee-track .bi {
    width: 24px;
    height: 24px;
  }

  /* Rows show a photo instead of the icon on phones. */
  .service-card {
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 16px;
    padding: 20px 4px;
  }

  .service-icon {
    display: none;
  }

  .service-thumb {
    display: block;
    width: 76px;
    height: 76px;
    object-fit: cover;
  }

  /* The arrow button becomes an invisible layer over the whole row. */
  .service-card .service-book {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    opacity: 0;
  }

  .service-body h3 {
    font-size: 1.02rem;
  }

  .service-body p {
    font-size: 0.875rem;
  }

  .service-tag {
    display: none;
  }

  .service-price {
    font-size: 1.35rem;
  }

  .service-time {
    max-width: 6.5em;
    margin-left: auto;
    white-space: normal;
    line-height: 1.4;
  }

  .service-card:hover h3 {
    transform: none;
  }

  /* Crew becomes a swipeable row on phones. */
  .crew-grid {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 80%;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .crew-grid::-webkit-scrollbar {
    display: none;
  }

  .barber-card {
    scroll-snap-align: start;
  }

  .mirror img {
    filter: grayscale(0.2) sepia(0.12) contrast(1.04);
  }

  .craft-card {
    width: 62vw;
  }

  .craft-card:nth-child(even) {
    margin-top: 32px;
  }

  .fact dd {
    font-size: 1.5rem;
  }

  .map-link {
    left: 12px;
    right: 12px;
    bottom: 12px;
    justify-content: space-between;
  }

  .faq-list details p {
    padding-right: 0;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .form-footer .button {
    justify-content: space-between;
  }

  .finale-actions .button {
    width: 100%;
  }

  .finale-icons .bi {
    width: 46px;
    height: 46px;
    opacity: 0.16;
  }

  .finale-icons .bi:nth-child(1) { top: 4%; left: 4%; }
  .finale-icons .bi:nth-child(2) { top: 4%; right: 4%; }
  .finale-icons .bi:nth-child(3) { bottom: 4%; left: 6%; }
  .finale-icons .bi:nth-child(4) { bottom: 4%; right: 6%; }

  .footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-open .mobile-bar {
    display: none;
  }

  .mobile-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 45;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(243, 237, 225, 0.12);
    background: rgba(12, 12, 14, 0.9);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  .mobile-bar .button {
    --height: 52px;
  }

  .mobile-bar .button-gold {
    justify-content: space-between;
  }

  /* Booking opens as a full-screen sheet on phones. */
  .booking-dialog,
  .privacy-dialog {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
  }

  .dialog-top {
    padding: 12px 20px;
  }

  .booking-body,
  .privacy-body {
    padding: 26px 20px calc(26px + env(safe-area-inset-bottom));
  }

  .booking-steps {
    margin: 22px 0 26px;
  }

  .booking-steps li {
    font-size: 0.72rem;
  }

  .booking-steps span {
    display: block;
    margin-bottom: 4px;
  }

  /* Keep the step buttons in reach while the options scroll. */
  .booking-controls {
    position: sticky;
    bottom: 0;
    z-index: 2;
    margin-inline: -20px;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
    background: rgba(18, 18, 21, 0.94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .option-grid,
  .option-grid-barbers {
    grid-template-columns: minmax(0, 1fr);
  }

  .option-card {
    padding: 16px;
  }

  .option-barber .option-card {
    grid-template-columns: 60px minmax(0, 1fr) auto;
    align-items: center;
    padding: 10px 16px 10px 10px;
  }

  .option-barber .option-radio {
    position: static;
    background: none;
  }

  .date-strip {
    margin-inline: -20px;
    padding-inline: 20px;
    scroll-padding-inline: 20px;
  }

  .slot-grid,
  .slot-loading {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ticket {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
  }

  .ticket-photo {
    width: 72px;
    height: 90px;
  }

  .ticket-price {
    grid-column: 1 / -1;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px dashed rgba(216, 178, 101, 0.55);
    font-size: 1.8rem;
  }

  .calendar-launch,
  .booking-done-actions .button {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 380px) {
  .brand-name > span {
    font-size: 1rem;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Motion preferences ------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .marquee-track,
  .craft-track,
  .bi * {
    animation: none !important;
  }

  .loader {
    display: none;
  }
}
