/* Bevel Salon — Our Creative Team Section (styles unchanged) */
.team-section-root {
  --color-bg: #1b1d27;
  --color-accent: #9f7150;
  --color-subtitle: rgba(255, 255, 255, 0.5);
  --color-name: #989898;
  --color-role: #bc865f;
  --color-desc: #989898;
  --color-overlay: rgba(29, 22, 17, 0.6);
  --color-white: #ffffff;

  --font-heading: 'Prata', serif;
  --font-subtitle: 'PT Sans Caption', sans-serif;
  --font-body: 'Lato', sans-serif;

  --canvas-width: 1170px;
  --photo-size: 382px;
  --photo-ring-gap: 12px;
  --thumb-size: 104px;
  --thumb-ring-gap: 7px;
  --thumb-gap: 26px;
  --transition-speed: 320ms;
}

.team {
  background-color: var(--color-bg);
  padding: 100px 15px 120px;
}

.team *,
.team *::before,
.team *::after { box-sizing: border-box; }

.team img { max-width: 100%; display: block; }

.team button { font: inherit; color: inherit; }

.team__container {
  max-width: var(--canvas-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.team__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
  width: 100%;
  padding: 0 15px;
}

.team__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 36px;
  line-height: 60px;
  color: var(--color-accent);
  text-align: center;
}

.team__subtitle {
  margin: 0;
  font-family: var(--font-subtitle);
  font-size: 16px;
  line-height: 25px;
  color: var(--color-subtitle);
  text-align: center;
}

.team__ornament {
  width: 104px;
  height: 13px;
  color: var(--color-accent);
}

.team__ornament svg { width: 100%; height: 100%; display: block; }

.team__content {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 0;
}

.team__photo-col {
  flex: 0 0 auto;
  width: 487.5px;
  padding: 0 60.5px 0 45px;
  display: flex;
}

.team__photo-wrap {
  position: relative;
  width: var(--photo-size);
  height: var(--photo-size);
  flex: 0 0 auto;
}

.team__photo-ring {
  position: absolute;
  inset: calc(var(--photo-ring-gap) * -1);
  border: 1px dashed var(--color-accent);
  border-radius: 50%;
  pointer-events: none;
}

.team__photo-frame {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.team__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transition: opacity var(--transition-speed) ease;
}

.team__photo.is-fading { opacity: 0; }

.team__info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 45px;
  padding: 25px 15px 0;
  min-width: 0;
}

.team__bio {
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: opacity var(--transition-speed) ease;
}

.team__bio.is-fading { opacity: 0; }

.team__name {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  line-height: 21px;
  color: var(--color-name);
}

.team__role {
  margin: 0;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 21px;
  color: var(--color-role);
  opacity: 0.5;
}

.team__desc {
  margin: 21px 10px 0 0;
  max-width: 600px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.28px;
  color: var(--color-desc);
}

.team__switcher {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--thumb-gap);
  padding-left: 12px;
}

.team__thumb {
  position: relative;
  flex: 0 0 auto;
  width: var(--thumb-size);
  height: var(--thumb-size);
  padding: 0;
  border: 0;
  background: none;
  border-radius: 50%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.team__thumb-ring {
  position: absolute;
  inset: calc(var(--thumb-ring-gap) * -1);
  border: 1px dashed var(--color-accent);
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
  pointer-events: none;
}

.team__thumb-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.team__thumb-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.team__thumb-overlay {
  position: absolute;
  inset: 0;
  background-color: var(--color-overlay);
  opacity: 1;
  transition: opacity var(--transition-speed) ease;
  pointer-events: none;
  border-radius: 50%;
}

.team__thumb:hover .team__thumb-overlay { opacity: 0.35; }

.team__thumb.is-active .team__thumb-ring { opacity: 1; }
.team__thumb.is-active .team__thumb-overlay { opacity: 0; }

.team__thumb:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 6px;
}

@media (max-width: 1024px) {
  .team { padding: 72px 24px 88px; }

  .team__content {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .team__photo-col {
    width: auto;
    padding: 0;
    justify-content: center;
  }

  .team__photo-wrap {
    width: min(60vw, 300px);
    height: min(60vw, 300px);
  }

  .team__info {
    align-items: center;
    text-align: center;
    padding: 0;
    width: 100%;
    max-width: 620px;
  }

  .team__bio { align-items: center; }

  .team__desc {
    margin: 21px 0 0;
    max-width: 100%;
  }

  .team__switcher {
    justify-content: center;
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .team { padding: 56px 16px 64px; }

  .team__title { font-size: 28px; line-height: 40px; }

  .team__subtitle { font-size: 14px; line-height: 22px; }

  .team__content { gap: 28px; }

  .team__photo-wrap {
    width: min(55vw, 220px);
    height: min(55vw, 220px);
  }

  .team__info { gap: 32px; }

  .team__name { font-size: 18px; }

  .team__desc { font-size: 13px; line-height: 22px; }

  .team-section-root {
    --thumb-size: 64px;
    --thumb-gap: 16px;
    --thumb-ring-gap: 5px;
  }
}