/* ============================================================
   WAVELENGTH LANDING PAGE COMPONENTS
   Reusable section components for landing pages.
   Depends on wavelength-base.css (loaded first).
   ============================================================ */


/* ============================================================
   1. STICKY BAR  (.wl-sticky-bar)
   Fixed top bar with text left, CTA button right.
   Hidden by default; shown when .is-visible is added.
   ============================================================ */

.wl-sticky-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--wl-navy);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
}

.wl-sticky-bar.is-visible {
  transform: translateY(0);
}

.wl-sticky-bar__text {
  color: var(--wl-white);
  font-size: 14px;
  line-height: 1.4;
  margin-right: var(--wl-space-2);
}

.wl-sticky-bar__cta {
  display: inline-block;
  background: var(--wl-red);
  color: var(--wl-white);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--wl-border-radius-sm);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: background var(--wl-transition-fast);
  border: none;
  cursor: pointer;
  line-height: 1.4;
}

.wl-sticky-bar__cta:hover,
.wl-sticky-bar__cta:focus-visible {
  background: var(--wl-red-hover);
  color: var(--wl-white);
}

/* Mobile: stack text and button */
@media (max-width: 480px) {
  .wl-sticky-bar {
    flex-direction: column;
    text-align: center;
    padding: 10px 16px;
  }

  .wl-sticky-bar__text {
    margin-right: 0;
    margin-bottom: var(--wl-space-1);
  }

  .wl-sticky-bar__cta {
    width: 100%;
  }
}


/* ============================================================
   1B. PAGE HEADER  (.wl-page-header)
   Wavelength logo bar at the very top of the page.
   Navy background, logo left-aligned.
   ============================================================ */

.wl-page-header {
  background: transparent;
  padding: 20px 0 0;
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
}

.wl-page-header__logo {
  height: 50px;
  width: auto;
}

@media (min-width: 768px) {
  .wl-page-header__logo {
    height: 60px;
  }
}


/* ============================================================
   2. HERO  (.wl-hero)
   Full-width hero section with navy background.
   Contains wl-container > wl-grid-2--hero.
   ============================================================ */

.wl-hero {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(227, 6, 19, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(54, 55, 96, 0.5) 0%, transparent 50%),
    linear-gradient(
      135deg,
      #2C2D4C 0%,
      #363760 30%,
      #2C2D4C 50%,
      #1e1f38 100%
    );
  padding: 24px 0 80px;
}

.wl-hero h1,
.wl-hero h2,
.wl-hero h3,
.wl-hero h4,
.wl-hero p,
.wl-hero .wl-label,
.wl-hero .wl-small-text,
.wl-hero .wl-body-text,
.wl-hero li {
  color: var(--wl-white);
}

/* Override label colour inside hero to stay red for contrast */
.wl-hero .wl-label {
  color: var(--wl-red);
}

/* Form card on the right column */
.wl-hero__form-card {
  background: var(--wl-white);
  border-radius: var(--wl-border-radius-md);
  padding: 32px;
}

/* Reset text colours inside the form card back to defaults */
.wl-hero__form-card h1,
.wl-hero__form-card h2,
.wl-hero__form-card h3,
.wl-hero__form-card h4 {
  color: var(--wl-navy);
}

.wl-hero__form-card p,
.wl-hero__form-card label,
.wl-hero__form-card .wl-body-text,
.wl-hero__form-card .wl-small-text {
  color: var(--wl-body-text);
}

/* Event details grid inside hero */
.wl-hero__details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  font-size: 15px;
  line-height: 1.6;
}

.wl-hero__details dt {
  color: var(--wl-white);
  opacity: 0.7;
  font-weight: 700;
}

.wl-hero__details dd {
  color: var(--wl-white);
}

/* Hero subheadline */
.wl-hero__subheadline {
  font-size: 18px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .wl-hero {
    padding: 24px 0 100px;
  }

  .wl-page-header {
    margin-bottom: 32px;
  }
}

