/* ==========================================================================
   E2V WALTON-INSPIRED INTERACTIVE EDITORIAL TRANSITION SYSTEM
   100% Guaranteed ZERO Text Overlap + Pure Standard Web Technologies (CSS3 + Vanilla JS)
   - Dual Flanking Floating Wings with physical separation from typography
   - Reference video transition: cards smoothly drift outward, shrink & fade on scroll
   - Animated vertical narrative line drawing downward to anchor dot
   - Editorial serif monumental typography with graceful italics
   - Dedicated "Our Brand" section with 3 floating brand cards
   - Staggered scroll-from-bottom entrance for "Celebrated by governments" cards
   - 100% Mobile & tablet responsive (No Python / Vanilla Web Technologies)
   ========================================================================== */

:root {
  --walton-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --walton-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --walton-mono: 'IBM Plex Mono', monospace;
  --walton-cream: #fbfaf7;
  --walton-paper: #f8fafc;
  --walton-text-dark: #0f172a;
  --walton-text-muted: #475569;
  --walton-navy: #222e40;
  --walton-cyan: #0284c7;
  --walton-orange: #f97316;
  --walton-emerald: #10b981;
  --walton-blue: #3b82f6;
  --walton-amber: #f59e0b;
}

/* ── 1. BASE HERO SECTION CONTAINER ───────────────────────────────────────── */
.walton-editorial-hero {
  position: relative;
  width: 100%;
  min-height: 94vh;
  min-height: 94svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5.5rem 2rem 3rem;
  box-sizing: border-box;
  overflow: hidden;
  background-color: #f8fafc;
}

/* Background Figures: Man holding briefcase (left) & man sitting in chair (right) */
.walton-editorial-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(2, 132, 199, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(2, 132, 199, 0.05) 0%, transparent 45%),
    radial-gradient(ellipse 65% 55% at 50% 48%, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 252, 0.88) 50%, rgba(241, 245, 249, 0.78) 100%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.78) 0%, rgba(241, 245, 249, 0.82) 100%),
    url('../images/emp3.webp');
  background-size:
    auto,
    auto,
    auto,
    auto,
    cover;
  background-position:
    center center,
    center center,
    center center,
    center center,
    center bottom;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
}

.walton-editorial-hero::after {
  display: none !important;
}

/* ── 2. THREE-ZONE STAGE ARCHITECTURE (GUARANTEED ZERO TEXT OVERLAP) ─────── */
.walton-hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
  gap: 2rem;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* ── 3. DUAL FLANKING FLOATING WINGS (STRUCTURALLY OUTSIDE TEXT) ───────────── */
.walton-floating-wing {
  flex: 0 0 240px;
  max-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  z-index: 3;
  box-sizing: border-box;
  pointer-events: auto;
}

.walton-floating-wing--left {
  align-items: flex-end;
}

.walton-floating-wing--right {
  align-items: flex-start;
}

/* Slot Wrapper: Handles scroll dispersal (drift outward, scale down, fade out) */
.walton-card-slot {
  display: block;
  width: 100%;
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
  transition: transform 0.06s linear, opacity 0.06s linear;
  will-change: transform, opacity;
}

/* Individual Floating Card Styling with Glassmorphism & Hover Levitation */
.walton-float-card {
  width: 220px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  box-shadow:
    0 14px 30px -6px rgba(15, 23, 42, 0.08),
    0 2px 6px rgba(15, 23, 42, 0.03);
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  opacity: 0;
  transform: scale(0.9);
  animation: waltonCardEnter 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease,
    border-color 0.3s ease;
  will-change: transform;
  box-sizing: border-box;
}

.walton-float-card:hover {
  transform: translateY(-6px) scale(1.03) !important;
  box-shadow:
    0 22px 44px -6px rgba(15, 23, 42, 0.16),
    0 4px 14px rgba(2, 132, 199, 0.14);
  border-color: rgba(2, 132, 199, 0.38);
  z-index: 20;
}

