/* Barbershop site — Atelier skin: warm off-white, deep olive, large grotesque, cards with photo tops. */
:root {
  --bg: #f4f1ea;
  --bg-rgb: 244, 241, 234;
  --surface: #ffffff;
  --surface-2: #ebe7dd;
  --art: #dfe3d2;
  --accent-surface: #e8ecdc;
  --line: rgba(29, 31, 26, 0.12);
  --ink: #1d1f1a;
  --ink-rgb: 29, 31, 26;
  --muted: #66665c;
  --accent: #3d4a2a;
  --accent-2: #1d1f1a;
  --accent-rgb: 61, 74, 42;
  --accent-ink: #ffffff;
  --ok: #2f7d4a;
  --closed: #b0473a;
  --radius: 18px;
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --display-text: 'Inter', system-ui, sans-serif;
  --display-weight: 800;
  --display-case: none;
  --display-tracking: -0.02em;
  --body: 'Inter', system-ui, sans-serif;
  --wrap: 1180px;
  --tile-photo-h: 170px;
}

body.bb--atelier { font-size: 16px; }
.bb--atelier .bb-eyebrow { color: var(--accent); letter-spacing: .18em; }
.bb--atelier .bb-h3 { font-size: 1.35rem; }

/* Buttons: solid olive, dark outline */
.bb--atelier .bb-btn { border-radius: 12px; font-weight: 600; }
.bb--atelier .bb-btn--primary { background: var(--accent); color: var(--accent-ink); }
.bb--atelier .bb-btn--primary:hover { background: #2e3820; }
.bb--atelier .bb-btn--ghost { border-color: rgba(var(--ink-rgb), .35); background: transparent; }
.bb--atelier .bb-btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.bb--atelier .bb-header__cta { background: var(--ink); }

/* Header and logo */
.bb--atelier .bb-logo__pole { width: 10px; height: 30px; background: repeating-linear-gradient(135deg, var(--accent) 0 5px, var(--bg) 5px 10px); box-shadow: 0 0 0 2px var(--accent); }
.bb--atelier .bb-logo__text { font-weight: 700; letter-spacing: .1em; color: var(--ink); font-size: 1.15rem; }
.bb--atelier .bb-nav a:hover, .bb--atelier .bb-nav a.is-active { color: var(--ink); border-bottom-color: var(--accent); }

/* Hero: text on the left, framed photo on the right */
.bb--atelier .bb-hero { min-height: min(72vh, 600px); border-bottom: 0; }
.bb--atelier .bb-hero::before {
  inset: 1.5rem max(16px, calc((100% - var(--wrap)) / 2)) 1.5rem 50%;
  border-radius: var(--radius);
  background: var(--hero-photo) center / cover no-repeat;
  box-shadow: 0 24px 60px -30px rgba(var(--ink-rgb), .45);
}
.bb--atelier .bb-hero--art::before {
  background:
    radial-gradient(circle at 70% 30%, rgba(var(--accent-rgb), .25), transparent 60%),
    linear-gradient(160deg, var(--art), var(--surface-2));
}
.bb--atelier .bb-hero::after { display: none; }
.bb--atelier .bb-hero__inner > * { max-width: min(36rem, 46%); }
.bb--atelier .bb-hero__title { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: .98; color: var(--ink); }
.bb--atelier .bb-hero__subtitle { color: var(--muted); font-size: 1.08rem; }
.bb--atelier .bb-rating { background: var(--surface); border-color: var(--line); }
.bb--atelier .bb-rating__g { box-shadow: 0 0 0 1px var(--line); }
.bb--atelier .bb-rating__star { color: #e2a823; }

/* Highlights */
.bb--atelier .bb-highlights__list li { font: 700 1.2rem/1.25 var(--display); box-shadow: 0 1px 2px rgba(var(--ink-rgb), .06); }
.bb--atelier .bb-highlights__num { color: var(--accent); }

/* Tiles: white cards with the photo on top */
.bb--atelier .bb-tile {
  min-height: 0; padding: calc(var(--tile-photo-h) + 1.3rem) 1.4rem 1.4rem;
  background: var(--surface); box-shadow: 0 1px 2px rgba(var(--ink-rgb), .06);
}
.bb--atelier .bb-tile::before {
  inset: 0 0 auto 0; height: var(--tile-photo-h); opacity: 1;
  background: var(--tile-photo, linear-gradient(160deg, var(--art), var(--surface-2))) center / cover no-repeat;
}
.bb--atelier .bb-tile::after { display: none; }
.bb--atelier .bb-tile:hover { border-color: var(--accent); }
.bb--atelier .bb-tile:hover::before { opacity: 1; transform: scale(1.03); }
.bb--atelier .bb-tile__title { margin-top: 0; font-size: 1.5rem; color: var(--ink); }
.bb--atelier .bb-tile__list > span > span:last-child { color: var(--ink); font-weight: 600; }
.bb--atelier .bb-tile__more { margin-top: auto; color: var(--accent); font-weight: 600; }

/* Inner pages */
.bb--atelier .bb-h1 { color: var(--ink); }
.bb--atelier .bb-menu__price { font-size: 1.1rem; color: var(--ink); }
.bb--atelier .bb-member__initial { border-color: var(--accent); color: var(--accent); background: var(--accent-surface); font-weight: 700; }
.bb--atelier .bb-card { box-shadow: 0 1px 2px rgba(var(--ink-rgb), .06); }
.bb--atelier .bb-reviews__score { color: var(--ink); }
.bb--atelier .bb-reviews__score span { color: #e2a823; }
.bb--atelier .bb-footer__name { color: var(--ink); }
.bb--atelier .bb-social a { color: var(--accent); }

@media (max-width: 1000px) {
  .bb--atelier .bb-hero { display: block; min-height: 0; }
  .bb--atelier .bb-hero::before {
    position: relative; display: block; inset: auto; height: clamp(220px, 52vw, 420px);
    margin: 16px 16px 0;
  }
  .bb--atelier .bb-hero__inner { padding-block: 2rem 1rem; }
  .bb--atelier .bb-hero__inner > * { max-width: 40rem; }
}

@media (max-width: 640px) {
  :root { --tile-photo-h: 150px; }
  .bb--atelier .bb-hero .bb-actions { display: none; }
  .bb--atelier .bb-tile { min-height: 0; }
}
