/* Universal Choice B loading screen for non-Home pages */
html.is-loader-active body {
  overflow: hidden;
}

.sa-loader-stage {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: grid;
  place-items: center;
  background: #101010;
  overflow: hidden;
  transition: background-color 1.05s cubic-bezier(.38, 0, .16, 1), opacity .48s ease;
}

.sa-loader-stage.is-dissolving {
  background: transparent;
  pointer-events: none;
}

.sa-loader-line {
  position: absolute;
  width: 96px;
  height: 1.5px;
  background: #f5f3ee;
  transform-origin: center center;
  transform: scaleX(0);
  opacity: 0;
  will-change: transform, opacity;
}

.sa-loader-mark {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 6;
  margin: 0;
  font: 700 clamp(26px, 2.6vw, 36px)/.9 var(--font-index, "Alte Haas Grotesk", Arial, sans-serif);
  letter-spacing: -.06em;
  color: #f5f3ee;
  transform: translate(-50%, -50%);
  clip-path: inset(100% 0 0 0);
  will-change: transform, clip-path, opacity, filter;
}

.sa-loader-stack {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  will-change: transform, opacity, filter;
}

.sa-loader-cards {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 0;
  height: 0;
  pointer-events: none;
}

.sa-loader-side {
  position: absolute;
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  will-change: transform, opacity, filter;
}

.sa-loader-side > .visual {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
  container: card-art / inline-size;
  position: absolute;
  left: 0;
  top: 0;
  width: 448px;
  height: 592px;
  aspect-ratio: auto;
  border-radius: 0;
  transform: scale(var(--tile-scale, .25));
  transform-origin: 0 0;
  pointer-events: none;
  font-family: var(--font-index, "Alte Haas Grotesk", Arial, sans-serif);
}

.sa-loader-portrait {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 4;
  overflow: hidden;
  background: #101010;
  border-radius: 2px;
  opacity: 0;
  transform-origin: center center;
  will-change: transform, opacity, filter;
}

.sa-loader-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, #101010 0%, rgba(16, 16, 16, .78) 28%, rgba(16, 16, 16, 0) 64%),
    linear-gradient(to right, #101010 0%, transparent 10%, transparent 90%, #101010 100%);
  pointer-events: none;
}

.sa-loader-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
  filter: grayscale(1) contrast(1.04);
  mix-blend-mode: lighten;
}

/* Study artwork miniature styles scoped cleanly inside .sa-loader-stage */
.sa-loader-stage .folio {
  background: #b4bbaa;
  color: #24362a;
  padding: 4.5% 8%;
}
.sa-loader-stage .editorial {
  background: #e8e5d9;
  width: 100%;
  padding: 4.2%;
  box-shadow: 0 15px 35px #14251c20;
}
.sa-loader-stage .mocknav {
  font-size: clamp(10px, 2.1cqi, 18px);
  letter-spacing: -.05em;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.sa-loader-stage .mocknav span {
  font-size: clamp(7px, 1.25cqi, 11px);
  font-weight: 400;
  letter-spacing: -.03em;
  align-self: center;
}
.sa-loader-stage .editorialtitle {
  font-weight: 500;
  font-size: clamp(20px, 6.8cqi, 62px);
  line-height: .96;
  letter-spacing: -.07em;
  margin: 4% 0 3.5%;
}
.sa-loader-stage .editorialtitle i { font-weight: 400; }
.sa-loader-stage .editorial img {
  width: 100%;
  height: clamp(82px, 26cqi, 232px);
  object-fit: cover;
  background: #536350;
  filter: saturate(.55);
  display: block;
}
.sa-loader-stage .mockfoot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: clamp(6px, 1.05cqi, 10px);
  margin-top: 3%;
}

.sa-loader-stage .visual.tempo {
  background: #bdc8d8;
  color: #191b19;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 34px 28px 24px;
  gap: 14px;
  text-align: left;
}
.sa-loader-stage .visual.tempo .appword {
  width: 100%;
  padding-top: 0;
  font-size: 32px;
  line-height: 1.06;
  letter-spacing: -.05em;
}
.sa-loader-stage .appword i { font-weight: 400; }
.sa-loader-stage .visual.tempo .phone {
  position: relative;
  width: 74%;
  padding: 5.5% 5.5% 4.5%;
  border: max(3px, .55cqi) solid #24282c;
  background: #eaecee;
  color: #242b32;
  border-radius: clamp(14px, 3.4cqi, 24px);
  transform: rotate(2.5deg);
  box-shadow: 10px 16px 28px #21364d36;
}
.sa-loader-stage .island {
  position: absolute;
  top: 2.5%;
  left: 35%;
  width: 30%;
  height: clamp(4px, 1.1cqi, 8px);
  background: #24282c;
  border-radius: 12px;
}
.sa-loader-stage .phonebar {
  font-size: clamp(7px, 1.25cqi, 10px);
  display: flex;
  justify-content: space-between;
  margin-bottom: 4.5%;
}
.sa-loader-stage .phone > .meta {
  display: block;
  font-size: clamp(6px, 1.05cqi, 9px);
  letter-spacing: .08em;
}
.sa-loader-stage .greeting {
  font-size: clamp(11px, 2.8cqi, 22px);
  line-height: 1.06;
  letter-spacing: -.04em;
  margin: 3.5% 0 4.5%;
}
.sa-loader-stage .timer {
  width: 52%;
  margin: 0 auto;
  aspect-ratio: 1;
  border: 1px solid #87939c;
  border-top: 3px solid #414d5b;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.sa-loader-stage .timer strong {
  font-size: clamp(14px, 4cqi, 34px);
  font-weight: 400;
  line-height: 1;
}
.sa-loader-stage .timer small { font-size: clamp(6px, .95cqi, 8px); }
.sa-loader-stage .starttimer {
  background: #28313d;
  color: #ffffff;
  padding: 3.5% 6%;
  border-radius: 16px;
  font-size: clamp(7px, 1.25cqi, 10px);
  text-align: center;
  margin-top: 5%;
}
.sa-loader-stage .apptabs {
  font-size: clamp(6px, .95cqi, 8px);
  text-align: center;
  margin-top: 4%;
}

