/* barber.css · "Main Street Barber Co." concept
   Visual world: vintage shop, deep warm dark, gold/cream accents, condensed
   sans for nav, big serif italic for editorial moments.
*/

.bb {
  --ink: #F1E6CD;          /* warm cream text */
  --ink-mute: #B6A485;
  --ink-dim: #7C6E54;
  --bg: #15171C;            /* deep near-black */
  --bg-2: #1B1E25;
  --bg-3: #232730;
  --gold: #C9A15A;
  --gold-bright: #E0BC74;
  --rust: #A24B36;
  --rule: rgba(201,161,90,0.22);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}
.bb * { box-sizing: border-box; }
.bb img { display: block; max-width: 100%; }
.bb a { color: var(--gold); text-decoration: none; }
.bb a:hover { color: var(--gold-bright); }

.bb-container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 600px) { .bb-container { padding: 0 22px; } }

/* ---------- Nav ---------- */
.bb-nav {
  position: sticky;
  top: 38px; /* sits below the PWS frame */
  background: rgba(21, 23, 28, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  z-index: 50;
  border-bottom: 1px solid var(--rule);
}
.bb-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  max-width: 1180px;
  margin: 0 auto;
}
.bb-nav__logo {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: 0.005em;
}
.bb-nav__logo span { color: var(--gold); font-style: normal; font-weight: 400; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; margin-left: 12px; }
.bb-nav__links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.bb-nav__links a { color: var(--ink-mute); }
.bb-nav__links a:hover { color: var(--ink); }
.bb-nav__cta {
  background: var(--gold);
  color: var(--bg) !important;
  padding: 9px 18px;
  border-radius: 2px;
  letter-spacing: 0.16em;
  font-weight: 600;
  font-size: 0.72rem;
}
.bb-nav__cta:hover { background: var(--gold-bright); }
@media (max-width: 760px) {
  .bb-nav__links a:not(.bb-nav__cta) { display: none; }
  .bb-nav__logo span { display: none; }
}

/* ---------- Hero ---------- */
.bb-hero {
  position: relative;
  padding: 96px 0 80px;
  background:
    radial-gradient(800px 400px at 20% 10%, rgba(201,161,90,0.12), transparent 60%),
    radial-gradient(700px 360px at 90% 90%, rgba(162, 75, 54, 0.10), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.bb-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(201,161,90,0.05) 12px 13px);
  pointer-events: none;
}
.bb-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.bb-hero__kicker {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.bb-hero__kicker::before, .bb-hero__kicker::after {
  content: ""; height: 1px; flex: 1; background: rgba(201,161,90,0.4);
}
.bb-hero__kicker::after { max-width: 60px; }
.bb-hero__kicker::before { max-width: 60px; }
.bb-hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 26px;
}
.bb-hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.bb-hero__desc {
  color: var(--ink-mute);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.55;
}
.bb-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.bb-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.bb-btn--primary { background: var(--gold); color: var(--bg) !important; }
.bb-btn--primary:hover { background: var(--gold-bright); color: var(--bg) !important; }
.bb-btn--ghost { color: var(--ink) !important; border: 1px solid rgba(241,230,205,0.35); }
.bb-btn--ghost:hover { border-color: var(--gold); color: var(--gold) !important; }

/* Hero "shop card" art */
.bb-hero__art {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.5), rgba(0,0,0,0.05) 60%, rgba(0,0,0,0.7)),
    radial-gradient(closest-side at 50% 38%, #3A3027, #1B1A1A 70%);
  border: 1px solid var(--rule);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bb-hero__art::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 6px, rgba(0,0,0,0.18) 6px 7px);
  mix-blend-mode: multiply;
  pointer-events: none;
}
/* Hero photo overlay. When img/barber/hero-shop-interior.jpg exists, it
   covers the pole+seal art. When missing (onerror removes the <img>), the
   pole+seal stays visible as a brand fallback. */
