/* Uncle B — strictly black on cream, straight from the logo. */
:root {
  --ink: #15130F;
  --cream: #F2ECE0;
  --cream-2: #E6DECF;
  --field: #FBF8F2;
  --rule: 3px solid var(--ink);
  --display: 'Alfa Slab One', Georgia, serif;
  --sans: 'Archivo', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --wrap: 1280px;
  --section-pad: clamp(48px, 8vw, 104px) 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
input, select, textarea, button { font: inherit; color: inherit; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--cream); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 12px 18px; background: var(--ink); color: var(--cream);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.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;
}

.wrap { max-width: var(--wrap); margin: 0 auto; }

/* ---------- Type ---------- */
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; }
.mono { font-family: var(--mono); }
.eyebrow {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
}
.h2 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(40px, 6vw, 76px); line-height: 0.95; text-wrap: balance;
}
.link-caps {
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 15px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink); color: var(--cream);
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em;
}
.topbar .wrap {
  padding: 9px 20px; display: flex; flex-wrap: wrap; gap: 6px 22px;
  align-items: center; justify-content: space-between;
}
.topbar__info { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.topbar__status { display: flex; align-items: center; gap: 8px; }
.topbar__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cream); display: inline-block; }
.topbar a { color: var(--cream); text-decoration: none; font-weight: 500; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--cream); border-bottom: var(--rule);
}
.site-header .wrap {
  position: relative; padding: 10px 20px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 64px; height: 64px; object-fit: cover; mix-blend-mode: multiply; }
.header-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }

/* Laptop / desktop: logo | links | actions on one row */
.site-nav {
  display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); margin: 0 auto;
  white-space: nowrap; font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em;
}
.site-nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="true"] { border-bottom-color: var(--ink); text-decoration: none; }
.site-nav__call { display: none; }
.nav-toggle { display: none; }

