/* ==========================================================================
   AUTOMOTIVE
   ========================================================================== */

.sticky-showcase__img {
  filter: grayscale(1);
}

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

.automotive-hero {
  width: 100%;
  height: 100svh;
  min-height: 48rem;
  background: #000;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.automotive-hero-media {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.automotive-hero-image {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 108%;
  display: block;
  filter: grayscale(.25) contrast(1.05);
  position: absolute;
  top: -4%;
  left: 0;
  transform-origin: center;
  will-change: transform;
}

.automotive-hero-overlay {
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, .62) 0%,
      rgba(0, 0, 0, .18) 22%,
      rgba(0, 0, 0, .08) 45%,
      rgba(0, 0, 0, .2) 62%,
      rgba(0, 0, 0, .7) 82%,
      #000 100%
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, .3) 0%,
      rgba(0, 0, 0, 0) 48%,
      rgba(0, 0, 0, .12) 100%
    );
  position: absolute;
  inset: 0;
  z-index: 1;
}

.automotive-hero-content {
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 7rem 4rem 2.75rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
}

.automotive-hero-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  font-family: var(--font--body-font);
  color: rgba(255, 255, 255, .7);
  font-size: .68rem;
  line-height: 1;
  letter-spacing: .06em;
}

.automotive-hero-title-wrap {
  width: 100%;
  align-self: center;
  overflow: hidden;
}

.automotive-hero-title {
  width: 100%;
  margin: 0;
  font-family: var(--font--heading);
  color: var(--colors--white);
  font-size: clamp(5rem, 10.8vw, 13rem);
  font-weight: 400;
  line-height: .78;
  letter-spacing: -.055em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}

.automotive-hero-title .char {
  display: inline-block;
  will-change: transform, opacity;
}

.automotive-hero-bottom {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4rem;
}

.automotive-hero-heading {
  margin: 0;
  font-family: var(--font--heading);
  color: var(--colors--white);
  font-size: clamp(3.4rem, 5.5vw, 6.5rem);
  font-weight: 400;
  line-height: .84;
  letter-spacing: -.04em;
}

.automotive-hero-caption {
  padding-bottom: .35rem;
  font-family: var(--font--body-font);
  color: rgba(255, 255, 255, .72);
  font-size: .68rem;
  line-height: 1.45;
  letter-spacing: .06em;
  text-align: right;
}

/* ==========================================================================
   INTRO
   ========================================================================== */

.automotive-intro {
  padding-top: 9rem;
  padding-bottom: 11rem;
}

.automotive-intro-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(10rem, .38fr) minmax(0, 1fr);
  gap: 5rem;
}

.automotive-intro-label {
  padding-top: .6rem;
  font-family: var(--font--body-font);
  color: var(--colors--white);
  font-size: 1rem;
  line-height: 1;
  letter-spacing: .05em;
}

.automotive-intro-content {
  width: 100%;
}

.automotive-intro-title {
  margin: 0;
  font-family: var(--font--heading);
  color: var(--colors--white);
  font-size: clamp(3.5rem, 6.2vw, 6.8rem);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.04em;
}

.automotive-intro-copy {
  max-width: 34rem;
  margin-top: 4.5rem;
  margin-left: auto;
  font-family: var(--font--body-font);
  color: var(--colors--white);
  font-size: 1.2rem;
  line-height: 1.6;
}

/* ==========================================================================
   EXPERIENCE
   ========================================================================== */

.automotive-disciplines {
  padding-top: 11rem;
  padding-bottom: 12rem;
}

.automotive-section-head {
  width: 100%;
  margin-bottom: 5.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.automotive-section-title {
  margin: 0;
  font-family: var(--font--heading);
  color: var(--colors--white);
  font-size: 3rem;
  font-weight: 400;
  line-height: .95;
}

.automotive-section-meta {
  font-family: var(--font--body-font);
  color: rgba(255, 255, 255, .38);
  font-size: .64rem;
  line-height: 1;
  letter-spacing: .05em;
}

.automotive-discipline-list {
  width: 100%;
}

.automotive-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, .22);
  transform-origin: left center;
}

.automotive-discipline {
  width: 100%;
  padding-top: 2.8rem;
  padding-bottom: 2.8rem;
  display: grid;
  grid-template-columns: 4rem minmax(15rem, .8fr) minmax(16rem, 1fr);
  align-items: start;
  gap: 2rem;
}

.automotive-discipline-number {
  padding-top: .3rem;
  font-family: var(--font--body-font);
  color: rgba(255, 255, 255, .38);
  font-size: .64rem;
  line-height: 1;
}

.automotive-discipline-title {
  font-family: var(--font--heading);
  color: var(--colors--white);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: .95;
}

.automotive-discipline-copy {
  max-width: 28rem;
  margin-left: auto;
  font-family: var(--font--body-font);
  color: var(--colors--white);
  font-size: 1.2rem;
  line-height: 1.55;
}

/* ==========================================================================
   SECONDARY
   ========================================================================== */

.automotive-secondary {
  padding-bottom: 12rem;
}

.automotive-secondary-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, .72fr);
  align-items: end;
  gap: 6rem;
}

