/* ==========================================================================
   Services gallery — asymmetric grid of six treatments
   ========================================================================== */

.services {
  --mask-color: var(--ink);
  /* a plain drop shadow is invisible here, so the lift gets a warm hairline */
  --lift-shadow: 0 26px 46px -26px rgba(0, 0, 0, .9), 0 0 0 1px rgba(246, 240, 231, .16);
  background: var(--ink);
  color: var(--text-on-ink);
}
.services .section-label { color: var(--text-on-ink-mute); }
.services .section-label::before,
.services .section-label::after { background: var(--rule-light); }

.services__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.services__title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.4vw, 3.8rem);
  line-height: 1.04;
}
.services__title .is-mute { color: var(--caramel); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(.65rem, 1.1vw, 1.15rem);
}

.svc {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-soft);
  isolation: isolate;
}
.svc img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.5s var(--ease-soft), filter var(--dur-mid) var(--ease-out);
}
.svc::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(to top, rgba(18, 14, 11, .74) 0%, rgba(20, 16, 13, .12) 52%, rgba(20, 16, 13, 0) 100%);
  opacity: .85;
  transition: opacity var(--dur-mid) var(--ease-out);
}

.svc__body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: clamp(1rem, 1.6vw, 1.6rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.svc__name {
  font-size: var(--fs-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
}
.svc__more {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .625rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .9);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.svc__more .arrow {
  width: 20px; height: 1px;
  background: currentColor;
  position: relative;
  transition: width var(--dur-fast) var(--ease-out);
}
.svc__more .arrow::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 6px; height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

@media (hover: hover) {
  .svc:hover img, .svc:focus-visible img { transform: scale(1.09); }
  .svc:hover::after, .svc:focus-visible::after { opacity: 1; }
  .svc:hover .svc__more, .svc:focus-visible .svc__more { opacity: 1; transform: none; }
  .svc:hover .svc__more .arrow { width: 30px; }
}
@media (hover: none) {
  .svc__more { opacity: 1; transform: none; }
}

/* deliberately uneven rhythm — no two tiles read the same.
   Ratios stay close to the source photography so nothing is over-cropped. */
.svc--facials { grid-column: span 5; aspect-ratio: 5 / 4; }
.svc--massage { grid-column: span 7; aspect-ratio: 7 / 4; }
.svc--brows   { grid-column: span 4; aspect-ratio: 1 / 1; }
.svc--nails   { grid-column: span 4; aspect-ratio: 1 / 1; margin-top: clamp(1.5rem, 4vw, 4rem); }
.svc--lashes  { grid-column: span 4; aspect-ratio: 4 / 3; }
.svc--makeup  { grid-column: span 12; aspect-ratio: 12 / 4; }
.svc--makeup img { object-position: 50% 38%; }

.services__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--rule-light);
  color: var(--text-on-ink-mute);
  font-size: var(--fs-small);
}
.services__foot .link-arrow { color: var(--text-on-ink); }

@media (max-width: 1024px) {
  .svc--facials { grid-column: span 7; aspect-ratio: 7 / 5; }
  .svc--massage { grid-column: span 5; aspect-ratio: 1 / 1; }
  .svc--brows   { grid-column: span 5; aspect-ratio: 1 / 1; }
  .svc--nails   { grid-column: span 7; aspect-ratio: 7 / 5; margin-top: 0; }
  .svc--lashes  { grid-column: span 6; aspect-ratio: 3 / 2; }
  .svc--makeup  { grid-column: span 6; aspect-ratio: 3 / 2; }
}
@media (max-width: 560px) {
  .services__grid { gap: .5rem; }
  /* on a phone the tile is the tap target — the label alone is enough */
  .svc__more { display: none; }
  .svc__body { padding: .85rem; }
  .svc--facials, .svc--massage, .svc--brows,
  .svc--nails, .svc--lashes { grid-column: span 6; aspect-ratio: 1 / 1; margin-top: 0; }
  .svc--makeup { grid-column: span 12; aspect-ratio: 16 / 9; }
}
