/* =========================================================
   TRYHARD — ARTISTS CINEMATIC 3D SHOWCASE
   CLEAN / COMPACT VERSION
========================================================= */

.artists-cinematic {
  --artist-accent: 255, 23, 23;

  position: relative;

  min-height: auto;

  padding:
    26px
    28px
    24px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 48% 45%,
      rgba(var(--artist-accent), .13) 0%,
      rgba(var(--artist-accent), .055) 23%,
      transparent 47%
    ),
    radial-gradient(
      circle at 82% 24%,
      rgba(255,255,255,.035),
      transparent 25%
    ),
    linear-gradient(
      120deg,
      #020202 0%,
      #070303 48%,
      #020202 100%
    );

  color: #f5f5f2;

  isolation: isolate;
}


/* =========================================================
   ATMOSPHERE / GRAIN
========================================================= */

.artists-cinematic::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: -2;

  pointer-events: none;

  opacity: .15;

  background-image:
    repeating-radial-gradient(
      circle at 20% 20%,
      rgba(255,255,255,.04) 0,
      rgba(255,255,255,.04) 1px,
      transparent 1px,
      transparent 5px
    );

  background-size: 8px 8px;
}


.artists-cinematic::after {
  content: "";

  position: absolute;
  inset: 0;

  z-index: -1;

  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.38) 0%,
      transparent 35%,
      transparent 70%,
      rgba(0,0,0,.32) 100%
    );
}


/* =========================================================
   SECTION NUMBER
========================================================= */

.artists-cinematic > .section-number {
  top: 14px;
  left: 28px;
}


/* =========================================================
   HEADER
========================================================= */

.artists-cinematic-header {
  position: relative;

  z-index: 20;

  width: 100%;

  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  margin: 0;
}


.artists-cinematic-title > span {
  display: block;

  margin-bottom: 8px;

  color: rgba(255,255,255,.58);

  font-size: 9px;
  font-weight: 900;

  line-height: 1;

  letter-spacing: .06em;

  text-transform: uppercase;
}


.artists-cinematic-title h2 {
  margin: 0;

  color: #f5f5f2;

  font-family:
    "Anton",
    sans-serif;

  font-size:
    clamp(58px, 5vw, 82px);

  font-weight: 400;

  line-height: .80;

  letter-spacing: -.035em;

  text-transform: uppercase;
}


.artists-cinematic-title h2 span {
  color: #ff1717;
}


/* =========================================================
   TOP COUNTER
========================================================= */

.artists-cinematic-count {
  margin-top: 8px;

  display: flex;

  align-items: center;

  gap: 10px;

  color: rgba(255,255,255,.38);

  font-size: 9px;
  font-weight: 900;

  letter-spacing: .05em;
}


.artists-count-current {
  color:
    rgb(var(--artist-accent));
}


.artists-count-line {
  width: 46px;
  height: 1px;

  background:
    rgba(255,255,255,.22);
}


/* =========================================================
   MAIN LAYOUT
========================================================= */

.artists-cinematic-layout {
  position: relative;

  z-index: 5;

  width: 100%;

  min-height: 490px;

  margin-top: -118px;

  display: grid;

  grid-template-columns:
    minmax(0, 1.65fr)
    minmax(270px, .72fr);

  column-gap:
    clamp(34px, 5vw, 80px);

  align-items: center;
}


/* =========================================================
   3D STAGE
========================================================= */

.artists-3d-stage {
  position: relative;

  width: 100%;
  height: 490px;

  perspective: 1450px;

  perspective-origin:
    50% 44%;

  transform-style:
    preserve-3d;
}


/* =========================================================
   AMBIENT LIGHTS
========================================================= */

.artists-ambient {
  position: absolute;

  pointer-events: none;

  border-radius: 50%;

  transition:
    background .9s ease,
    opacity .9s ease;
}