.sa-loader-stage .typeart {
  background: #bc3619;
  color: #f7ede0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15% 12% 11%;
}
.sa-loader-stage .typeart strong {
  font-weight: 700;
  line-height: .78;
  font-size: clamp(44px, 20.5cqi, 168px);
  letter-spacing: -.06em;
  text-align: left;
}
.sa-loader-stage .typeart strong i { font-weight: 400; }
.sa-loader-stage .typecaption {
  position: absolute;
  top: 5.5%;
  left: 6%;
  font-weight: 500;
  font-size: clamp(9px, 1.9cqi, 12px);
  letter-spacing: .02em;
  z-index: 2;
}
.sa-loader-stage .typecaption.right {
  top: auto;
  left: auto;
  right: 5.5%;
  bottom: 6%;
  writing-mode: vertical-rl;
}

.sa-loader-stage .concept-cover {
  padding: 7%;
  align-content: space-between;
  justify-items: start;
  text-align: left;
}
.sa-loader-stage .concept-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: clamp(11px, 2.2cqi, 15px);
  font-weight: 600;
}
.sa-loader-stage .concept-top span {
  font-size: clamp(8px, 1.4cqi, 11px);
  font-weight: 400;
}
.sa-loader-stage .concept-cover > strong {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: clamp(26px, 8.6cqi, 74px);
  line-height: .98;
  letter-spacing: -.07em;
}
.sa-loader-stage .concept-cover > small {
  font-size: clamp(8px, 1.5cqi, 11px);
  z-index: 1;
}
.sa-loader-stage .architecture { background: #d8d1c2; color: #363b31; }
.sa-loader-stage .architecture-window {
  position: absolute;
  right: 10%;
  top: 24%;
  width: 35%;
  height: 76%;
  border-radius: 48% 48% 0 0;
  background: linear-gradient(110deg, #5d6850, #b1b99b 46%, #d9ddc7 47%, #90977a);
  box-shadow: -20px 12px 35px #514b3c22;
}
.sa-loader-stage .coffee { background: #711e24; color: #f9dfb4; }
.sa-loader-stage .coffee-pack {
  position: absolute;
  right: 9%;
  bottom: 10%;
  width: 29%;
  height: 48%;
  background: #edd6ad;
  color: #72272b;
  transform: rotate(9deg);
  padding: 7% 3%;
  font-size: clamp(10px, 2.5cqi, 22px);
  font-weight: 700;
  line-height: 1.1;
  box-shadow: 14px 20px 25px #29080c44;
}
.sa-loader-stage .coffee-pack small { display: block; margin-top: 22%; font-size: clamp(6px, 1.2cqi, 9px); }

.sa-loader-stage .travel {
  background: #c6dadd;
  color: #203c42;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 6% 7% 0;
}
.sa-loader-stage .travel-screen {
  background: #f8f6ed;
  width: 64%;
  margin: 4% auto 0;
  padding: 5.5% 6.5% 5%;
  border-radius: clamp(14px, 3cqi, 22px) clamp(14px, 3cqi, 22px) 0 0;
  box-shadow: 0 12px 40px #23444a22;
}
.sa-loader-stage .travel-screen strong {
  display: block;
  font-weight: 700;
  font-size: clamp(17px, 5.4cqi, 34px);
  line-height: 1.05;
  letter-spacing: -.06em;
  margin: 6px 0 8px;
}
.sa-loader-stage .travel-screen small,
.sa-loader-stage .travel-screen p {
  font-size: clamp(8px, 1.65cqi, 11px);
  line-height: 1.3;
}
.sa-loader-stage .travel-landscape {
  height: clamp(46px, 15cqi, 96px);
  border-radius: 70px 70px 0 0;
  background: linear-gradient(150deg, #cad9cc 30%, #7a9c7b 31% 50%, #37574b 51% 70%, #9cae7c 71%);
  margin-bottom: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .sa-loader-stage {
    display: none !important;
  }
}
