/* ==========================================================================
   THERA STUDIO — WORK PAGE
   ========================================================================== */

.work-page {
  background-color: var(--colors--black);
  color: var(--colors--white);
}

.work-page .page-wrapper {
  width: 100%;
  position: relative;
  overflow: visible;
}

/* ==========================================================================
   WORK HERO
   ========================================================================== */

.work-hero {
  background-color: var(--colors--black);
  width: 100%;
  min-height: 68svh;
  padding: 7rem 0 4rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.wh-container {
  width: 100%;
  min-height: 50svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wh-marquee {
  width: 100%;
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.wh-marquee-track {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 4rem;
  flex-shrink: 0;
  white-space: nowrap;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.wh-marquee-item {
  flex: none;
  display: inline-flex;
  align-items: center;
}

.wh-marquee-t {
  font-family: var(--font--heading);
  color: var(--colors--white);
  font-size: 7rem;
  font-weight: var(--font--semi-bold);
  line-height: .9;
  opacity: .2;
  letter-spacing: -.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ==========================================================================
   SELECTED INDUSTRIES
   ========================================================================== */

.work-fields {
  background-color: var(--colors--black);
  width: 100%;
  padding-top: 4rem;
  padding-bottom: 11rem;
  position: relative;
}

.work-fields-container {
  width: 100%;
  max-width: var(--spacing--max-w-xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: 4rem;
  padding-right: 4rem;
}

.work-fields-header {
  width: 100%;
  margin-bottom: 6rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4rem;
}

.work-fields-kicker {
  flex: none;
  font-family: var(--font--body-font);
  color: var(--colors--white);
  font-size: 1.2rem;
  font-weight: var(--font--normal);
  line-height: 1;
  text-transform: uppercase;
}

.work-fields-intro {
  width: 100%;
  max-width: 420px;
  font-family: var(--font--body-font);
  color: rgba(255, 255, 255, .62);
  font-size: .95rem;
  font-weight: var(--font--normal);
  line-height: 1.5;
  text-align: right;
}

.work-fields-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.work-field-card {
  width: 100%;
  color: var(--colors--white);
  text-decoration: none;
  display: block;
}

.work-field-media {
  background-color: #111;
  aspect-ratio: 3 / 4;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.work-field-image {
  pointer-events: none;
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
  transform: scale(1.001);
  will-change: transform;
  transition: transform .9s cubic-bezier(.2, .75, .25, 1);
}

.work-field-overlay {
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, .25) 100%);
  position: absolute;
  inset: 0;
  opacity: .78;
  transition: opacity .6s ease;
}

.work-field-meta {
  width: 100%;
  padding-top: 1.15rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.work-field-title {
  font-family: var(--font--heading);
  color: var(--colors--white);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.1;
}

.work-field-index {
  flex: none;
  font-family: var(--font--body-font);
  color: rgba(255, 255, 255, .56);
  font-size: .68rem;
  font-weight: var(--font--normal);
  line-height: 1.2;
}

@media (hover: hover) and (pointer: fine) {
  .work-field-card:hover .work-field-image {
    transform: scale(1.035);
  }

  .work-field-card:hover .work-field-overlay {
    opacity: .48;
  }
}

/* ==========================================================================
   THERA WORLDS
   ========================================================================== */

.worlds {
  background-color: var(--colors--black);
  color: var(--colors--white);
  width: 100%;
  position: relative;
}

.worlds-stage {
  background-color: var(--colors--black);
  width: 100%;
  height: 100svh;
  position: relative;
  overflow: hidden;
}

.worlds-header {
  z-index: 20;
  pointer-events: none;
  width: 100%;
  padding: 1.75rem 4rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: absolute;
  top: 0;
  left: 0;
}

.worlds-kicker {
  font-family: var(--font--body-font);
  color: rgba(255, 255, 255, .7);
  font-size: 1rem;
  font-weight: var(--font--normal);
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.worlds-header-copy {
  font-family: var(--font--body-font);
  color: rgba(255, 255, 255, .48);
  font-size: .68rem;
  font-weight: var(--font--normal);
  line-height: 1.3;
  letter-spacing: .08em;
  text-align: right;
  text-transform: uppercase;
}

.worlds-track {
  width: max-content;
  height: 100%;
  display: flex;
  flex-wrap: nowrap;
  will-change: transform;
}

.world-slide {
  background-color: var(--colors--black);
  width: 100vw;
  height: 100svh;
  flex: none;
  padding: 8rem 4rem 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 30rem);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.world-slide::after {
  content: "";
  pointer-events: none;
  background-color: rgba(255, 255, 255, .09);
  width: calc(100% - 8rem);
  height: 1px;
  position: absolute;
  bottom: 4rem;
  left: 4rem;
}

/* ==========================================================================
   WORLD INFO
   ========================================================================== */

.world-info {
  z-index: 5;
  align-self: flex-start;
  min-width: 0;
  padding-top: 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.world-index {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--font--heading);
  color: var(--colors--white);
  line-height: 1;
}

.world-index span:first-child {
  font-size: 3rem;
  font-weight: var(--font--normal);
  line-height: .9;
  letter-spacing: -.05em;
}

.world-index span:last-child {
  margin-top: .45rem;
  font-family: var(--font--body-font);
  color: rgba(255, 255, 255, .34);
  font-size: .62rem;
  font-weight: var(--font--normal);
  line-height: 1;
  letter-spacing: .12em;
}

.world-copy {
  min-width: 0;
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.world-label {
  margin-bottom: 1.4rem;
  font-family: var(--font--body-font);
  color: rgba(255, 255, 255, .52);
  font-size: .66rem;
  font-weight: var(--font--normal);
  line-height: 1;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.world-title {
  z-index: 5;
  margin: 0;
  font-family: var(--font--heading);
  color: var(--colors--white);
  font-size: 7rem;
  font-weight: var(--font--medium);
  line-height: .78;
  letter-spacing: -.065em;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  will-change: transform, opacity, filter;
}

.world-description {
  max-width: 24rem;
  margin: 2.25rem 0 0;
  font-family: var(--font--body-font);
  color: rgba(255, 255, 255, .64);
  font-size: 1.2rem;
  font-weight: var(--font--normal);
  line-height: 1.45;
  letter-spacing: -.01em;
}

/* ==========================================================================
   WORLD VISUAL
   ========================================================================== */

.world-visual {
  z-index: 3;
  justify-self: end;
  position: relative;
}

.world-visual--portrait {
  width: 22rem;
  height: 31rem;
}

.world-visual--landscape {
  width: 29rem;
  height: 20rem;
}

.world-visual--wide {
  width: 30rem;
  height: 21rem;
}

.world-image-wrap {
  background-color: var(--colors--black-2);
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  clip-path: inset(10% 10% 10% 10%);
  will-change: clip-path, transform;
}

.world-image {
  width: 114%;
  height: 114%;
  max-width: none;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  position: absolute;
  top: -7%;
  left: -7%;
  will-change: transform, filter;
}

.world-visual::after {
  content: "";
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .16);
  position: absolute;
  inset: -.75rem;
}

.world-visual-meta {
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font--body-font);
  color: rgba(255, 255, 255, .34);
  font-size: .55rem;
  font-weight: var(--font--normal);
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.world-corner {
  color: rgba(255, 255, 255, .26);
  font-family: var(--font--body-font);
  font-size: .55rem;
  font-weight: var(--font--normal);
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  position: absolute;
  right: 4rem;
  bottom: 1.7rem;
}

/* ==========================================================================
   THERA FINALE
   ========================================================================== */

.world-slide--thera {
  grid-template-columns: 1fr;
}

.world-info--thera {
  z-index: 5;
  max-width: 76rem;
}

.world-copy--thera {
  margin-top: 3rem;
}

.world-title--thera {
  max-width: 74rem;
  font-size: 7rem;
  line-height: .82;
  letter-spacing: -.065em;
  white-space: normal;
}

.world-slide--thera .world-description {
  max-width: 28rem;
}

.world-thera-mark {
  z-index: 1;
  pointer-events: none;
  font-family: var(--font--heading);
  color: rgba(255, 255, 255, .045);
  font-size: 15rem;
  font-weight: var(--font--semi-bold);
  line-height: .75;
  text-transform: uppercase;
  white-space: nowrap;
  position: absolute;
  right: 3rem;
  bottom: 5rem;
  will-change: transform, opacity;
}

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

.worlds-progress {
  z-index: 30;
  pointer-events: none;
  display: flex;
  align-items: center;
  position: absolute;
  left: 4rem;
  bottom: 1.65rem;
}

.worlds-progress-track {
  background-color: rgba(255, 255, 255, .12);
  width: 18rem;
  height: 1px;
  overflow: hidden;
}

.worlds-progress-fill {
  background-color: var(--colors--white);
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.worlds-progress-meta {
  margin-left: 1rem;
  display: flex;
  align-items: center;
  font-family: var(--font--body-font);
  color: rgba(255, 255, 255, .32);
  font-size: .55rem;
  font-weight: var(--font--normal);
  line-height: 1;
  letter-spacing: .08em;
}

.worlds-progress-current {
  margin-right: .4rem;
  color: var(--colors--white);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.work-page .section-footer {
  background-color: var(--colors--black);
  position: relative;
  z-index: 3;
}

/* ==========================================================================
   LARGE DESKTOP
   ========================================================================== */

@media screen and (min-width: 1600px) {
  .wh-marquee-t {
    font-size: 8rem;
  }

  .work-fields-container {
    padding-left: 5rem;
    padding-right: 5rem;
  }

  .work-fields-grid {
    gap: 2rem;
  }

  .work-field-title {
    font-size: 1.25rem;
  }

  .world-slide {
    grid-template-columns: minmax(0, 1fr) minmax(24rem, 34rem);
    padding-left: 5rem;
    padding-right: 5rem;
  }

  .world-slide--thera {
    grid-template-columns: 1fr;
  }

  .world-slide::after {
    width: calc(100% - 10rem);
    left: 5rem;
  }

  .worlds-header {
    padding-left: 5rem;
    padding-right: 5rem;
  }

  .world-info {
    padding-top: 5rem;
  }

  .world-index span:first-child {
    font-size: 3.5rem;
  }

  .world-title {
    font-size: 8rem;
  }

  .world-title--thera {
    max-width: 90rem;
    font-size: 8.5rem;
  }

  .world-description {
    max-width: 27rem;
    font-size: 1.2rem;
  }

  .world-visual--portrait {
    width: 24rem;
    height: 34rem;
  }

  .world-visual--landscape {
    width: 33rem;
    height: 23rem;
  }

  .world-visual--wide {
    width: 34rem;
    height: 24rem;
  }

  .world-thera-mark {
    font-size: 18rem;
    right: 4rem;
  }

  .world-corner {
    right: 5rem;
  }

  .worlds-progress {
    left: 5rem;
  }
}

/* ==========================================================================
   DESKTOP / SMALL LAPTOP
   ========================================================================== */

@media screen and (max-width: 1200px) {
  .world-slide {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .world-slide--thera {
    grid-template-columns: 1fr;
  }

  .world-slide::after {
    width: calc(100% - 6rem);
    left: 3rem;
  }

  .worlds-header {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .world-title {
    font-size: 5.8rem;
  }

  .world-title--thera {
    max-width: 60rem;
    font-size: 6rem;
  }

  .world-description {
    max-width: 21rem;
  }

  .world-visual--portrait {
    width: 18rem;
    height: 26rem;
  }

  .world-visual--landscape {
    width: 23rem;
    height: 17rem;
  }

  .world-visual--wide {
    width: 24rem;
    height: 17rem;
  }

  .world-thera-mark {
    font-size: 12rem;
    right: 2rem;
  }

  .world-corner {
    right: 3rem;
  }

  .worlds-progress {
    left: 3rem;
  }
}

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

@media screen and (max-width: 991px) {
  .work-hero {
    min-height: 60svh;
    padding: 6rem 0 3rem;
  }

  .wh-container {
    min-height: 44svh;
  }

  .wh-marquee-track {
    gap: 3rem;
  }

  .wh-marquee-t {
    font-size: 5.5rem;
  }

  .work-fields {
    padding-top: 3rem;
    padding-bottom: 8rem;
  }

  .work-fields-container {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .work-fields-header {
    margin-bottom: 4.5rem;
  }

  .work-fields-grid {
    gap: 1rem;
  }

  .work-fields-intro {
    max-width: 340px;
  }

  .work-field-title {
    font-size: 1rem;
  }

  .world-slide {
    grid-template-columns: minmax(0, 1fr) 18rem;
    padding: 7rem 2rem 4rem;
  }

  .world-slide--thera {
    grid-template-columns: 1fr;
  }

  .world-slide::after {
    width: calc(100% - 4rem);
    left: 2rem;
    bottom: 3rem;
  }

  .worlds-header {
    padding: 1.5rem 2rem 0;
  }

  .world-info {
    padding-top: 4rem;
  }

  .world-index span:first-child {
    font-size: 2.5rem;
  }

  .world-copy {
    margin-top: 3rem;
  }

  .world-title {
    font-size: 4.7rem;
  }

  .world-title--thera {
    max-width: 46rem;
    font-size: 5rem;
  }

  .world-description {
    max-width: 18rem;
    margin-top: 1.75rem;
    font-size: .82rem;
  }

  .world-slide--thera .world-description {
    max-width: 24rem;
  }

  .world-visual--portrait {
    width: 15rem;
    height: 23rem;
  }

  .world-visual--landscape {
    width: 18rem;
    height: 14rem;
  }

  .world-visual--wide {
    width: 18rem;
    height: 14rem;
  }

  .world-thera-mark {
    font-size: 10rem;
    right: 1rem;
  }

  .world-corner {
    right: 2rem;
    bottom: 1.45rem;
  }

  .worlds-progress {
    left: 2rem;
    bottom: 1.4rem;
  }

  .worlds-progress-track {
    width: 14rem;
  }
}

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

@media screen and (max-width: 767px) {
  .work-hero {
    min-height: 52svh;
    padding: 5rem 0 2rem;
  }

  .wh-container {
    min-height: 38svh;
  }

  .wh-marquee-track {
    gap: 2rem;
  }

  .wh-marquee-t {
    font-size: 4rem;
    line-height: .9;
  }

  .work-fields {
    padding-top: 3rem;
    padding-bottom: 7rem;
  }

  .work-fields-container {
    padding-left: var(--spacing--pad-h-mobile);
    padding-right: var(--spacing--pad-h-mobile);
  }

  .work-fields-header {
    margin-bottom: 4rem;
    flex-direction: column;
    gap: 2rem;
  }

  .work-fields-intro {
    max-width: 100%;
    font-size: .9rem;
    text-align: left;
  }

  .work-fields-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .work-field-meta {
    padding-top: 1rem;
  }

  .work-field-title {
    font-size: 1rem;
  }

  .work-field-index {
    font-size: .62rem;
  }

  .worlds-stage {
    width: 100%;
    height: 100svh;
    overflow: hidden;
  }

  .worlds-header {
    padding: 1.25rem var(--spacing--pad-h-mobile) 0;
  }

  .worlds-header-copy {
    display: none;
  }

  .worlds-kicker {
    font-size: .58rem;
  }

  .worlds-track {
    width: max-content;
    height: 100%;
    display: flex;
    flex-wrap: nowrap;
  }

  .world-slide {
    width: 100vw;
    height: 100svh;
    padding: 5rem var(--spacing--pad-h-mobile) 3.5rem;
    display: block;
    position: relative;
  }

  .world-slide::after {
    width: calc(100% - (var(--spacing--pad-h-mobile) * 2));
    left: var(--spacing--pad-h-mobile);
    bottom: 2rem;
  }

  .world-info {
    z-index: 6;
    width: calc(100% - (var(--spacing--pad-h-mobile) * 2));
    padding-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
  }

  .world-index {
    flex-direction: row;
    align-items: baseline;
  }

  .world-index span:first-child {
    font-size: 2rem;
  }

  .world-index span:last-child {
    margin-top: 0;
    margin-left: .5rem;
    font-size: .52rem;
  }

  .world-copy {
    margin-top: 2rem;
  }

  .world-label {
    margin-bottom: 1rem;
    font-size: .85rem;
    letter-spacing: .1em;
  }

  .world-title {
    font-size: 3.7rem;
    line-height: .8;
    letter-spacing: -.055em;
    white-space: nowrap;
  }

  .world-description {
    max-width: 17rem;
    margin-top: 1.35rem;
    font-size: 1rem;
    line-height: 1.4;
  }

  .world-visual,
  .world-visual--portrait,
  .world-visual--landscape,
  .world-visual--wide {
    width: 72vw;
    height: 29svh;
    justify-self: auto;
    position: absolute;
    right: var(--spacing--pad-h-mobile);
    bottom: 5.25rem;
  }

  .world-slide[data-world="hospitality"] .world-visual {
    width: 58vw;
    height: 34svh;
  }

  .world-slide[data-world="automotive"] .world-visual {
    width: 78vw;
    height: 26svh;
  }

  .world-slide[data-world="ecommerce"] .world-visual {
    width: 76vw;
    height: 27svh;
  }

  .world-visual::after {
    inset: -.5rem;
  }

  .world-visual-meta {
    margin-top: .8rem;
    font-size: .46rem;
  }

  .world-corner {
    display: none;
  }

  .world-slide--thera {
    display: block;
  }

  .world-info--thera {
    width: calc(100% - (var(--spacing--pad-h-mobile) * 2));
    max-width: none;
  }

  .world-copy--thera {
    margin-top: 2rem;
  }

  .world-title--thera {
    max-width: 21rem;
    font-size: 3.8rem;
    line-height: .84;
    white-space: normal;
  }

  .world-slide--thera .world-description {
    max-width: 17rem;
  }

  .world-thera-mark {
    font-size: 6rem;
    right: var(--spacing--pad-h-mobile);
    bottom: 5rem;
  }

  .worlds-progress {
    width: calc(100% - (var(--spacing--pad-h-mobile) * 2));
    left: var(--spacing--pad-h-mobile);
    bottom: 1.2rem;
  }

  .worlds-progress-track {
    width: 100%;
  }

  .worlds-progress-meta {
    margin-left: .75rem;
    font-size: .48rem;
  }
}

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

@media screen and (max-width: 479px) {
  .work-hero {
    min-height: 48svh;
  }

  .wh-container {
    min-height: 34svh;
  }

  .wh-marquee-t {
    font-size: 3.5rem;
  }

  .work-fields-grid {
    gap: 3.5rem;
  }

  .world-slide {
    padding-top: 4.75rem;
  }

  .world-info {
    padding-top: 2.25rem;
  }

  .world-index span:first-child {
    font-size: 1.8rem;
  }

  .world-copy {
    margin-top: 1.65rem;
  }

  .world-title {
    font-size: 3.15rem;
  }

  .world-description {
    max-width: 15rem;
    margin-top: 1.15rem;
    font-size: 1rem;
  }

  .world-slide[data-world="hospitality"] .world-visual {
    width: 60vw;
    height: 31svh;
  }

  .world-slide[data-world="automotive"] .world-visual {
    width: 80vw;
    height: 23svh;
  }

  .world-slide[data-world="ecommerce"] .world-visual {
    width: 78vw;
    height: 24svh;
  }

  .world-title--thera {
    max-width: 18rem;
    font-size: 3.1rem;
  }

  .world-slide--thera .world-description {
    max-width: 15rem;
  }

  .world-thera-mark {
    font-size: 5rem;
    bottom: 4.5rem;
  }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .wh-marquee-track {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .work-field-image {
    transition: none !important;
  }

  .worlds-stage {
    height: auto;
    overflow: visible;
  }

  .worlds-header {
    position: relative;
  }

  .worlds-track {
    width: 100%;
    height: auto;
    display: block;
    transform: none !important;
  }

  .world-slide {
    width: 100%;
    min-height: 100svh;
    height: auto;
  }

  .world-title,
  .world-image,
  .world-image-wrap,
  .world-label,
  .world-description,
  .world-index,
  .world-thera-mark {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .world-image-wrap {
    clip-path: inset(0) !important;
  }

  .worlds-progress {
    display: none;
  }
}