/* ============================================================
   Skill Dynamix — Corporate Styles & Component System
   Palette: Skill Dynamix Deep Violet (#5415C2) & Magenta Accent (#FC2AA1 / #B30476)
   Surfaces: Deep Purple (#300273) & Navy-Indigo (#1C0D64)
   Typography: Fraunces (Headings) & Inter (Body), self-hosted
   ============================================================ */

@import url('fonts.css');

/* ============================================================
   CSS VARIABLES & DESIGN TOKENS
   ============================================================ */
:root {
  --color-primary: #5415C2;
  --color-primary-hover: #410E9E;
  --color-accent: #FC2AA1;
  --color-accent-text: #B30476;
  --color-accent-hover: #D41285;
  --color-accent-subtle: #FDF2F9;
  --color-ink: #1C0D64;
  --color-ink-muted: #2B2544;
  --color-ink-subtle: #584E76;
  --color-surface-base: #FFFFFF;
  --color-surface-subtle: #F7F5FC;
  --color-surface-muted: #EFEBFA;
  --color-surface-dark: #300273;
  --color-surface-darker: #1C0D64;
  --color-border: #E5E0F2;
  --color-border-dark: #46168F;
  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --ease-motion: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  font-size: 16px;
}

/* Offset in-page anchors under the fixed/sticky frosted header */
[id] {
  scroll-margin-top: 88px;
}

body {
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-surface-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1.2;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-primary);
  color: #FFFFFF;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  z-index: 999;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ============================================================
   SCROLL PROGRESS BAR & BACK TO TOP
   ============================================================ */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--color-primary);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 100;
  pointer-events: none;
  transition: transform 0.05s linear;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  color: var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}