.walton-float-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.walton-float-card__info {
  display: flex;
  flex-direction: column;
  text-align: left;
  overflow: hidden;
}

.walton-float-card__badge {
  font-family: var(--walton-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--walton-text-muted);
}

.walton-float-card__stat {
  font-family: var(--walton-sans);
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--walton-text-dark);
  letter-spacing: -0.01em;
  line-height: 1.15;
  white-space: nowrap;
}

/* Card Category Color Accents & Natural Organic Bobbing Animation */
.card-education {
  animation-delay: 0.3s;
  animation-name: waltonCardEnter, waltonBobbing1;
  animation-duration: 0.9s, 5.2s;
  animation-iteration-count: 1, infinite;
  animation-direction: normal, alternate;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1), ease-in-out;
}
.card-education .walton-float-card__icon {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.card-csr {
  animation-delay: 0.5s;
  animation-name: waltonCardEnter, waltonBobbing2;
  animation-duration: 0.9s, 5.6s;
  animation-iteration-count: 1, infinite;
  animation-direction: normal, alternate;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1), ease-in-out;
}
.card-csr .walton-float-card__icon {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.card-internship {
  animation-delay: 0.7s;
  animation-name: waltonCardEnter, waltonBobbing3;
  animation-duration: 0.9s, 4.8s;
  animation-iteration-count: 1, infinite;
  animation-direction: normal, alternate;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1), ease-in-out;
}
.card-internship .walton-float-card__icon {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.card-bfsi {
  animation-delay: 0.4s;
  animation-name: waltonCardEnter, waltonBobbing2;
  animation-duration: 0.9s, 5.0s;
  animation-iteration-count: 1, infinite;
  animation-direction: normal, alternate;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1), ease-in-out;
}
.card-bfsi .walton-float-card__icon {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.card-hr {
  animation-delay: 0.6s;
  animation-name: waltonCardEnter, waltonBobbing1;
  animation-duration: 0.9s, 5.4s;
  animation-iteration-count: 1, infinite;
  animation-direction: normal, alternate;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1), ease-in-out;
}
.card-hr .walton-float-card__icon {
  background: linear-gradient(135deg, #222e40 0%, #111827 100%);
}

.card-guarantee {
  animation-delay: 0.8s;
  animation-name: waltonCardEnter, waltonBobbing3;
  animation-duration: 0.9s, 5.8s;
  animation-iteration-count: 1, infinite;
  animation-direction: normal, alternate;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1), ease-in-out;
}
.card-guarantee .walton-float-card__icon {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
}

@keyframes waltonCardEnter {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes waltonBobbing1 {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(4px); }
}

@keyframes waltonBobbing2 {
  0% { transform: translateY(0); }
  50% { transform: translateY(6px); }
  100% { transform: translateY(-5px); }
}

@keyframes waltonBobbing3 {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(5px); }
}

/* ── 4. CENTER EDITORIAL STAGE (Typography, Tagline, Pills & CTA) ─────────── */
.walton-center-stage {
  flex: 1 1 auto;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 4;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 1.5rem;
  transition: transform 0.08s linear;
}

/* Top Brand Emblem (Replaces video logo with Employment Express) */
.walton-brand-emblem {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.3rem;
  opacity: 0;
  transform: translateY(-16px);
  animation: waltonFadeDown 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
  position: relative;
}

.walton-brand-emblem__logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(15, 23, 42, 0.1));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.walton-brand-emblem:hover .walton-brand-emblem__logo {
  transform: scale(1.06);
}

.walton-brand-emblem__dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
}

.walton-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
}

