/* DIRA — shared component styles (extracted from index.html).
Loaded after styles.css (Tailwind) on every page. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #1F0B24;
  color: #FAF8FB;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-display { font-family: 'Playfair Display', serif; }

/* Headline */
.headline {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

/* Eyebrow labels */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ═══════════════ NAVBAR ═══════════════ */
.navbar {
  background: rgba(31, 11, 36, 0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: all 0.4s ease;
}
.navbar.scrolled {
  background: rgba(31, 11, 36, 0.92);
  border-bottom-color: rgba(201, 168, 106, 0.12);
}
.navbar.light-mode {
  background: rgba(246, 241, 245, 0.75);
  border-bottom-color: rgba(31,11,36,0.05);
}
.navbar.light-mode.scrolled {
  background: rgba(246, 241, 245, 0.92);
  border-bottom-color: rgba(31,11,36,0.08);
}
.nav-text-dark { color: rgba(31,11,36,0.75); }
.nav-text-dark:hover { color: #1F0B24; }
.nav-text-light { color: rgba(250,248,251,0.75); }
.nav-text-light:hover { color: #FAF8FB; }

/* ═══════════════ BUTTONS ═══════════════ */
.btn-primary {
  background: #8A2D69;
  color: #FAF8FB;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(138,45,105,0.25);
}
.btn-primary:hover {
  background: #A43A7A;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(138,45,105,0.4);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.75s ease;
}
.btn-primary:hover::after { transform: translateX(100%); }

.btn-secondary {
  background: transparent;
  color: #FAF8FB;
  border: 1px solid #BA759E;
  border-radius: 999px;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background: rgba(186,117,158,0.12);
  border-color: #C9A86A;
}
.btn-secondary-dark {
  background: transparent;
  color: #1F0B24;
  border: 1px solid #8A2D69;
  border-radius: 999px;
  transition: all 0.3s ease;
}
.btn-secondary-dark:hover {
  background: rgba(138,45,105,0.08);
  border-color: #C9A86A;
}

/* ═══════════════ LINK UNDERLINE ═══════════════ */
.link-underline {
  position: relative;
  display: inline-block;
}
.link-underline::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.link-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Nav active indicator */
.nav-active {
  position: relative;
}
.nav-active::after {
  content: '';
  position: absolute;
  left: 20%; right: 20%;
  bottom: -6px;
  height: 2px;
  background: #C9A86A;
  border-radius: 2px;
}

/* ═══════════════ ACCENT ═══════════════ */
.accent-italic {
  color: #C9A86A;
  font-style: italic;
  font-weight: 500;
}
.accent-plum {
  color: #BA759E;
}
.accent-dot {
  color: #C9A86A;
}

/* Gold divider */
.gold-divider {
  width: 48px;
  height: 2px;
  background: #C9A86A;
  display: inline-block;
}
.gold-hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,106,0.5), transparent);
}

/* ═══════════════ STACKED SHEETS ═══════════════
Sections following a different-coloured section get a rounded top
and pull up over the previous one — a layered, modern page flow. */
.sheet {
  position: relative;
  z-index: 2;
  margin-top: -32px;
  border-radius: clamp(28px, 4.5vw, 52px) clamp(28px, 4.5vw, 52px) 0 0;
  box-shadow: 0 -18px 45px rgba(31, 11, 36, 0.18);
}

/* Light sections — soft gold/plum washes instead of flat blush */
.section-light {
  background:
  radial-gradient(ellipse 50% 38% at 88% 4%, rgba(201,168,106,0.13), transparent 65%),
  radial-gradient(ellipse 44% 34% at 4% 96%, rgba(138,45,105,0.07), transparent 65%),
  #F6F1F5;
}

/* Subtle grain texture for premium/editorial feel on dark sections */
.grain-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 120px 120px;
}

/* Scroll progress indicator */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, #C9A86A, #D9BB80, #BA759E);
  z-index: 100;
  pointer-events: none;
}