@media (max-width: 767px) {
  .back-to-top {
    bottom: 1rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
  }
  .back-to-top svg {
    width: 16px;
    height: 16px;
  }
}
/* Hide floating button when user is actively filling out the contact form */
body:has(#contactForm:focus-within) .back-to-top,
body:has(#contactForm:focus-within) .whatsapp-float {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* WhatsApp Floating Action Button (56px circle, #128C7E, white glyph, clear focus ring) */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #128C7E;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  z-index: 35;
  text-decoration: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px) scale(0.92);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.whatsapp-float:hover {
  background: #0E7165;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.whatsapp-float:focus-visible {
  outline: 3px solid #25D366;
  outline-offset: 3px;
}
@media (max-width: 767px) {
  .whatsapp-float {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    right: 0.75rem;
    width: 56px;
    height: 56px;
  }
}

/* Stacking: when WhatsApp FAB is active, place back-to-top cleanly above it with zero collision */
body.has-whatsapp-fab .back-to-top {
  bottom: calc(2rem + 56px + 0.75rem);
  right: 2.25rem;
}
@media (max-width: 767px) {
  body.has-whatsapp-fab .back-to-top {
    bottom: calc(1rem + 56px + 0.5rem + env(safe-area-inset-bottom, 0px));
    right: calc(0.75rem + 10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    transition: none !important;
    transform: none !important;
  }
}

.btn--apple-whatsapp {
  background: #128C7E;
  color: #FFFFFF;
  border: 1px solid #128C7E;
  border-radius: 980px;
  padding: 0.75rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn--apple-whatsapp:hover:not(:disabled) {
  background: #0E7165;
  border-color: #0E7165;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(18, 140, 126, 0.25);
}
.btn--apple-whatsapp:active:not(:disabled) {
  transform: translateY(0);
}

/* ============================================================
   Skill Dynamix STICKY FROSTED HEADER & LOGO SWAP
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Transparent state over dark hero */
.site-header.is-transparent {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header.is-transparent .site-logo__img--light { display: block; }
.site-header.is-transparent .site-logo__img--dark { display: none; }
.site-header.is-transparent .nav-link { color: rgba(255, 255, 255, 0.85); }
.site-header.is-transparent .nav-link:hover { color: #FFFFFF; }
.site-header.is-transparent .nav-link.active { color: #FFFFFF; font-weight: 600; }
.site-header.is-transparent .menu-btn { color: #FFFFFF; }
.site-header.is-transparent .btn--header {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}
.site-header.is-transparent .btn--header:hover {
  background: #FFFFFF;
  color: var(--color-ink);
}
.site-header.is-transparent .btn--header.active,
.site-header.is-transparent .btn--header[aria-current="page"] {
  background: #FFFFFF;
  color: var(--color-ink);
  border-color: #FFFFFF;
  font-weight: 600;
}

/* Scrolled state */
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 20px -2px rgba(28, 13, 100, 0.08);
}
.site-header.is-scrolled .site-logo__img--light { display: none; }
.site-header.is-scrolled .site-logo__img--dark { display: block; }
.site-header.is-scrolled .nav-link { color: var(--color-ink); opacity: 0.85; }
.site-header.is-scrolled .nav-link:hover { color: var(--color-primary); opacity: 1; }
.site-header.is-scrolled .nav-link.active { color: var(--color-primary); font-weight: 600; opacity: 1; }
.site-header.is-scrolled .menu-btn { color: var(--color-ink); }
.site-header.is-scrolled .btn--header {
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: #FFFFFF;
}
.site-header.is-scrolled .btn--header:hover {
  background: var(--color-primary-hover);
}
.site-header.is-scrolled .btn--header.active,
.site-header.is-scrolled .btn--header[aria-current="page"] {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  box-shadow: 0 0 0 2px var(--color-surface-base), 0 0 0 4px var(--color-primary);
  font-weight: 600;
}

.site-logo {
  display: flex;
  align-items: center;
  position: relative;
  text-decoration: none;
}
.site-logo__img {
  height: 40px;
  width: 206px;
  object-fit: contain;
  transition: opacity 0.25s ease;
}
@media (max-width: 767px) {
  .site-logo__img {
    height: 32px;
    width: 165px;
  }
}

/* Nav links */
.site-nav {
  display: none;
}
@media (min-width: 768px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
@media (min-width: 768px) {
  .menu-btn {
    display: none !important;
  }
}

.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.15s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.25s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn--primary {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}
.btn--primary:hover:not(:disabled) {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  transform: translateY(-1px);
}
.btn--primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn--secondary {
  background: transparent;
  color: var(--color-ink);
  border-color: rgba(15, 23, 42, 0.2);
}
.btn--secondary:hover:not(:disabled) {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.35);
  transform: translateY(-1px);
}

.btn--secondary-hero {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--secondary-hero:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
  transform: translateY(-1px);
}

.btn--whatsapp {
  background: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
}
.btn--whatsapp:hover:not(:disabled) {
  background: #1EBE5B;
  transform: translateY(-1px);
}

.btn--lg {
  font-size: 0.9375rem;
  padding: 0.875rem 2rem;
}

.btn--full {
  width: 100%;
}

/* ============================================================
   MOBILE SHEET / DRAWER (From Skill Dynamix & Skill Dynamix)
   ============================================================ */
.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.sheet-overlay[data-state="open"] {
  opacity: 1;
  pointer-events: auto;
}

.sheet {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 360px;
  background: #FFFFFF;
  z-index: 100;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s var(--ease-motion);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -8px 0 24px rgba(15, 23, 42, 0.12);
}
.sheet[data-state="open"] {
  transform: translateX(0);
  visibility: visible;
}
.sheet[data-state="closed"] {
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
}
@media (min-width: 768px) {
  .sheet,
  .sheet-overlay {
    display: none !important;
  }
}

.sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.sheet__logo {
  height: 38px;
  width: auto;
}
.sheet__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--color-ink);
}
.sheet__close:hover {
  background: rgba(15, 23, 42, 0.06);
}

.sheet__body {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sheet__link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-ink);
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}
.sheet__link:hover {
  background: rgba(15, 23, 42, 0.04);
  color: var(--color-primary);
}
.sheet__link--active {
  color: var(--color-primary);
  background: rgba(30, 58, 138, 0.06);
  font-weight: 600;
}
.sheet__footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
}

/* ============================================================
   HEROES: VIDEO (Home) & FULL-BLEED PHOTO (About, Services, Contact)
   ============================================================ */
.hero-photo {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Directional hero overlay tinted with Skill Dynamix brand colours (#300273 and #1C0D64)
   Lightened to allow background video visibility while maintaining WCAG AA text contrast */
.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(48, 2, 115, 0.82) 0%,
    rgba(28, 13, 100, 0.76) 45%,
    rgba(48, 2, 115, 0.45) 75%,
    rgba(28, 13, 100, 0.25) 100%
  );
  z-index: 2;
}

.hero-photo > * {
  position: relative;
  z-index: 3;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: #FFFFFF !important;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtext {
  font-size: clamp(1rem, 1.8vw, 1.1875rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95) !important;
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

/* Shorter hero for subpages */
.hero-photo--short {
  min-height: 420px;
  padding-top: 7.5rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .hero-photo--short {
    min-height: 460px;
    padding-top: 9rem;
    padding-bottom: 5rem;
  }
}

@media (max-width: 767px) {
  .hero-photo::before {
    background: linear-gradient(
      180deg,
      rgba(48, 2, 115, 0.84) 0%,
      rgba(28, 13, 100, 0.78) 50%,
      rgba(48, 2, 115, 0.35) 100%
    );
  }
}

/* Hero Background Video Treatment (Skill Dynamix) */
.hero-video-wrap {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden;
  z-index: 1 !important;
}

.hero-video-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-video-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Full-bleed image band for Services sub-sections */
.image-band {
  position: relative;
  height: 220px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
@media (min-width: 768px) {
  .image-band {
    height: 300px;
  }
}
.image-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(48, 2, 115, 0.65) 0%,
    rgba(28, 13, 100, 0.88) 100%
  );
  z-index: 1;
}
.image-band__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 2rem;
}
.image-band__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: #FFFFFF;
  font-weight: 700;
}