.walton-dot--amber { background: #f59e0b; }
.walton-dot--emerald { background: #10b981; }
.walton-dot--cyan { background: #0284c7; }
.walton-dot--navy { background: #222e40; }

@keyframes waltonFadeDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Monumental Editorial Headline Cluster (Matching Video's Opportunities Section) */
.walton-headline-cluster {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
  width: 100%;
}

.walton-headline-row {
  display: block;
  overflow: hidden;
  line-height: 1.2;
  padding-bottom: 0.18em;
  margin-bottom: 0.15rem;
}

.walton-headline-text {
  font-family: var(--walton-serif);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--walton-text-dark);
  text-transform: uppercase;
  margin: 0;
  display: inline-block;
  opacity: 0;
  transform: translateY(105%);
  animation: waltonTextReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.walton-headline-row:nth-child(1) .walton-headline-text {
  animation-delay: 0.2s;
}

.walton-headline-row:nth-child(2) .walton-headline-text {
  animation-delay: 0.35s;
}

.walton-headline-row:nth-child(3) .walton-headline-text {
  animation-delay: 0.5s;
}

.walton-editorial-italic {
  font-style: italic;
  font-weight: 400;
  font-family: var(--walton-serif);
  text-transform: capitalize;
  letter-spacing: -0.02em;
  display: inline-block;
  padding-bottom: 0.22em;
  padding-right: 0.14em;
  background: linear-gradient(135deg, #0f172a 0%, #1e40af 35%, #0284c7 70%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes waltonTextReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Strictly Unchanged Paragraph Under The Niche */
.walton-tagline-editorial {
  font-family: var(--walton-sans);
  font-size: clamp(1rem, 1.22vw, 1.15rem);
  font-weight: 400;
  line-height: 1.68;
  color: var(--walton-text-muted);
  max-width: 680px;
  margin: 0 auto 1.5rem;
  text-wrap: balance;
  opacity: 0;
  animation: waltonFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.65s forwards;
}

@keyframes waltonFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Category Quick Pills */
.walton-pills-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 5px 8px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
  margin: 0 auto 1.6rem;
  opacity: 0;
  animation: waltonFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.walton-pill {
  font-family: var(--walton-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #93c5fd;
  padding: 6px 13px;
  background: transparent;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.walton-pill:hover {
  background: #0284c7;
  color: #ffffff;
  transform: translateY(-1px);
}

.walton-pill-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  display: inline-block;
  margin: 0 1px;
}

/* Action CTA Button */
.walton-cta-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: waltonFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.95s forwards;
}

.btn-walton-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  background: #0f172a;
  color: #ffffff;
  padding: 6px 6px 6px 24px;
  border-radius: 9999px;
  text-decoration: none;
  font-family: var(--walton-sans);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow:
    0 16px 36px rgba(15, 23, 42, 0.22),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 230px;
}

.btn-walton-cta:hover {
  background: #000000;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.32);
  border-color: rgba(2, 132, 199, 0.5);
  color: #ffffff;
}

.btn-walton-cta__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.92rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}

.btn-walton-cta:hover .btn-walton-cta__arrow {
  transform: translateX(4px);
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
}

/* Vertical Transition Guide Line (Matching Reference Video Frame 6) */
.walton-transition-guide {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1rem auto 0;
  pointer-events: none;
  opacity: 0;
  animation: waltonFadeUp 0.8s ease 1.1s forwards;
}

.walton-guide-track {
  width: 2px;
  height: 58px;
  background: rgba(34, 46, 64, 0.12);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.walton-guide-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0284c7 0%, #222e40 100%);
  transform-origin: top;
  transition: transform 0.08s linear;
}

.walton-guide-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #222e40;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.5);
  margin-top: 2px;
  animation: waltonDotPulse 2.4s ease-in-out infinite;
  transition: transform 0.15s ease;
}

@keyframes waltonDotPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 1; }
}

/* ── 5. DEDICATED "OUR BRANDS" FLOATING LOGOS SECTION ───────────────────────
   Pure Minimalist Editorial Presentation:
   - "Our Brands" heading with Walton-inspired typography
   - 3 Floating Brand Logos only (Shikshit, NS-MAS, InternBoot)
   - Staggered scroll-in entrance & subtle organic floating levitation
   - Clean glassmorphic logo capsule cards with interactive hover elevation
   - 100% Mobile & tablet responsive
   ────────────────────────────────────────────────────────────────────────── */
.our-brands-section {
  position: relative;
  width: 100%;
  padding: 5rem 5% 5.5rem;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(2, 132, 199, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(14, 165, 233, 0.03) 0%, transparent 50%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
  border-top: 1px solid rgba(34, 46, 64, 0.06);
  border-bottom: 1px solid rgba(34, 46, 64, 0.06);
  box-sizing: border-box;
  overflow: hidden;
}

.our-brands-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.our-brands-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 3;
}

.our-brands-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--walton-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--walton-navy);
  margin-bottom: 0.75rem;
}