.artists-ambient-back {
  top: 47%;
  left: 50%;

  width: 530px;
  height: 530px;

  background:
    radial-gradient(
      circle,
      rgba(var(--artist-accent), .24) 0%,
      rgba(var(--artist-accent), .09) 34%,
      transparent 68%
    );

  filter:
    blur(25px);

  transform:
    translate(-50%, -50%);

  opacity: .92;

  animation:
    thAmbientBreath
    6.5s
    ease-in-out
    infinite;
}


.artists-ambient-front {
  left: 50%;
  bottom: 38px;

  width: 410px;
  height: 80px;

  background:
    radial-gradient(
      ellipse,
      rgba(var(--artist-accent), .33),
      rgba(var(--artist-accent), .08) 48%,
      transparent 72%
    );

  filter:
    blur(18px);

  transform:
    translateX(-50%);

  opacity: .8;
}


/* =========================================================
   ARTIST OBJECT — BASE
========================================================= */

.artist-3d-object {
  position: absolute;

  top: 44%;
  left: 50%;

  width:
    clamp(250px, 26vw, 370px);

  aspect-ratio:
    4 / 5;

  padding: 0;

  border: 0;

  background:
    transparent;

  appearance:
    none;

  cursor:
    pointer;

  transform-style:
    preserve-3d;

  will-change:
    transform,
    opacity,
    filter;

  transition:
    transform .95s cubic-bezier(.16,1,.3,1),
    opacity .75s ease,
    filter .8s ease;
}


/* =========================================================
   ACTIVE
========================================================= */

.artist-3d-object.is-active {
  z-index: 20;

  opacity: 1;

  filter:
    brightness(1)
    saturate(1.04)
    contrast(1.03);

  transform:
    translate3d(
      -50%,
      -50%,
      180px
    )
    rotateY(-7deg)
    rotateX(2deg)
    scale(1);
}


/* =========================================================
   PREVIOUS
========================================================= */

.artist-3d-object.is-prev {
  z-index: 5;

  opacity: .38;

  filter:
    brightness(.44)
    saturate(.60)
    blur(.7px);

  transform:
    translate3d(
      -130%,
      -46%,
      -180px
    )
    rotateY(45deg)
    rotateZ(-2deg)
    scale(.71);
}


/* =========================================================
   NEXT
========================================================= */

.artist-3d-object.is-next {
  z-index: 5;

  opacity: .38;

  filter:
    brightness(.44)
    saturate(.60)
    blur(.7px);

  transform:
    translate3d(
      30%,
      -46%,
      -180px
    )
    rotateY(-45deg)
    rotateZ(2deg)
    scale(.71);
}


/* =========================================================
   FAKE PHYSICAL DEPTH
========================================================= */

.artist-3d-depth {
  position: absolute;

  top: 11px;
  left: 11px;

  width: 100%;
  height: 100%;

  display: block;

  background:
    linear-gradient(
      135deg,
      rgba(var(--artist-accent), .35),
      #160003 18%,
      #050505 72%
    );

  border:
    1px solid
    rgba(var(--artist-accent), .35);

  box-shadow:
    0 35px 70px
    rgba(0,0,0,.62);

  transform:
    translateZ(-20px);

  opacity: .92;
}


/* =========================================================
   IMAGE FRAME
========================================================= */

.artist-3d-image {
  position: absolute;

  inset: 0;

  display: block;

  overflow: hidden;

  cursor: pointer;

  background:
    #080808;

  border:
    1px solid
    rgba(255,255,255,.16);

  box-shadow:
    0 48px 90px rgba(0,0,0,.68),
    0 0 42px rgba(var(--artist-accent), .10),
    inset 0 1px 0 rgba(255,255,255,.18);

  transform-style:
    preserve-3d;
}


/* ARTISTA CENTRAL — MOVIMIENTO DE LA PLACA */

.artist-3d-object.is-active
.artist-3d-image {
  box-shadow:
    0 52px 100px rgba(0,0,0,.72),
    0 0 55px rgba(var(--artist-accent), .17),
    inset 0 1px 0 rgba(255,255,255,.22);

  animation:
    thArtistFloat
    4.8s
    cubic-bezier(.16,1,.3,1)
    infinite;

  will-change:
    transform;
}


/* FOTO */