/* Focus states for keyboard navigation */
a:focus-visible, button:focus-visible, .form-input:focus-visible {
  outline: 2px solid #C9A86A;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ═══════════════ CARDS ═══════════════ */
.card-regular {
  background: #2B1634;
  border-radius: 22px;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), box-shadow 0.5s ease;
}
.card-regular:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 0 1px rgba(201,168,106,0.15);
}
.card-featured {
  background: linear-gradient(180deg, #3C1C46 0%, #2B1634 100%);
  border-radius: 22px;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), box-shadow 0.5s ease;
  position: relative;
}
.card-featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,168,106,0.3);
}
.card-featured::before {
  content: '';
  position: absolute;
  top: 14px; right: 14px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #C9A86A;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-light {
  background: #FFFFFF;
  border-radius: 22px;
  border: 1px solid rgba(31,11,36,0.06);
  position: relative;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), box-shadow 0.5s ease, border-color 0.5s ease;
  box-shadow: 0 2px 20px rgba(31,11,36,0.04);
}
.card-light:hover {
  transform: translateY(-6px);
  border-color: rgba(201,168,106,0.45);
  box-shadow: 0 20px 40px rgba(31,11,36,0.1);
}
.card-light::after {
  content: '';
  position: absolute;
  top: -1px; left: 22px; right: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(201,168,106,0.8), transparent);
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
}
.card-light:hover::after { transform: scaleX(1); }

/* ═══════════════ HERO BADGE + TRUST CHIPS ═══════════════ */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(43, 22, 52, 0.5);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(201,168,106,0.3);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: #C9A86A;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #C9A86A;
  box-shadow: 0 0 0 0 rgba(201,168,106,0.5);
  animation: badgePulse 2.4s ease-out infinite;
  flex-shrink: 0;
}
@keyframes badgePulse {
  0% { box-shadow: 0 0 0 0 rgba(201,168,106,0.5); }
  70% { box-shadow: 0 0 0 9px rgba(201,168,106,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,168,106,0); }
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(201,168,106,0.22);
  background: rgba(255,255,255,0.03);
  font-size: 12px;
  font-weight: 400;
  color: rgba(220,207,216,0.85);
  white-space: nowrap;
}
.chip svg { flex-shrink: 0; }

/* Circle icon backdrop */
.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(138,45,105,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-circle-gold {
  background: rgba(201,168,106,0.18);
}

/* ═══════════════ SCROLL REVEAL ═══════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(0.22,1,0.36,1), transform 1s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Directional + zoom variants (AOS-style, driven by the same observer) */
.reveal-left, .reveal-right, .reveal-zoom {
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(0.22,1,0.36,1), transform 1.1s cubic-bezier(0.22,1,0.36,1);
}
.reveal-left { transform: translateX(-44px); }
.reveal-right { transform: translateX(44px); }
.reveal-zoom { transform: scale(0.93) translateY(24px); }
.reveal-left.visible, .reveal-right.visible, .reveal-zoom.visible {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1);
}
/* On small screens horizontal shifts cause sideways overflow — reveal vertically instead */
@media (max-width: 1023px) {
  .reveal-left, .reveal-right { transform: translateY(28px); }
}

/* Gold dividers draw themselves in as their section reveals */
.reveal .gold-divider, .reveal-left .gold-divider,
.reveal-right .gold-divider, .reveal-zoom .gold-divider {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s cubic-bezier(0.22,1,0.36,1) 0.45s;
}
.reveal.visible .gold-divider, .reveal-left.visible .gold-divider,
.reveal-right.visible .gold-divider, .reveal-zoom.visible .gold-divider {
  transform: scaleX(1);
}

/* ═══════════════ FORM INPUT ═══════════════ */
.form-input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(220,207,216,0.15);
  border-radius: 14px;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 14px;
  width: 100%;
  outline: none;
  transition: all 0.3s ease;
  color: #FAF8FB;
}
.form-input:focus {
  border-color: #C9A86A;
  background: rgba(255,255,255,0.1);
}
.form-input::placeholder { color: rgba(220,207,216,0.4); }

.form-input-light {
  background: #FFFFFF;
  border: 1px solid rgba(31,11,36,0.1);
  border-radius: 14px;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 14px;
  width: 100%;
  outline: none;
  transition: all 0.3s ease;
  color: #1F0B24;
}
.form-input-light:focus {
  border-color: #8A2D69;
  box-shadow: 0 0 0 3px rgba(138,45,105,0.08);
}
.form-input-light::placeholder { color: rgba(31,11,36,0.35); }

