/* Moe at Diamond Barbershop: shop overrides only. Keep small. */

/* Huge name: fills the gutters from 360px up. Paquito 400 "Moe" is ~1.68em. */
:root { --hero-mark-size: 50vw; }

/* Hero photo: 3:4 box, matching the graded crop, so nothing is cut again. */
.b-hero__media { aspect-ratio: 3 / 4; }
.b-hero__media img { object-position: 50% 50%; }
@media (min-width: 1024px) {
  .b-hero__media { height: auto; }
}

/* ---- The work: client-work photos, editorial on desktop and bleeding to
   the screen edges on mobile. Each image keeps its own box and focal point;
   the graded crops are 3:4 for 02-04 and 2:3 for 05, so a centred cover adds
   no further cut. Adjust a single selector here without touching the others. ---- */
.work__grid { align-items: start; }
.work__d .b-figure__media { aspect-ratio: 2 / 3; }
.work__a .b-figure__media img { object-position: 50% 50%; }
.work__b .b-figure__media img { object-position: 50% 50%; }
.work__c .b-figure__media img { object-position: 50% 50%; }
.work__d .b-figure__media img { object-position: 50% 50%; }
@media (min-width: 1024px) {
  .work__a { grid-column: 1 / 8; }
  .work__b { grid-column: 9 / 13; margin-top: 18vh; }
  .work__c { grid-column: 1 / 6; margin-top: var(--space-8); }
  .work__d { grid-column: 7 / 13; margin-top: 12vh; }
}
@media (max-width: 1023px) {
  .work__a, .work__b, .work__c, .work__d {
    margin-inline: calc(-1 * var(--gutter));
  }
  .work__a figcaption, .work__b figcaption,
  .work__c figcaption, .work__d figcaption { padding-inline: var(--gutter); }
}
.work__more { margin-top: var(--space-8); }

/* ---- Prices tail. ---- */
.prices__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  margin-top: var(--space-7);
}
.prices__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 info beside the shop hours. ---- */
@media (min-width: 1024px) {
  .visit__info { grid-column: 1 / 7; }
  .visit__hours { grid-column: 8 / 13; }
}
.hours {
  margin-top: var(--space-5);
  border-top: 1px solid var(--line);
  max-width: 520px;
}
.hours li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-5);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums lining-nums;
}
.hours .day { color: var(--stone); }
.hours__note { margin-top: var(--space-5); max-width: 46ch; }

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