@media (min-width: 1024px) {
  .wl-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
  }
}


/* Hero speaker preview strip */
.wl-hero__speakers {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.wl-hero__speaker {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wl-hero__speaker-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.wl-hero__speaker-name {
  display: block;
  color: var(--wl-white);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
}

.wl-hero__speaker-role {
  display: block;
  color: var(--wl-white);
  opacity: 0.7;
  font-size: 13px;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .wl-hero__speaker-photo {
    width: 64px;
    height: 64px;
  }
}


/* ============================================================
   3. TRUST BAR  (.wl-trust-bar)
   Full-width logo strip below hero.
   ============================================================ */

.wl-trust-bar {
  background: var(--wl-white);
  padding: 24px 0 16px;
  border-bottom: 1px solid #e0e2e7;
  position: relative;
}

/* Fade hints on mobile to show logos are scrollable */
@media (max-width: 767px) {
  .wl-trust-bar::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(to left, var(--wl-white), transparent);
    pointer-events: none;
    z-index: 1;
  }
}

.wl-trust-bar__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  /* Mobile: horizontal scroll carousel */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0;
  /* Hide scrollbar but keep functionality */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.wl-trust-bar__inner::-webkit-scrollbar {
  display: none;
}

.wl-trust-bar__intro {
  font-size: 14px;
  line-height: 1.5;
  color: var(--wl-body-text);
  width: 100%;
  text-align: center;
  margin-bottom: var(--wl-space-1);
}

.wl-trust-bar__logo {
  height: 28px;
  width: auto;
  min-width: 80px;
  max-width: 110px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity var(--wl-transition-fast);
  scroll-snap-align: center;
  flex-shrink: 0;
}

.wl-trust-bar__logo:hover {
  opacity: 1;
}

/* Tablet+: back to centred flex wrap */
@media (min-width: 768px) {
  .wl-trust-bar__inner {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    scroll-snap-type: none;
    gap: 36px;
  }

  .wl-trust-bar__logo {
    height: 36px;
    min-width: auto;
    max-width: 140px;
    flex-shrink: 1;
    scroll-snap-align: none;
    opacity: 0.7;
  }

  .wl-trust-bar__logo:hover {
    opacity: 1;
  }
}


/* ============================================================
   4. SECTION WRAPPER  (.wl-section)
   Generic section with background modifiers.
   ============================================================ */

.wl-section {
  padding: 56px 0;
}

@media (min-width: 768px) {
  .wl-section {
    padding: 80px 0;
  }
}

@media (min-width: 1024px) {
  .wl-section {
    padding: 100px 0;
  }
}

/* Light (white) background */
.wl-section--light {
  background: var(--wl-white);
}

/* Grey background */
.wl-section--grey {
  background: var(--wl-light-grey);
}

/* Navy background — all text becomes white */
.wl-section--navy {
  background: var(--wl-navy);
}

.wl-section--navy,
.wl-section--navy h1,
.wl-section--navy h2,
.wl-section--navy h3,
.wl-section--navy h4,
.wl-section--navy p,
.wl-section--navy li,
.wl-section--navy .wl-body-text,
.wl-section--navy .wl-small-text {
  color: var(--wl-white);
}


/* ============================================================
   5. STATS GRID  (.wl-stats-grid)
   2x2 grid of stat cards on desktop, 1-column on mobile.
   ============================================================ */

.wl-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--wl-space-2);
}

@media (min-width: 768px) {
  .wl-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.wl-stat-card {
  background: var(--wl-white);
  border-left: 4px solid var(--wl-red);
  border-radius: var(--wl-border-radius-md);
  padding: 24px;
  box-shadow: 0 2px 8px rgba(44, 45, 76, 0.07);
}

.wl-stat-card__number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--wl-navy);
  line-height: 1.2;
  margin-bottom: var(--wl-space-1);
}