/* ═══════════════ PILLAR TABS ═══════════════ */
.pillar-btn {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(220,207,216,0.6);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.pillar-btn:hover { color: #FAF8FB; }
.pillar-btn.active {
  background: rgba(138,45,105,0.25);
  color: #C9A86A;
  border: 1px solid rgba(201,168,106,0.35);
}
.pillar-panel { display: none; animation: fadeUp 0.6s cubic-bezier(0.22,1,0.36,1); }
.pillar-panel.active { display: grid; }

/* ═══════════════ MOBILE MENU ═══════════════ */
#mobile-menu {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}
#mobile-menu.open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.mobile-menu-backdrop {
  background: rgba(31, 11, 36, 0.88);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}
.mobile-menu-arc {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.mobile-nav-link {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 500;
  color: #FAF8FB;
  padding: 0.55rem 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1), transform 0.55s cubic-bezier(0.22,1,0.36,1), color 0.3s ease;
}
.mobile-nav-link:hover { color: #C9A86A; }
#mobile-menu.open .mobile-nav-link { opacity: 1; transform: translateY(0); }
a.btn-primary.mobile-nav-link { font-family: 'Inter', system-ui, sans-serif; font-size: 0.875rem; font-weight: 600; margin-top: 0.5rem; }
.gold-divider.mobile-nav-link { padding: 0; height: 2px; }

/* Hamburger → X */
.hamburger { position: relative; width: 22px; height: 15px; display: inline-block; }
.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), top 0.3s cubic-bezier(0.22,1,0.36,1), opacity 0.2s ease;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 13px; }
#menu-toggle.open .hamburger span:nth-child(1) { top: 6.5px; transform: rotate(45deg); }
#menu-toggle.open .hamburger span:nth-child(2) { top: 6.5px; transform: rotate(-45deg); }

/* ═══════════════ SCROLL CUE ═══════════════ */
.scroll-cue {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(201,168,106,0.4);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  margin: 0 auto;
}
.scroll-cue span {
  width: 3px;
  height: 7px;
  border-radius: 2px;
  background: #C9A86A;
  animation: cueDrop 2.2s ease-in-out infinite;
}
@keyframes cueDrop {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(11px); opacity: 0; }
  75% { opacity: 0; }
}

/* ═══════════════ HERO DECORATION ═══════════════ */
.arc-decoration {
  position: absolute;
  border: 1.5px solid #C9A86A;
  border-radius: 50%;
  opacity: 0.5;
}

/* Dot pattern */
.dot-pattern {
  background-image: radial-gradient(circle, rgba(201,168,106,0.35) 1px, transparent 1px);
  background-size: 12px 12px;
}

