/* InkProTeam. Reutiliza Satoshi, la navegación y el pie de la web entregada. */
.main-nav { gap: clamp(16px, 2.4vw, 34px); }
.proteam-nav-link { white-space: nowrap; }
@media (min-width: 761px) and (max-width: 1050px) {
  .nav-wrap { gap: 18px; padding-inline: 24px; }
  .main-nav { gap: 16px; }
}

.proteam-page {
  --team-green: #00d363;
  background: #0b0b0b;
  color: #f7f7f4;
}
.proteam-page ::selection { background: var(--team-green); color: #0b0b0b; }
.proteam-page :is(a, button, summary):focus-visible {
  outline-color: #00b854;
  outline-offset: 5px;
}
.team-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(680px, 52vw, 900px);
  max-width: 2000px;
  margin-inline: auto;
  background: #0b0b0b;
}
.team-hero-copy {
  padding: 60px 35px 68px var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.team-crest { width: 76px; height: auto; }
.team-hero h1 {
  font-size: clamp(60px, 6.5vw, 112px);
  font-weight: 700;
  line-height: .99;
  letter-spacing: -.065em;
  margin-top: 32px;
}
.team-hero-copy > p { margin: 26px 0 32px; color: #bcbcbc; font-size: clamp(16px, 1.25vw, 20px); }
.team-button { background: var(--team-green); border-color: var(--team-green); color: #08150d; min-height: 48px; }
.team-button:hover { background: #66e99f; border-color: #66e99f; color: #08150d; }
.team-hero-image { position: relative; min-width: 0; overflow: hidden; }
.team-hero-image > img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; }
.team-hero-image::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, #000b); pointer-events: none; }
.team-hero-image figcaption { position: absolute; z-index: 1; bottom: 30px; left: 30px; right: 30px; display: flex; justify-content: space-between; gap: 12px; color: white; font-size: 13px; }
.team-hero-image figcaption span { color: #d0d0d0; }

.team-roster { padding-top: 104px; padding-bottom: 112px; background: #f3f3ef; color: #101010; max-width: none; scroll-margin-top: 0; }
.team-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 46px; }
.team-section-heading .eyebrow { margin-bottom: 18px; }
.team-section-heading h2 { font-size: clamp(40px, 4.8vw, 76px); font-weight: 600; }
.team-section-heading > p { font-size: 16px; line-height: 1.6; color: #60605c; }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 46px 24px; }
.team-card, .team-artist { min-width: 0; }
.team-card:has(> .team-artist[open]) { grid-column: 1 / -1; }
.artist-instagram { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 44px; padding-block: 10px; font-size: 13px; line-height: 1.4; color: #41413c; overflow-wrap: anywhere; }
.artist-instagram:hover { color: #007a38; text-decoration: underline; text-underline-offset: 4px; }
.artist-instagram > span { flex: none; }
.team-artist summary { cursor: pointer; list-style: none; }
.team-artist summary::-webkit-details-marker { display: none; }
.artist-cover { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #deded9; }
.artist-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform .45s ease; }
.artist-cover .artist-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.artist-cover .artist-slide.is-active { opacity: 1; }
.artist-caption { padding-top: 18px; }
.artist-caption h3 { font-size: clamp(19px, 1.65vw, 26px); font-weight: 650; line-height: 1.2; }
.artist-action { display: inline-flex; gap: 16px; margin-top: 10px; align-items: center; font-size: 12px; color: #55554f; }
.artist-action > span { font-size: 18px; color: #101010; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .team-artist summary:hover .artist-cover img:not(.artist-slide) { transform: scale(1.025); }
}
/* La galería sigue disponible mediante details cuando JavaScript no está activo. */
.team-artist[open] { grid-column: 1 / -1; }
.team-artist[open] > summary .artist-cover { width: min(300px, 100%); }
.artist-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.artist-gallery > figure { min-width: 0; background: #e8e8e3; }
.artist-gallery img { width: 100%; height: 100%; max-height: 76vh; object-fit: contain; }
.artist-gallery > figure:only-child { grid-column: 1 / -1; }

.team-session { padding-top: 100px; padding-bottom: 80px; }
.team-session .eyebrow { color: var(--team-green); }
.team-session .team-section-heading > p { color: #aaa; }
.session-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.session-grid figure { min-width: 0; }
.session-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
.session-tattoo img { object-position: 50% 50%; }
.session-products img { object-position: 50% 50%; }
.session-care-pack img { object-position: 50% 80%; }
.session-grid figcaption { border-top: 0; padding-top: 16px; font-size: 13px; color: #bcbcbc; }
.team-follow { border-top: 1px solid #333; margin-top: 64px; padding-top: 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.team-follow > p { font-size: clamp(20px, 2vw, 28px); letter-spacing: -.035em; }
.team-follow .text-link { color: var(--team-green); }

.artist-dialog { width: min(1080px, calc(100% - 48px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; background: #f3f3ef; color: #101010; }
.artist-dialog::backdrop { background: #000c; }
.artist-dialog-header { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 32px; background: #f3f3ef; z-index: 1; border-bottom: 1px solid #d5d5ce; }
.artist-dialog-header h2 { font-size: clamp(24px, 3vw, 40px); }
.dialog-close { display: flex; align-items: center; gap: 14px; min-height: 44px; padding: 8px 12px; border: 1px solid #aaa; background: transparent; color: #101010; font-size: 13px; }
.dialog-close span { font-size: 24px; }
.artist-dialog-content { padding: 24px 32px 32px; }
.artist-dialog .artist-gallery { margin-top: 0; }
body.team-gallery-open { overflow: hidden; }

.team-home-teaser { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; padding-top: 70px; padding-bottom: 70px; background: #0b0b0b; color: #fff; max-width: none; }
.team-home-teaser .team-crest { width: 56px; margin-bottom: 25px; }
.team-home-teaser .eyebrow { color: #00d363; margin-bottom: 18px; }
.team-home-teaser h2 { font-size: clamp(42px, 5vw, 80px); margin-bottom: 28px; }
.team-home-teaser figure { width: min(100%, 480px); justify-self: end; }
.team-home-teaser figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 50%; }

@media (max-width: 1000px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-section-heading > p { font-size: 14px; }
}
@media (max-width: 760px) {
  .team-hero { grid-template-columns: 1fr; min-height: auto; }
  .team-hero-copy { padding: 42px var(--gutter) 44px; }
  .team-crest { width: 60px; }
  .team-hero h1 { font-size: clamp(48px, 11.5vw, 76px); margin-top: 26px; }
  .team-hero-copy > p { margin: 22px 0 26px; }
  .team-hero-image { height: 420px; }
  .team-hero-image > img { object-position: 50% 80%; }
  .team-hero-image figcaption { left: 24px; right: 24px; bottom: 24px; font-size: 12px; }
  .team-roster { padding-top: 62px; padding-bottom: 64px; }
  .team-section-heading { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 32px; }
  .team-section-heading .eyebrow { margin-bottom: 12px; }
  .team-section-heading h2 { font-size: clamp(36px, 9vw, 50px); }
  .team-grid { gap: 30px 14px; }
  .artist-caption { padding-top: 13px; }
  .artist-caption h3 { font-size: clamp(17px, 4.5vw, 23px); }
  .artist-action { margin-top: 7px; }
  .team-session { padding-top: 62px; padding-bottom: 56px; }
  .session-grid { grid-template-columns: 1fr; gap: 28px; }
  .team-follow { margin-top: 40px; flex-direction: column; align-items: flex-start; gap: 18px; }
  .artist-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .artist-dialog-header { padding: 16px; gap: 12px; }
  .artist-dialog-header h2 { font-size: 25px; }
  .artist-dialog-content { padding: 16px; }
  .artist-gallery { grid-template-columns: 1fr; gap: 16px; }
  .artist-gallery img { max-height: none; height: auto; }
  .team-home-teaser { grid-template-columns: 1fr; gap: 34px; padding-top: 50px; padding-bottom: 50px; }
  .team-home-teaser figure { justify-self: stretch; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .artist-cover img, .artist-cover .artist-slide { transition: none; }
}

/* El zoom del editor usa los marcos que ya define el diseño. */
.session-grid figure > .ink-image-frame { width: 100%; aspect-ratio: 4 / 3; }
.artist-cover > .ink-image-frame { width: 100%; height: 100%; aspect-ratio: auto; }
.team-hero-image > .ink-image-frame { width: 100%; height: 100%; aspect-ratio: auto; }
.team-home-teaser figure > .ink-image-frame { width: 100%; aspect-ratio: 4 / 3; }