/* Mobile / tablet: hamburger + dropdown panel */
@media (max-width: 899px) {
  .brand img { width: 56px; height: 56px; }
  .header-actions .header-call { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; padding: 0; background: var(--cream);
    border: 2px solid var(--ink); cursor: pointer;
  }
  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    display: block; width: 20px; height: 2px; background: var(--ink); position: relative;
    transition: transform .2s, background-color .2s;
  }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ''; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; }
  .nav-toggle__bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-top: var(--rule); border-bottom: var(--rule);
    padding: 8px 20px 20px; max-height: calc(100vh - 120px); overflow-y: auto;
    box-shadow: 0 12px 0 rgba(21, 19, 15, .08);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 14px 0; border-bottom: 1px solid var(--ink);
    font-family: var(--display); font-weight: 400; font-size: 28px; letter-spacing: 0.01em;
  }
  .site-nav a:hover { border-bottom-color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; }
  .site-nav .site-nav__call {
    display: flex; justify-content: center; margin-top: 18px; padding: 14px 16px;
    border: 2px solid var(--ink); font-family: var(--sans); font-weight: 700; font-size: 15px;
    letter-spacing: 0.06em;
  }
}
@media (max-width: 419px) {
  .site-header .wrap { gap: 12px; padding: 10px 16px; }
  .brand img { width: 48px; height: 48px; }
  .header-actions .btn--solid { padding: 0 12px; font-size: 13px; letter-spacing: 0.04em; }
  .site-nav { padding: 8px 16px 20px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  cursor: pointer; transition: background-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn--sm { height: 46px; padding: 0 16px; font-size: 14px; border: 2px solid var(--ink); }
.btn--sm.btn--solid { padding: 0 20px; }
.btn--outline:hover { background: var(--cream-2); text-decoration: none; }
.btn--solid { background: var(--ink); color: var(--cream); border: 2px solid var(--ink); }
.btn--solid:hover { background: var(--cream); color: var(--ink); text-decoration: none; }

.btn--hero {
  gap: 12px; height: 62px; padding: 0 30px;
  background: var(--ink); color: var(--cream); border: 3px solid var(--ink);
  font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: 0.02em;
  box-shadow: 6px 6px 0 var(--ink); transform: translate(-3px, -3px);
}
.btn--hero:hover { transform: translate(0, 0); box-shadow: 0 0 0 var(--ink); color: var(--cream); text-decoration: none; }
.btn--hero-alt {
  height: 62px; padding: 0 26px; border: 3px solid var(--ink);
  font-size: 16px; letter-spacing: 0.08em;
}
.btn--hero-alt:hover { background: var(--cream-2); text-decoration: none; }

/* ---------- Hero ---------- */
.section { border-bottom: var(--rule); }
.hero .wrap {
  padding: clamp(32px, 6vw, 72px) 20px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: clamp(28px, 5vw, 56px); align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 24px; }
.hero__tags {
  display: flex; flex-wrap: wrap; gap: 10px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
}
.hero__tags span { border: 2px solid var(--ink); padding: 6px 10px; }
.hero h1 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(52px, 9vw, 124px); line-height: 0.9; letter-spacing: -0.01em; text-wrap: balance;
}
.hero__lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; max-width: 34em; text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--mono); font-size: 14px; }
.hero__media { position: relative; aspect-ratio: 4 / 5; border: var(--rule); background: var(--ink); }
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: -22px; right: -10px; width: 120px; height: 120px; border-radius: 50%;
  background: var(--ink); color: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  transform: rotate(8deg); border: 3px solid var(--cream); box-shadow: 0 0 0 3px var(--ink);
}
.badge__num { font-family: var(--display); font-size: 30px; line-height: 1; }
.badge__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; margin-top: 4px; }
.video-toggle {
  position: absolute; left: 12px; bottom: 12px; height: 36px; padding: 0 12px;
  background: var(--ink); color: var(--cream); border: 2px solid var(--cream);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
}

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--cream); overflow: hidden; border-bottom: var(--rule); }
.marquee__track {
  display: flex; width: max-content; white-space: nowrap; padding: 14px 0;
  font-family: var(--display); font-size: 26px; animation: ub-marquee 30s linear infinite;
}
.marquee__track span { padding: 0 18px; }
@keyframes ub-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about .wrap {
  padding: var(--section-pad); display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 5vw, 64px);
}
.stack { display: flex; flex-direction: column; }
.stack--14 { gap: 14px; } .stack--16 { gap: 16px; } .stack--20 { gap: 20px; } .stack--28 { gap: 28px; } .stack--40 { gap: 40px; } .stack--48 { gap: 48px; }
.photo { width: 100%; object-fit: cover; border: var(--rule); height: auto; }
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--landscape { aspect-ratio: 5 / 4; margin-top: 8px; }
.about__body { justify-content: flex-end; }
.about__lede { font-size: clamp(19px, 2vw, 23px); line-height: 1.5; text-wrap: pretty; }
.about__p { font-size: 18px; line-height: 1.6; text-wrap: pretty; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); border-top: var(--rule); }
.stats div { padding: 18px 16px 0 0; display: flex; flex-direction: column; gap: 4px; }
.stats strong { font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 1; }
.stats span { font-family: var(--mono); font-size: 13px; }

/* ---------- Dark sections ---------- */
.dark { background: var(--ink); color: var(--cream); }
.dark a { color: var(--cream); }

/* ---------- Services ---------- */
.section-inner { padding: var(--section-pad); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.services__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 3px; background: var(--cream); border: 3px solid var(--cream);
}
.service { background: var(--ink); padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; min-height: 280px; }
.service__no { font-family: var(--mono); font-size: 13px; }
.service h3 { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; text-transform: uppercase; }
.service p { font-size: 17px; line-height: 1.55; text-wrap: pretty; }
.service--cream { background: var(--cream); color: var(--ink); justify-content: space-between; }
.service--cream h3 { font-size: 40px; line-height: 0.95; }
.services__photo { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }

/* ---------- Barbers ---------- */
.barbers__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(24px, 4vw, 48px); align-items: end;
}
.barbers__list { list-style: none; margin: 0; padding: 0; border-top: var(--rule); }
.barbers__list li {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 12px; padding: 20px 0; border-bottom: var(--rule);
}
.barbers__list h3 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5vw, 56px); line-height: 1; text-transform: uppercase; }
.barbers__list a { font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }

/* ---------- Reviews ---------- */
.reviews { background: var(--cream-2); }
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.review {
  background: var(--cream); border: var(--rule); padding: 28px;
  display: flex; flex-direction: column; gap: 20px; justify-content: space-between;
}
.review__stars { font-size: 20px; letter-spacing: 0.15em; }
.review blockquote { font-size: 19px; line-height: 1.5; text-wrap: pretty; }
.review figcaption { font-family: var(--mono); font-size: 13px; }