/* ============================================================
   MARQUEE BAND (Skill Dynamix)
   ============================================================ */
.marquee-band {
  background: var(--color-surface-dark);
  border-top: 1px solid var(--color-border-dark);
  border-bottom: 1px solid var(--color-border-dark);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.875rem 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 24s linear infinite;
}
.marquee-content {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  padding: 0 1rem;
  flex-shrink: 0;
}
.marquee-content span {
  color: var(--color-accent);
  margin: 0 0.5rem;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-track:hover,
.marquee-track:focus-within {
  animation-play-state: paused;
}

/* ============================================================
   CARDS & HOVER LIFTS (Skill Dynamix + Skill Dynamix)
   ============================================================ */
.service-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-primary);
  border-radius: 6px;
  padding: 1.75rem 1.5rem;
  transition: transform 0.25s var(--ease-motion), box-shadow 0.25s var(--ease-motion), border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(13, 148, 136, 0.15);
  border-color: var(--color-accent);
}
.service-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: var(--color-accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
}
.service-card__heading {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 0.625rem;
}
.service-card__body {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-ink-muted);
}

/* Card hover lift utility */
.card-hover-lift {
  transition: transform 0.25s var(--ease-motion), box-shadow 0.25s var(--ease-motion);
}
.card-hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.08);
}

/* ============================================================
   TWO-PATH SPLIT PANELS (Skill Dynamix)
   ============================================================ */
.track-split {
  display: grid;
  grid-template-columns: 1fr;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .track-split {
    grid-template-columns: 1fr 1px 1fr;
  }
}
.track-split__divider {
  display: none;
}
@media (min-width: 768px) {
  .track-split__divider {
    display: block;
    background: var(--color-border);
    width: 1px;
  }
}

.track-panel {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .track-panel {
    padding: 3.5rem 3rem;
  }
}
.track-panel--employers {
  background: #FFFFFF;
  border-top: 3px solid var(--color-primary);
}
.track-panel--candidates {
  background: var(--color-surface-subtle);
  border-top: 3px solid var(--color-accent);
}
.track-panel__heading {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .track-panel__heading {
    font-size: 2rem;
  }
}
.track-panel__body {
  color: var(--color-ink-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  flex: 1;
}

/* Two entry points bar at top of Services page */
.nav-track-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
}
.nav-track-bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 6px;
  background: var(--color-surface-subtle);
  border: 1px solid var(--color-border);
  color: var(--color-ink);
  transition: all 0.2s ease;
}
.nav-track-bar a:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

/* ============================================================
   PROCESS STEPS & STRIPS (Skill Dynamix)
   ============================================================ */
.process-step {
  position: relative;
  padding: 1.5rem 0;
}
.process-step:not(:last-child) {
  border-bottom: 1px solid var(--color-border);
}
.process-step__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 0.375rem;
}
.process-step__desc {
  font-size: 0.875rem;
  color: var(--color-ink-muted);
  line-height: 1.6;
}

/* Horizontal process strip (e.g. About page) */
.process-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .process-strip {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }
}
.process-strip__step {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.75rem 1.25rem;
  text-align: left;
}
.process-strip__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 0.5rem;
}
.process-strip__body {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-ink-muted);
}

/* ============================================================
   TRUST STATEMENT BLOCK & COMPARISON (Fee Terms)
   ============================================================ */