.wl-stat-card__desc {
  font-size: 16px;
  line-height: 1.5;
  color: var(--wl-body-text);
}


/* ============================================================
   6. QUOTE CALLOUT  (.wl-quote-callout)
   Pull-quote block with pink background and red left border.
   ============================================================ */

.wl-quote-callout {
  background: var(--wl-light-pink);
  border-left: 4px solid var(--wl-red);
  border-radius: var(--wl-border-radius-md);
  padding: 32px;
}

.wl-quote-callout__text {
  font-size: 18px;
  font-style: italic;
  line-height: 1.6;
  color: var(--wl-navy);
}

@media (min-width: 768px) {
  .wl-quote-callout__text {
    font-size: 20px;
  }
}

.wl-quote-callout__attribution {
  font-size: 14px;
  line-height: 1.5;
  color: var(--wl-body-text);
  margin-top: var(--wl-space-2);
}


/* ============================================================
   7. COUNTDOWN TIMER  (.wl-countdown)
   Centred flex row of time-unit boxes.
   ============================================================ */

.wl-countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--wl-space-2);
  flex-wrap: wrap;
}

.wl-countdown__unit {
  background: var(--wl-navy);
  color: var(--wl-white);
  border-radius: var(--wl-border-radius-sm);
  padding: 12px 16px;
  min-width: 68px;
  text-align: center;
}

.wl-countdown__number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.wl-countdown__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.4;
  margin-top: 4px;
  opacity: 0.85;
}

@media (min-width: 768px) {
  .wl-countdown__unit {
    padding: 16px 20px;
    min-width: 80px;
  }

  .wl-countdown__number {
    font-size: 32px;
  }
}


/* ============================================================
   8. LEARN LIST  (.wl-learn-list)
   Styled list of learning outcomes with red checkmarks.
   ============================================================ */

.wl-learn-list {
  list-style: none;
  padding: 20px;
  margin: 0;
}

.wl-learn-list__item {
  position: relative;
  padding-left: 40px;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--wl-body-text);
}

.wl-learn-list__item:last-child {
  margin-bottom: 0;
}

/* Red circle with white checkmark */
.wl-learn-list__item::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--wl-red);
  color: var(--wl-white);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

/* In navy sections, list text should remain white */
.wl-section--navy .wl-learn-list__item {
  color: var(--wl-white);
}


/* ============================================================
   9. SPEAKER CARD  (.wl-speaker-card)
   Profile card with circular headshot.
   ============================================================ */

.wl-speaker-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.wl-speaker-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--wl-space-2);
}

@media (min-width: 768px) {
  .wl-speaker-card__photo {
    width: 160px;
    height: 160px;
  }
}

.wl-speaker-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--wl-navy);
  line-height: 1.25;
  margin-bottom: var(--wl-space-1);
}

.wl-speaker-card__title {
  font-size: 16px;
  line-height: 1.5;
  color: var(--wl-body-text);
}

.wl-speaker-card__bio {
  font-size: 16px;
  line-height: 1.6;
  color: var(--wl-body-text);
  margin-top: var(--wl-space-2);
}

/* About Wavelength block below speaker cards */
.wl-about-wavelength {
  border-top: 1px solid #e0e2e7;
  padding-top: var(--wl-space-4);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Credential badges / pills */
.wl-speaker-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wl-space-1);
  justify-content: center;
  margin-top: var(--wl-space-2);
}

.wl-speaker-card__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--wl-light-pink);
  color: var(--wl-navy);
  line-height: 1.5;
}


/* ============================================================
   10. TESTIMONIAL  (.wl-testimonial)
   Quote block with attribution.
   ============================================================ */

.wl-testimonial {
  padding: 24px 0;
}

.wl-testimonial--bordered {
  border-left: 4px solid var(--wl-red);
  padding-left: 24px;
}

