/* ======================== CASE STUDY PAGE — GE VERNOVA ======================== */

body {
  background-color: #001d1d;
}

/* ======================== NAV BAR ======================== */
.cs-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
}

.cs-nav__logo {
  display: block;
  width: 58px;
  flex-shrink: 0;
  transition: opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.cs-nav__logo:hover {
  opacity: 0.7;
}

.cs-nav__logo.is-faded {
  opacity: 0.25;
}

.cs-nav__logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* ======================== PAGE LAYOUT ======================== */
.cs-page {
  position: relative;
  width: 100%;
  background-color: #001d1d;
  min-height: 100vh;
}

.cs-page__content {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding: 120px 20px 60px;
}

/* ======================== HEADER ======================== */
.cs-header {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.cs-header__top {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.cs-header__label {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: #faff03;
}

.cs-header__title {
  font-family: var(--font-primary);
  font-size: 36px;
  font-weight: var(--font-weight-roman);
  line-height: 0.9;
  letter-spacing: -1.5px;
  color: #ffffff;
}

.cs-header__description {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: var(--font-weight-roman);
  line-height: 1.2;
  color: #9bc8c8;
  width: 100%;
  text-align: left;
}

/* ======================== STAGGER ANIMATION (ON LOAD) ======================== */
.cs-stagger {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.cs-stagger.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cs-stagger[data-stagger="0"] { transition-delay: 0.1s; }
.cs-stagger[data-stagger="1"] { transition-delay: 0.2s; }
.cs-stagger[data-stagger="2"] { transition-delay: 0.35s; }
.cs-stagger[data-stagger="3"] { transition-delay: 0.5s; }

/* ======================== PORTFOLIO ITEMS ======================== */
.cs-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cs-item__images {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.cs-item__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.cs-item__video-wrap {
  position: relative;
  width: 100%;
  background-color: #000000;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cs-item__video-wrap--landscape {
  aspect-ratio: 1296 / 728;
}

.cs-item__video-wrap--tall {
  aspect-ratio: 1296 / 728;
}

.cs-item__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cs-item__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2;
}

.cs-item__play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.cs-item__play-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.cs-item__meta {
  display: flex;
  flex-direction: column;
}

.cs-item__category {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: var(--font-weight-roman);
  line-height: 1.2;
  color: #9ac8c8;
}

.cs-item__title {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
}

/* ======================== PREVIOUS / NEXT LINKS ======================== */
.cs-prevnext {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 40px;
}

.cs-prevnext__divider {
  width: 100%;
  height: 1px;
  background-color: #458d8e;
}

.cs-prevnext__more {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  color: #faff00;
}

.cs-prevnext__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cs-prevnext__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.cs-prevnext__link:hover {
  opacity: 0.7;
}

.cs-prevnext__arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.cs-prevnext__group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cs-prevnext__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cs-prevnext__label {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: var(--font-weight-roman);
  line-height: 1;
  color: #faff00;
}

.cs-prevnext__name {
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  color: #ffffff;
}

.cs-prevnext__thumb {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  object-fit: cover;
}

/* ======================== SCROLL REVEAL (ON SCROLL) ======================== */
.cs-reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.cs-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======================== FOOTER ======================== */
.cs-footer {
  width: 100%;
  padding: 100px 20px 60px;
  display: flex;
  justify-content: flex-start;
  background-color: #001d1d;
}

.cs-footer__copy {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
}

/* ======================== RESPONSIVE — TABLET 768px+ ======================== */
@media (min-width: 768px) {
  .cs-nav {
    padding: 40px;
  }

  .cs-nav__logo {
    width: 74px;
  }

  .cs-nav .hero__menu-btn svg {
    width: 36px;
    height: 36px;
  }

  .cs-page__content {
    padding: 160px 40px 80px;
  }

  .cs-header__label {
    font-size: 16px;
  }

  .cs-header__title {
    font-size: 50px;
    letter-spacing: -2px;
  }

  .cs-header__description {
    font-size: 17px;
    width: 75%;
    align-self: flex-end;
  }

  .cs-item__category {
    font-size: 20px;
  }

  .cs-item__title {
    font-size: 20px;
  }

  .cs-prevnext__links {
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
  }

  .cs-prevnext__link {
    background-color: rgba(255, 255, 255, 0.1);
    justify-content: space-between;
  }

  .cs-prevnext__link--prev {
    padding: 10px 10px 10px 30px;
  }

  .cs-prevnext__link--next {
    padding: 10px 30px 10px 10px;
  }

  .cs-prevnext__label {
    font-size: 16px;
  }

  .cs-prevnext__name {
    font-size: 26px;
  }

  .cs-prevnext__thumb {
    width: 100px;
    height: 100px;
  }

  .cs-footer {
    padding: 100px 40px 60px;
  }

  .cs-footer__copy {
    font-size: 16px;
  }
}

/* ======================== RESPONSIVE — SMALL DESKTOP 1024px+ ======================== */
@media (min-width: 1024px) {
  .cs-nav {
    padding: 50px 60px;
  }

  .cs-nav__logo {
    width: 85px;
  }

  .cs-nav .hero__menu-btn svg {
    width: 40px;
    height: 40px;
  }

  .cs-page__content {
    padding: 180px 60px 80px;
  }

  .cs-header__label {
    font-size: 17px;
  }

  .cs-header__title {
    font-size: 56px;
  }

  .cs-header__description {
    font-size: 18px;
    width: 75%;
    align-self: flex-end;
  }

  .cs-item__category {
    font-size: 22px;
  }

  .cs-item__title {
    font-size: 22px;
  }

  .cs-prevnext__label {
    font-size: 17px;
  }

  .cs-prevnext__name {
    font-size: 28px;
  }

  .cs-prevnext__thumb {
    width: 118px;
    height: 118px;
  }

  .cs-footer {
    padding: 100px 60px 60px;
  }

  .cs-footer__copy {
    font-size: 17px;
  }
}

/* ======================== RESPONSIVE — DESKTOP 1440px+ ======================== */
@media (min-width: 1440px) {
  .cs-nav {
    padding: 60px 72px;
  }

  .cs-nav__logo {
    width: 85px;
  }

  .cs-nav .hero__menu-btn svg {
    width: 45px;
    height: 45px;
  }

  .cs-page__content {
    padding: 213px 72px 60px;
    gap: 80px;
  }

  .cs-header__label {
    font-size: 18px;
  }

  .cs-header__title {
    font-size: 60px;
    letter-spacing: -2px;
  }

  .cs-header__description {
    font-size: 18px;
    width: 60%;
    align-self: flex-end;
  }

  .cs-prevnext__label {
    font-size: 18px;
  }

  .cs-prevnext__name {
    font-size: 28px;
  }

  .cs-footer {
    padding: 100px 72px 60px;
  }

  .cs-footer__copy {
    font-size: 18px;
  }
}
