/* (SIDE B) ABOUT AD ASTRA */

/* RESET & BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  margin: 0;
  padding: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  zoom: reset;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
  text-size-adjust: none;
}

/* MAIN CONTAINER & BACKGROUND */

.creditslogo {
  position: absolute;
  left: 5%;
  display: block;
  top: 5%;
  width: 150px;
  height: auto;
}

.credits-ad-astra {
  position: relative;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('../../../assets/images/credits-bg-b.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transform-origin: 0 0;
  zoom: 1;
  overflow: hidden;
}

.card-container-creds {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* CARD COMPONENT */
.credits-card {
  position: relative;
  width: min(1112px, 95vw);
  height: auto;
  max-height: min(805px, 90vh);
  filter: drop-shadow(0px 15px 15px rgba(0, 0, 0, 0.25));
  border-radius: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  overflow: hidden;
  z-index: 10;
}

/* TITLE & NOISE */
.credits-title {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.2;
  text-align: center;
  color: #f3f3f3;
  margin-bottom: clamp(20px, 4vw, 40px);
  position: relative;
  z-index: 2;
}

/* CONTENT SLIDES & DESCRIPTION */
.credits-description {
  width: min(876px, 70%);
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  line-height: 140%;
  text-align: center;
  color: #f3f3f3;
  margin: 2vw;
  position: relative;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.content-slide-creds {
  width: 100%;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.6s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 11;
}

.content-slide-creds.active {
  opacity: 1;
  visibility: visible;
}

.paragraph-1-creds,
.paragraph-2,
.paragraph-3,
.paragraph-4 {
  margin-bottom: clamp(15px, 3vw, 20px);
}

.publications-list {
  text-align: center;
  margin: 10px 0 clamp(20px, 4vw, 30px) 0;
}

.publication-item {
  margin-bottom: clamp(8px, 2vw, 10px);
  text-align: center;
  display: inline-block;
  width: 100%;
}

/* NAVIGATION BUTTONS */
.nav-button-creds {
  position: absolute;
  width: 56px;
  height: 56px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 15;
  transition: all 0.2s ease;
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
  -webkit-focus-ring-color: transparent;
  user-select: none;
}

.nav-button-creds:focus,
.nav-button-creds:active,
.nav-button-creds:focus-visible {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

.nav-button-creds * {
  outline: none !important;
  border: none !important;
}

.nav-button-creds:hover {
  opacity: 0.8;
}

.nav-button-creds:active {
  opacity: 0.9;
}

.left-button-creds {
  left: -100px;
  top: 50%;
  transform: translateY(-50%);
}

.right-button-creds {
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
}

.nav-button-creds-svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: all 0.2s ease;
  outline: none !important;
  border: none !important;
}

.nav-button-creds:hover .nav-button-creds-svg {
  filter: none;
  outline: none !important;
}

/* DOT INDICATORS */
.dot-indicators-creds {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: clamp(20px, 4vw, 20px);
}

.dot-indicator-creds {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #d9d9d9;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot-indicator-creds.active {
  background: #F69B6C;
}

.dot-indicator-creds:hover {
  transform: scale(1.2);
}

.dot-indicator-creds:active {
  transform: scale(0.9);
}

/* RESPONSIVE BREAKPOINTS */

/* Mobile Phones (up to 480px) */
@media (max-width: 480px) {
  .credits-ad-astra {
    padding: 8px;
    background-size: 100% 100%;
    background-position: center;
  }

  .credits-card {
    width: 90vw;
    height: 2vh;
    max-height: 90vh;
    min-height: 70vh;
    padding: clamp(40px, 4vh, 25px) clamp(15px, 4vw, 20px);
    border-radius: clamp(20px, 6vw, 30px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .credits-title {
    font-size: clamp(1.3rem, 2vh, 1.8rem);
    margin-bottom: clamp(5px, 9vh, 80px);
    margin-top: clamp(1px, 1vh, 20px);
    line-height: 1.1;
    flex-shrink: 0;
  }

  .credits-description {
    font-size: clamp(0.55rem, 1vh, 0.7rem);
    width: 100%;
    height: auto;
    flex: 1;
    min-height: 0;
    max-height: none;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3vh;
  }

  .content-slide-creds {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .paragraph-1-creds,
  .paragraph-2,
  .paragraph-3,
  .paragraph-4 {
    margin-bottom: clamp(5px, 1vh, 10px);
  }

  .publications-list {
    margin: clamp(4px, 1vh, 8px) 0 clamp(6px, 2vh, 10px) 0;
  }

  .publication-item {
    margin-bottom: clamp(4px, 1vh, 6px);
    line-height: 1.2;
  }

  .nav-button-creds {
    width: 60px;
    height: 70px;
  }

  .left-button-creds {
    left: 40%;
    top: auto;
    bottom: clamp(-90px, -25vh, -35px);
    transform: translateX(clamp(-38px, -9vw, -32px));
  }

  .right-button-creds {
    right: 40%;
    top: auto;
    bottom: clamp(-90px, -25vh, -35px);
    transform: translateX(clamp(32px, 9vw, 38px));
  }

  .dot-indicator-creds {
    width: clamp(4px, 2.5vw, 11px);
    height: clamp(4px, 2.5vw, 11px);
  }

  .dot-indicators-creds {
    display: horizontal;
    margin-top: 40px;
  }
}

/* Tablets (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .credits-ad-astra {
    background-size: 100% 100%;
    background-position: center;
  }

  .credits-card {
    width: 92vw;
    height: 85vh;
    max-height: 85vh;
    padding: clamp(25px, 5vh, 35px) clamp(20px, 4vw, 30px);
    border-radius: clamp(30px, 6vw, 40px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .credits-title {
    font-size: clamp(1.5rem, 5vh, 2.2rem);
    margin-bottom: clamp(12px, 2vh, 20px);
    margin-top: clamp(10px, 2vh, 15px);
    line-height: 1.15;
    flex-shrink: 0;
  }

  .credits-description {
    font-size: clamp(0.85rem, 2.5vh, 1.05rem);
    width: 98%;
    height: auto;
    flex: 1;
    min-height: 0;
    line-height: 1.35;
  }

  .content-slide-creds {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .paragraph-1-creds,
  .paragraph-2,
  .paragraph-3,
  .paragraph-4 {
    margin-bottom: clamp(8px, 2vh, 14px);
  }

  .publications-list {
    margin: clamp(6px, 1.5vh, 10px) 0 clamp(10px, 2vh, 16px) 0;
  }

  .publication-item {
    margin-bottom: clamp(6px, 1.5vh, 10px);
    line-height: 1.3;
  }

  .nav-button-creds {
    width: clamp(38px, 7vw, 46px);
    height: clamp(38px, 7vw, 46px);
  }

  .left-button-creds {
    left: 50%;
    top: auto;
    bottom: clamp(-55px, -12vh, -45px);
    transform: translateX(clamp(-55px, -12vw, -48px));
  }

  .right-button-creds {
    right: 50%;
    top: auto;
    bottom: clamp(-55px, -12vh, -45px);
    transform: translateX(clamp(48px, 12vw, 55px));
  }

  .dot-indicator-creds {
    width: clamp(10px, 2.5vw, 12px);
    height: clamp(10px, 2.5vw, 12px);
  }

  .dot-indicators-creds {
    display: horizontal;
  }
}

/* Small Laptops (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .credits-card {
    width: 85vw;
    padding: 50px 35px;
    border-radius: 50px;
  }

  .credits-title {
    font-size: 2.5rem;
    bottom: 3vh;
  }

  .credits-rectangle {
    width: 500px;
    top: 30px;
  }

  .credits-description {
    font-size: 1.1rem;
    width: 90%;
    height: 320px;
    margin: 3vh;
  }

  .nav-button-creds {
    width: 52px;
    height: 52px;
  }

  .left-button-creds {
    left: -65px;
    top: 50%;
    transform: translateY(-50%);
  }

  .right-button-creds {
    right: -65px;
    top: 50%;
    transform: translateY(-50%);
  }

  .dot-indicators-creds {
    margin-top: 25px;
  }

  .vendor2 {
    top: 10%;
  }
}

/* Desktop (1025px - 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
  .credits-card {
    width: 70vw;
    max-width: 850px;
    padding: 45px 35px;
    border-radius: 60px;
  }

  .credits-title {
    font-size: 3rem;
    bottom: 15px;
  }

  .credits-description {
    font-size: 1.1rem;
    width: 80%;
    height: 350px;
  }

  .nav-button-creds {
    width: 52px;
    height: 52px;
  }

  .left-button-creds {
    left: -90px;
    top: 50%;
    transform: translateY(-50%);
  }

  .right-button-creds {
    right: -90px;
    top: 50%;
    transform: translateY(-50%);
  }

  .dot-indicators-creds {
    margin-top: 25px;
  }
}

/* Large Desktop (1441px - 1919px) */
@media (min-width: 1441px) and (max-width: 1919px) {
  .credits-card {
    width: 950px;
    height: auto;
    max-height: 700px;
    padding: 50px 35px;
    border-radius: 70px;
  }

  .credits-title {
    font-size: 3.2rem;
  }

  .credits-description {
    font-size: 1.2rem;
    width: 750px;
    height: 400px;
  }

  .nav-button-creds {
    width: 54px;
    height: 54px;
  }

  .left-button-creds {
    left: -100px;
    top: 50%;
    transform: translateY(-50%);
  }

  .right-button-creds {
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
  }

  .dot-indicators-creds {
    margin-top: 27px;
  }
}

/* Ultra Wide (1920px - 2559px) */
@media (min-width: 1920px) and (max-width: 2559px) {
  .credits-card {
    width: 1200px;
    height: 800px;
    padding: 60px 50px;
  }

  .credits-title {
    font-size: 3.8rem;
    line-height: 75px;
    margin-bottom: 40px;
  }

  .credits-description {
    font-size: 1.4rem;
    width: 950px;
    height: 420px;
  }

  .paragraph-1-creds,
  .paragraph-2 {
    margin-bottom: 20px;
  }

  .publications-list {
    margin-top: 15px;
    margin-bottom: 25px;
  }

  .publication-item {
    margin-bottom: 12px;
  }

  .dot-indicators-creds {
    margin-top: 30px;
    gap: 8px;
  }

  .dot-indicator-creds {
    width: 16px;
    height: 16px;
  }

  .left-button-creds {
    left: -80px;
  }
  .right-button-creds {
    right: -80px;
  }

  .nav-button-creds {
    width: 56px;
    height: 56px;
  }
}

/* Extra Ultra Wide (2560px+) */
@media (min-width: 2560px) {
  .credits-card {
    width: clamp(1800px, 55vw, 2000px);
    height: clamp(900px, 65vh, 1200px);
    padding: clamp(0px, 4vh, 120px) clamp(60px, 3vw, 100px);
    border-radius: clamp(70px, 3vw, 100px);
  }

  .credits-title {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: clamp(85px, 7vh, 140px);
    margin-bottom: clamp(30px, 4vh, 80px);
  }

  .credits-description {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    width: clamp(1150px, 70vw, 1600px);
    line-height: 145%;
    height: clamp(480px, 35vh, 600px);
  }

  .paragraph-1-creds,
  .paragraph-2,
  .paragraph-3,
  .paragraph-4 {
    margin-bottom: clamp(25px, 2vh, 40px);
  }

  .publications-list {
    margin-top: clamp(20px, 2vh, 35px);
    margin-bottom: clamp(30px, 3vh, 45px);
  }

  .publication-item {
    margin-bottom: clamp(15px, 1.5vh, 25px);
  }

  .dot-indicators-creds {
    margin-top: clamp(40px, 5vh, 80px);
    gap: clamp(10px, 1vw, 15px);
  }

  .dot-indicator-creds {
    width: clamp(18px, 1.5vw, 24px);
    height: clamp(18px, 1.5vw, 24px);
  }

  .left-button-creds {
    left: clamp(-140px, -8vw, -200px);
  }

  .right-button-creds {
    right: clamp(-140px, -8vw, -200px);
  }

  .nav-button-creds {
    width: clamp(60px, 4vw, 80px);
    height: clamp(60px, 4vw, 80px);
  }
}

/* LANDSCAPE ORIENTATION */
@media (orientation: landscape) and (max-height: 600px) {
  .credits-ad-astra {
    background-size: 100% 100%;
    background-position: center;
  }

  .credits-card {
    max-height: 92vh;
    height: 92vh;
    padding: clamp(10px, 2vh, 20px) clamp(15px, 3vw, 25px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .credits-title {
    margin-bottom: clamp(5px, 1vh, 10px);
    margin-top: clamp(70px, 1.5vh, 12px);
    font-size: clamp(2rem, 3.5vw, 1.8rem);
    line-height: 1.1;
    flex-shrink: 0;
  }

  .paragraph-1-creds,
  .paragraph-2,
  .paragraph-3,
  .paragraph-4 {
    margin-bottom: clamp(4px, 1vh, 8px);
  }

  .publications-list {
    margin-bottom: clamp(6px, 1.5vh, 10px);
  }

  .publication-item {
    margin-bottom: clamp(3px, 0.8vh, 6px);
  }

  .dot-indicators-creds {
    margin-top: clamp(6px, 1.5vh, 10px);
  }

  .nav-button-creds {
    width: clamp(30px, 5vw, 40px);
    height: clamp(30px, 5vw, 40px);
  }

  .dot-indicator-creds {
    width: clamp(8px, 1.8vw, 10px);
    height: clamp(8px, 1.8vw, 10px);
  }

  .credits-description {
    font-size: clamp(0.7rem, 2vw, 0.95rem);
    height: auto;
    flex: 1;
    min-height: 0;
    line-height: 1.25;
  }

  .content-slide-creds {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

@media (orientation: landscape) and (max-height: 600px) and (max-width: 768px) {
  .left-button-creds {
    left: 50%;
    top: auto;
    bottom: clamp(-38px, -8vh, -30px);
    transform: translateX(clamp(-32px, -7vw, -28px));
  }

  .right-button-creds {
    right: 50%;
    top: auto;
    bottom: clamp(-38px, -8vh, -30px);
    transform: translateX(clamp(28px, 7vw, 32px));
  }

  .credits-card {
    padding: clamp(8px, 1.8vh, 15px) clamp(12px, 2.5vw, 20px);
  }

  .credits-description {
    font-size: clamp(0.65rem, 1.8vw, 0.85rem);
  }
}

@media (orientation: landscape) and (max-height: 600px) and (min-width: 769px) {
  .left-button-creds {
    left: -70px;
    top: 50%;
    transform: translateY(-50%);
  }

  .right-button-creds {
    right: -70px;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* ACCESSIBILITY & PERFORMANCE */

@media (prefers-contrast: high) {
}

@media (prefers-reduced-motion: reduce) {
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
}

@media print {
}

/* ENTRY ANIMATIONS */

.credits-card {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  animation: cardFadeIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

.credits-title {
  opacity: 0;
  transform: translateY(-30px);
  animation: titleFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
}

.dot-indicators-creds {
  opacity: 0;
  transform: translateY(20px);
  animation: indicatorsFadeIn 0.5s ease-out 1.1s forwards;
}

.nav-button-creds {
  opacity: 0;
  animation: buttonsFadeIn 0.5s ease-out 1.3s forwards;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center;
}

/* Entry animation keyframes */
@keyframes cardFadeIn {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes titleFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes noiseFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes indicatorsFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes buttonsFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* ARROW HOVER */

.nav-button-creds:hover {
  opacity: 1;
  transform: scale(1.15);
  filter: brightness(1.1);
}

.nav-button-creds:active {
  transform: scale(0.95);
  opacity: 0.8;
  transition: all 0.1s ease;
}

.nav-button-creds-svg {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center;
}

.nav-button-creds:hover .nav-button-creds-svg {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  transform: translateY(-1px);
}

.left-button-creds:hover {
  transform: translateY(-50%) scale(1.15);
}

.right-button-creds:hover {
  transform: translateY(-50%) scale(1.15);
}

.left-button-creds:active {
  transform: translateY(-50%) scale(0.95);
}

.right-button-creds:active {
  transform: translateY(-50%) scale(0.95);
}

/* Mobile-specific hover */
@media (max-width: 480px) {
  .left-button-creds:hover {
    transform: translateX(clamp(-38px, -9vw, -32px)) scale(1.15);
  }

  .right-button-creds:hover {
    transform: translateX(clamp(32px, 9vw, 38px)) scale(1.15);
  }

  .left-button-creds:active {
    transform: translateX(clamp(-38px, -9vw, -32px)) scale(0.95);
  }

  .right-button-creds:active {
    transform: translateX(clamp(32px, 9vw, 38px)) scale(0.95);
  }
}

/* Tablet-specific hover */
@media (min-width: 481px) and (max-width: 768px) {
  .left-button-creds:hover {
    transform: translateX(clamp(-55px, -12vw, -48px)) scale(1.15);
  }

  .right-button-creds:hover {
    transform: translateX(clamp(48px, 12vw, 55px)) scale(1.15);
  }

  .left-button-creds:active {
    transform: translateX(clamp(-55px, -12vw, -48px)) scale(0.95);
  }

  .right-button-creds:active {
    transform: translateX(clamp(48px, 12vw, 55px)) scale(0.95);
  }
}

/* Landscape mode hover */
@media (orientation: landscape) and (max-height: 600px) and (max-width: 768px) {
  .left-button-creds:hover {
    transform: translateX(clamp(-32px, -7vw, -28px)) scale(1.15);
  }

  .right-button-creds:hover {
    transform: translateX(clamp(28px, 7vw, 32px)) scale(1.15);
  }

  .left-button-creds:active {
    transform: translateX(clamp(-32px, -7vw, -28px)) scale(0.95);
  }

  .right-button-creds:active {
    transform: translateX(clamp(28px, 7vw, 32px)) scale(0.95);
  }
}

/* Touch device */
@media (hover: none) and (pointer: coarse) {
  .nav-button-creds:hover {
    transform: scale(1.08);
    opacity: 0.9;
  }

  .left-button-creds:hover {
    transform: translateY(-50%) scale(1.08);
  }

  .right-button-creds:hover {
    transform: translateY(-50%) scale(1.08);
  }

  @media (max-width: 480px) {
    .left-button-creds:hover {
      transform: translateX(clamp(-38px, -9vw, -32px)) scale(1.08);
    }

    .right-button-creds:hover {
      transform: translateX(clamp(32px, 9vw, 38px)) scale(1.08);
    }
  }

  @media (min-width: 481px) and (max-width: 768px) {
    .left-button-creds:hover {
      transform: translateX(clamp(-55px, -12vw, -48px)) scale(1.08);
    }

    .right-button-creds:hover {
      transform: translateX(clamp(48px, 12vw, 55px)) scale(1.08);
    }
  }
}

/* ACCESSIBILITY & REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  .credits-card,
  .credits-title,
  .dot-indicators-creds,
  .nav-button-creds {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .nav-button-creds,
  .nav-button-creds-svg {
    transition: opacity 0.2s ease !important;
  }

  .nav-button-creds:hover,
  .left-button-creds:hover,
  .right-button-creds:hover {
    transform: none !important;
    opacity: 0.8 !important;
    filter: none !important;
  }

  .nav-button-creds:active,
  .left-button-creds:active,
  .right-button-creds:active {
    transform: none !important;
    opacity: 0.6 !important;
  }

  .nav-button-creds:hover .nav-button-creds-svg {
    transform: none !important;
    filter: none !important;
  }
}

/* SIDE B DECORATIVE ASSETS */
.vendors-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* LEFT VENDOR */
.vendor1 {
  position: absolute;
  left: clamp(50px, 10vw, 150px);
  top: clamp(25vh, 4.5vw, 100px);
  width: auto;
  height: clamp(450px, 60vh, 800px);
  z-index: 1;
  pointer-events: none;
  display: block;
  will-change: transform;
  transform-origin: left bottom;
  animation: simpleFlicker 0.1s infinite alternate 0.5s;
  /* animation: filterFlicker 1.0s infinite steps(1); */
}

/* RIGHT VENDOR */
.vendor2 {
  position: absolute;
  right: clamp(10px, 5vw, 60px);
  top: clamp(22vh, 4.5vw, 100px);
  width: auto;
  height: clamp(100px, 20vh, 200px);
  height: auto;
  z-index: 1;
  pointer-events: none;
  display: block;
  will-change: transform;
  transform-origin: right top;
  animation: simpleFlicker 0.2s infinite alternate 0.5s;
  /* animation: filterFlicker 1.0s infinite steps(1); */
}

@keyframes simpleFlicker {
  0%,
  100% {
    opacity: 1;
  }
  25% {
    opacity: 0.9;
  }
  50% {
    opacity: 0.95;
  }
  75% {
    opacity: 0.85;
  }
}

@keyframes filterFlicker {
  0%,
  100% {
    filter: brightness(1);
  }
  15%,
  55%,
  80% {
    filter: brightness(0.8) contrast(1.2);
  }
  35%,
  70% {
    filter: brightness(1.1);
  }
}

/* RESPONSIVE BREAKPOINTS */

@media (max-width: 480px) {
  .wave {
    display: none;
  }

  .vendor1 {
    display: block;
    height: 30vh;
    top: 515px;
    left: -12%;
  }

  .vendor2 {
    display: block;
    height: 30vh;
    top: 50px;
    right: -8%;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .wave {
    bottom: -120px;
    height: 350px;
  }

  .vendor1 {
    display: block;
    height: 30vh;
    top: 690px;
    left: -12%;
  }

  .vendor2 {
    display: block;
    height: 30vh;
    top: 50px;
    right: -8%;
  }

  .mobile-bottom-assets {
    display: none;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .vendor1 {
    left: -60px;
    top: 20%;
    height: 300px;
  }

  .wave {
    bottom: -130px;
    height: 380px;
  }

  .vendor2 {
    bottom: -45px;
    right: -110px;
    height: 360px;
  }

  .mobile-bottom-assets {
    display: none;
  }
}

@media (min-width: 1025px) and (max-width: 1440px) {
  .vendor1 {
    left: -60px;
    top: 25%;
    height: 350px;
  }

  .wave {
    bottom: -190px;
    height: 550px;
  }

  .vendor2 {
    bottom: -50px;
    right: -90px;
    height: 420px;
  }
}

@media (min-width: 1441px) and (max-width: 1919px) {
  .vendor1 {
    left: -40px;
    top: 23%;
    height: 380px;
  }

  .wave {
    bottom: -230px;
    height: 660px;
  }

  .vendor2 {
    bottom: -80px;
    right: -90px;
    height: 450px;
  }
}

@media (min-width: 1920px) and (max-width: 2559px) {
  .vendor1 {
    left: -20px;
    top: 20%;
    height: 450px;
  }

  .wave {
    bottom: -300px;
    height: 850px;
  }

  .vendor2 {
    bottom: -50px;
    right: -150px;
    height: 550px;
  }
}

@media (min-width: 2560px) {
  .vendor1 {
    left: clamp(-40px, -2vw, 0px);
    top: 20%;
    height: clamp(600px, 25vh, 500px);
  }

  .wave {
    bottom: -600px;
    height: clamp(1500px, 28vh, 550px);
  }

  .vendor2 {
    bottom: -50px;
    right: -150px;
    height: clamp(680px, 28vh, 550px);
  }
}

/* LANDSCAPE ORIENTATION */

@media (orientation: landscape) and (max-height: 600px) {
  .vendor1 {
    height: 250px;
    left: -60px;
    top: 20%;
  }

  .wave {
    bottom: -100px;
    right: 2px;
    height: 280px;
    width: 1000px;
  }

  .vendor2 {
    bottom: -40px;
    height: 280px;
  }
}

@media (orientation: landscape) and (max-height: 600px) and (max-width: 768px) {
  .vendor1,
  .wave,
  .vendor2 {
    display: none;
  }
}

/* REPEL EFFECTS */

@media (min-resolution: 120dpi) {
  .vendor1,
  .vendor2 {
    transform-style: preserve-3d;
    backface-visibility: hidden;
  }
}

.vendor1:hover,
.vendor2:hover {
  transition: opacity 0.3s ease,
    transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (prefers-reduced-motion: reduce) {
  .vendor1,
  .vendor2 {
    pointer-events: none;
    transition: none !important;
    will-change: auto;
  }
}

@media (hover: none) and (pointer: coarse) {
  .vendor1:hover,
  .vendor2:hover {
    transition: transform 0.15s ease;
  }
}

/* EDITORIAL TEAM SECTION */

.editorial-team {
  text-align: center;
}

.team-heading {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.25em;
}

.team-subheading {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5em;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2em 4em;
  justify-items: center;
}

.team-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25em;
}

.team-item p {
  font-size: 1rem;
  margin: 0;
}

.team-columns {
  columns: 3;
  column-gap: 2em;
  text-align: center;
}

.team-columns p {
  margin: 0.4em 0;
  font-size: 1rem;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8em;
}

.team-grid.two-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1em 4em;
  max-width: 700px;
  margin: 0 auto 3em auto;
  text-align: center;
}

.team-section p {
  margin: 0.3em 0;
  font-size: 1rem;
}
