/* ═══════════════════════════════════════════════════
   It's Complicated — Main Stylesheet
   The Flourish Entertainment © 2026
═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Work+Sans:wght@300;400;600;700&family=Dancing+Script:wght@700&display=swap');

/* ─── RESET & ROOT ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #f5c518;
  --deep-red: #c0392b;
  --crimson: #e63946;
  --champagne: #f7e7b4;
  --deep-purple: #2d1b4e;
  --midnight: #0d0d1a;
  --rose: #ff6b8a;
  --lavender: #b8a6d9;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--midnight);
  color: var(--white);
  font-family: 'Work Sans', sans-serif;
  overflow-x: hidden;
}

/* ─── CONFETTI CANVAS ─── */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.55;
}

/* ══════════════════════════════════════
   TOPBAR / NAV
══════════════════════════════════════ */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 48px;
  background: linear-gradient(
    180deg,
    rgba(13, 13, 26, 0.96) 0%,
    transparent 100%
  );
  backdrop-filter: blur(2px);
}

.topbar .brand {
  font-family: 'Dancing Script', cursive;
  font-size: 1.25rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.topbar nav a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-left: 32px;
  transition: color 0.2s;
}
.topbar nav a:hover {
  color: var(--gold);
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 48px 80px;
}

/* Mosaic background */
.hero-mosaic {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  opacity: 0.28;
  filter: saturate(1.4);
}
.hero-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Overlay gradients */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% 40%,
      rgba(45, 27, 78, 0.72) 0%,
      transparent 70%
    ),
    linear-gradient(
      180deg,
      rgba(13, 13, 26, 0.55) 0%,
      rgba(13, 13, 26, 0.92) 100%
    );
}

/* Glow orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.orb-1 {
  width: 420px;
  height: 420px;
  background: rgba(245, 197, 24, 0.18);
  top: -80px;
  left: -120px;
}
.orb-2 {
  width: 360px;
  height: 360px;
  background: rgba(230, 57, 70, 0.22);
  bottom: -60px;
  right: -80px;
}
.orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(184, 166, 217, 0.15);
  top: 30%;
  left: 55%;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, #e8a800 100%);
  color: var(--midnight);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--midnight);
  border-radius: 50%;
}

.hero-label {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 12px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 10px;
  background: linear-gradient(
    135deg,
    #fff 0%,
    var(--champagne) 50%,
    var(--gold) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 32px rgba(245, 197, 24, 0.35));
}

.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2.8vw, 1.6rem);
  font-style: italic;
  color: var(--lavender);
  margin-bottom: 30px;
  letter-spacing: 0.02em;
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-bottom: 28px;
}
.hero-divider .line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.hero-divider .line.r {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.hero-divider .star {
  color: var(--gold);
  font-size: 1rem;
}

.hero-tagline {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 42px;
}

.hero-ctas {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.5;
  animation: bounce 2s infinite;
}
.scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.scroll-hint .chevron {
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn-primary {
  background: linear-gradient(135deg, var(--crimson) 0%, #a31729 100%);
  color: #fff;
  border: none;
  padding: 16px 40px;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 8px 32px rgba(230, 57, 70, 0.45);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(230, 57, 70, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: 14px 36px;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--midnight);
  transform: translateY(-3px);
}

/* ══════════════════════════════════════
   RIBBON MARQUEE
══════════════════════════════════════ */
.ribbon {
  background: linear-gradient(
    90deg,
    var(--deep-purple),
    var(--crimson),
    var(--deep-purple)
  );
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(245, 197, 24, 0.3);
  border-bottom: 1px solid rgba(245, 197, 24, 0.3);
}

.ribbon-inner {
  display: inline-flex;
  animation: marquee 22s linear infinite;
}

.ribbon-item {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne);
  padding: 0 40px;
}
.ribbon-item .sep {
  color: var(--gold);
  margin-left: 40px;
}

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

