/* ============================================================
   SALON & TEAM
   ============================================================ */

/* ---- story ---- */
.story { background: var(--cream); padding-block: clamp(4rem, 8vw, 7rem); }
.story-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 860px) {
  .story-grid { grid-template-columns: 1.05fr 0.95fr; }
}
.story-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
}
.story-body p {
  font-size: var(--step-0);
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 54ch;
}
.story-body p + p { margin-top: 1.1em; }
.story-title { margin-bottom: var(--space-m); }

/* ---- the space ---- */
.space { background: var(--oat); padding-block: clamp(4rem, 8vw, 7rem); }
.space-head {
  max-width: 54ch;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.space-intro {
  margin-top: var(--space-m);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--ink-soft);
}
.space-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.75rem, 1.8vw, 1.4rem);
}
@media (min-width: 820px) {
  .space-grid { grid-template-columns: repeat(3, 1fr); }
}
.space-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
}

/* ============================================================
   TEAM  -  editorial profiles, name set over the portrait
   ============================================================ */
.team-page { background: var(--cream); padding-block: clamp(4.5rem, 9vw, 8rem); }
.team-page-head {
  max-width: 56ch;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.team-page-intro {
  margin-top: var(--space-m);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 54ch;
}

.profiles {
  display: flex;
  flex-direction: column;
}
.profile {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.profile + .profile {
  margin-top: clamp(3rem, 7vw, 5.5rem);
  padding-top: clamp(3rem, 7vw, 5.5rem);
  border-top: 1px solid var(--line);
}
@media (min-width: 820px) {
  .profile { grid-template-columns: 0.85fr 1.15fr; }
  .profile:nth-child(even) { grid-template-columns: 1.15fr 0.85fr; }
  .profile:nth-child(even) .profile-photo { order: 2; }
}

.profile-photo {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.profile-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.profile-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42, 33, 28, 0.82) 0%, rgba(42, 33, 28, 0.18) 34%, rgba(42, 33, 28, 0) 58%);
}
.profile-name {
  position: absolute;
  z-index: 1;
  left: clamp(1.2rem, 3vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 1.6rem);
  margin: 0;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-4);
  line-height: 1;
}

.profile-role {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--wine);
}
.profile-bio { margin-top: var(--space-m); }
.profile-bio p {
  font-size: var(--step-0);
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 48ch;
}

/* closing group image */
.team-closer {
  margin: clamp(3.5rem, 8vw, 6.5rem) auto 0;
  max-width: 64rem;
}
.team-closer img {
  width: 100%;
  height: auto;
  max-height: 58vh;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  border: 1px solid var(--line);
}
.team-closer figcaption {
  margin-top: var(--space-s);
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step--1);
  color: var(--stone);
}