/* ---------- Forms ---------- */
.book .wrap, .contact__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}
.book .wrap { padding: var(--section-pad); gap: clamp(32px, 5vw, 64px); }
.book__intro p { font-size: 18px; line-height: 1.6; max-width: 28em; text-wrap: pretty; }
.book__phone { font-family: var(--display); font-size: clamp(24px, 3vw, 32px); text-decoration: none; }

.form-book {
  border: var(--rule); padding: clamp(20px, 4vw, 32px); align-self: start;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px;
}
.field {
  display: flex; flex-direction: column; gap: 6px;
  font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em;
}
.field input, .field select, .field textarea {
  width: 100%; border: 2px solid var(--ink); background: var(--field); border-radius: 0;
  padding: 0 14px; font-size: 17px; text-transform: none; letter-spacing: 0;
}
.field input, .field select { height: 50px; }
.field select { padding: 0 12px; }
.field textarea { padding: 12px 14px; resize: vertical; }
.field--full { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn--submit {
  height: 58px; border: 3px solid var(--ink); background: var(--ink); color: var(--cream);
  font-family: var(--display); font-weight: 400; font-size: 21px; letter-spacing: 0; grid-column: 1 / -1;
}
.btn--submit:hover { background: var(--cream); color: var(--ink); }
.btn--submit[disabled] { opacity: .6; cursor: progress; }
.form-error { grid-column: 1 / -1; font-weight: 600; }

.confirm {
  border: var(--rule); background: var(--ink); color: var(--cream); padding: 36px;
  display: flex; flex-direction: column; gap: 16px; justify-content: center; align-self: start;
}
.confirm h3 { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; text-transform: uppercase; }
.confirm p { font-size: 18px; line-height: 1.5; }
.confirm a { color: var(--cream); }
.btn--reset {
  align-self: flex-start; height: 48px; padding: 0 20px; border: 0;
  background: var(--cream); color: var(--ink);
}
.btn--reset:hover { background: var(--cream-2); }

/* ---------- Contact ---------- */
.contact h2 { font-size: clamp(48px, 8vw, 108px); line-height: 0.9; }
.contact__grid { gap: clamp(32px, 5vw, 56px); }
.call-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  min-height: 76px; padding: 12px 24px; background: var(--cream); text-decoration: none;
  font-family: var(--display); font-size: clamp(22px, 3vw, 30px);
}
.dark .call-bar { color: var(--ink); }
.call-bar:hover { background: var(--cream-2); text-decoration: none; }
.call-bar small { font-family: var(--sans); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; }
.details { display: grid; grid-template-columns: auto 1fr; gap: 14px 24px; font-size: 18px; line-height: 1.45; }
.details dt { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; padding-top: 4px; }
.map { border: 3px solid var(--cream); aspect-ratio: 16 / 10; min-height: 260px; background: var(--cream-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.1); }

.form-contact { display: flex; flex-direction: column; gap: 18px; align-self: start; }
.form-contact h3 { font-family: var(--display); font-weight: 400; font-size: 30px; text-transform: uppercase; }
.form-contact .field input, .form-contact .field textarea {
  border-color: var(--cream); background: var(--ink); color: var(--cream);
}
.form-contact .btn--submit { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.form-contact .btn--submit:hover { background: var(--ink); color: var(--cream); }
.confirm--outline { background: transparent; border-color: var(--cream); }
.confirm--outline h3 { font-size: 36px; }

/* ---------- Footer ---------- */
.site-footer { border-top: var(--rule); }
.site-footer .wrap {
  padding: 40px 20px; display: flex; flex-wrap: wrap; gap: 28px;
  justify-content: space-between; align-items: center;
}
.site-footer__brand { display: flex; align-items: center; gap: 16px; }
.site-footer__brand img { width: 120px; height: 120px; object-fit: cover; mix-blend-mode: multiply; }
.site-footer__brand span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.site-footer__links > a:not(.btn) { font-weight: 600; }
.btn--footer { height: 48px; padding: 0 20px; font-size: 14px; }

[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .btn, .btn--hero { transition: none; }
}