.wl-testimonial__quote {
  font-size: 18px;
  font-style: italic;
  line-height: 1.65;
  color: var(--wl-navy);
}

.wl-testimonial__attribution {
  margin-top: var(--wl-space-2);
  font-size: 14px;
  line-height: 1.5;
  color: var(--wl-body-text);
}

.wl-testimonial__name {
  display: block;
  font-weight: 700;
  color: var(--wl-navy);
}

.wl-testimonial__role {
  display: block;
  color: var(--wl-body-text);
}


/* ============================================================
   11. AUDIENCE LIST  (.wl-audience-list)
   "Who This Is For" list with red bullet accents.
   ============================================================ */

.wl-audience-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wl-audience-list__item {
  position: relative;
  padding-left: 28px;
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--wl-body-text);
}

.wl-audience-list__item:last-child {
  margin-bottom: 0;
}

/* Red dash bullet */
.wl-audience-list__item::before {
  content: "\2014";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--wl-red);
  font-weight: 700;
  line-height: 1.6;
}

/* In navy sections, text stays white */
.wl-section--navy .wl-audience-list__item {
  color: var(--wl-white);
}


/* ============================================================
   12. FAQ  (.wl-faq)
   Stacked question-and-answer pairs, no accordion.
   ============================================================ */

.wl-faq__item {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e0e2e7;
}

.wl-faq__item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.wl-faq__question {
  font-size: 18px;
  font-weight: 700;
  color: var(--wl-navy);
  line-height: 1.35;
  margin-bottom: var(--wl-space-1);
}

.wl-faq__answer {
  font-size: 16px;
  line-height: 1.6;
  color: var(--wl-body-text);
}

.wl-faq__answer p + p {
  margin-top: var(--wl-space-2);
}


/* ============================================================
   13. FINAL CTA  (.wl-final-cta)
   Centred call-to-action section with navy background.
   ============================================================ */

.wl-final-cta {
  background: var(--wl-navy);
  padding: 56px 0;
  text-align: center;
}

@media (min-width: 768px) {
  .wl-final-cta {
    padding: 80px 0;
  }
}

.wl-final-cta h2,
.wl-final-cta p,
.wl-final-cta .wl-body-text,
.wl-final-cta .wl-small-text {
  color: var(--wl-white);
}

.wl-final-cta__content {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Optional qualifier text input */
.wl-final-cta__input {
  display: block;
  width: 100%;
  padding: 14px 20px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--wl-navy);
  background: var(--wl-white);
  border: 2px solid transparent;
  border-radius: 100px;
  margin-bottom: var(--wl-space-2);
  transition: border-color var(--wl-transition-fast);
}

.wl-final-cta__input::placeholder {
  color: var(--wl-body-text);
  opacity: 0.7;
}

.wl-final-cta__input:focus {
  outline: none;
  border-color: var(--wl-red);
}


/* ============================================================
   14. OCTOBER BRIDGE CARD  (.wl-october-bridge)
   Secondary card for programme callout. Subtle treatment.
   ============================================================ */

.wl-october-bridge {
  background: var(--wl-light-grey);
  border-radius: var(--wl-border-radius-md);
  padding: 32px;
}

.wl-october-bridge--pink {
  background: var(--wl-light-pink);
}

.wl-october-bridge__headline {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--wl-navy);
  line-height: 1.25;
  margin-bottom: var(--wl-space-2);
}

@media (min-width: 768px) {
  .wl-october-bridge__headline {
    font-size: 1.5rem;
  }
}

.wl-october-bridge__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--wl-body-text);
  margin-bottom: var(--wl-space-3);
}

/* Link styled as a secondary, understated action */
.wl-october-bridge__link {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: var(--wl-red);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color var(--wl-transition-fast),
              color var(--wl-transition-fast);
  padding-bottom: 2px;
}

.wl-october-bridge__link:hover,
.wl-october-bridge__link:focus-visible {
  color: var(--wl-red-hover);
  border-bottom-color: var(--wl-red-hover);
}