/* ══════════════════════════════════════
   SECTION COMMONS
══════════════════════════════════════ */
section {
  padding: 100px 48px;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  text-align: center;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-sub {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

/* ══════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════ */
.about-section {
  background: linear-gradient(
    180deg,
    var(--midnight) 0%,
    var(--deep-purple) 100%
  );
  position: relative;
  overflow: hidden;
}
.about-section::before {
  content: '"';
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-size: 30rem;
  color: rgba(245, 197, 24, 0.04);
  top: -60px;
  left: -40px;
  line-height: 1;
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

/* Image stack */
.about-image-stack {
  position: relative;
  height: 480px;
}
.about-image-stack img {
  position: absolute;
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.about-image-stack img:nth-child(1) {
  width: 68%;
  height: 72%;
  top: 0;
  left: 0;
  border: 3px solid var(--gold);
}
.about-image-stack img:nth-child(2) {
  width: 58%;
  height: 62%;
  bottom: 0;
  right: 0;
  border: 3px solid var(--crimson);
}
.about-image-stack .badge-overlap {
  position: absolute;
  bottom: 28%;
  left: 48%;
  background: var(--gold);
  color: var(--midnight);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  z-index: 5;
}

/* About text */
.about-text .pill {
  display: inline-block;
  background: rgba(230, 57, 70, 0.18);
  border: 1px solid rgba(230, 57, 70, 0.4);
  color: var(--rose);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
}
.about-text h2 em {
  color: var(--gold);
  font-style: normal;
}

.about-text p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.85;
  font-size: 1rem;
  margin-bottom: 18px;
}

.stat-row {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}
.stat {
  text-align: center;
}
.stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.stat .lbl {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ══════════════════════════════════════
   VISUAL CONCEPTS
══════════════════════════════════════ */
.concepts-section {
  background: var(--midnight);
}

.concepts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.concept-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  cursor: default;
}
.concept-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.concept-card .cc-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transition: transform 0.5s;
}
.concept-card:hover .cc-bg {
  transform: scale(1.05);
}

.concept-card .cc-overlay {
  position: absolute;
  inset: 0;
}
.concept-card .cc-body {
  position: relative;
  z-index: 2;
}
.concept-card .cc-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.concept-card .cc-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.concept-card .cc-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.2;
}
.concept-card .cc-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

/* ══════════════════════════════════════
   EPISODES
══════════════════════════════════════ */
.episodes-section {
  background: linear-gradient(
    180deg,
    var(--deep-purple) 0%,
    var(--midnight) 100%
  );
}

.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.ep-card {
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
  cursor: default;
}
.ep-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 16px 48px rgba(245, 197, 24, 0.18);
}

.ep-card .ep-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.ep-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.ep-card .ep-body {
  padding: 20px;
}
.ep-card .ep-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.ep-card .ep-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}
.ep-card .ep-cast {
  font-size: 0.78rem;
  color: var(--lavender);
  margin-bottom: 10px;
}
.ep-card .ep-synopsis {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

/* ══════════════════════════════════════
   FESTIVE STRIP
══════════════════════════════════════ */
.festive-strip {
  background: linear-gradient(
    135deg,
    #7b1d1d 0%,
    var(--deep-purple) 50%,
    #1a3a5c 100%
  );
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.festive-strip::before,
.festive-strip::after {
  content: '🎉';
  position: absolute;
  font-size: 8rem;
  opacity: 0.08;
}
.festive-strip::before {
  top: -20px;
  left: -20px;
}
.festive-strip::after {
  bottom: -20px;
  right: -20px;
  transform: rotate(30deg);
}

.festive-strip h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--champagne), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.festive-strip p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.festive-icons {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 36px;
  font-size: 2rem;
}
.festive-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.festive-icon-item span:last-child {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: #07070f;
  padding: 60px 48px 36px;
  border-top: 1px solid rgba(245, 197, 24, 0.15);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 10px;
}
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 28px;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}
.footer-bottom .flourish-logo {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.footer-bottom .flourish-logo span {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
}

/* ══════════════════════════════════════
   VIXEN PLUS SECTION
══════════════════════════════════════ */
.vixen-section {
  background: #000;
  padding: 0;
}

.vixen-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.vixen-image-wrap {
  position: relative;
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  cursor: pointer;
}

.vixen-bg-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition:
    transform 0.7s ease,
    filter 0.4s ease;
  filter: brightness(0.82) saturate(1.2);
}

.vixen-link:hover .vixen-bg-img {
  transform: scale(1.03);
  filter: brightness(0.65) saturate(1.4);
}

.vixen-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.45) 40%,
    rgba(0, 0, 0, 0.82) 100%
  );
  transition: background 0.4s ease;
}

.vixen-link:hover .vixen-overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.22) 0%,
    rgba(0, 0, 0, 0.55) 40%,
    rgba(0, 0, 0, 0.92) 100%
  );
}

.vixen-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 24px 64px;
  text-align: center;
}

.vixen-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}

.vixen-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  text-shadow:
    0 4px 32px rgba(0, 0, 0, 0.8),
    0 2px 8px rgba(0, 0, 0, 0.9);
}

.vixen-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.vd-line {
  display: block;
  width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}
.vd-diamond {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.55);
}

.vixen-sub {
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.65;
}

.vixen-cta {
  display: flex;
  justify-content: center;
}

.vixen-btn {
  display: inline-block;
  background: #fff;
  color: #0d0d1a;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 48px;
  border-radius: 2px;
  transition:
    background 0.25s,
    color 0.25s,
    letter-spacing 0.25s,
    box-shadow 0.25s;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.vixen-link:hover .vixen-btn {
  background: var(--gold);
  color: #0d0d1a;
  letter-spacing: 0.28em;
  box-shadow: 0 12px 40px rgba(245, 197, 24, 0.4);
}

@media (max-width: 600px) {
  .vixen-bg-img {
    height: 420px;
  }
  .vixen-content {
    padding: 0 20px 44px;
  }
}

/* ══════════════════════════════════════
   SCROLL FADE-IN (JS-controlled)
══════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 900px) {
  .about-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .about-image-stack {
    height: 320px;
  }
  .concepts-grid {
    grid-template-columns: 1fr;
  }
  .topbar nav {
    display: none;
  }

  section {
    padding: 70px 24px;
  }
  .hero {
    padding: 120px 24px 80px;
  }
  .festive-strip {
    padding: 60px 24px;
  }
  footer {
    padding: 48px 24px 28px;
  }
}

/* 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;
}