.trust-statement {
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: 6px;
  padding: 1.75rem 2rem;
  background: #FFFFFF;
  margin-bottom: 2rem;
}
.trust-statement__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 0.5rem;
}
.trust-statement__text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-ink-muted);
}

.comparison {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.75rem 2rem;
}
.comparison__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.75rem;
}
.comparison__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.comparison__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-ink);
}
.comparison__item svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* ============================================================
   APPLE-STYLE CONTACT FORM & FEEDBACK NOTIFICATIONS
   ============================================================ */
.section-contact-area {
  background: var(--color-surface-subtle);
}

.contact-layout {
  width: 100%;
}
.contact-layout--centered {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.contact-form-col {
  width: 100%;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.apple-form-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid rgba(28, 13, 100, 0.08);
  box-shadow: 0 4px 28px -2px rgba(48, 2, 115, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
  padding: 2.25rem 1.5rem;
  width: 100%;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
@media (min-width: 640px) {
  .apple-form-card {
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 8px 32px -4px rgba(48, 2, 115, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02);
  }
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.form-group:last-of-type {
  margin-bottom: 2rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-ink);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.form-label--required::after {
  content: ' *';
  color: #DC2626;
  font-weight: 600;
}

.form-input,
.form-textarea,
.form-select {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-ink);
  background: #FFFFFF;
  border: 1px solid #D2D2D7;
  border-radius: 12px;
  padding: 0.8125rem 1rem;
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s var(--ease-motion), box-shadow 0.2s var(--ease-motion), background-color 0.2s ease;
}
.form-input {
  height: 52px;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: #86868B;
  opacity: 1;
}
.form-input:hover,
.form-textarea:hover {
  border-color: #A1A1A6;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(84, 21, 194, 0.14);
  background-color: #FFFFFF;
}

.form-input[aria-invalid="true"],
.form-textarea[aria-invalid="true"] {
  border-color: #DC2626;
  background-color: #FFF8F8;
}
.form-input[aria-invalid="true"]:focus,
.form-textarea[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.14);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  padding: 0.875rem 1rem;
}

.form-error {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #DC2626;
  margin-top: 0.25rem;
  display: none;
}
.form-error.is-visible {
  display: block;
}

.form-hint {
  font-size: 0.8125rem;
  color: #86868B;
  line-height: 1.45;
  margin-top: 0.25rem;
}

/* Apple Selectable Option Cards for "I am a" */
.radio-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 0.25rem;
}
@media (min-width: 600px) {
  .radio-group {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

.radio-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.125rem;
  background: #FFFFFF;
  border: 1.5px solid #D2D2D7;
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s var(--ease-motion), background-color 0.2s var(--ease-motion), box-shadow 0.2s var(--ease-motion);
}
.radio-card:hover {
  border-color: #A1A1A6;
  background: #FBFBFD;
}
.radio-card__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  pointer-events: none;
}
.radio-card__indicator {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #D2D2D7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #FFFFFF;
  pointer-events: none;
  transition: border-color 0.2s var(--ease-motion), background-color 0.2s var(--ease-motion);
}
.radio-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFFFFF;
  pointer-events: none;
  transform: scale(0);
  transition: transform 0.2s var(--ease-motion);
}
.radio-card__text {
  pointer-events: none;
}
.radio-card__text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-ink);
  line-height: 1.35;
  transition: color 0.2s ease;
}

/* Checked state using modern :has() */
.radio-card:has(.radio-card__input:checked) {
  border-color: var(--color-primary);
  background: rgba(84, 21, 194, 0.04);
  box-shadow: 0 0 0 1px var(--color-primary);
}
.radio-card:has(.radio-card__input:checked) .radio-card__indicator {
  border-color: var(--color-primary);
  background: var(--color-primary);
}
.radio-card:has(.radio-card__input:checked) .radio-card__dot {
  transform: scale(1);
}
.radio-card:has(.radio-card__input:checked) .radio-card__text {
  color: var(--color-primary);
  font-weight: 600;
}

/* Keyboard focus-visible */
.radio-card:has(.radio-card__input:focus-visible) {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(84, 21, 194, 0.16);
}

