:root {
  --ink: #0e0d0b;
  --ink-2: #171512;
  --ink-3: #221f1a;
  --line: #34302a;
  --bone: #f1ead9;
  --bone-dim: #bdb4a2;
  --gold: #d4a94a;
  --gold-deep: #a9832f;
  --pole-red: #c8312f;
  --pole-blue: #2d4fa8;
  --display: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --radius: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .9; letter-spacing: .005em; margin: 0; }
h2 { font-size: clamp(44px, 7vw, 88px); }
.gold { color: var(--gold); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--body); letter-spacing: .02em;
  padding: 16px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .15s ease, background .15s ease, border-color .15s ease;
  min-height: 48px;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #e2b955; }
.btn-ghost { background: transparent; color: var(--bone); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--bone-dim); }
.btn-sm { padding: 11px 18px; min-height: 40px; font-size: 14px; }
.btn-block { width: 100%; }

/* Barber-pole stripe — the signature motif */
.pole, .ticker::before {
  background: repeating-linear-gradient(-45deg, var(--pole-red) 0 14px, var(--bone) 14px 28px, var(--pole-blue) 28px 42px, var(--bone) 42px 56px);
  background-size: 79px 79px;
}
@media (prefers-reduced-motion: no-preference) {
  .pole { animation: pole 2.2s linear infinite; }
}
@keyframes pole { to { background-position: 0 79px; } }

/* Top bar & nav */
.topbar {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px var(--gutter); font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  background: var(--gold); color: var(--ink);
}
.topbar a { text-decoration: none; font-weight: 700; }
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px var(--gutter);
  background: rgba(14, 13, 11, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 900 26px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.brand-logo { height: 50px; width: auto; }
.hero-logo { width: clamp(180px, 22vw, 300px); height: auto; margin: 0 0 28px -6px; }
.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--bone-dim); }
.nav-links a:hover { color: var(--bone); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(48px, 7vw, 96px);
  max-width: 1320px; margin: 0 auto;
}
.hero h1 { font-size: clamp(64px, 10.5vw, 156px); }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--bone-dim); max-width: 34em; margin: 28px 0 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; gap: clamp(20px, 4vw, 44px); list-style: none; padding: 28px 0 0; margin: 36px 0 0; border-top: 1px solid var(--line); }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font: 900 30px/1 var(--display); text-transform: uppercase; }
.hero-facts span { font-size: 13px; color: var(--bone-dim); margin-top: 4px; }

.hero-reel { position: relative; justify-self: end; width: min(100%, 400px); }
.hero-reel .pole { position: absolute; inset: -12px auto -12px -12px; width: 12px; border-radius: 12px 0 0 12px; }
.hero-video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 0 var(--radius) var(--radius) 0; background: var(--ink-2); }
.reel-tag {
  position: absolute; left: 16px; bottom: 16px; margin: 0;
  font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  background: rgba(14,13,11,.75); padding: 8px 10px 8px 22px; border-radius: 6px;
}
.reel-tag::before { content: ""; position: absolute; left: 9px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--pole-red); }
@media (prefers-reduced-motion: no-preference) { .reel-tag::before { animation: blink 1.4s ease-in-out infinite; } }
@keyframes blink { 50% { opacity: .25; } }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-reel { justify-self: stretch; width: auto; margin-left: 12px; max-width: 420px; }
  .hero-video { aspect-ratio: 4 / 5; }
}