.our-brands-eyebrow::before,
.our-brands-eyebrow::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1.5px;
  background: var(--walton-navy);
}

.our-brands-index {
  color: #0284c7;
  font-weight: 800;
  font-family: var(--walton-mono);
}

.our-brands-title {
  font-family: var(--walton-serif);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--walton-text-dark);
  margin: 0;
  line-height: 1.1;
}

.our-brands-title span {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Three Floating Brand Logos Grid */
.our-brands-logos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  flex-wrap: wrap;
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Floating Brand Logo Pill */
.brand-logo-pill {
  flex: 0 1 290px;
  height: 116px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow:
    0 14px 32px -6px rgba(15, 23, 42, 0.06),
    0 2px 8px rgba(15, 23, 42, 0.03);
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(35px) scale(0.96);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  will-change: transform, opacity;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.brand-logo-pill::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.08) 0%, transparent 70%);
  pointer-events: none;
  transition: transform 0.4s ease;
}

.brand-logo-pill:hover::before {
  transform: scale(1.6);
}

.brand-logo-pill.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Floating bobbing once entered */
.brand-logo-pill.in-view:nth-child(1) {
  animation: brandBobbing1 5.4s ease-in-out infinite alternate;
}
.brand-logo-pill.in-view:nth-child(2) {
  animation: brandBobbing2 4.8s ease-in-out 0.4s infinite alternate;
}
.brand-logo-pill.in-view:nth-child(3) {
  animation: brandBobbing3 5.6s ease-in-out 0.8s infinite alternate;
}

@keyframes brandBobbing1 {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(4px); }
}

@keyframes brandBobbing2 {
  0% { transform: translateY(0); }
  50% { transform: translateY(6px); }
  100% { transform: translateY(-5px); }
}

@keyframes brandBobbing3 {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(5px); }
}

/* Hover Levitation & Glow */
.brand-logo-pill:hover {
  transform: translateY(-8px) scale(1.04) !important;
  box-shadow:
    0 24px 50px -8px rgba(15, 23, 42, 0.16),
    0 6px 18px rgba(2, 132, 199, 0.14);
  border-color: rgba(2, 132, 199, 0.35);
}

.brand-pure-logo {
  max-height: 56px;
  max-width: 195px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 2px 6px rgba(15, 23, 42, 0.05));
  display: block;
}

.brand-logo-pill:hover .brand-pure-logo {
  transform: scale(1.06);
}

/* ── 6. "CELEBRATED BY GOVERNMENTS" SCROLL-FROM-BOTTOM ANIMATION ─────────── */
.awards-grid .award-card {
  opacity: 0;
  transform: translateY(70px) scale(0.96);
  filter: blur(4px);
  transition:
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  will-change: transform, opacity;
}

.awards-grid.in-view .award-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.awards-grid.in-view .award-card:nth-child(1) { transition-delay: 0.08s; }
.awards-grid.in-view .award-card:nth-child(2) { transition-delay: 0.18s; }
.awards-grid.in-view .award-card:nth-child(3) { transition-delay: 0.28s; }
.awards-grid.in-view .award-card:nth-child(4) { transition-delay: 0.38s; }
.awards-grid.in-view .award-card:nth-child(5) { transition-delay: 0.48s; }

