.winter-team {
  --team-height: clamp(18rem, 57vw, 29.6875rem);
  position: relative;
  min-width: 0;
  padding: 1rem var(--compact-page-gutter) 3.5rem;
  color: #fff;
}
.winter-team__intro { position: relative; text-align: center; max-width: 38.625rem; margin-inline: auto; overflow-wrap: anywhere; }
.winter-team__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.875rem;
  max-width: 100%;
  padding: .4375rem 1rem;
  border-radius: 1.25rem;
  background: rgb(253 253 253 / 20%);
  color: rgb(255 255 255 / 80%);
  font-size: clamp(.75rem, .69rem + .25vw, .875rem);
  font-weight: 500;
  line-height: 1.11;
  backdrop-filter: blur(1.5625rem);
}
.winter-team__title { margin: .9375rem 0 0; color: #fff; font-size: clamp(1.5rem, 1.3rem + 1vw, 1.875rem); font-weight: 600; line-height: 1.11; letter-spacing: 0; }
.winter-team__description { margin: 1.10625rem auto 0; max-width: 38.625rem; color: #fff; opacity: .7; font-size: clamp(.8125rem, .75rem + .25vw, .875rem); font-weight: 500; line-height: 1.25; }
.winter-team__rail { position: relative; display: flex; min-width: 0; gap: 1rem; margin-top: 2.5rem; overflow-x: auto; }
.winter-team__card { position: relative; flex: 0 0 auto; width: calc(var(--team-height) * var(--portrait-ratio)); color: #fff; text-align: center; cursor: pointer; user-select: none; -webkit-user-select: none; }
.winter-team__photo { display: block; width: 100%; max-width: none; height: var(--team-height); object-fit: contain; pointer-events: none; }
.winter-team__card-name { display: block; padding: .75rem; font-size: .875rem; }
.winter-team__card[hidden] { display: none; }
.winter-team__current-name { display: none; align-items: center; justify-content: center; width: fit-content; min-width: 7.8125rem; min-height: 1.875rem; margin: 1.25rem auto 0; padding: .4rem 1rem; border-radius: 1.25rem; background: #1c49d2; font-size: .875rem; font-weight: 500; line-height: 1.11; text-align: center; }
.winter-team__navigation { display: none; align-items: center; justify-content: center; gap: 6px; margin: .75rem auto 0; max-width: 352px; }
.winter-team__arrow { flex: none; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.winter-team__arrow img { display: block; width: 43.3481px; height: 43.3481px; max-width: none; }
.winter-team__arrow--previous img { transform: rotate(-45deg) scaleX(-1); }
.winter-team__arrow--next img { transform: rotate(45deg); }
.winter-team__pagination { display: flex; align-items: center; justify-content: center; min-width: 0; }
.winter-team__dot { position: relative; display: grid; place-items: center; width: 19.7982px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.winter-team__dot > span { display: block; width: 9.55755px; height: 9.55755px; background: url('../images/winter-team/dot.svg') center / contain no-repeat; }
.winter-team__dot.is-active > span { background-image: url('../images/winter-team/dot-active.svg'); }
.winter-team :is(button,a):focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: .375rem; }
.winter-team[data-enhanced="true"] .winter-team__rail { height: var(--team-height); overflow: visible; touch-action: pan-y; }
.winter-team[data-enhanced="true"] .winter-team__card { position: absolute; top: 10%; width: calc(var(--team-height) * var(--portrait-ratio) * .8); height: 80%; transform: translateX(-50%); opacity: .45; }
.winter-team[data-enhanced="true"] .winter-team__photo { width: 100%; height: 100%; object-fit: fill; }
.winter-team[data-enhanced="true"] .winter-team__card.is-previous { left: -8%; }
.winter-team[data-enhanced="true"] .winter-team__card.is-next { left: 108%; }
.winter-team[data-enhanced="true"] .winter-team__card.is-active { top: 0; left: 50%; z-index: 1; width: calc(var(--team-height) * var(--portrait-ratio)); height: 100%; opacity: 1; }
.winter-team[data-enhanced="true"] .winter-team__card-name { display: none; }
.winter-team[data-enhanced="true"] .winter-team__current-name { display: flex; }
.winter-team[data-enhanced="true"] .winter-team__navigation { display: flex; }
.winter-team__scenery-frame { display: none; }
.winter-team__scenery { display: block; width: 100%; height: auto; }
.winter-team__snowflake { position: absolute; pointer-events: none; max-width: none; }
.winter-experience__background .winter-team__snowflake--desktop { display: none; }
/* Phone/tablet. Reference font sizes; the desktop team scene (glow, snowflake,
   trees, snowdrifts) is scaled with the carousel height so its glow stays
   behind the selected characters and the drifts at their feet. On desktop
   the canvas places 475px characters at y 1103 of that art (crop y 880). */
@container winter-experience (width < 75rem) {
  .winter-team__title { font-size: calc(1.75rem * var(--winter-fit-heading)); line-height: 1.1; }
  .winter-team__description { font-size: calc(1rem * var(--winter-fit-text)); line-height: 1.2; }
  /* The scene's faded top reaches up behind the intro, never over it. */
  .winter-team__intro { z-index: 1; }
  .winter-team__stage { position: relative; margin-top: 2.5rem; }
  .winter-team__rail { z-index: 1; margin-top: 0; }
  .winter-team__scenery-frame {
    display: block;
    position: absolute;
    z-index: 0;
    top: calc(var(--team-height) * -223 / 475);
    left: 50%;
    width: calc(var(--team-height) * 1400 / 475);
    max-width: none;
    aspect-ratio: 1400 / 760;
    height: auto;
    translate: -50% 0;
    mask-image: linear-gradient(transparent, #000 20%, #000 78%, transparent);
    pointer-events: none;
  }
  .winter-team__scenery-frame .winter-team__snowflake {
    left: calc(100% * 472 / 1400);
    top: calc(100% * 208 / 760);
    width: calc(100% * 236 / 1400);
    height: auto;
  }
}
@container winter-experience (width < 22rem) {
  .winter-team { --team-height: min(18rem, 88cqw); }
  .winter-team__dot { width: 17px; }
  .winter-team__navigation { gap: 2px; }
}
@container winter-experience (48rem <= width < 75rem) {
  .winter-team { padding-top: 1.5rem; padding-bottom: 4rem; }
  .winter-team__stage { margin-top: 3rem; }
  .winter-team__title { font-size: calc(2rem * var(--winter-fit-heading)); }
  .winter-team[data-enhanced="true"] .winter-team__card.is-previous { left: 8%; }
  .winter-team[data-enhanced="true"] .winter-team__card.is-next { left: 92%; }
}
@container winter-experience (width >= 75rem) {
  /* The transparent 2x export keeps the source rotation and progressive blur.
     Its 236×260 frame begins at (472,1088) on the 1400×1942 source canvas. */
  .winter-experience__background .winter-team__snowflake--desktop {
    display: block;
    top: calc(68 * var(--winter-unit));
    left: calc(50% - 14.25 * var(--winter-unit));
    width: calc(14.75 * var(--winter-unit));
    height: calc(16.25 * var(--winter-unit));
    transform: none;
    mask-image: none;
  }
  .winter-team { --team-height: calc(29.6875 * var(--winter-unit)); width: calc(87.5 * var(--winter-unit)); max-width: 100%; min-height: calc(51.6875 * var(--winter-unit)); margin-inline: auto; padding: 0 0 calc(1.8575 * var(--winter-unit)); }
  .winter-team__intro { max-width: calc(38.625 * var(--winter-unit)); }
  .winter-team__label { min-width: calc(17.1875 * var(--winter-unit)); min-height: calc(1.875 * var(--winter-unit)); padding: 0; border-radius: calc(1.25 * var(--winter-unit)); font-size: calc(.875 * var(--winter-unit)); transform: translateX(calc(.03125 * var(--winter-unit))); }
  .winter-team__title { margin-top: calc(.9375 * var(--winter-unit)); font-size: calc(1.875 * var(--winter-unit)); }
  .winter-team__description { margin-top: calc(1.10625 * var(--winter-unit)); max-width: none; font-size: calc(.875 * var(--winter-unit)); }
  .winter-team__rail { margin-top: calc(4.6875 * var(--winter-unit)); }
  .winter-team[data-enhanced="true"] .winter-team__card { opacity: 1; }
  .winter-team[data-enhanced="true"] .winter-team__card.is-previous { top: calc(.5 * var(--winter-unit)); left: calc(17.5625 * var(--winter-unit)); width: calc(var(--portrait-previous-width, 27.875 * var(--portrait-ratio)) * var(--winter-unit)); height: calc(27.875 * var(--winter-unit)); }
  .winter-team[data-enhanced="true"] .winter-team__card.is-active { top: 0; left: calc(44.1875 * var(--winter-unit)); width: calc(var(--portrait-active-width, 29.6875 * var(--portrait-ratio)) * var(--winter-unit)); height: calc(29.6875 * var(--winter-unit)); }
  .winter-team[data-enhanced="true"] .winter-team__card.is-next { top: calc(1.0625 * var(--winter-unit)); left: calc(66.59375 * var(--winter-unit)); width: calc(var(--portrait-next-width, 27.625 * var(--portrait-ratio)) * var(--winter-unit)); height: calc(27.625 * var(--winter-unit)); }
  .winter-team__current-name { min-width: calc(7.8125 * var(--winter-unit)); min-height: calc(1.875 * var(--winter-unit)); margin-top: calc(1.4375 * var(--winter-unit)); padding: calc(.4375 * var(--winter-unit)) calc(.875 * var(--winter-unit)); border-radius: calc(1.25 * var(--winter-unit)); font-size: calc(.875 * var(--winter-unit)); transform: translateX(calc(.28125 * var(--winter-unit))); }
  /* The source shows seven dots; all ten supplied portraits need room between the arrows. */
  .winter-team__navigation { position: relative; width: calc(22.5 * var(--winter-unit)); height: calc(3.831326 * var(--winter-unit)); margin: calc(.125 * var(--winter-unit)) auto 0; max-width: none; }
  .winter-team__arrow { position: absolute; top: 0; width: calc(3.831326 * var(--winter-unit)); height: calc(3.831326 * var(--winter-unit)); }
  .winter-team__arrow img { width: calc(2.70925625 * var(--winter-unit)); height: calc(2.70925625 * var(--winter-unit)); }
  .winter-team__arrow--previous { left: 0; }
  .winter-team__arrow--next { right: 0; }
  .winter-team__dot { width: calc(1.2373875 * var(--winter-unit)); height: max(44px, calc(2.75 * var(--winter-unit))); }
  .winter-team__dot > span { width: calc(.597347 * var(--winter-unit)); height: calc(.597347 * var(--winter-unit)); }
  .winter-team:not([data-enhanced]) .winter-team__rail { padding-inline: calc(7.5 * var(--winter-unit)); }
}

/* The intro rises once (page-motion.js), as in the reference. */
main .winter-team__intro[data-motion] { --page-reveal-y: 16px; --page-reveal-duration: 560; }