/* ============================================================
   15. FOOTER  (.wl-footer)
   Minimal footer with logo left, copyright/privacy right.
   ============================================================ */

.wl-footer {
  background: var(--wl-navy);
  padding: 32px 0;
}

.wl-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--wl-space-2);
}

@media (min-width: 768px) {
  .wl-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.wl-footer__logo img {
  height: 28px;
  width: auto;
}

.wl-footer__legal {
  font-size: 14px;
  line-height: 1.5;
  color: var(--wl-white);
  opacity: 0.8;
}

.wl-footer__legal a {
  color: var(--wl-white);
  text-decoration: none;
  transition: opacity var(--wl-transition-fast);
}

.wl-footer__legal a:hover,
.wl-footer__legal a:focus-visible {
  text-decoration: underline;
  opacity: 1;
  color: var(--wl-white);
}


/* ============================================================
   16. HERO WAVE DECORATION
   Smooth SVG wave at the bottom of the hero section and an
   optional subtle wave at the top of any section.
   ============================================================ */

.wl-hero {
  position: relative;
  overflow: hidden;
}

/* Decorative wave lines across the hero background */
.wl-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400' preserveAspectRatio='none'%3E%3Cpath d='M-100,200 C100,100 300,300 500,200 C700,100 900,300 1100,200 C1300,100 1500,300 1600,200' fill='none' stroke='rgba(227,6,19,0.08)' stroke-width='2'/%3E%3Cpath d='M-100,220 C150,120 350,320 550,220 C750,120 950,320 1150,220 C1350,120 1550,320 1650,220' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='2'/%3E%3Cpath d='M-100,180 C50,80 250,280 450,180 C650,80 850,280 1050,180 C1250,80 1450,280 1600,180' fill='none' stroke='rgba(227,6,19,0.05)' stroke-width='1.5'/%3E%3Cpath d='M-100,240 C200,140 400,340 600,240 C800,140 1000,340 1200,240 C1400,140 1600,340 1700,240' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1.5'/%3E%3Cpath d='M-100,160 C0,60 200,260 400,160 C600,60 800,260 1000,160 C1200,60 1400,260 1600,160' fill='none' stroke='rgba(227,6,19,0.04)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}

/* Add a subtle radial glow behind the content area */
.wl-hero .wl-container {
  position: relative;
  z-index: 1;
}

.wl-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C240,90 480,0 720,50 C960,100 1200,10 1440,40 L1440,100 L0,100 Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
  pointer-events: none;
  z-index: 1;
}

@media (min-width: 768px) {
  .wl-hero::after {
    height: 80px;
  }
}

@media (min-width: 1024px) {
  .wl-hero::after {
    height: 100px;
  }
}

/* Subtle wave at the top of a section — add .wl-section--wave-top */
.wl-section--wave-top {
  position: relative;
}

.wl-section--wave-top::before {
  content: "";
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 24' preserveAspectRatio='none'%3E%3Cpath d='M0,12 C360,24 720,0 1080,12 C1260,18 1380,6 1440,12 L1440,24 L0,24 Z' fill='%23F5F6F8'/%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
}

@media (min-width: 768px) {
  .wl-section--wave-top::before {
    top: -36px;
    height: 36px;
  }
}


/* ============================================================
   17. SCROLL-TRIGGERED FADE-IN ANIMATIONS  (.wl-animate)
   Elements start hidden and slide up into view when they
   enter the viewport. JS adds the .is-visible class.
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {
  .wl-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .wl-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Staggered delay modifiers */
  .wl-animate--delay-1 { transition-delay: 0.1s; }
  .wl-animate--delay-2 { transition-delay: 0.2s; }
  .wl-animate--delay-3 { transition-delay: 0.3s; }
  .wl-animate--delay-4 { transition-delay: 0.4s; }

  /* Directional variants */
  .wl-animate--fade-left {
    opacity: 0;
    transform: translateX(-30px);
  }

  .wl-animate--fade-left.is-visible {
    opacity: 1;
    transform: translateX(0);
  }

  .wl-animate--fade-right {
    opacity: 0;
    transform: translateX(30px);
  }

  .wl-animate--fade-right.is-visible {
    opacity: 1;
    transform: translateX(0);
  }
}