/* Apple Pill Submit Button */
.btn--apple-submit {
  width: 100%;
  height: 52px;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: var(--color-primary);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 16px rgba(84, 21, 194, 0.24);
  transition: all 0.2s var(--ease-motion);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 640px) {
  .btn--apple-submit {
    width: auto;
    min-width: 240px;
    padding: 0 2.5rem;
  }
}
.btn--apple-submit:hover:not(:disabled) {
  background: var(--color-primary-hover);
  box-shadow: 0 6px 22px rgba(84, 21, 194, 0.32);
  transform: translateY(-1px);
}
.btn--apple-submit:active:not(:disabled) {
  transform: scale(0.985);
  box-shadow: 0 2px 8px rgba(84, 21, 194, 0.2);
}
.btn--apple-submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(84, 21, 194, 0.28);
}
.btn--apple-submit.is-loading {
  opacity: 0.8;
  cursor: wait;
}

/* Apple-style Form Alert Banners */
.form-alert {
  padding: 1.125rem 1.25rem;
  border-radius: 14px;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  border: 1px solid transparent;
}
.form-alert--error {
  background: #FFF2F2;
  border-color: #FECACA;
  color: #991B1B;
}
.form-alert--success {
  background: #F0FDF4;
  border-color: #BBF7D0;
  color: #166534;
}
.form-alert--warning {
  background: #FFFBEB;
  border-color: #FCD34D;
  color: #92400E;
}
.form-alert__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.form-alert--success .form-alert__title {
  color: #15803D;
}
.form-alert--warning .form-alert__title {
  color: #B45309;
}
.form-alert--error .form-alert__title {
  color: #B91C1C;
}

/* ============================================================
   COOKIE NOTICE (Minimal region, early DOM, visually at bottom)
   ============================================================ */
.cookie-notice {
  position: fixed;
  z-index: 90;
  background: #FFFFFF;
  color: var(--color-ink);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s var(--ease-motion), transform 0.3s var(--ease-motion);
  box-sizing: border-box;
}

.cookie-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-notice__inner {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.cookie-notice__text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.5;
  color: #1C0D64;
  margin: 0;
}

.cookie-notice__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cookie-notice__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}
.cookie-notice__link:hover {
  color: var(--color-primary-hover);
}
.cookie-notice__link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

.cookie-notice__btn {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  background: var(--color-primary);
  color: #FFFFFF;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cookie-notice__btn:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}
.cookie-notice__btn:active {
  transform: scale(0.98);
}
.cookie-notice__btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(84, 21, 194, 0.35);
}

/* Desktop: a small card fixed at the bottom left, max width 400px */
@media (min-width: 768px) {
  .cookie-notice {
    bottom: 1.5rem;
    left: 1.5rem;
    max-width: 400px;
    width: calc(100% - 3rem);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(28, 13, 100, 0.12), 0 1px 3px rgba(0, 0, 0, 0.04);
    padding: 1.25rem 1.5rem;
  }
  .cookie-notice__inner {
    gap: 0.875rem;
  }
  .cookie-notice__actions {
    justify-content: flex-start;
  }
  .cookie-notice__btn {
    min-width: 100px;
    height: 40px;
  }
}

/* Mobile: a full-width bar at the bottom with safe-area padding */
@media (max-width: 767px) {
  .cookie-notice {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    border-top: 1px solid var(--color-border);
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 20px rgba(28, 13, 100, 0.08);
    padding: 1.125rem 1.25rem;
    padding-bottom: calc(1.125rem + env(safe-area-inset-bottom, 0px));
  }
  .cookie-notice__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.5rem;
  }
  .cookie-notice__btn {
    width: 100%;
    min-height: 44px;
    height: 46px;
    font-size: 0.9375rem;
  }
  .cookie-notice__link {
    text-align: center;
    padding: 0.25rem 0;
  }
}

/* No entrance animation under prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .cookie-notice {
    transition: none !important;
    transform: none !important;
  }
}

/* Offset floating buttons above the notice when active */
@media (max-width: 767px) {
  body.has-cookie-notice {
    padding-bottom: var(--cookie-notice-height, 140px);
  }
  body.has-cookie-notice .whatsapp-float {
    bottom: calc(var(--cookie-notice-height, 140px) + 0.75rem + env(safe-area-inset-bottom, 0px)) !important;
    transition: bottom 0.25s var(--ease-motion) !important;
  }
  body.has-cookie-notice.has-whatsapp-fab .back-to-top {
    bottom: calc(var(--cookie-notice-height, 140px) + 0.75rem + 56px + 0.5rem + env(safe-area-inset-bottom, 0px)) !important;
    transition: bottom 0.25s var(--ease-motion) !important;
  }
  body.has-cookie-notice:not(.has-whatsapp-fab) .back-to-top {
    bottom: calc(var(--cookie-notice-height, 140px) + 0.75rem + env(safe-area-inset-bottom, 0px)) !important;
    transition: bottom 0.25s var(--ease-motion) !important;
  }
}

