/* BarberBabe: shop overrides only. Keep small.
   Palette, display font and dark-band treatment live in css/brand.css (parent). */

/* Hero mark: "BarberBabe" is ten characters, so it needs a smaller mark than the
   Rabblends default to still fill the gutters on one line. Parent confirms the size. */
:root { --hero-mark-size: 18.5vw; }

/* ---- Final media pass: every source was cropped individually around the
   head by parent, so each photo is shown whole at its own ratio with the
   head centred. Exact ratios keep the tight head crops from clipping. ----
   Hero shared 3:4, height auto on desktop so the ratio (not a fixed height)
   sets the frame; 04/05 carry their own ratios below; 03 stays square. */
.b-hero__media { aspect-ratio: 3 / 4; }
@media (min-width: 1024px) {
  .b-hero__media { height: auto; }
}
/* Distinct object-position per image, all centred: the crop already frames
   the head, so 50% 50% keeps it whole with no top or edge clipping. */
img[src^="img/01-hero"] { object-position: 50% 50%; }
img[src^="img/03-work"] { object-position: 50% 50%; }
img[src^="img/04-work"] { object-position: 50% 50%; }
img[src^="img/05-work"] { object-position: 50% 50%; }

/* ---- The work: asymmetric desktop composition, full-bleed on mobile.
   Each photo's own ratio sits on its media box, never a max-height cap. */
.work__grid { align-items: start; }
/* 04: a close-cropped cut with a blue planet design, viewed from the back. */
.work__c .b-figure__media { aspect-ratio: 820 / 870; }
/* 05: a finished silver pixie with soft layers and a tapered nape. */
.work__d .b-figure__media { aspect-ratio: 550 / 690; }
@media (min-width: 1024px) {
  .work__b { grid-column: 1 / 9; }
  .work__d { grid-column: 1 / 6; }
}
@media (max-width: 1023px) {
  .work__b, .work__d { margin-inline: calc(-1 * var(--gutter)); }
  .work__b figcaption,
  .work__d figcaption { padding-inline: var(--gutter); }
}
.work__c { margin: 0; }
.work__c figcaption { padding-inline: var(--gutter); }
.work__more { margin-top: var(--space-8); }

/* ---- Services: no verified prices, so the rows carry the name only. ---- */
.services__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  margin-top: var(--space-7);
}
.services__actions .b-note { max-width: 58ch; }

/* ---- The barber. ---- */
.barber__text { display: flex; flex-direction: column; gap: var(--space-4); }
.barber__text h2 { max-width: 12ch; }
.barber__text p { max-width: 56ch; }
.barber__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.barber__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  width: max-content;
  min-height: 44px;
  font-size: var(--step--1);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.34em;
}
.barber__links a:hover { text-decoration-thickness: 2px; }

/* ---- Visit: shop area beside the booking note. ---- */
@media (min-width: 1024px) {
  .visit__info { grid-column: 1 / 7; }
  .visit__note { grid-column: 8 / 13; }
}
.visit__note { display: flex; flex-direction: column; gap: var(--space-4); }
.visit__note p { max-width: 44ch; }
.visit__note .b-note { margin-top: var(--space-2); }

/* ---- Footer + booking bar. ---- */
.b-footer__disclaimer { margin-top: var(--space-8); }
@media (max-width: 860px) {
  body { padding-bottom: 76px; }
}