/* When the user prefers reduced motion, show elements immediately */
@media (prefers-reduced-motion: reduce) {
  .wl-animate {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ============================================================
   18. CARD & COMPONENT HOVER EFFECTS
   Subtle lift and shadow transitions for interactive elements.
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {
  /* Stat cards — lift on hover */
  .wl-stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .wl-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(44, 45, 76, 0.12);
  }

  /* Testimonial bordered — subtle lift */
  .wl-testimonial--bordered {
    transition: transform 0.3s ease;
  }

  .wl-testimonial--bordered:hover {
    transform: translateY(-2px);
  }

  /* October bridge card — slight shadow increase */
  .wl-october-bridge {
    transition: box-shadow 0.3s ease;
  }

  .wl-october-bridge:hover {
    box-shadow: 0 4px 16px rgba(44, 45, 76, 0.1);
  }

  /* Learn list item — icon scales on hover */
  .wl-learn-list__item::before {
    transition: transform 0.3s ease;
  }

  .wl-learn-list__item:hover::before {
    transform: scale(1.1);
  }

  /* Quote callout — border intensification on hover */
  .wl-quote-callout {
    transition: border-left-width 0.3s ease, border-left-color 0.3s ease;
  }

  .wl-quote-callout:hover {
    border-left-width: 6px;
    border-left-color: var(--wl-red-hover);
  }
}


/* ============================================================
   19. BUTTON ENHANCEMENTS
   Hover lift and active press for primary CTA buttons.
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {
  .wl-btn-primary {
    transition: background var(--wl-transition-fast),
                color var(--wl-transition-fast),
                border-color var(--wl-transition-fast),
                transform 0.3s ease,
                box-shadow 0.3s ease;
  }

  .wl-btn-primary:hover,
  .wl-btn-primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(227, 6, 19, 0.3);
  }

  .wl-btn-primary:active {
    transform: translateY(0);
    box-shadow: none;
  }

  .wl-sticky-bar__cta {
    transition: background var(--wl-transition-fast),
                transform 0.3s ease,
                box-shadow 0.3s ease;
  }

  .wl-sticky-bar__cta:hover,
  .wl-sticky-bar__cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(227, 6, 19, 0.3);
  }

  .wl-sticky-bar__cta:active {
    transform: translateY(0);
    box-shadow: none;
  }
}


/* ============================================================
   20. TRUST BAR LOGO HOVER ENHANCEMENT
   Scale-up on hover alongside the existing greyscale-to-colour.
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {
  .wl-trust-bar__logo {
    transition: filter 0.3s ease, transform 0.3s ease;
  }

  .wl-trust-bar__logo:hover {
    transform: scale(1.08);
  }
}


/* ============================================================
   21. COUNTDOWN TIMER PULSE
   Subtle scale pulse on the seconds unit to convey urgency.
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {
  @keyframes wl-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
  }

  .wl-countdown__unit[data-unit="seconds"] {
    animation: wl-pulse 2s ease-in-out infinite;
  }
}


/* ============================================================
   22. SCROLL INDICATOR
   Bouncing arrow at the bottom of the hero to prompt scrolling.
   ============================================================ */

.wl-scroll-indicator {
  display: flex;
  justify-content: center;
  margin-top: 24px;
  padding-bottom: 8px;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes wl-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(12px); }
    60% { transform: translateY(6px); }
  }

  .wl-scroll-indicator svg {
    animation: wl-bounce 1.5s ease infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wl-scroll-indicator svg {
    animation: none;
  }
}
