/* ==========================================================
   THE PROS — main.css
   Base styles, typography, components, layout, sections
   ========================================================== */

/* ---- CSS Variables ---- */
:root {
  --orange: #f64e1e;
  --orange-dark: #d03e10;
  --orange-glow: rgba(246, 78, 30, 0.35);
  --black: #0e0e0e;
  --charcoal: #161616;
  --charcoal-2: #1e1e1e;
  --charcoal-3: #2a2a2a;
  --charcoal-4: #333;
  --white: #f7f7f7;
  --white-dim: rgba(247, 247, 247, 0.7);
  --white-faint: rgba(247, 247, 247, 0.12);
  --gold: #e8b84b;

  --font-serif: 'Old Standard TT', Georgia, serif;
  --font-sans: 'Karla', system-ui, sans-serif;
  --font-display: 'Bebas Neue', var(--font-serif);

  --nav-h: 72px;
  --ticker-h: 40px;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.7);
  --transition: 0.25s ease;
}

/* ---- Reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

/* ---- Typography ---- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  line-height: 1.15;
  font-weight: 700;
}
h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
}
h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}
h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}
h4 {
  font-size: 1.1rem;
}
p {
  color: var(--white-dim);
}
em {
  font-style: italic;
  color: var(--orange);
}
strong {
  font-weight: 700;
  color: var(--white);
}

/* ---- Layout ---- */
.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-pad {
  padding: 80px 0;
}

/* ---- Section Labels ---- */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-title {
  margin-bottom: 16px;
  color: var(--white);
}
.section-subtitle {
  color: var(--white-dim);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 16px;
  flex-wrap: wrap;
}
.section-header.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: opacity var(--transition);
}
.section-link:hover {
  opacity: 0.75;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--orange);
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(247, 247, 247, 0.3);
  transition:
    border-color var(--transition),
    color var(--transition),
    background var(--transition),
    transform var(--transition);
}
.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(246, 78, 30, 0.06);
  transform: translateY(-2px);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--orange);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--orange);
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition);
}
.btn-outline:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}
.btn-sm {
  font-size: 0.78rem;
  padding: 8px 18px;
}
.btn-lg {
  font-size: 1rem;
  padding: 14px 36px;
}
.btn-xl {
  font-size: 1.05rem;
  padding: 16px 44px;
}

/* ---- NAVIGATION ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease;
}
.navbar.scrolled {
  background: rgba(14, 14, 14, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
}
.nav-container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  width: 36px;
  height: 36px;
}
.logo-text {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--white);
  font-weight: 400;
}
.logo-text strong {
  color: var(--orange);
  font-weight: 800;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-link {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}
.nav-cta {
  margin-left: 8px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--charcoal-2);
  border: 1px solid var(--charcoal-4);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 180px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  box-shadow: var(--shadow);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 9px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white-dim);
  border-radius: 4px;
  transition:
    color var(--transition),
    background var(--transition);
}
.dropdown-menu li a:hover {
  color: var(--orange);
  background: var(--white-faint);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- SCORE TICKER ---- */
.score-ticker {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  height: var(--ticker-h);
  background: rgba(246, 78, 30, 0.9);
  overflow: hidden;
  z-index: 10;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  animation: tickerScroll 40s linear infinite;
  will-change: transform;
}
.ticker-item {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ticker-divider {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.6rem;
}
.team-badge {
  background: rgba(0, 0, 0, 0.25);
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 0.65rem;
  font-weight: 800;
}
@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ---- TAGLINE BAND ---- */
.tagline-band {
  background: var(--black);
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid var(--charcoal-3);
  border-bottom: 1px solid var(--charcoal-3);
}
.tagline-track {
  display: inline-flex;
  gap: 28px;
  white-space: nowrap;
  animation: taglineScroll 20s linear infinite;
}
.tagline-track span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.28em;
  color: var(--charcoal-4);
}
.tag-dot {
  color: var(--orange) !important;
}
@keyframes taglineScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ---- ABOUT STRIP ---- */
.about-strip {
  background: var(--charcoal-2);
}
.about-strip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-strip-text p {
  margin-bottom: 16px;
}
.about-strip-text .btn-outline {
  margin-top: 8px;
}
.about-strip-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.world-card {
  background: var(--charcoal-3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition:
    border-color var(--transition),
    transform var(--transition);
}
.world-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
}
.world-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
}
.world-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--white);
}
.world-card p {
  font-size: 0.84rem;
  line-height: 1.5;
}

/* ---- SEASONS OVERVIEW ---- */
.seasons-overview {
  background: var(--black);
}
.seasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--charcoal-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.season-block {
  background: var(--charcoal-2);
  padding: 52px 40px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}
.season-block:hover {
  background: var(--charcoal-3);
}
.season-number-bg {
  position: absolute;
  top: -20px;
  right: -10px;
  font-family: var(--font-display);
  font-size: 10rem;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.season-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.season-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.season-block h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
}
.season-block p {
  font-size: 0.88rem;
  margin-bottom: 20px;
}
.season-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}
.season-stats span {
  font-size: 0.82rem;
  color: var(--white-dim);
}
.season-stats strong {
  color: var(--orange);
}

/* ---- GALLERY STRIP ---- */
.gallery-strip {
  background: var(--charcoal);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--charcoal-3);
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item--tall {
  grid-row: span 2;
  aspect-ratio: unset;
}
.gallery-item--wide {
  grid-column: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 10px;
  border-radius: 3px;
}
.gallery-item--fallback {
  background: var(--charcoal-3);
  min-height: 160px;
}