/* Ticker */
.ticker { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--ink-2); padding: 18px 0; }
.ticker::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; }
.ticker-track { display: flex; width: max-content; }
.ticker-track span { font: 900 clamp(26px, 3.4vw, 40px)/1 var(--display); text-transform: uppercase; padding: 0 28px; white-space: nowrap; color: var(--bone); }
.ticker-track span::after { content: "✦"; color: var(--gold); margin-left: 56px; font-size: .6em; vertical-align: middle; }
@media (prefers-reduced-motion: no-preference) { .ticker-track { animation: tick 38s linear infinite; } }
@keyframes tick { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(72px, 10vw, 136px) var(--gutter); max-width: 1320px; margin: 0 auto; }
.section-alt { max-width: none; background: var(--ink-2); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-sub { color: var(--bone-dim); margin: 22px 0 0; font-size: 18px; }

/* Barbers */
.barber-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.barber {
  position: relative; display: flex; flex-direction: column;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; min-height: 340px; overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.barber:hover { border-color: var(--gold-deep); }
.barber-mono {
  font: 900 150px/.8 var(--display); color: var(--ink-3); text-transform: uppercase;
  position: absolute; right: 14px; top: 18px; pointer-events: none; user-select: none;
}
.barber h3 { font-size: 52px; position: relative; margin-top: auto; }
.barber-spec { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin: 12px 0 10px; }
.barber-note { color: var(--bone-dim); font-size: 15px; margin: 0 0 22px; }
.barber .btn { align-self: flex-start; }
.barber-any { background: linear-gradient(160deg, #2a2113, var(--ink-2) 60%); border-color: var(--gold-deep); }
.barber-any .barber-mono { color: rgba(212,169,74,.12); }

/* Services */
.services-wrap { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
@media (max-width: 860px) { .services-wrap { grid-template-columns: 1fr; } }
.menus { display: grid; gap: 56px; }
.menu-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.menu-head h3 { font-size: clamp(36px, 4vw, 48px); color: var(--gold); }
.service-list { list-style: none; margin: 0; padding: 0; counter-reset: svc; }
.service {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 4px 16px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--line); counter-increment: svc;
}
.service:first-child { border-top: 1px solid var(--line); }
.service::before { content: counter(svc, decimal-leading-zero); font: 500 12px/1 var(--mono); color: var(--gold); grid-row: span 2; padding-top: 8px; }
.service-name { font: 700 clamp(26px, 3vw, 34px)/1 var(--display); text-transform: uppercase; }
.service-price { font: 700 26px/1 var(--display); color: var(--gold); text-align: right; }
.service-price.ask { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bone-dim); }
.service-detail { grid-column: 2 / 4; color: var(--bone-dim); font-size: 15px; margin: 0; }

/* Reels */
.reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.reel { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); cursor: pointer; }
.reel video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.reel figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
  font: 700 20px/1 var(--display); text-transform: uppercase;
}
.reel::after {
  content: "▶"; position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; background: rgba(14,13,11,.7); color: var(--bone);
}
.reel.playing-sound::after { content: "♪"; background: var(--gold); color: var(--ink); }
.kids-media { position: relative; cursor: pointer; }
.kids-media::after {
  content: "▶"; position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px; background: rgba(14,13,11,.7); color: var(--bone);
}
.kids-media.playing-sound::after { content: "♪"; background: var(--gold); color: var(--ink); }
@media (max-width: 960px) {
  .reels { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .reels::-webkit-scrollbar { display: none; }
  .reel { flex: 0 0 min(64vw, 260px); scroll-snap-align: start; }
}

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); filter: saturate(.92); transition: filter .2s ease; }
.gallery img:hover { filter: saturate(1.1); }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* Kids */
.kids { display: grid; grid-template-columns: .9fr 1.1fr; background: var(--bone); color: var(--ink); }
.kids-media video { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.kids-copy { padding: clamp(48px, 8vw, 120px) var(--gutter); align-self: center; max-width: 640px; }
.kids-copy .eyebrow { color: #a3221f; }
.kids-copy h2 { font-size: clamp(56px, 9vw, 120px); }
.kids-copy p { font-size: 18px; margin: 24px 0 32px; color: #3b362d; }
.kids .btn-gold { background: var(--ink); color: var(--bone); }
.kids .btn-gold:hover { background: #2a2620; }
@media (max-width: 860px) {
  .kids { grid-template-columns: 1fr; }
  .kids-media video { min-height: 0; aspect-ratio: 4 / 5; }
}

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: stretch; }
address { font-style: normal; font-size: 22px; line-height: 1.35; margin: 28px 0 10px; }
address a { text-decoration: none; border-bottom: 1px solid var(--line); }
.visit-phone { display: inline-block; font: 900 clamp(36px, 4.5vw, 52px)/1 var(--display); color: var(--gold); text-decoration: none; margin: 10px 0 28px; }
.hours { border-collapse: collapse; width: 100%; max-width: 380px; margin-bottom: 32px; }
.hours caption { text-align: left; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-dim); padding-bottom: 12px; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; font-size: 15px; }
.hours td { text-align: right; color: var(--bone-dim); }
.hours tr.today th, .hours tr.today td { color: var(--gold); font-weight: 600; }
.visit-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.visit-map { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: var(--ink-2); }
.visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.6) invert(.9) hue-rotate(180deg) contrast(.9); }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* Footer */
.footer { text-align: center; padding: 72px var(--gutter) 120px; border-top: 1px solid var(--line); background: var(--ink-2); }
.footer-logo { width: min(260px, 70vw); height: auto; margin: 0 auto; }
.footer-tag { font: 900 30px/1 var(--display); text-transform: uppercase; margin: 32px 0 20px; }
.footer-social { display: flex; justify-content: center; gap: 28px; list-style: none; padding: 0; margin: 0 0 28px; }
.footer-social a { color: var(--bone-dim); text-decoration: none; }
.footer-social a:hover { color: var(--gold); }
.footer-fine { font: 500 12px/1.5 var(--mono); color: #a39a88; letter-spacing: .06em; }

/* Mobile sticky bar */
.mobile-bar { display: none; }
@media (max-width: 700px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 2fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(14,13,11,.94); border-top: 1px solid var(--line);
  }
  .nav .btn { display: none; }
  .topbar span { display: none; }
  .topbar { justify-content: center; }
  /* keep the MyTradeline chat bubble clear of the sticky bar */
  #leadlock-bubble, #leadlock-pulse { bottom: 88px !important; }
  #leadlock-badge { bottom: 128px !important; }
  #leadlock-nudge { bottom: 92px !important; }
  #leadlock-panel { bottom: 156px !important; max-height: calc(100vh - 220px) !important; }
}