.artist-3d-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit:
    cover;

  object-position:
    center top;

  transform:
    scale(1.035);

  transition:
    transform 1.05s cubic-bezier(.16,1,.3,1),
    filter .85s ease;

  user-select:
    none;

  pointer-events:
    none;
}


/* FOTO CENTRAL — RESPIRACIÓN INTERNA */

.artist-3d-object.is-active
.artist-3d-image img {
  filter:
    saturate(1.04)
    contrast(1.04);

  transform-origin:
    center center;

  animation:
    thArtistImageBreath
    6.4s
    cubic-bezier(.16,1,.3,1)
    infinite;

  will-change:
    transform;
}


/* =========================================================
   REFLECTION
========================================================= */

.artist-3d-reflection {
  position: absolute;

  inset: 0;

  display: block;

  pointer-events: none;

  background:
    linear-gradient(
      112deg,
      transparent 5%,
      rgba(255,255,255,.04) 23%,
      rgba(255,255,255,.18) 38%,
      rgba(255,255,255,.03) 49%,
      transparent 64%,
      rgba(var(--artist-accent),.15) 100%
    );

  background-size:
    220% 100%;

  mix-blend-mode:
    screen;

  opacity: .72;

  animation:
    thReflectionSweep
    7s
    ease-in-out
    infinite;
}


/* =========================================================
   SIDE IDLE MOTION
========================================================= */

.artist-3d-object.is-prev
.artist-3d-image {
  animation:
    thArtistSideLeft
    7.5s
    ease-in-out
    infinite;
}


.artist-3d-object.is-next
.artist-3d-image {
  animation:
    thArtistSideRight
    8.2s
    ease-in-out
    infinite;
}


/* =========================================================
   FLOOR LIGHT
========================================================= */

.artists-floor-light {
  position: absolute;

  left: 50%;
  bottom: 36px;

  width:
    clamp(280px, 31vw, 430px);

  height: 64px;

  border-radius:
    50%;

  background:
    radial-gradient(
      ellipse,
      rgba(var(--artist-accent), .48) 0%,
      rgba(var(--artist-accent), .17) 36%,
      transparent 72%
    );

  filter:
    blur(10px);

  transform:
    translateX(-50%)
    rotateX(72deg);

  opacity: .83;

  animation:
    thFloorPulse
    5.2s
    ease-in-out
    infinite;
}


/* =========================================================
   BRAND BELOW PRODUCT
========================================================= */

.artists-brand-under {
  position: absolute;

  left: 50%;
  bottom: 0;

  z-index: 30;

  display: flex;

  align-items: center;

  gap: 10px;

  transform:
    translateX(-50%);

  opacity: .80;

  animation:
    thBrandFloat
    4.8s
    ease-in-out
    infinite;
}


.artists-brand-under img {
  width: 52px;
  height: auto;

  object-fit:
    contain;

  filter:
    drop-shadow(
      0 0 12px
      rgba(var(--artist-accent), .18)
    );
}


.artists-brand-under span {
  color:
    rgba(255,255,255,.58);

  font-size: 8px;
  font-weight: 900;

  letter-spacing: .18em;

  text-transform:
    uppercase;
}


/* =========================================================
   PREV / NEXT
========================================================= */

.artists-cinematic-arrow {
  position: absolute;

  top: 48%;

  z-index: 50;

  width: 44px;
  height: 44px;

  padding: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  border:
    1px solid
    rgba(255,255,255,.20);

  border-radius:
    50%;

  background:
    rgba(5,5,5,.82);

  color:
    rgba(255,255,255,.92);

  font-size: 15px;

  cursor: pointer;

  backdrop-filter:
    blur(8px);

  transform:
    translateY(-50%);

  transition:
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease,
    transform .4s cubic-bezier(.16,1,.3,1);
}


.artists-cinematic-prev {
  left: 5px;
}


.artists-cinematic-next {
  right: 5px;
}


.artists-cinematic-arrow:hover {
  background:
    rgb(var(--artist-accent));

  border-color:
    rgb(var(--artist-accent));

  box-shadow:
    0 0 20px
    rgba(var(--artist-accent), .20);
}