/* ---- WATCH CTA ---- */
.watch-cta {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}
.watch-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% 50%,
      rgba(246, 78, 30, 0.15) 0%,
      transparent 70%
    ),
    var(--black);
}
.watch-cta .container {
  position: relative;
  z-index: 1;
}
.watch-cta-content {
  max-width: 640px;
  margin: 0 auto;
}
.watch-cta-content h2 {
  margin-bottom: 16px;
}
.watch-cta-content p {
  margin-bottom: 32px;
  font-size: 1.05rem;
}
.cta-button-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 64px 0;
}
.page-hero-content h1 {
  margin: 8px 0 12px;
}
.page-hero-content p {
  font-size: 1.1rem;
}

/* ---- ABOUT PAGE ---- */
.about-overview {
  background: var(--charcoal-2);
}
.about-overview-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-overview-text p {
  margin-bottom: 16px;
}
.lead-text {
  font-size: 1.15rem !important;
  color: var(--white) !important;
  font-family: var(--font-serif);
  margin-bottom: 20px !important;
  line-height: 1.5;
}
.about-overview-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-box {
  background: var(--charcoal-3);
  border: 1px solid var(--charcoal-4);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: border-color var(--transition);
}
.stat-box:hover {
  border-color: var(--orange);
}
.stat-box-number {
  display: block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-box-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-dim);
}

/* Worlds */
.worlds-section {
  background: var(--black);
}
.worlds-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.world-detail-card {
  background: var(--charcoal-2);
  border: 1px solid var(--charcoal-3);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition:
    border-color var(--transition),
    transform var(--transition);
}
.world-detail-card:hover {
  border-color: rgba(246, 78, 30, 0.4);
  transform: translateY(-4px);
}
.wdc-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.wdc-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}
.wdc-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
}
.world-detail-card h3 {
  font-size: 1.6rem;
  margin-bottom: 14px;
  color: var(--white);
}
.world-detail-card p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.wdc-chars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.char-chip {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: var(--charcoal-3);
  color: var(--white-dim);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--charcoal-4);
}

/* Production section */
.production-section {
  background: var(--charcoal-2);
}
.production-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.production-text p {
  margin-bottom: 16px;
}
.production-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--charcoal-3);
  color: var(--white-dim);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--charcoal-4);
  transition:
    color var(--transition),
    border-color var(--transition);
}
.social-pill:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* Timeline */
.production-season-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 24px;
  border-left: 2px solid var(--charcoal-4);
}
.timeline-item {
  position: relative;
  padding: 0 0 40px 32px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: -8px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--charcoal-4);
  border: 2px solid var(--charcoal-3);
}
.timeline-dot--active {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 0 12px var(--orange-glow);
}
.timeline-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 6px;
}
.timeline-content h4 {
  color: var(--white);
  margin-bottom: 8px;
  font-size: 1.1rem;
}
.timeline-content p {
  font-size: 0.88rem;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--black);
  border-top: 1px solid var(--charcoal-3);
  padding: 64px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer-field-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent calc(100% / 6 - 1px),
    rgba(255, 255, 255, 0.02) calc(100% / 6 - 1px),
    rgba(255, 255, 255, 0.02) calc(100% / 6)
  );
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
  position: relative;
}
.footer-brand .footer-logo {
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--white-dim);
  max-width: 280px;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal-3);
  border: 1px solid var(--charcoal-4);
  border-radius: 50%;
  color: var(--white-dim);
  transition:
    color var(--transition),
    border-color var(--transition),
    background var(--transition);
}
.social-link svg {
  width: 16px;
  height: 16px;
}
.social-link:hover {
  color: var(--orange);
  border-color: var(--orange);
  background: rgba(246, 78, 30, 0.1);
}
.footer-nav-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-nav-col ul li {
  margin-bottom: 10px;
}
.footer-nav-col ul li a {
  font-size: 0.85rem;
  color: var(--white-dim);
  transition: color var(--transition);
}
.footer-nav-col ul li a:hover {
  color: var(--orange);
}
.footer-bottom {
  border-top: 1px solid var(--charcoal-3);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--white-dim);
}
.footer-credits {
  color: rgba(247, 247, 247, 0.35) !important;
}

/* EC-BTN-104 + EC-NAV-121: Re-assert hero / CTA text-white on buttons & links.
   Uses class~= (word match) not class*= (substring) to avoid matching hover:text-white etc. */
button[class~='text-white/90'],
a[class~='text-white/90'] {
  color: rgba(255, 255, 255, 0.9);
}
button[class~='text-white/80'],
a[class~='text-white/80'] {
  color: rgba(255, 255, 255, 0.8);
}
button[class~='text-white/70'],
a[class~='text-white/70'] {
  color: rgba(255, 255, 255, 0.7);
}
button[class~='text-white/60'],
a[class~='text-white/60'] {
  color: rgba(255, 255, 255, 0.6);
}
button[class~='text-white/50'],
a[class~='text-white/50'] {
  color: rgba(255, 255, 255, 0.5);
}
button[class~='text-white/40'],
a[class~='text-white/40'] {
  color: rgba(255, 255, 255, 0.4);
}
button[class~='text-white'],
a[class~='text-white'] {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

/* EC-ANIM-008b / EC-ANIM-009: carousel-only override — scroll-reveal elements animate via IO in functions.php */
.scroll-fade-up:has([aria-roledescription='carousel']),
.scroll-fade-left:has([aria-roledescription='carousel']),
.scroll-fade-right:has([aria-roledescription='carousel']),
.scroll-scale-in:has([aria-roledescription='carousel']) {
  opacity: 1 !important;
  transform: none !important;
}