.automotive-secondary-media {
  aspect-ratio: 4 / 5;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.automotive-secondary-media .the-brand-img {
  object-fit: cover;
  object-position: 62% center;
  width: 100%;
  height: 114%;
  display: block;
}

.automotive-secondary-copy {
  padding-bottom: 2rem;
}

.automotive-secondary-label {
  margin-bottom: 3rem;
  font-family: var(--font--body-font);
  color: rgba(255, 255, 255, .4);
  font-size: 1rem;
  line-height: 1;
  letter-spacing: .05em;
}

.automotive-secondary-heading {
  margin: 0;
  font-family: var(--font--heading);
  color: var(--colors--white);
  font-size: clamp(3.5rem, 5.6vw, 6rem);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.04em;
}

.automotive-secondary-copy p {
  max-width: 22rem;
  margin-top: 2.5rem;
  font-family: var(--font--body-font);
  color: rgba(255, 255, 255, .58);
  font-size: 1.2rem;
  line-height: 1.55;
}

/* ==========================================================================
   CLOSING
   ========================================================================== */

.automotive-statement {
  padding-top: 10rem;
  padding-bottom: 12rem;
  overflow: hidden;
}

.automotive-statement-meta {
  margin-bottom: 5rem;
  font-family: var(--font--body-font);
  color: rgba(255, 255, 255, .34);
  font-size: 1rem;
  line-height: 1;
  letter-spacing: .05em;
}

.automotive-statement-text {
  max-width: 1100px;
  font-family: var(--font--heading);
  color: var(--colors--white);
  font-size: clamp(5rem, 11vw, 11rem);
  font-weight: 400;
  line-height: .78;
  letter-spacing: -.055em;
}

/* ==========================================================================
   GSAP TEXT
   ========================================================================== */

.auto-line-mask {
  display: block;
  overflow: hidden;
}

.auto-line {
  display: block;
  will-change: transform, opacity;
}

[data-auto-reveal],
[data-auto-row] {
  will-change: transform, opacity;
}

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

@media screen and (max-width: 991px) {
  .automotive-hero {
    min-height: 44rem;
  }

  .automotive-hero-content {
    padding: 6.5rem 2rem 2rem;
  }

  .automotive-hero-title {
    font-size: clamp(5rem, 11vw, 8rem);
  }

  .automotive-hero-bottom {
    gap: 3rem;
  }

  .automotive-intro {
    padding-top: 8rem;
    padding-bottom: 9rem;
  }

  .automotive-intro-grid {
    grid-template-columns: minmax(8rem, .3fr) minmax(0, 1fr);
    gap: 3rem;
  }

  .automotive-disciplines {
    padding-top: 9rem;
    padding-bottom: 9rem;
  }

  .automotive-discipline {
    grid-template-columns: 3rem minmax(11rem, .8fr) minmax(12rem, 1fr);
    gap: 1.5rem;
  }

  .automotive-secondary-grid {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, .7fr);
    gap: 3rem;
  }

  .automotive-statement {
    padding-top: 8rem;
    padding-bottom: 9rem;
  }
}

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

@media screen and (max-width: 767px) {
  .automotive-hero {
    height: 100svh;
    min-height: 40rem;
  }

  .automotive-hero-image {
    object-position: 58% center;
    height: 106%;
    top: -3%;
  }

  .automotive-hero-overlay {
    background:
      linear-gradient(
        to bottom,
        rgba(0, 0, 0, .6) 0%,
        rgba(0, 0, 0, .16) 28%,
        rgba(0, 0, 0, .12) 48%,
        rgba(0, 0, 0, .62) 78%,
        #000 100%
      );
  }

  .automotive-hero-content {
    padding: 5.75rem var(--spacing--pad-h-mobile) 1.75rem;
  }

  .automotive-hero-top {
    font-size: .56rem;
  }

  .automotive-hero-title {
    font-size: 2.5rem;
    line-height: 1;
  }

  .automotive-hero-bottom {
    display: block;
  }

  .automotive-hero-heading {
    font-size: clamp(3.2rem, 13vw, 4.5rem);
  }

  .automotive-hero-caption {
    margin-top: 1.75rem;
    padding-bottom: 0;
    font-size: .58rem;
    text-align: left;
  }

  .automotive-intro {
    padding-top: 6rem;
    padding-bottom: 7rem;
  }

  .automotive-intro-grid {
    display: block;
  }

  .automotive-intro-label {
    margin-bottom: 3rem;
    padding-top: 0;
  }

  .automotive-intro-title {
    font-size: 2.5rem;
  }

  .automotive-intro-copy {
    max-width: 100%;
    margin-top: 3rem;
    margin-left: 0;
  }

  .automotive-disciplines {
    padding-top: 7rem;
    padding-bottom: 8rem;
  }

  .automotive-section-head {
    margin-bottom: 3.5rem;
  }

  .automotive-section-title {
    font-size: 2.2rem;
  }

  .automotive-discipline {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    display: block;
  }

  .automotive-discipline-number {
    margin-bottom: 1.5rem;
  }

  .automotive-discipline-title {
    margin-bottom: 1.5rem;
    font-size: 2rem;
  }

  .automotive-discipline-copy {
    max-width: 100%;
    margin-left: 0;
  }

  .automotive-secondary {
    padding-bottom: 8rem;
  }

  .automotive-secondary-grid {
    display: block;
  }

  .automotive-secondary-media {
    aspect-ratio: 1 / 1;
  }

  .automotive-secondary-copy {
    padding-top: 4rem;
    padding-bottom: 0;
  }

  .automotive-secondary-heading {
    font-size: clamp(3rem, 13vw, 4.5rem);
  }

  .automotive-statement {
    padding-top: 7rem;
    padding-bottom: 8rem;
  }

  .automotive-statement-meta {
    margin-bottom: 3.5rem;
  }

  .automotive-statement-text {
    font-size: clamp(4rem, 17vw, 6rem);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .automotive-hero-image,
  .automotive-hero-title,
  .automotive-hero-heading,
  [data-auto-reveal],
  [data-auto-row] {
    opacity: 1 !important;
    transform: none !important;
  }
}