/* =========================================================
   EDITORIAL PANEL
========================================================= */

.artists-editorial {
  position: relative;

  z-index: 30;

  width: 100%;

  max-width: 390px;

  align-self: center;

  margin-top: 12px;
}


.artists-editorial-label {
  display: block;

  margin-bottom: 10px;

  color:
    rgb(var(--artist-accent));

  font-size: 9px;
  font-weight: 900;

  line-height: 1;

  letter-spacing: .07em;

  text-transform:
    uppercase;
}


.artists-editorial-name {
  margin: 0;

  color:
    #f5f5f2;

  font-family:
    "Anton",
    sans-serif;

  font-size:
    clamp(64px, 6.2vw, 105px);

  font-weight: 400;

  line-height: .82;

  letter-spacing: -.04em;

  text-transform:
    uppercase;

  transition:
    opacity .45s cubic-bezier(.16,1,.3,1),
    transform .55s cubic-bezier(.16,1,.3,1);
}


.artists-editorial-line {
  width: 100%;
  height: 1px;

  margin:
    20px 0
    19px;

  background:
    rgba(255,255,255,.18);
}


/* =========================================================
   META
========================================================= */

.artists-editorial-meta {
  display: flex;

  flex-direction: column;

  gap: 12px;
}


.artists-editorial-meta > div {
  display: grid;

  grid-template-columns:
    88px
    minmax(0, 1fr);

  gap: 12px;

  align-items: start;
}


.artists-editorial-meta span {
  color:
    rgba(255,255,255,.34);

  font-size: 8px;

  font-weight: 700;

  line-height: 1.3;

  letter-spacing: .06em;
}


.artists-editorial-meta strong {
  color:
    rgba(255,255,255,.90);

  font-size: 9px;

  font-weight: 800;

  line-height: 1.4;

  letter-spacing: .03em;
}


