@font-face {
  font-family: "Anton";
  src: url("fonts/Anton-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
.uniform-experience {
  --accent: #ffbb48;
  --edge: clamp(1.25rem, 4.8vw, 6rem);
  --ease-look: cubic-bezier(.22,.68,.18,1);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template: "copy ." auto "uniforms dock" minmax(12rem, 1fr) "explore dock" auto / minmax(0, 46fr) minmax(0, 54fr);
  row-gap: clamp(.65rem, 1.8svh, 1.25rem);
  align-items: end;
  min-height: max(34rem, calc(100svh - var(--nav-h) - var(--subnav-h)));
  padding: clamp(1.35rem, 4.5svh, 3.5rem) var(--edge) clamp(1.1rem, 3.5svh, 3rem);
  color: #fff;
  background: #121314;
}
.uniform-experience [hidden] { display: none !important; }
.ue-stage, .ue-photo, .uniform-experience::before {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.ue-stage { z-index: -4; overflow: hidden; }
.ue-reveal { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ue-reveal .ue-photo {
  width: var(--photo-w); height: var(--photo-h); max-width: none;
  left: var(--photo-x); top: var(--photo-y); transform-origin: 0 0;
}
.ue-photo { display: block; object-fit: cover; object-position: 67% 46%; }
.uniform-experience::before {
  content: ""; z-index: -3; pointer-events: none;
  background: linear-gradient(90deg, #0b0c0fea 0%, #111216ad 23%, #13141745 46%, transparent 66%),
    linear-gradient(0deg, #0b0c10b0, transparent 31%);
}
.ue-mannequin {
  grid-area: uniforms; position: relative; align-self: stretch; min-width: 0;
  pointer-events: none;
}
.ue-views {
  --view-gap: clamp(.6rem, 1.15vw, 1.5rem);
  position: absolute; inset: 0; display: flex; gap: var(--view-gap);
}
.ue-views figure {
  display: grid; grid-template-rows: minmax(0,1fr) auto; gap: .35rem;
  width: auto; max-width: 47%; min-width: 0; margin: 0;
}
.ue-views img {
  display: block; height: 100%; width: auto; max-width: 100%; min-height: 0; min-width: 0;
  object-fit: contain; object-position: center bottom; justify-self: center;
  filter: drop-shadow(4px 8px 8px #06060665);
}
.ue-views figcaption {
  text-align: center; font-size: .76rem; font-weight: 550; letter-spacing: .07em;
  color: #fff; text-shadow: 0 1px 5px #070809;
}
@supports (height: 1cqh) {
  .ue-views { container-type: size; }
  .ue-views figure { display: flex; flex-direction: column; align-items: center; max-width: none; }
  .ue-views img {
    height: min(calc(100cqh - 1.5rem), calc((100cqw - var(--view-gap)) / var(--pair-aspect, .71)));
    flex: none;
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .ue-mannequin { transition: transform 240ms ease-out; }
}
.ue-copy {
  grid-area: copy; align-self: start; position: relative;
  max-width: min(42vw, 45rem); margin: 0;
  text-shadow: 0 2px 16px #07080980;
}
.ue-copy::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -22% -10% -28% calc(-1 * var(--edge));
  background: radial-gradient(ellipse at 25% 55%, #0b0c10ab, transparent 72%);
}
.ue-role {
  display: flex; align-items: center; gap: .65rem; margin: 0 0 1rem;
  font-size: .84rem; font-weight: 650; line-height: 1.3; text-transform: uppercase; letter-spacing: .15em;
}
.ue-role::before { content: ""; width: 1.8rem; height: 3px; background: var(--accent); }
.ue-title, .ue-gallery-head h2 {
  font-family: Anton, Impact, Haettenschweiler, "Arial Narrow", sans-serif;
  font-weight: 400; text-transform: uppercase; letter-spacing: -.015em; word-spacing: .025em;
}
.ue-title { font-size: clamp(3.5rem, min(6.9vw, 11svh), 8.1rem); line-height: .96; }
.ue-title span, .ue-title strong { display: block; }
.ue-title strong { color: var(--accent); font-weight: inherit; }
.ue-description {
  max-width: 36ch; margin: .9rem 0 0; color: #f6f4f0;
  font-size: clamp(1rem, 1.15vw, 1.23rem); font-weight: 400; line-height: 1.46; text-wrap: pretty;
  text-shadow: 0 1px 5px #090909, 0 2px 16px #090909b0;
}
.ue-dock { grid-area: dock; justify-self: end; align-self: end; max-width: 100%; min-width: 0; }
.ue-film {
  display: flex; flex-direction: row-reverse; align-items: flex-end; justify-content: flex-end;
  width: max-content; max-width: 100%; gap: clamp(.38rem, .7vw, .8rem); margin: 0 0 1.05rem auto;
}
.uniform-experience button { font: inherit; color: inherit; cursor: pointer; }
.ue-thumb {
  --thumb-w: clamp(3.75rem, 6.25vw, 7.3rem);
  position: relative; width: var(--thumb-w); aspect-ratio: 1.62;
  padding: 0; border: 0; border-radius: .32rem; background: #1c1e21;
}
.ue-thumb .ue-print {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: 70% center;
  border-radius: inherit; outline: 1px solid #ffffff70; outline-offset: -1px; opacity: .84;
  transition: transform 220ms var(--ease-look), box-shadow 220ms, opacity 220ms;
}
.ue-thumb[aria-current] .ue-print { outline: 2px solid #ffffffe0; outline-offset: -2px; opacity: 1; }
.ue-progress {
  position: absolute; bottom: -.42rem; left: 8%; right: 8%; height: 3px; border-radius: 2px;
  background: color-mix(in srgb, var(--accent) 38%, #1a1a1a);
}
.ue-progress i {
  display: block; height: 100%; border-radius: inherit; transform-origin: left center;
  background: var(--accent); box-shadow: 0 0 9px var(--accent);
}
.ue-thumb:focus-visible .ue-print { opacity: 1; }
@media (hover: hover) {
  .ue-thumb:hover .ue-print {
    opacity: 1; transform: translateY(-3px) scale(1.065);
    box-shadow: 0 0 17px color-mix(in srgb, var(--look-color) 76%, transparent);
  }
}
.ue-tools, .ue-playback, .ue-open, .ue-explore { display: flex; align-items: center; }
.ue-tools { justify-content: flex-end; gap: clamp(.7rem, 1.6vw, 1.6rem); }
.uniform-experience svg {
  width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.uniform-experience :focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.uniform-experience .ue-open {
  gap: .6rem; min-height: 46px; padding: .6rem 1.05rem; border-radius: 3rem; white-space: nowrap;
  border: 1px solid color-mix(in srgb, var(--accent) 82%, white);
  background: color-mix(in srgb, var(--accent) 18%, #19191c); font-size: .94rem; font-weight: 600;
  box-shadow: 0 0 11px color-mix(in srgb, var(--accent) 45%, transparent), 0 0 28px color-mix(in srgb, var(--accent) 26%, transparent);
}
.ue-open svg { color: var(--accent); }
.ue-open:hover { filter: brightness(1.15); }
.ue-playback { gap: 1px; padding: 0 .2rem 0 .8rem; border: 1px solid #ffffff40; border-radius: 2rem; background: #111215ad; }
.ue-count { margin-right: .4rem; font-size: .78rem; letter-spacing: .06em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ue-playback button, .ue-close {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: transparent; border: 0; border-radius: 50%;
}
.ue-playback button:hover, .ue-close:hover { background: #ffffff24; }
.ue-motion span:not(.sr-only) { display: grid; place-items: center; }
.ue-motion .ue-when-paused, [data-paused] .ue-motion .ue-when-playing { display: none !important; }
[data-paused] .ue-motion .ue-when-paused { display: grid !important; }
.ue-explore { grid-area: explore; justify-self: start; min-height: 44px; gap: .45rem; color: #fff; font-size: .9rem; text-shadow: 0 1px 5px #000; }
.ue-explore:hover { text-decoration: underline; }
#introduccion { scroll-margin-top: calc(var(--nav-h) + var(--subnav-h)); }
.ue-gallery {
  position: fixed; inset: 0; width: min(70rem, 94vw); height: min(54rem, 90dvh);
  max-width: none; max-height: none; margin: auto; padding: 0; overflow: auto; overscroll-behavior: contain;
  background: #17181a; color: #fff; border: 1px solid #ffffff38; border-radius: 1rem;
}
.ue-gallery::backdrop { background: #08090cef; }
.ue-gallery-head {
  position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.15rem clamp(1rem, 3vw, 2rem); background: #17181af5; border-bottom: 1px solid #ffffff28;
}
.ue-gallery-head h2 { font-size: clamp(1.6rem, 3vw, 2.8rem); line-height: 1; }
.ue-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; list-style: none; margin: 0; padding: clamp(1rem, 3vw, 2rem); }
.ue-look {
  display: grid; position: relative; align-content: end; isolation: isolate; overflow: hidden;
  width: 100%; aspect-ratio: 1.52; padding: .9rem; text-align: left; border: 0; border-radius: .45rem; background: #25272a;
}
.ue-look img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ue-look::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#060709df,transparent 67%); }
.ue-look b { font-size: 1rem; line-height: 1.1; text-shadow: 0 1px 7px #000; }
.ue-look:is(:hover,[aria-current]) { box-shadow: 0 0 0 2px var(--accent); }
@media (max-width: 780px) {
  .ue-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .ue-thumb { --thumb-w: clamp(3.5rem, 10vw, 5rem); }
}
@media (orientation: portrait) { .ue-photo { object-position: 86% center; } }
@media (max-width: 650px) {
  .uniform-experience {
    --edge: clamp(1rem, 5vw, 1.8rem);
    grid-template: "copy" auto "uniforms" minmax(8rem, 1fr) "dock" auto / minmax(0, 1fr);
    min-height: max(29rem, calc(100svh - var(--nav-h) - var(--subnav-h)));
  }
  .ue-photo { object-position: 88% center; }
  .uniform-experience::before {
    background: linear-gradient(0deg,#0c0d10ce,transparent 40%),
      linear-gradient(90deg,#101114cf,#10111485 35%,transparent 82%);
  }
  .ue-mannequin { width: 62%; }
  .ue-copy { max-width: 84%; }
  .ue-title { font-size: clamp(2.65rem, min(11.6vw, 7.9svh), 4.8rem); }
  .ue-description { max-width: 28ch; margin-top: .65rem; font-size: 1rem; }
  .ue-role { margin-bottom: .65rem; }
  .ue-thumb { --thumb-w: clamp(3rem, 14vw, 5.2rem); }
  .ue-playback { padding-inline: .15rem; gap: 0; }
  .ue-playback button { width: 40px; }
  .ue-count { margin-inline: .4rem .1rem; }
  .ue-explore { display: none; }
  .ue-gallery { width: 100%; height: 100dvh; border: 0; border-radius: 0; }
  .ue-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
}
@media (max-width: 650px) and (max-height: 640px) {
  .uniform-experience { padding-block: 1rem; row-gap: .6rem; }
  .ue-copy { max-width: 95%; }
  .ue-description { margin-top: .6rem; line-height: 1.3; }
}
@media (max-width: 370px) {
  .ue-tools { gap: .45rem; }
  .ue-count { display: none; }
  .ue-playback button { width: 39px; }
  .uniform-experience .ue-open { padding-inline: .7rem; }
}
@media (max-height: 580px) and (min-width: 651px) {
  .uniform-experience {
    grid-template-rows: auto minmax(7.4rem,1fr) auto; row-gap: .4rem;
    min-height: max(20rem, calc(100svh - var(--nav-h) - var(--subnav-h))); padding-block: .75rem;
  }
  .ue-title { font-size: clamp(3rem, 9.5svh, 4.1rem); }
  .ue-role, .ue-description { margin-block: .45rem; }
  .ue-thumb { --thumb-w: 3.6rem; }
}
@media (max-height: 480px) and (min-width: 651px) {
  .uniform-experience {
    grid-template: "copy ." auto "uniforms dock" minmax(5.75rem,1fr) / minmax(0,1fr) minmax(0,1fr);
    min-height: max(16.25rem, calc(100svh - var(--nav-h) - var(--subnav-h)));
  }
  .ue-explore { display: none; }
  .ue-copy { max-width: 100%; }
  .ue-role { margin: 0 0 .35rem; }
  .ue-title { font-size: clamp(2rem, 8.5svh, 2.55rem); }
  .ue-description { margin: .4rem 0 0; font-size: .95rem; line-height: 1.3; max-width: 48ch; }
}
@media (prefers-reduced-motion: reduce) {
  .ue-progress i { transform: none !important; }
  .ue-thumb .ue-print { transition: none; }
  .ue-thumb:hover .ue-print { transform: none; }
}
@media print { .uniform-experience { display: none; } }