@media (min-width: 768px) {
  body.has-cookie-notice .whatsapp-float--left,
  body.has-cookie-notice .btn--whatsapp-float--left {
    bottom: calc(var(--cookie-notice-height, 140px) + 2rem) !important;
    transition: bottom 0.25s var(--ease-motion) !important;
  }
}

/* ============================================================
   SECTION RHYTHM & CONTAINERS
   ============================================================ */
.section {
  padding: 5rem 1.5rem;
}
@media (min-width: 768px) {
  .section {
    padding: 7rem 1.5rem;
  }
}
.section-moss,
.section-subtle {
  background: var(--color-surface-subtle);
}

.container,
.max-w-6xl {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.max-w-4xl { max-width: 896px; margin: 0 auto; }
.max-w-3xl { max-width: 768px; margin: 0 auto; }
.max-w-2xl { max-width: 672px; margin: 0 auto; }
.max-w-xl  { max-width: 576px; }

/* Section Header */
.section-header {
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 0.75rem;
}
.section-header p {
  font-size: 1.0625rem;
  color: var(--color-ink-muted);
  max-width: 40rem;
}

/* ============================================================
   FOOTER (Skill Dynamix .footer-premium remapped)
   ============================================================ */
.footer-premium {
  border-top: 2px solid var(--color-accent);
  background: var(--color-surface-darker);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 1.5rem 2rem;
}
.footer-logo {
  width: 180px;
  height: 35px;
  object-fit: contain;
}
.footer-premium a {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.15s ease;
}
.footer-premium a:hover {
  color: #FFFFFF;
}
.footer-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.25rem;
}
.footer-link {
  display: block;
  font-size: 0.875rem;
  padding: 0.35rem 0;
  color: rgba(255, 255, 255, 0.7);
}
.footer-link:hover {
  color: #FFFFFF;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ============================================================
   UTILITY CLASSES (Grid, Flex, Spacing, Typography)
   ============================================================ */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }

.hidden { display: none; }
.block { display: block; }
.inline-flex { display: inline-flex; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-display { font-family: var(--font-display); }
.font-body { font-family: var(--font-body); }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }

.text-ink { color: var(--color-ink); }
.text-ink\/50 { color: rgba(15, 23, 42, 0.5); }
.text-ink\/60 { color: rgba(15, 23, 42, 0.6); }
.text-ink\/70 { color: rgba(15, 23, 42, 0.7); }
.text-white { color: #FFFFFF; }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-28 { padding-top: 7rem; padding-bottom: 7rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { inset: 0; }
.overflow-hidden { overflow: hidden; }
.border-b { border-bottom: 1px solid var(--color-border); }
.rounded-sm { border-radius: 4px; }
.rounded-md { border-radius: 6px; }
.rounded-full { border-radius: 9999px; }

/* Responsive Utility Classes (Positioned after base utilities) */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:flex-row { flex-direction: row; }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:flex { display: flex !important; }
  .md\:hidden { display: none !important; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-12 { grid-column: span 12 / span 12; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
}

/* ============================================================
   ANIMATION & SCROLL REVEAL (GSAP + Fallback CSS)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-motion), transform 0.6s var(--ease-motion);
  will-change: opacity, transform;
}
.reveal.is-visible,
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-child {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-motion), transform 0.5s var(--ease-motion);
}
.reveal.is-visible .reveal-child,
.reveal.visible .reveal-child {
  opacity: 1;
  transform: translateY(0);
}

/* Staggers */
.reveal.is-visible .reveal-child:nth-child(1) { transition-delay: 0.05s; }
.reveal.is-visible .reveal-child:nth-child(2) { transition-delay: 0.12s; }
.reveal.is-visible .reveal-child:nth-child(3) { transition-delay: 0.19s; }
.reveal.is-visible .reveal-child:nth-child(4) { transition-delay: 0.26s; }
.reveal.is-visible .reveal-child:nth-child(5) { transition-delay: 0.33s; }
.reveal.is-visible .reveal-child:nth-child(6) { transition-delay: 0.40s; }

/* When JS is disabled or fails, show all immediately */
html.no-js .reveal,
html.no-js .reveal-child {
  opacity: 1 !important;
  transform: none !important;
}

/* Prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-child {
    opacity: 1 !important;
    transform: none !important;
    transition: opacity 0.15s ease !important;
  }
  .marquee-track {
    animation: none !important;
  }
}