.artists-editorial-genre {
  color:
    rgb(var(--artist-accent)) !important;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.artists-editorial-description {
  max-width: 320px;

  margin-top: 20px;

  color:
    rgba(255,255,255,.48);

  font-size: 10px;

  font-weight: 500;

  line-height: 1.6;

  letter-spacing: .025em;
}


/* =========================================================
   BUTTONS
========================================================= */

.artists-editorial-link {
  width: 182px;

  margin-top: 22px;
}


.artists-all-link {
  width: 190px;

  margin-top: 22px;
}


.artists-cinematic .artists-all-link,
.artists-cinematic .artists-editorial-link {
  position: relative;

  background:
    linear-gradient(
      180deg,
      #202024 0%,
      #111114 40%,
      #070708 72%,
      #020203 100%
    );

  border:
    1px solid #ff1717;

  color:
    #ffffff;

  box-shadow:
    0 5px 0 #650007,
    0 9px 18px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -2px 0 rgba(255,23,23,.15);

  text-shadow:
    0 1px 2px
    rgba(0,0,0,.45);

  transform:
    translateY(0);

  transition:
    background .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    color .2s ease,
    transform .15s ease;
}


.artists-cinematic .artists-all-link:hover,
.artists-cinematic .artists-editorial-link:hover {
  background:
    linear-gradient(
      180deg,
      #29292e 0%,
      #151518 42%,
      #09090b 72%,
      #030304 100%
    );

  border-color:
    #ff3838;

  color:
    #ffffff;

  box-shadow:
    0 6px 0 #810009,
    0 12px 24px rgba(0,0,0,.62),
    0 0 16px rgba(255,23,23,.18),
    inset 0 1px 0 rgba(255,255,255,.30),
    inset 0 -2px 0 rgba(255,23,23,.22);

  transform:
    translateY(-1px);
}


.artists-cinematic .artists-all-link:active,
.artists-cinematic .artists-editorial-link:active {
  transform:
    translateY(3px);

  box-shadow:
    0 2px 0 #650007,
    0 5px 12px rgba(0,0,0,.50),
    inset 0 1px 0 rgba(255,255,255,.20);
}


.artists-cinematic .artists-all-link .arrow,
.artists-cinematic .artists-editorial-link .arrow {
  transition:
    transform .25s
    cubic-bezier(.16,1,.3,1);
}


.artists-cinematic .artists-all-link:hover .arrow,
.artists-cinematic .artists-editorial-link:hover .arrow {
  transform:
    translate3d(2px,-2px,0);
}


/* =========================================================
   PROGRESS
========================================================= */

.artists-cinematic-progress {
  width: 100%;

  margin-top: 28px;

  display: flex;

  align-items: center;

  gap: 11px;

  color:
    rgba(255,255,255,.32);

  font-size: 8px;

  font-weight: 900;
}


.artists-progress-current {
  color:
    rgb(var(--artist-accent));
}


.artists-progress-track {
  position: relative;

  flex: 1;

  height: 1px;

  overflow: hidden;

  background:
    rgba(255,255,255,.17);
}


.artists-progress-track > span {
  position: absolute;

  top: 0;
  left: 0;

  width: 33.333%;
  height: 100%;

  background:
    rgb(var(--artist-accent));

  transform:
    translateX(0);

  transition:
    transform .9s
    cubic-bezier(.16,1,.3,1);
}


/* =========================================================
   IDLE MOTION
========================================================= */


/* ACTIVE ARTIST — FLOATING FRAME */

@keyframes thArtistFloat {

  0%,
  100% {
    transform:
      translate3d(0, 0, 0)
      rotateX(0deg)
      rotateY(0deg)
      scale(1);
  }


  50% {
    transform:
      translate3d(0, -14px, 18px)
      rotateX(.7deg)
      rotateY(-1deg)
      scale(1.008);
  }

}


/* =========================================================
   ACTIVE ARTIST — INTERNAL IMAGE BREATH
========================================================= */

@keyframes thArtistImageBreath {

  0%,
  100% {
    transform:
      translate3d(0, 0, 0)
      scale(1.015);
  }


  50% {
    transform:
      translate3d(0, -6px, 0)
      scale(1.045);
  }

}


/* =========================================================
   SIDE ARTIST — LEFT
========================================================= */

@keyframes thArtistSideLeft {

  0%,
  100% {
    transform:
      translate3d(0, 0, 0);
  }


  50% {
    transform:
      translate3d(-7px, -5px, 8px);
  }

}


/* =========================================================
   SIDE ARTIST — RIGHT
========================================================= */

@keyframes thArtistSideRight {

  0%,
  100% {
    transform:
      translate3d(0, 0, 0);
  }


  50% {
    transform:
      translate3d(7px, 5px, 8px);
  }

}


/* =========================================================
   AMBIENT RED LIGHT
========================================================= */

@keyframes thAmbientBreath {

  0%,
  100% {
    opacity: .72;

    transform:
      translate(-50%, -50%)
      scale(.94);
  }


  50% {
    opacity: 1;

    transform:
      translate(-50%, -50%)
      scale(1.06);
  }

}


/* =========================================================
   FLOOR LIGHT
========================================================= */

@keyframes thFloorPulse {

  0%,
  100% {
    opacity: .58;

    filter:
      blur(10px);
  }


  50% {
    opacity: .95;

    filter:
      blur(15px);
  }

}


/* =========================================================
   TRYHARD BRAND
========================================================= */

@keyframes thBrandFloat {

  0%,
  100% {
    transform:
      translateX(-50%)
      translateY(0);

    opacity: .68;
  }


  50% {
    transform:
      translateX(-50%)
      translateY(-4px);

    opacity: .92;
  }

}


/* =========================================================
   REFLECTION SWEEP
========================================================= */

@keyframes thReflectionSweep {

  0%,
  25% {
    background-position:
      110% 0;
  }


  65%,
  100% {
    background-position:
      -110% 0;
  }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

  .artists-cinematic {
    min-height: auto;

    padding:
      28px
      24px
      26px;
  }


  .artists-cinematic-layout {
    grid-template-columns:
      minmax(0, 1.35fr)
      minmax(230px, .72fr);

    column-gap:
      28px;

    min-height:
      470px;

    margin-top:
      -96px;
  }


  .artists-3d-stage {
    height:
      470px;
  }


  .artist-3d-object {
    width:
      clamp(
        225px,
        30vw,
        325px
      );
  }


  .artists-editorial {
    margin-top:
      8px;
  }


  .artists-editorial-name {
    font-size:
      clamp(
        54px,
        7vw,
        78px
      );
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

  .artists-cinematic {
    min-height: auto;

    padding:
      30px
      18px
      34px;
  }


  .artists-cinematic > .section-number {
    left: 18px;
    top: 14px;
  }


  .artists-cinematic-header {
    align-items:
      flex-end;
  }


  .artists-cinematic-title h2 {
    font-size:
      clamp(
        60px,
        18vw,
        84px
      );
  }


  .artists-cinematic-count {
    margin-bottom:
      5px;
  }


  .artists-count-line {
    width:
      24px;
  }


  .artists-cinematic-layout {
    display:
      block;

    min-height:
      0;

    margin-top:
      0;
  }


  .artists-3d-stage {
    width:
      calc(100% + 36px);

    height:
      440px;

    margin-left:
      -18px;

    overflow:
      hidden;

    perspective:
      1000px;
  }


  .artist-3d-object {
    width:
      min(
        65vw,
        282px
      );

    top:
      42%;
  }


  .artist-3d-object.is-active {
    transform:
      translate3d(
        -50%,
        -50%,
        105px
      )
      rotateY(-4deg)
      scale(1);
  }


  .artist-3d-object.is-prev {
    opacity:
      .28;

    transform:
      translate3d(
        -120%,
        -48%,
        -135px
      )
      rotateY(44deg)
      scale(.68);
  }


  .artist-3d-object.is-next {
    opacity:
      .28;

    transform:
      translate3d(
        20%,
        -48%,
        -135px
      )
      rotateY(-44deg)
      scale(.68);
  }


  .artists-ambient-back {
    width:
      390px;

    height:
      390px;
  }


  .artists-floor-light {
    bottom:
      37px;

    width:
      300px;
  }


  .artists-brand-under {
    bottom:
      2px;
  }


  .artists-brand-under img {
    width:
      46px;
  }


  .artists-cinematic-prev {
    left:
      12px;
  }


  .artists-cinematic-next {
    right:
      12px;
  }


  .artists-editorial {
    max-width:
      none;

    margin-top:
      4px;

    align-self:
      auto;
  }


  .artists-editorial-name {
    font-size:
      clamp(
        64px,
        20vw,
        94px
      );
  }


  .artists-editorial-link {
    width:
      100%;
  }


  .artists-cinematic-progress {
    margin-top:
      24px;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

  .artists-cinematic {
    padding-left:
      16px;

    padding-right:
      16px;

    padding-bottom:
      30px;
  }


  .artists-3d-stage {
    width:
      calc(100% + 32px);

    margin-left:
      -16px;

    height:
      415px;
  }


  .artist-3d-object {
    width:
      min(
        68vw,
        265px
      );
  }


  .artists-cinematic-arrow {
    width:
      40px;

    height:
      40px;
  }

}


/* =========================================================
   REDUCED MOTION
   Mantiene el movimiento principal del artista
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .artists-editorial-name,
  .artists-progress-track > span {
    transition:
      none !important;
  }


  .artists-ambient-back,
  .artists-floor-light,
  .artists-brand-under,
  .artist-3d-reflection {
    animation:
      none !important;
  }

}
/* =====================================================
   SANTI KERN — REENCUADRE DE FOTO
===================================================== */

.artist-3d-object[data-name="SANTI KERN"]
.artist-3d-image img {
  object-position: center 72% !important;
}
/* =====================================================
   ARTISTS — FULL TRYHARD LOGO
===================================================== */

.artists-brand-under {
  display: flex;
  align-items: center;
  justify-content: center;
}

.artists-brand-under .artists-brand-full-logo {
  width: 92px;
  height: auto;
  max-width: none;
  display: block;
}