.bb-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.bb-hero__art-inner {
  position: relative;
  text-align: center;
  padding: 24px;
  z-index: 1;
}
.bb-hero__art .pole {
  width: 36px; height: 220px;
  border-radius: 18px;
  background: repeating-linear-gradient(
    -45deg,
    #C8302E 0 18px,
    #f0e6d0 18px 36px,
    #2A4F8F 36px 54px,
    #f0e6d0 54px 72px
  );
  border: 2px solid #2a2a2a;
  margin: 0 auto 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
.bb-hero__art .seal {
  margin: 18px auto 0;
  width: 130px; height: 130px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  position: relative;
}
.bb-hero__art .seal::before, .bb-hero__art .seal::after {
  content: ""; position: absolute;
  width: 80%; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.bb-hero__art .seal::before { top: 26px; }
.bb-hero__art .seal::after { bottom: 26px; }
.bb-hero__art .seal strong {
  font-style: italic;
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--gold-bright);
  letter-spacing: 0;
  text-transform: none;
  margin: 6px 0;
}
@media (max-width: 880px) {
  .bb-hero { padding: 64px 0 48px; }
  .bb-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .bb-hero__art { max-width: 320px; margin: 0 auto; aspect-ratio: 1/1; }
  .bb-hero__art .pole { height: 140px; }
}

/* ---------- Craft intro ---------- */
.bb-craft {
  background: #11131A;
  padding: 96px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.bb-craft__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  align-items: start;
}
.bb-craft__label {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.bb-craft__label::before {
  content: ""; display: inline-block; width: 28px; height: 1px;
  background: var(--gold); vertical-align: middle; margin-right: 14px;
}
.bb-craft__copy p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 22px;
  letter-spacing: -0.005em;
}
.bb-craft__copy p:first-child {
  font-style: italic;
  color: var(--gold);
  font-size: clamp(1.4rem, 2.1vw, 1.7rem);
}
.bb-craft__copy p:last-child { margin-bottom: 0; }
@media (max-width: 800px) { .bb-craft__grid { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- Services menu (chalkboard style) ---------- */
.bb-menu {
  padding: 96px 0;
  background:
    radial-gradient(800px 320px at 80% 20%, rgba(201,161,90,0.06), transparent 70%),
    var(--bg);
}
.bb-menu__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.bb-menu__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.bb-menu__title em { color: var(--gold); font-style: italic; font-weight: 400; }
.bb-menu__sub {
  font-family: var(--serif); font-style: italic; color: var(--ink-mute);
  font-size: 1rem; max-width: 320px; text-align: right;
}
.bb-menu__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px 64px;
}
@media (max-width: 760px) { .bb-menu__grid { grid-template-columns: 1fr; gap: 36px; } }
.bb-menu__group h4 {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
}
.bb-menu__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(201,161,90,0.18);
}
.bb-menu__item:last-child { border-bottom: none; }
.bb-menu__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.18rem;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.bb-menu__desc {
  font-size: 0.88rem;
  color: var(--ink-mute);
  margin-top: 4px;
  line-height: 1.5;
}
.bb-menu__price {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gold);
  white-space: nowrap;
}

/* ---------- The shop (photo grid) ---------- */
.bb-shop {
  padding: 96px 0;
  background: #10131A;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.bb-shop__head { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.bb-shop__head .label {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: inline-block;
}
.bb-shop__head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.bb-shop__head h2 em { font-style: italic; color: var(--gold); font-weight: 400; }
.bb-shop__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}
.bb-photo {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(201,161,90,0.2);
}
/* Real photo (img tag) overlays the gradient fallback when present.
   z-index 1 puts it above the gradient but below the caption span. */