/* Booking dialog */
.booker {
  width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  padding: 0; border: 1px solid var(--line); border-radius: 18px;
  background: var(--ink-2); color: var(--bone);
}
.booker::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(4px); }
.booker-form { padding: 32px; position: relative; }
.booker h3 { font-size: 44px; margin-bottom: 24px; }
.booker-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--bone); font-size: 22px; cursor: pointer; }
.booker fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.booker legend, .field span { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bone-dim); margin-bottom: 10px; display: block; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line); cursor: pointer; font-weight: 600; font-size: 15px; }
.chip input:checked + span { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.field { display: block; margin-bottom: 18px; }
.field select {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px;
  background: var(--ink); color: var(--bone); border: 1.5px solid var(--line); font: 500 16px var(--body);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.booker-note { font-size: 14px; color: var(--bone-dim); margin: 4px 0 18px; }
.booker-note:empty { display: none; }
.booker-note[role="alert"]:not(:empty) { color: var(--pole-red); }
.booker-alt { display: block; text-align: center; margin-top: 16px; font-size: 14px; color: var(--bone-dim); }

/* Multi-step API booking dialog */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.bk-step h3 { font-size: 36px; margin-bottom: 18px; }
.bk-step h3:focus-visible { outline: none; }
.bk-summary { font-size: 15px; color: var(--bone-dim); margin: 0 0 20px; }
.btn-back {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--bone-dim);
  font: 500 13px/1 var(--body); letter-spacing: .02em; cursor: pointer; padding: 0 0 18px; margin: 0;
}
.btn-back:hover { color: var(--bone); }

/* Date strip */
.date-strip {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin-bottom: 6px;
  scrollbar-width: none;
}
.date-strip::-webkit-scrollbar { display: none; }
.date-pill {
  flex: 0 0 auto; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--ink); color: var(--bone); font: 600 13px/1.3 var(--body); cursor: pointer;
  white-space: nowrap; text-align: center;
}
.date-pill[aria-pressed="true"] { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.date-pill:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Slot grid */
#bk-slots-status { font-size: 14px; color: var(--bone-dim); margin: 0 0 12px; }
#bk-slots-status:empty { display: none; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; max-height: 260px; overflow-y: auto; padding-right: 2px; }
.slot-btn {
  padding: 12px 10px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--ink);
  color: var(--bone); font: 600 14px/1.2 var(--body); cursor: pointer; text-align: center;
}
.slot-btn:hover { border-color: var(--gold-deep); }
.slot-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.slot-btn-provider { display: block; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--gold); margin-top: 4px; }

/* Contact form extras */
.field input[type="text"], .field input[type="tel"] {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px;
  background: var(--ink); color: var(--bone); border: 1.5px solid var(--line); font: 500 16px var(--body);
}
.field-check { display: flex; align-items: flex-start; gap: 10px; }
.field-check input { margin-top: 4px; flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--gold); }
.field-check span { font: 400 13px/1.5 var(--body); color: var(--bone-dim); text-transform: none; letter-spacing: normal; }
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Confirmation */
.bk-check {
  width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--ink);
  display: grid; place-items: center; font-size: 26px; margin: 0 0 18px;
}
#bk-code-resend { margin-top: 10px; }
#bk-code-resend[disabled] { opacity: .5; cursor: not-allowed; }

/* ---- Pause motion (WCAG 2.2.2) --------------------------------------- */
.motion-toggle {
  position: absolute; right: 12px; top: 12px; z-index: 2;
  min-height: 36px; padding: 8px 12px; border-radius: 999px;
  border: 1px solid rgba(241,234,217,.35); background: rgba(14,13,11,.8); color: var(--bone);
  font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
}
.motion-toggle:hover { border-color: var(--bone); }
body.motion-paused .ticker-track,
body.motion-paused .pole,
body.motion-paused .reel-tag::before { animation-play-state: paused !important; }
/* The MyTradeline chat widget lives in this same page, so its pulsing
   ring (an infinite animation) can be covered by the same control. */
body.motion-paused #leadlock-pulse { display: none !important; }

/* ---- Consent links, footer legal links, video descriptions ----------- */
.consent-links { font-size: 13px; color: var(--bone-dim); margin: -6px 0 16px; }
.consent-links a, .footer-legal a, .video-desc a { color: var(--bone); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; list-style: none; padding: 0; margin: 0 0 18px; font-size: 14px; }
.footer-legal a { color: var(--bone-dim); }
.footer-legal a:hover { color: var(--gold); }
.video-desc { margin: 18px 0 4px; color: var(--bone-dim); font-size: 15px; }
.video-desc summary { cursor: pointer; color: var(--bone); font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.video-desc ul { padding-left: 20px; margin: 8px 0; }
.video-desc li { margin: 6px 0; }

/* ---- Legal pages ------------------------------------------------------ */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--gutter) 80px; }
.legal h1 { font-size: clamp(48px, 8vw, 84px); margin-bottom: 8px; }
.legal h2 { font-size: clamp(28px, 4vw, 36px); margin: 40px 0 12px; }
.legal p, .legal li { color: var(--bone-dim); font-size: 17px; }
.legal strong { color: var(--bone); }
.legal a { color: var(--gold); }
.legal ul { padding-left: 20px; }
.legal li { margin: 8px 0; }
.legal-date { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
