/* ============================================================================
   SLIDE-1.CSS — Hero (Figma 1921×1038px)
   Layers (z-index): bg(0) → photo(1) → lines(2) → wave-bg(3) → curve(2) → info(4) → marquee(5)
   ============================================================================ */

.slide-1 {
  position: relative;
  width: 100%;
  height: 1038px;
  padding-top: var(--header-height);
  background-color: var(--color-black);
  overflow: visible;
}

/* ─── Layer 0: background video ─────────────────────────────────────────── */
.slide-1__bg {
  position: absolute;
  width: 66.66%;
  right: 0;
  top: 114px;
  height: 66%;

  object-fit: cover;
  object-position: center;
  z-index: var(--z-bg);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

/* ─── Layer 1: producer photo (Figma left:153 top:74 w:541 h:812) ──────── */
.slide-1__photo {
  position: absolute;
  left: 153px;
  left: 33.33%;
  transform: translate(-100%);

  top: 74px;
  width: 541px;
  min-width: 541px;
  max-width: none;
  height: 812px;
  min-height: 812px;
  max-height: none;
  object-fit: cover;
  z-index: 3;
}

/* ─── Layer 2: decorative SVG lines (1920×915) ─────────────────────────── */
.slide-1__lines {
  position: absolute;
  left: 0;
  bottom: 46px;
  width: 1920px;
  height: 915px;
  pointer-events: none;
  z-index: var(--z-lines);
}

/* ─── Layer 3: bottom wave (1920×456 at bottom) ────────────────────────── */
.slide-1__wave {
  position: absolute;
  left: 0;
  bottom: 0; /* leave space for marquee height */
  width: 1920px;
  height: 457px;
  pointer-events: none;
  z-index: 0;
}

/* ─── Layer 2.5: curve (Figma left:37.5 top:396.5 w:824 h:301) ─────────── */
.slide-1__curve {
  position: absolute;
  left: 33.33%;
  /* transform: translate(-100%); */
  top: 492.5px;
  width: 824px;
  height: 301px;
  pointer-events: none;
  z-index: var(--z-curve);
}

/* ─── Layer 4: info block (Figma left:1095 top:481 w:681 h:331) ────────── */
.slide-1__info {
  position: absolute;
  left: 1095px;
  bottom: 149px;
  width: 681px;
  height: 331px;
  background: var(--color-info-bg);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  padding: 14px 44px 0 44px;
  z-index: var(--z-info);
  overflow: hidden;
}

.slide-1__name {
  font-family: var(--font-oswald);
  font-weight: 700;
  font-size: 64px;
  line-height: 1.1;
  color: var(--color-white);
  text-shadow: 2px 2px 0 var(--color-black);
  display: block;
  margin: 0;
}

.slide-1__role {
  font-family: var(--font-oswald);
  font-weight: 300;
  font-size: 40px;
  line-height: 1.1;
  color: var(--color-orange);
  text-shadow: 2px 2px 0 var(--color-black);
  display: block;
  margin-top: 8px;
}

/* Tagline strip inside info block: 681×92 at y:239, bg #D9D9D9 */
.slide-1__tagline {
  position: absolute;
  left: 0;
  top: 239px;
  width: 681px;
  height: 92px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.slide-1__tagline_sm {
  position: absolute;
  /* left: 0; */
  /* top: 239px; */
  /* width: 681px; */
  /* height: 92px; */
  overflow: hidden;
  align-items: center;
  display: none;
}
.marquee__item--tagline {
  font-family: var(--font-oswald);
  font-weight: 700;
  font-size: 65px;
  line-height: 1;
  letter-spacing: 0.11em;
  color: var(--color-white-50);
  white-space: nowrap;
  display: inline-block;
  padding-right: 20px;
  --tagline-duration: 16s;
  --tagline-width: 0px;
}

.marquee__item--tagline:nth-child(1) {
  animation: marquee-tagline-1 var(--tagline-duration) infinite linear !important;
}

.marquee__item--tagline:nth-child(2) {
  animation: marquee-tagline-2 var(--tagline-duration) infinite linear !important;
}

.marquee__item--tagline:nth-child(3) {
  animation: marquee-tagline-3 var(--tagline-duration) infinite linear !important;
}

.marquee__item--tagline:nth-child(4) {
  animation: marquee-tagline-4 var(--tagline-duration) infinite linear !important;
}

.marquee__divider {
  color: var(--color-orange);
  margin: 0 12px;
  font-size: 24px;
  vertical-align: middle;
}

/* ─── Layer 5: bottom marquee (full-width, 49px) ───────────────────────── */
.slide-1__marquee {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 49px;
  z-index: var(--z-marquee);
  background: #000000;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Shared marquee styles */
.marquee {
  width: 100%;
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  animation: marquee-scroll 0.8s linear infinite !important;
}

.marquee__track:hover {
  animation-play-state: running !important;
}

.marquee__item {
  display: inline-block;
  font-family: var(--font-oswald);
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
  color: var(--color-white);
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  padding-top: 10px;
  padding-bottom: 10px;
}

.marquee__item--bottom {
  width: max-content;
  display: flex !important;
  justify-content: flex-start;
  align-items: center;
  gap: 35px;
  flex-shrink: 0;
  padding-right: 35px;
  --duration: 3.2s;
  --marquee-item-width: 0px;
}

.marquee__item--bottom:nth-child(1) {
  animation: marquee-scroll-1 var(--duration) infinite linear !important;
}

.marquee__item--bottom:nth-child(2) {
  animation: marquee-scroll-2 var(--duration) infinite linear !important;
}

.marquee__item--bottom:nth-child(3) {
  animation: marquee-scroll-3 var(--duration) infinite linear !important;
}

.marquee__item--bottom:nth-child(4) {
  animation: marquee-scroll-4 var(--duration) infinite linear !important;
}

.marquee__star {
  color: var(--color-orange);
  margin: 0 12px;
  font-size: 14px;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@keyframes marquee-scroll-offset {
  0% { transform: translateX(var(--marquee-item-width)); }
  100% { transform: translateX(calc(var(--marquee-item-width) - 100%)); }
}

@keyframes marquee-scroll-1 {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@keyframes marquee-scroll-2 {
  0% { transform: translateX(var(--marquee-item-width)); }
  100% { transform: translateX(calc(var(--marquee-item-width) - 100%)); }
}

@keyframes marquee-scroll-3 {
  0% { transform: translateX(calc(var(--marquee-item-width) * 2)); }
  100% { transform: translateX(calc(var(--marquee-item-width) * 2 - 100%)); }
}

@keyframes marquee-scroll-4 {
  0% { transform: translateX(calc(var(--marquee-item-width) * 3)); }
  100% { transform: translateX(calc(var(--marquee-item-width) * 3 - 100%)); }
}

@keyframes marquee-tagline-1 {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@keyframes marquee-tagline-2 {
  0% { transform: translateX(var(--tagline-width)); }
  100% { transform: translateX(calc(var(--tagline-width) - 100%)); }
}

@keyframes marquee-tagline-3 {
  0% { transform: translateX(calc(var(--tagline-width) * 2)); }
  100% { transform: translateX(calc(var(--tagline-width) * 2 - 100%)); }
}

@keyframes marquee-tagline-4 {
  0% { transform: translateX(calc(var(--tagline-width) * 3)); }
  100% { transform: translateX(calc(var(--tagline-width) * 3 - 100%)); }
}

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1440px) {
  .slide-1__curve {
    left: -109.5px;
    top: 437.5px;
  }
  .slide-1__photo {
    left: 0;
    transform: translate(0%);
  }
}

@media (max-width: 1350px) {
  .slide-1__info {
    width: 610px;
  }
}

/* ─── Tablet: ≤1001px — 50/50 layout ───────────────────────────────────── */
@media (max-width: 1001px) {
  .slide-1 {
    height: 950px;
    min-height: 600px;
    padding-bottom: 49px; /* space for bottom marquee */
  }

  /* Video centered, covers right half area */
  .slide-1__bg {
    width: 100%;
    left: 50%;
    right: auto;
    top: var(--header-height);
    /* height: calc(90% - var(--header-height)); */
    height: 65%;
    transform: translateX(-50%);
  }

  /* Photo: left 50% */
  .slide-1__photo {
    position: absolute;
    left: 0;
    top: auto;
    bottom: 89px;
    width: 53%;
    min-width: unset;
    max-width: none;
    height: calc(100% - var(--header-height) - 49px);
    min-height: unset;
    max-height: none;
    transform: none;
    object-fit: cover;
    object-position: right;
  }

  /* Info block: right 50% */
  .slide-1__info {
    position: absolute;
    left: 53%;
    right: 0;
    bottom: 100px;
    /* top: var(--header-height); */
    width: 47%;
    height: 179px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 32px;
  }

  .slide-1__name {
    font-size: clamp(32px, 5vw, 56px);
  }

  .slide-1__role {
    font-size: clamp(20px, 2.5vw, 36px);
  }

  /* Tagline strip repositioned inside flex flow */
  .slide-1__tagline {
    display: none;
  }
  .slide-1__tagline_sm {
    display: flex;
    position: absolute;
    bottom: 30px;
  }
.slide-1__marquee {
  display: none;
}

  /* Lines and wave: hide on tablet (too large, decorative only) */
  .slide-1__lines,
  .slide-1__wave {
    display: none;
  }
}

/* ─── Mobile: ≤768px — stacked layout ──────────────────────────────────── */
@media (max-width: 768px) {
.slide-1__tagline_sm {
  display: flex;
  position: absolute;
  bottom: 50px;
}
.slide-1__marquee {
  display: none;
}
.slide-1__photo {
  top: auto;
  bottom: 131px;
  width: 55%;
  height: auto;
  min-height: 470px;
  min-width: 306px;
}
.slide-1__info {
  width: 50%;
  left: 50%;
  bottom: 130px;
  border-radius: 8px;

}
.slide-1__bg {
  height: 60%;
}
}
@media (max-width: 480px) {
  .marquee__item--tagline {
    font-size: 55px !important;
  }
  .slide-1__bg {
    top: 0;
    transform: translateX(-50%);
    height: 60%;
    left: 50%;
  }
  .slide-1__photo {
    
    object-position: center;
    left: 50%;
    transform: translate(-50%);
    width: 100%;
    max-width: 325px;
    height: 45%;
    bottom: 270px !important;
    top: auto;
    z-index: 5;
  }
  .slide-1 {
    height: 950px;
  }
  .slide-1__info {
    width: 100%;
    transform: translate(-50%);
    left: 50%;
    bottom: 130px;
    text-align: center;
  }
  .slide-1__name {
    font-size: 36px;
  }
  .slide-1__info {
    padding: 20px 20px 0 20px;
  }
}