.bb-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.bb-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(at top right, rgba(255,255,255,0.05), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 4px, rgba(0,0,0,0.18) 4px 5px);
  mix-blend-mode: multiply;
  z-index: 2;
  pointer-events: none;
}
.bb-photo span {
  position: absolute;
  bottom: 12px; left: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.85rem;
  color: rgba(241,230,205,0.85);
  z-index: 3;
  /* readable backdrop so caption stays legible over real photos */
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.4));
  padding: 4px 10px;
  border-radius: 2px;
}
/* Various atmospheric "photos" using CSS only */
.bb-photo--01 { grid-column: span 2; grid-row: span 2;
  background:
    radial-gradient(circle at 30% 30%, #4a3b27 0%, #1f1812 50%, #0c0a08 100%);
}
.bb-photo--02 { background: radial-gradient(circle at 70% 30%, #6c5132 0%, #2b1e14 70%); }
.bb-photo--03 { background: radial-gradient(circle at 50% 70%, #3e2a18 0%, #14100c 70%); }
.bb-photo--04 { background: linear-gradient(135deg, #2c2418 0%, #1d1610 100%); }
.bb-photo--04::before {
  content: ""; position: absolute; inset: 30% 38%;
  border: 2px solid var(--gold); opacity: 0.7;
  background: repeating-linear-gradient(-30deg, transparent 0 4px, var(--gold) 4px 5px);
  transform: rotate(35deg);
}
.bb-photo--05 { grid-column: span 2;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.6)),
    radial-gradient(800px 200px at 50% 60%, #5a3e25 0%, #1b1108 80%);
}
.bb-photo--05::before {
  content: ""; position: absolute;
  bottom: 30%; left: 50%; transform: translateX(-50%);
  width: 16px; height: 100px;
  background: repeating-linear-gradient(
    -45deg, #C8302E 0 10px, #f0e6d0 10px 20px, #2A4F8F 20px 30px, #f0e6d0 30px 40px
  );
  border-radius: 8px;
}
.bb-photo--06 { background: linear-gradient(135deg, #1f1812 0%, #3a2c1c 50%, #1f1812 100%); }
.bb-photo--06::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 25% 50%, var(--gold) 0 5px, transparent 5px),
    radial-gradient(circle at 50% 50%, var(--gold) 0 5px, transparent 5px),
    radial-gradient(circle at 75% 50%, var(--gold) 0 5px, transparent 5px);
  opacity: 0.4;
}
@media (max-width: 880px) {
  .bb-shop__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .bb-photo--01 { grid-column: span 2; grid-row: span 1; }
  .bb-photo--05 { grid-column: span 2; }
}

/* ---------- Voices (testimonials) ---------- */
.bb-voices {
  padding: 96px 0;
  background: var(--bg);
}
.bb-voices__head { text-align: center; margin-bottom: 56px; }
.bb-voices__head .label {
  font-family: var(--sans);
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.bb-voices__head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  margin: 12px 0 0;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.bb-voices__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 800px) { .bb-voices__grid { grid-template-columns: 1fr; } }
.bb-voice {
  border: 1px solid var(--rule);
  background: rgba(201,161,90,0.04);
  padding: 32px 28px;
  position: relative;
}
.bb-voice::before {
  content: "“";
  position: absolute;
  top: 6px; left: 16px;
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.35;
  line-height: 1;
}
.bb-voice p {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 22px;
  position: relative;
}
.bb-voice cite {
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}
.bb-voice .stars { color: var(--gold-bright); letter-spacing: 3px; margin-bottom: 14px; display: block; font-size: 0.85rem; }

/* ---------- Visit ---------- */
.bb-visit {
  padding: 96px 0;
  background: #10131A;
  border-top: 1px solid var(--rule);
}
.bb-visit__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}
@media (max-width: 880px) { .bb-visit__grid { grid-template-columns: 1fr; gap: 28px; } }
.bb-visit__copy .label {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: inline-block;
}
.bb-visit__copy h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 28px;
}
.bb-visit__copy h2 em { font-style: italic; color: var(--gold); font-weight: 400; }
.bb-visit__hours {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 28px;
  font-family: var(--sans);
  font-size: 0.95rem;
  margin: 0 0 32px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.bb-visit__hours dt {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.bb-visit__hours dd { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 1.05rem; }
.bb-visit__address p { color: var(--ink-mute); margin: 0 0 14px; line-height: 1.6; }
.bb-visit__address strong { color: var(--ink); font-family: var(--serif); font-weight: 500; font-size: 1.1rem; display: block; margin-bottom: 6px; }
.bb-visit__address .row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; }

/* Map placeholder */
.bb-map {
  position: relative;
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
  min-height: 380px;
  background:
    linear-gradient(135deg, #232730, #15171C);
}
.bb-map::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(0deg, rgba(201,161,90,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,161,90,0.15) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.7;
}
.bb-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bb-map__pin {
  position: absolute;
  top: 48%; left: 56%;
  transform: translate(-50%, -100%);
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--gold);
  padding: 8px 14px;
  border-radius: 2px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 0.9rem;
  z-index: 2;
}
.bb-map__pin::after {
  content: ""; position: absolute;
  top: 100%; left: 24px;
  width: 12px; height: 12px;
  background: var(--gold);
  transform: translateY(-6px) rotate(45deg);
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  z-index: -1;
}
.bb-map__compass {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--serif); font-style: italic;
  color: var(--gold); opacity: 0.7;
  font-size: 0.85rem; letter-spacing: 0.1em;
}

/* ---------- Footer ---------- */
.bb-footer {
  padding: 56px 0 36px;
  background: #0c0e13;
  text-align: center;
}
.bb-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.bb-footer__logo {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--ink);
}
.bb-footer__tag {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.bb-footer__hours {
  color: var(--ink-mute);
  font-size: 0.92rem;
}
.bb-footer__rule {
  width: 60px; height: 1px;
  background: var(--gold);
  opacity: 0.5;
  margin: 8px 0;
}
.bb-footer__legal {
  font-size: 0.8rem;
  color: var(--ink-dim);
  margin-top: 12px;
}