/* ── 7. RESPONSIVE BREAKPOINTS (100% Mobile & Tablet Collision-Free) ──────── */
@media (max-width: 1200px) {
  .walton-floating-wing {
    flex: 0 0 205px;
    max-width: 215px;
    gap: 1.8rem;
  }
  .walton-float-card {
    width: 195px;
    padding: 8px 12px;
  }
  .walton-float-card__icon {
    width: 32px;
    height: 32px;
    font-size: 0.88rem;
  }
  .walton-float-card__stat {
    font-size: 0.78rem;
  }
  .walton-hero-container {
    gap: 1.2rem;
  }
}

@media (max-width: 1024px) {
  .walton-hero-container {
    flex-direction: column;
    gap: 2.2rem;
  }
  .walton-center-stage {
    max-width: 100%;
    order: 1;
    margin-bottom: 0.5rem;
  }
  /* On tablets and mobile, cards wrap cleanly BELOW the center stage with ZERO overlap */
  .walton-floating-wing {
    flex: 1 1 100%;
    max-width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    order: 2;
  }
  .walton-floating-wing--right {
    order: 3;
    margin-top: -6px;
  }
  .walton-card-slot {
    width: auto;
    display: inline-block;
  }
  .walton-float-card {
    width: auto;
    min-width: 180px;
    margin: 0 !important;
  }
  .our-brands-logos-grid { gap: 1.6rem; }
  .brand-logo-pill { flex: 0 1 240px; height: 104px; padding: 1rem 1.6rem; }
  .brand-pure-logo { max-height: 48px; max-width: 160px; }
  .our-brands-grid .brand-float-card:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .walton-editorial-hero {
    padding-top: 5rem;
    padding-bottom: 2.5rem;
  }
  .walton-editorial-hero::before {
    background-image:
      radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.88) 55%, rgba(241, 245, 249, 0.78) 100%),
      linear-gradient(180deg, rgba(248, 250, 252, 0.78) 0%, rgba(241, 245, 249, 0.82) 100%),
      url('../images/emp3.webp');
    background-size:
      auto,
      auto,
      130% auto;
    background-position:
      center center,
      center center,
      center bottom;
    background-repeat: no-repeat;
  }
  .walton-headline-text {
    font-size: clamp(2.2rem, 8vw, 3.4rem);
  }
  .walton-tagline-editorial {
    font-size: 1rem;
    padding: 0 8px;
  }
  .walton-pills-wrap {
    flex-wrap: wrap;
    border-radius: 20px;
    padding: 6px 10px;
    max-width: calc(100vw - 2rem);
  }
  .btn-walton-cta {
    min-width: 220px;
    font-size: 0.88rem;
  }
  .our-brands-logos-grid { gap: 1.6rem; }
  .brand-logo-pill { flex: 0 1 240px; height: 104px; padding: 1rem 1.6rem; }
  .brand-pure-logo { max-height: 48px; max-width: 160px; }
  .our-brands-grid .brand-float-card:last-child {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .walton-editorial-hero::before {
    background-size:
      auto,
      auto,
      140% auto;
    background-position:
      center center,
      center center,
      center bottom;
  }
  .walton-floating-wing {
    gap: 8px;
  }
  .walton-card-slot {
    width: calc(50% - 6px);
  }
  .walton-float-card {
    min-width: 0;
    width: 100%;
    padding: 8px 10px;
    gap: 8px;
  }
  .walton-float-card__icon {
    width: 30px;
    height: 30px;
    font-size: 0.82rem;
  }
  .walton-float-card__badge {
    font-size: 0.54rem;
  }
  .walton-float-card__stat {
    font-size: 0.72rem;
  }
}