/* Sparkle */
.sparkle {
  animation: sparkle 3s ease-in-out infinite;
}
@keyframes sparkle {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* Stat number */
.stat-number {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

/* Marker highlight */
.marker {
  background-image: linear-gradient(180deg, transparent 62%, rgba(201,168,106,0.28) 62%);
  padding: 0 4px;
}

/* Testimonial quote marks */
.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  line-height: 0.5;
  color: #C9A86A;
  opacity: 0.8;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1F0B24; }
::-webkit-scrollbar-thumb { background: #8A2D69; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #A43A7A; }

::selection { background: #C9A86A; color: #1F0B24; }

/* ═══════════════════════════════════════════════════
ENHANCEMENTS — Glass, Gradients, Animations
═══════════════════════════════════════════════════ */

/* Lenis smooth scroll — required styles */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ═══════════════ GLASSMORPHISM ═══════════════ */
/* Deep glass — for dark section overlays */
.glass-dark {
  background: rgba(43, 22, 52, 0.45);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(201, 168, 106, 0.18);
}
/* Featured glass — for callouts on dark */
.glass-featured {
  background: linear-gradient(180deg, rgba(60,28,70,0.55), rgba(43,22,52,0.55));
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(201, 168, 106, 0.22);
}
/* Light glass — for light sections */
.glass-light {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
}
/* Tint glass — softer */
.glass-plum {
  background: rgba(31, 11, 36, 0.4);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(201, 168, 106, 0.15);
}

/* Employers is a light section — error/success colors need dark-enough ink */
.card-light .field-error { color: #B3324B; }
.card-light .form-success { color: #8A2D69; }
.form-input-light.invalid { border-color: rgba(179,50,75,0.65); }
.form-input-light.invalid:focus { border-color: #B3324B; box-shadow: 0 0 0 3px rgba(179,50,75,0.08); }

/* Join CTA card sits over a photo — tint only, no blur, so faces stay visible through it */
#join .gradient-border-gold {
  background: rgba(31, 11, 36, 0.5);
}

/* ═══════════════ GRADIENT TEXT ═══════════════ */
.gradient-text {
  background: linear-gradient(120deg, #C9A86A 0%, #D9BB80 40%, #BA759E 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 10s ease infinite;
}
.gradient-text-light {
  background: linear-gradient(120deg, #8A2D69 0%, #C9A86A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ═══════════════ GRADIENT BORDER ═══════════════ */
.gradient-border-gold {
  position: relative;
  background: linear-gradient(180deg, #3C1C46, #2B1634);
  border-radius: 22px;
  overflow: hidden;
}
.gradient-border-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(201,168,106,0.55), rgba(138,45,105,0.35), rgba(201,168,106,0.15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ═══════════════ ANIMATED HERO GRADIENT BG ═══════════════ */
.hero-gradient {
  background:
  radial-gradient(ellipse 60% 50% at 80% 30%, rgba(138,45,105,0.35) 0%, transparent 60%),
  radial-gradient(ellipse 50% 50% at 20% 70%, rgba(201,168,106,0.15) 0%, transparent 60%),
  #1F0B24;
  background-size: 200% 200%;
  animation: gradientShift 20s ease infinite;
}

/* ═══════════════ CURSOR SPOTLIGHT ═══════════════ */
.spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--x, 50%) var(--y, 30%), rgba(201,168,106,0.08), transparent 45%);
  transition: background 0.15s ease;
}

/* ═══════════════ ROTATIONS ═══════════════ */
@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.rotate-cw { animation: rotate-slow 80s linear infinite; }
.rotate-ccw { animation: rotate-slow 120s linear infinite reverse; }
.rotate-mid { animation: rotate-slow 45s linear infinite; }

/* ═══════════════ MARKER HIGHLIGHT ANIMATE ═══════════════ */
.marker {
  background-image: linear-gradient(180deg, transparent 62%, rgba(201,168,106,0.28) 62%);
  padding: 0 4px;
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.marker.animated { background-size: 100% 100%; }

/* ═══════════════ STAGGER LINE REVEAL ═══════════════ */
.line-reveal {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(0.22,1,0.36,1), transform 1s cubic-bezier(0.22,1,0.36,1);
}
.line-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════ SUBTLE BUTTON GLOW ═══════════════ */
.btn-primary {
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease, background 0.3s ease;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #C9A86A, #8A2D69, #C9A86A);
  background-size: 200% 200%;
  border-radius: inherit;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
  animation: gradientShift 4s ease infinite;
  filter: blur(8px);
}
.btn-primary:hover::before { opacity: 0.5; }

/* ═══════════════ FLOAT VARIANTS ═══════════════ */
@keyframes floatSubtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-a { animation: floatSubtle 7s ease-in-out infinite; }
.float-b { animation: floatSubtle 9s ease-in-out infinite; animation-delay: -3s; }
.float-c { animation: floatSubtle 6s ease-in-out infinite; animation-delay: -1.5s; }

/* ═══════════════ ORB PULSE ═══════════════ */
@keyframes orb-pulse {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 0.25; transform: scale(1.08); }
}
.orb-pulse { animation: orb-pulse 8s ease-in-out infinite; }

/* ═══════════════ CARD HOVER GLOW ═══════════════ */
.card-regular, .card-featured {
  position: relative;
}
.card-featured::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(201,168,106,0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.card-featured:hover::after { opacity: 1; }

/* ═══════════════ PARALLAX ELEMENTS ═══════════════ */
.parallax { will-change: transform; }

/* Icon circle refinements with glow */
.icon-circle {
  position: relative;
  transition: transform 0.4s ease;
}
.card-regular:hover .icon-circle,
.card-featured:hover .icon-circle {
  transform: scale(1.08) rotate(-4deg);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  to { opacity: 0; transform: translateY(10px); }
}
.pillar-panel.leaving { animation: fadeDown 0.22s ease forwards; }

/* ═══════════════ PRELOADER ═══════════════ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #1F0B24;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1);
}
#preloader.done { transform: translateY(-100%); }
#preloader.removed { display: none; }
.preloader-mark {
  display: block;
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  opacity: 0;
  transform: scale(0.6) rotate(-30deg);
  filter: drop-shadow(0 0 26px rgba(201,168,106,0.4));
  animation: preMark 1s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes preMark {
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}
.preloader-word {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 500;
  color: #FAF8FB;
  letter-spacing: 0.06em;
  display: flex;
  line-height: 1;
}
.preloader-word span {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(10px);
  animation: preLetter 0.7s cubic-bezier(0.22,1,0.36,1) forwards;
}
.preloader-word span:nth-child(1) { animation-delay: 0.05s; }
.preloader-word span:nth-child(2) { animation-delay: 0.13s; }
.preloader-word span:nth-child(3) { animation-delay: 0.21s; }
.preloader-word span:nth-child(4) { animation-delay: 0.29s; }
.preloader-word span:nth-child(5) { animation-delay: 0.4s; color: #C9A86A; }
@keyframes preLetter {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.preloader-line {
  width: 0;
  height: 2px;
  margin: 20px auto 0;
  background: linear-gradient(90deg, #C9A86A, #BA759E);
  border-radius: 2px;
  animation: preLine 0.6s 0.55s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes preLine { to { width: 130px; } }

/* ═══════════════ MASKED LINE REVEAL ═══════════════ */
.mask-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.mask-line > span {
  display: block;
  transform: translateY(112%);
  transition: transform 1s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible .mask-line > span { transform: translateY(0); }

/* ═══════════════ WORD MARQUEE ═══════════════ */
.marquee {
  overflow: hidden;
  padding: 2.4rem 0;
  background: #1F0B24;
  border-top: 1px solid rgba(201,168,106,0.1);
  border-bottom: 1px solid rgba(201,168,106,0.1);
}
.marquee-light {
  background: #F6F1F5;
  border-top: 1px solid rgba(31,11,36,0.06);
  border-bottom: 1px solid rgba(31,11,36,0.06);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marqueeScroll 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.25;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,168,106,0.45);
  white-space: nowrap;
  margin-right: 2.75rem;
}
.mq-solid { color: #C9A86A; -webkit-text-stroke: 0; }
.mq-dot {
  color: #C9A86A;
  opacity: 0.55;
  font-size: 1.4rem;
  margin-right: 2.75rem;
  -webkit-text-stroke: 0;
}
.marquee-light .mq { -webkit-text-stroke: 1px rgba(138,45,105,0.4); }
.marquee-light .mq-solid { color: #8A2D69; -webkit-text-stroke: 0; }
.marquee-light .mq-dot { color: #8A2D69; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ═══════════════ 3D TILT ═══════════════ */
[data-tilt] {
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}

/* ═══════════════ IMAGE CURTAIN REVEAL ═══════════════ */
.img-reveal {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s cubic-bezier(0.76, 0, 0.24, 1), transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.img-reveal img {
  transform: scale(1.15);
  transition: transform 1.6s cubic-bezier(0.22,1,0.36,1);
}
.img-reveal.revealed { clip-path: inset(0 0 0% 0); }
.img-reveal.revealed img { transform: scale(1.02); }

/* ═══════════════ SCROLLSPY NAV UNDERLINE ═══════════════ */
.nav-link-item { position: relative; }
.nav-link-item::after {
  content: '';
  position: absolute;
  left: 20%; right: 20%;
  bottom: -6px;
  height: 2px;
  background: #C9A86A;
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.nav-link-item.nav-active::after { transform: scaleX(1); }

/* ═══════════════ PILLAR TAB NUMBERS ═══════════════ */
.pillar-num {
  color: #C9A86A;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-right: 8px;
  opacity: 0.7;
}

/* ═══════════════ CARD TOP HAIRLINE ON HOVER ═══════════════ */
.card-regular::after {
  content: '';
  position: absolute;
  top: 0; left: 22px; right: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(201,168,106,0.7), transparent);
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
}
.card-regular:hover::after { transform: scaleX(1); }

/* ═══════════════ FOOTER WORDMARK LETTERS ═══════════════ */
.wm-letter {
  display: inline-block;
  transform: translateY(55%);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.22,1,0.36,1), opacity 0.6s ease;
}
.reveal.visible .wm-letter { transform: translateY(0); opacity: 1; }

/* ═══════════════ THEORY-OF-CHANGE STAGGER ═══════════════ */
#impact .glass-featured .grid > div {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
#impact .glass-featured .grid > div:nth-child(2) { transition-delay: 0.12s; }
#impact .glass-featured .grid > div:nth-child(3) { transition-delay: 0.24s; }
#impact .glass-featured .grid > div:nth-child(4) { transition-delay: 0.36s; }
#impact .glass-featured .grid > div:nth-child(5) { transition-delay: 0.48s; }
#impact .reveal.visible .grid > div { opacity: 1; transform: translateY(0); }
#impact .glass-featured .relative > div[aria-hidden] {
  opacity: 0;
  transition: opacity 0.8s ease 0.7s;
}
#impact .reveal.visible .relative > div[aria-hidden] { opacity: 1; }

/* ═══════════════ FORM VALIDATION ═══════════════ */
.field-error {
  display: none;
  color: #F2A0A0;
  font-size: 12px;
  font-weight: 400;
  margin-top: 6px;
  letter-spacing: 0.02em;
}
.field-error.show { display: block; }
.form-input.invalid {
  border-color: rgba(242, 120, 120, 0.65);
}
.form-input.invalid:focus {
  border-color: #F27878;
}
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  color: #C9A86A;
  font-size: 14px;
  font-weight: 500;
  margin-top: 14px;
}
.form-success.show { display: flex; }

.form-error-msg {
  display: none;
  align-items: center;
  gap: 10px;
  color: #E5484D;
  font-size: 14px;
  font-weight: 500;
  margin-top: 14px;
}
.form-error-msg.show { display: flex; }

/* ═══════════════ FAQ ACCORDION ═══════════════ */
.faq-item {
  background: #FFFFFF;
  border: 1px solid rgba(31,11,36,0.06);
  border-radius: 18px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease,
  opacity 1s cubic-bezier(0.22,1,0.36,1), transform 1s cubic-bezier(0.22,1,0.36,1);
}
.faq-item:hover { border-color: rgba(201,168,106,0.4); }
.faq-item[open] {
  border-color: rgba(201,168,106,0.5);
  box-shadow: 0 12px 30px rgba(31,11,36,0.07);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: #1F0B24;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-num {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: #C9A86A;
  min-width: 28px;
  flex-shrink: 0;
}
.faq-q { flex: 1; }
.faq-item[open] .faq-body { animation: fadeUp 0.45s cubic-bezier(0.22,1,0.36,1); }
.faq-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(201,168,106,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), background 0.3s ease;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: rgba(138,45,105,0.15);
}
.faq-body {
  padding: 0 24px 22px;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(31,11,36,0.7);
  max-width: 60ch;
}

/* ═══════════════ BACK TO TOP ═══════════════ */
#back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(43, 22, 52, 0.75);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(201,168,106,0.4);
  color: #C9A86A;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22,1,0.36,1),
  visibility 0s linear 0.4s, border-color 0.3s ease, background 0.3s ease;
}
#back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22,1,0.36,1),
  border-color 0.3s ease, background 0.3s ease;
}
#back-to-top:hover {
  border-color: #C9A86A;
  background: rgba(60, 28, 70, 0.9);
  transform: translateY(-3px);
}

/* ═══════════════ LANGUAGE TOGGLE ═══════════════ */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(201,168,106,0.35);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: inherit;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.lang-toggle:hover { border-color: #C9A86A; background: rgba(201,168,106,0.1); }
.lang-toggle .lang-opt { opacity: 0.6; transition: opacity 0.3s ease, color 0.3s ease; }
.lang-toggle .lang-opt.active { opacity: 1; color: #C9A86A; font-weight: 700; }
.lang-toggle .lang-sep { opacity: 0.35; }
/* On light sections gold washes out — switch the toggle to plum ink */
.navbar.light-mode .lang-toggle { border-color: rgba(138,45,105,0.4); color: rgba(31,11,36,0.75); }
.navbar.light-mode .lang-toggle .lang-opt.active { color: #8A2D69; }
.navbar.light-mode .lang-toggle:hover { border-color: #8A2D69; background: rgba(138,45,105,0.06); }
html[lang="am"] body,
html[lang="am"] .eyebrow,
html[lang="am"] .form-input,
html[lang="am"] .form-input-light {
  font-family: 'Inter', 'Noto Sans Ethiopic', system-ui, sans-serif;
}
html[lang="am"] .headline,
html[lang="am"] .font-display,
html[lang="am"] .stat-number,
html[lang="am"] .quote-mark,
html[lang="am"] .preloader-word,
html[lang="am"] .faq-item summary {
  font-family: 'Playfair Display', 'Noto Serif Ethiopic', serif;
}
html[lang="am"] .headline { line-height: 1.25; letter-spacing: 0; }
html[lang="am"] .eyebrow { letter-spacing: 0.08em; }

/* ═══════════════ BUTTON PRESS ═══════════════ */
.btn-primary:active { transform: translateY(0) scale(0.97); }
.btn-secondary:active, .btn-secondary-dark:active { transform: scale(0.97); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none !important; }
  #preloader { display: none; }
  .img-reveal { clip-path: none; }
  .img-reveal img { transform: none; }
}

/* ═══════════════ COUNTRY SWITCHER ═══════════════
   Sits in the navbar and the mobile menu. Inherits the navbar's
   dark/light mode the same way .nav-link-item does. */
.country-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,106,0.22);
}
.country-tab {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(250,248,251,0.7);
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease;
}
.country-tab:hover { color: #FAF8FB; }
.country-tab.active {
  background: #8A2D69;
  color: #FAF8FB;
}
.navbar.light-mode .country-tabs {
  background: rgba(31,11,36,0.04);
  border-color: rgba(138,45,105,0.25);
}
.navbar.light-mode .country-tab { color: rgba(31,11,36,0.65); }
.navbar.light-mode .country-tab:hover { color: #1F0B24; }
.navbar.light-mode .country-tab.active { background: #8A2D69; color: #FAF8FB; }

/* Mobile menu variant — always on the dark overlay */
.country-tabs.mobile-nav-link { padding: 4px; }
.country-tabs.mobile-nav-link .country-tab {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  padding: 8px 20px;
}

/* ═══════════════ LIGHT-SECTION CHIPS & PILLS ═══════════════
   Blush-background counterparts to .chip, for sector tags and city pills. */
.chip-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(138,45,105,0.18);
  background: rgba(255,255,255,0.75);
  font-size: 13px;
  font-weight: 400;
  color: #8A2D69;
  white-space: nowrap;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.chip-light:hover { border-color: rgba(201,168,106,0.6); transform: translateY(-2px); }
.pill-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid rgba(31,11,36,0.08);
  background: #FFFFFF;
  font-size: 14px;
  color: rgba(31,11,36,0.75);
  box-shadow: 0 2px 20px rgba(31,11,36,0.04);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.pill-light:hover { border-color: rgba(201,168,106,0.5); transform: translateY(-2px); }

/* Light stat band — the proof-point row on blush sections */
.stat-band {
  display: grid;
  gap: 1px;
  background: rgba(31,11,36,0.08);
  border: 1px solid rgba(31,11,36,0.08);
  border-radius: 22px;
  overflow: hidden;
}
.stat-band > div {
  background: #FFFFFF;
  padding: 30px 26px;
}

/* Narrow desktop (lg–xl): the switcher gives up padding so the nav row
   still fits alongside the links, language toggle, and CTA. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .navbar .country-tab { padding: 5px 11px; font-size: 11px; }
  .navbar .country-tabs { padding: 2px; }
}
