/* === MCKV TERMINAL QUANTITATIVE TRI-DEGREE HEATMAP MATRIX THEME === */

/* ═══════════════════════════════════════════════════════════════════
   GLOBAL SCROLLBAR ERADICATION ACROSS ALL DEVICES, BROWSERS & ENGINES
   ═══════════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

*::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
  opacity: 0 !important;
}

html,
body,
#site,
.lenis,
main,
.page-wrapper {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  scrollbar-gutter: auto !important;
  overscroll-behavior: none !important;
  overscroll-behavior-y: none !important;
  overscroll-behavior-x: none !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
#site::-webkit-scrollbar,
.lenis::-webkit-scrollbar,
main::-webkit-scrollbar,
.page-wrapper::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

html {
  color-scheme: dark;
  background-color: #000000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ═══════════════════════════════════════════════════════════════════
   HIGH-REFRESH PROMOTION & GPU HARDWARE ACCELERATION (120Hz / 240Hz+)
   ═══════════════════════════════════════════════════════════════════ */
#site,
.page-wrapper,
main,
.home-hero,
.storyblok-video,
.terminal-window,
.login-card-wrapper,
.site-header {
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  perspective: 1000px;
  -webkit-perspective: 1000px;
}

/* Off-screen rendering optimization: isolates paint and layout costs */
.home-propositions,
.home-colophon,
.site-footer,
.legal-content-grid {
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

html.theme-dark {
  color-scheme: dark !important;
  background-color: #000000 !important;
}

html.theme-light {
  color-scheme: light !important;
  background-color: #faf7f2 !important;
}

body {
  background-color: inherit;
}

html.theme-dark body,
body.theme-dark {
  background-color: #000000 !important;
}

html.theme-light body,
body.theme-light {
  background-color: #faf7f2 !important;
}

/* Global Absolute Visibility - Guarantee #site and content are never obscured or 0 opacity */
#site,
#site[data-v-00374420],
#site.investors,
#sf-boilerplate,
.page-wrapper,
main {
  opacity: 1 !important;
  visibility: visible !important;
}

/* =====================================================================
   DEEP-ROOT CONFLICT RESOLUTION: TOOLTIPS, BUTTONS & DOCKED BANNERS
   ===================================================================== */

/* 1. Dashboard & Global Metric Tooltips: Hidden by default, smooth hover/focus reveal */
.tooltip-bubble {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.2s ease, visibility 0.2s ease !important;
}

.info-wrapper:hover .tooltip-bubble,
.info-wrapper:focus-within .tooltip-bubble,
.info-button:hover+.tooltip-bubble,
.info-button:focus+.tooltip-bubble,
.info-button:focus-visible+.tooltip-bubble {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}



/* 3. Investors & News Newsletter Alerts: Dock cleanly into content stream, zero fixed viewport overlay */
.investors-email-alert,
.form-wrapper,
.form-wrapper.fixed,
.step-0.form-wrapper.fixed {
  position: static !important;
  bottom: auto !important;
  z-index: 10 !important;
}

.investors-email-alert {
  margin-top: 56px !important;
  margin-bottom: 32px !important;
  width: 100% !important;
}

.form-wrapper .layout-block.inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  padding: 16px 24px !important;
  width: 100% !important;
  position: static !important;
  opacity: 1 !important;
}

.form-wrapper .form-title {
  position: static !important;
  width: auto !important;
  white-space: nowrap !important;
  margin: 0 !important;
}

.form-wrapper .cta-wrapper {
  position: static !important;
  margin-left: auto !important;
}

/* 4. Anchor Tabs Spacing */
.anchors.desktop-only,
.anchors {
  gap: 6px !important;
}

.anchors .ui-button {
  margin-bottom: 0 !important;
}

:root {
  --degree-red: #C4412F !important;
  --degree-amber: #C3772C !important;
  --degree-green: #629F06 !important;
  --degree-gradient: linear-gradient(135deg, #C4412F 0%, #C3772C 50%, #629F06 100%) !important;
  --degree-gradient-h: linear-gradient(90deg, #C4412F 0%, #C3772C 50%, #629F06 100%) !important;
  --theme-primary: #C3772C !important;
  --theme-accent: #629F06 !important;
  --theme-primary-hover: #C4412F !important;
  --color-primary: #C3772C !important;
  --color-brand: #C3772C !important;
  --brand-blue-primary: #C3772C !important;
  --brand-blue-secondary: #629F06 !important;
  --surface-background: #000000 !important;
  --off-white: #F0F2F5 !important;
  --text-primary: #F0F2F5 !important;
}







/* Workstation Card Depth & Borders */
.card-productivity {
  background: rgba(10, 13, 20, 0.75) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(195, 119, 44, 0.22) !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6) !important;
}

.card-productivity:hover {
  border-color: rgba(98, 159, 6, 0.45) !important;
}

/* Primary CTAs with Tri-Degree Accent Container */
.ui-button.primary .icon.btn-accent,
.icon.theme-dark.btn-accent,
.close-cta .btn-accent,
.cookie-banner .close-cta {
  background: linear-gradient(135deg, #C4412F 0%, #C3772C 50%, #629F06 100%) !important;
  color: #ffffff !important;
}

.close-cta svg,
.close-cta img,
.close-cta .svg-mask,
#cookie-banner-close-cta svg,
#cookie-banner-close-cta img {
  filter: brightness(0) invert(1) !important;
}

/* Navigation active indicator */
.nav-item.active:before,
.menu-link.router-link-active:before,
.a-div.menu-link.router-link-active:before,
.active-indicator,
.nav-pill-active {
  background: linear-gradient(135deg, #C4412F 0%, #C3772C 100%) !important;
  box-shadow: 0 0 10px rgba(195, 119, 44, 0.5) !important;
}

/* Text accents */
.text-brand,
.highlight-primary,
.a-div.menu-link.active,
.is-active {
  color: #C3772C !important;
}

/* Selection */
::selection {
  background: rgba(195, 119, 44, 0.35) !important;
  color: #ffffff !important;
}

/* 100% Dark Quantitative Workstation */
html.theme-dark:not(.theme-light),
html:not(.theme-light) body,
html:not(.theme-light) #site,
html:not(.theme-light) .lenis,
html:not(.theme-light) main,
html:not(.theme-light) .page-wrapper {
  background-color: #000000 !important;
  color: #F0F2F5 !important;
}



/* gradient-bg-light active */





.home-propositions,
.propositions,
.proposition-list,
.proposition-item {
  background: transparent !important;
  color: #F0F2F5 !important;
}

.home-propositions .title,
.proposition-item .title {
  color: #ffffff !important;
}

.proposition-item .eyebrow {
  color: #C3772C !important;
}

.svg-dashed-line line {
  stroke: rgba(255, 255, 255, 0.12) !important;
}

.home-productivity .heading-wrapper .title .letter {
  opacity: 1 !important;
  color: #ffffff !important;
}

/* 100% Solid Crisp Headings - No Missing Faded Letters or Hidden Titles */
.text-reveal,
.text-reveal[data-v-3a1c82ef],
.scroll-text-reveal,
.scroll-text-reveal[data-v-5699d11c],
.about-hero .heading-wrapper,
.about-hero .title,
.about-hero h1,
.about-hero .text-reveal,
.about-hero .letter,
.about-hero .word,
.home-productivity .heading-wrapper .title .letter,
.heading-wrapper .title .letter,
.title .letter {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Zero Black Box & Zero Blur at Bottom (Dark Mode) */
.home-hero .hero-footer,
.wrapped-hero .hero-footer,
.hero-footer {
  background: transparent !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  box-shadow: none !important;
  border: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Institutional MCKV Colophon Badge */
.home-banner .banner__content .logo-outline svg.logo {
  display: none !important;
}

.home-banner .banner__content .logo-outline {
  display: block !important;
  width: 76px !important;
  height: 76px !important;
  background-image: url('/white_horse_logo.png') !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  filter: drop-shadow(0 0 16px rgba(195, 119, 44, 0.65)) !important;
  margin-bottom: 24px !important;
}

/* Seamless Roll-Over Button Animation: Restore native split-line slide */
.ui-button {
  pointer-events: auto !important;
  cursor: pointer !important;
}

.ui-button .content {
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  height: 34px !important;
}

.ui-button .content>span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  flex-shrink: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ==========================================================================
   DEEP ENTERPRISE LIGHT THEME SYSTEM
   ========================================================================== */

/* 1. Global Page Background & Text Inversion — Pure White Background (Zero Color) */
html.theme-light,
html.theme-light[data-theme="light"],
body.theme-light,
html.theme-light body,
html.theme-light #site,
html.theme-light .container,
html.theme-light .page-wrapper,
html.theme-light .lenis,
html.theme-light .page-index,
html.theme-light main,
html.theme-light .index,
html.theme-light .about,
html.theme-light .page-about,
html.theme-light .dashboard,
html.theme-light .page-dashboard,
html.theme-light .opportunity,
html.theme-light .page-opportunity,
html.theme-light .contact,
html.theme-light .page-legal,
html.theme-light .about-hero,
html.theme-light [data-theme="light"]:not(.site-header):not(.site-header *):not(.site-footer):not(.site-footer *):not(.opportunity-restricted-hero):not(.opportunity-restricted-hero *):not(.hero-middle-left-ctas):not(.hero-middle-left-ctas *):not(.ui-button):not(.ui-button *) {
  background-color: #ffffff !important;
  background-image: none !important;
  background: #ffffff !important;
  color: #0f172a !important;
}

/* Explicit Transparent Container for Home Action Buttons across All Themes */
.hero-middle-left-ctas,
html.theme-light .hero-middle-left-ctas,
html.theme-dark .hero-middle-left-ctas,
:is(.theme-light, [data-theme="light"]) .hero-middle-left-ctas {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Explicit Transparent Header Across All Themes: Zero White Bar / Space at Viewport Top */
.site-header,
html.theme-light .site-header,
html.theme-light .site-header[data-theme="light"],
html.theme-light .site-header .navbar,
body.theme-light .site-header,
html.theme-dark .site-header,
body.theme-dark .site-header {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  top: 0 !important;
  margin-top: 0 !important;
}

/* 2. Global Typography Inversion */
html.theme-light h1,
html.theme-light h2,
html.theme-light h3,
html.theme-light h4,
html.theme-light h5,
html.theme-light h6,
html.theme-light .title,
html.theme-light .heading-wrapper .title,
html.theme-light .heading-wrapper .title .letter,
html.theme-light .title .letter,
html.theme-light .text-reveal,
html.theme-light .word,
html.theme-light .letter {
  color: #0a0a0a !important;
  -webkit-text-fill-color: #0a0a0a !important;
}

.theme-light p,
.theme-light .content,
.theme-light .body,
.theme-light .blurb,
.theme-light .summary,
.theme-light .storyblok-content,
.theme-light .description,
.theme-light .value,
.theme-light .label,
[data-theme="light"] p,
[data-theme="light"] .content {
  color: #1e293b !important;
}

.theme-light .eyebrow {
  color: #C3772C !important;
  font-weight: 600 !important;
}

/* 3. Section Backgrounds & Surfaces */
.theme-light .home-hero,
.theme-light .home-productivity,
.theme-light .home-propositions,
.theme-light .home-banner,
.theme-light .about-wrapper,
.theme-light .opportunity-wrapper,
.theme-light .section-faq,
.theme-light .dashboard-wrapper {
  background-color: #ffffff !important;
  color: #0a0a0a !important;
}

/* 4. Ambient Gradients & Background Overlays */
.theme-light .gradient-bg-dark:not(.page-about *):not(.about-hero *),
.theme-light .gradient-bg-light:not(.page-about *):not(.about-hero *),
.theme-light .bg-overlay:not(.home-hero .bg-overlay):not(.about-hero .bg-overlay):not(.page-about *),
.theme-light .overlay-gradient:not(.page-about *):not(.about-hero *) {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, rgba(255, 255, 255, 1) 100%) !important;
  opacity: 0.9 !important;
}

.theme-light .about-hero .bg-overlay,
.theme-light .page-about .bg-overlay,
.theme-light .page-about .gradient-bg-dark,
.theme-light .page-about .gradient {
  background: transparent !important;
  display: none !important;
}

/* Top Blur: Completely Eliminated */
.top-blur,
.site-header .top-blur,
.site-header .top-blur * {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Video element is crisp & sharp by default (No global blur on hero) */
.home-hero video,
.wrapped-hero video,
.chart-wrapper video,
.video-bg video {
  filter: none !important;
  -webkit-filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: none !important;
}

/* Warm Amber / Gold Workstation Lighting Aura (Restores illumination, eliminates cold blue) */
.video-bg::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: 1 !important;
  background: radial-gradient(circle at 50% 45%, rgba(195, 119, 44, 0.33) 0%, rgba(195, 119, 44, 0.13) 50%, transparent 75%) !important;
  mix-blend-mode: screen !important;
}

.theme-light .video-bg::after,
[data-theme="light"] .video-bg::after {
  display: none !important;
  background: none !important;
}

/* Hero Overlays: Zero Vignette Blur (Clean & Crisp) */
.home-hero .bg-overlay,
.wrapped-hero .bg-overlay,
.theme-dark .home-hero .bg-overlay,
.theme-dark .wrapped-hero .bg-overlay,
.theme-light .home-hero .bg-overlay,
.theme-light .wrapped-hero .bg-overlay,
[data-theme="dark"] .home-hero .bg-overlay,
[data-theme="dark"] .wrapped-hero .bg-overlay,
[data-theme="light"] .home-hero .bg-overlay,
[data-theme="light"] .wrapped-hero .bg-overlay,
.home-hero .overlay-gradient {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  filter: none !important;
  backdrop-filter: none !important;
}

/* 2. When Scrolling Down and Video Enters This Box: Fully Blurred */
body.is-scrolled-box .chart-wrapper .wrapped-hero video {
  filter: none !important;
  -webkit-filter: none !important;
  transform: none !important;
}

body.is-scrolled-box .chart-wrapper .bg-overlay {
  display: none !important;
  opacity: 0 !important;
}

body.is-scrolled-box.theme-light .chart-wrapper .bg-overlay,
[data-theme="light"].is-scrolled-box .chart-wrapper .bg-overlay {
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}

.theme-light .gradient-bg-dark img,
.theme-light .gradient-bg-light img {
  opacity: 0.1 !important;
  filter: invert(1) !important;
}

/* 5. Header / Navbar in Light Theme */
.theme-light .site-header {
  background: transparent !important;
  border-bottom: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.theme-light .site-header .top-blur>div {
  display: none !important;
}

.theme-light .mckv-nav-brand span:first-of-type {
  color: #0a0a0a !important;
}

.theme-light .navbar .ui-button.secondary,
.theme-light .menu .ui-button.secondary {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #0a0a0a !important;
}

.theme-light .navbar .ui-button.secondary:hover,
.theme-light .menu .ui-button.secondary:hover {
  background-color: transparent !important;
}

.theme-light .navbar .ui-button.secondary .content,
.theme-light .menu .ui-button.secondary .content {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #0a0a0a !important;
}

/* Mobile Menu in Light Theme: Luxury Alabaster Tone matching site atmosphere */
.theme-light .mobile-menu,
html.theme-light .mobile-menu {
  background-color: #faf7f2 !important;
  background: #faf7f2 radial-gradient(circle at 50% 0%, rgba(212, 122, 36, 0.07) 0%, rgba(250, 247, 242, 0.98) 55%, #faf7f2 100%) !important;
  border: none !important;
}

.theme-light .menu-link-mobile {
  color: #0a0a0a !important;
}

/* 6. Cards, Workstation Modules & Elevation */
.theme-light .card,
.theme-light .card-productivity,
.theme-light .chart-wrapper,
.theme-light .proposition-item,
.theme-light .banner__content,
.theme-light .faq-item,
.theme-light .market-content {
  background: #f8fafc !important;
  border: 1px solid rgba(0, 0, 0, 0.09) !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.03) !important;
  color: #0a0a0a !important;
}

.theme-light .card-productivity:hover {
  border-color: #C3772C !important;
  box-shadow: 0 8px 30px -4px rgba(195, 119, 44, 0.14) !important;
}

/* 7. CAD Wireframe Graphics Inversion (Dark high-tech lines on white background) */
.theme-light .card-productivity .image,
.theme-light .outline-image,
.theme-light .chart-image,
.theme-light .market__logo {
  filter: invert(0.92) contrast(1.2) !important;
  opacity: 0.88 !important;
}

/* 8. Dashed Grid Lines & Borders */
.theme-light .svg-dashed-line line {
  stroke: rgba(0, 0, 0, 0.15) !important;
}

.theme-light .svg-dashed-line pattern line {
  stroke: rgba(0, 0, 0, 0.15) !important;
}

.theme-light [id*="dashed-pattern"] line {
  stroke: rgba(0, 0, 0, 0.15) !important;
}

/* Zero Black Box & Zero Blur at Bottom (Light Mode) */
.theme-light .home-hero .hero-footer,
.theme-light .wrapped-hero .hero-footer,
.theme-light .hero-footer {
  background: transparent !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  box-shadow: none !important;
  border: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* 10. Footer in Light Mode */
.theme-light .site-footer {
  background-color: transparent !important;
  background: transparent !important;
  border-top: none !important;
  color: #1e293b !important;
}

html.theme-light.page-about-active .site-footer,
html.theme-light body:has(.page-about) .site-footer,
.theme-light .page-about .site-footer,
html.theme-light.page-opportunity-active .site-footer,
.theme-light .page-opportunity .site-footer {
  background-color: transparent !important;
  background: transparent !important;
  border-top: none !important;
}

.theme-light .site-footer a,
.theme-light .site-footer .menu-link {
  color: #334155 !important;
}

.theme-light .site-footer a:hover,
.theme-light .site-footer .menu-link:hover {
  color: #C3772C !important;
}

.theme-light .site-footer .legal-link {
  color: #64748b !important;
}

.theme-light .site-footer .footer,
.theme-light .site-footer .footer * {
  color: #334155 !important;
  opacity: 0.85 !important;
}

.theme-light .site-footer .colophon-content,
.site-footer .colophon-content {
  border: none !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.theme-light .back-to-top,
.theme-light .back-to-top * {
  color: #0a0a0a !important;
}

.theme-light .back-to-top .back-cta,
.theme-light .back-cta {
  border: 1px solid rgba(0, 0, 0, 0.25) !important;
  background-color: rgba(0, 0, 0, 0.04) !important;
}

.theme-light .back-to-top .back-cta .icon,
.theme-light .back-to-top .back-cta .icon.btn-secondary {
  background-color: #0a0a0a !important;
  color: #ffffff !important;
}

.theme-light .back-to-top .svg-mask {
  background-color: #ffffff !important;
}

/* 11. Buttons in Light Mode */
.theme-light .ui-button.primary .content {
  background-color: #0a0a0a !important;
  color: #ffffff !important;
}

.theme-light .ui-button.secondary {
  background-color: transparent !important;
  border: none !important;
  color: #0a0a0a !important;
}

.theme-light .ui-button.secondary:hover {
  background-color: transparent !important;
}

.theme-light .ui-button.secondary .content {
  color: #0a0a0a !important;
}

/* Tri-Degree Gradient remains vibrant and crisp on both Light & Dark */
.ui-button.primary .icon.btn-accent,
.icon.theme-dark.btn-accent,
.icon.theme-light.btn-accent {
  background: linear-gradient(135deg, #C4412F 0%, #C3772C 50%, #629F06 100%) !important;
  color: #ffffff !important;
}

/* 12. Theme Toggle Switch Styling: Matches About & Workstation */
.site-header .navbar .menu .theme-toggle-btn,
.theme-toggle-btn {
  display: flex !important;
  align-items: center !important;
  height: 34px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  user-select: none !important;
  outline: none !important;
  pointer-events: auto !important;
}

.site-header .navbar .menu .theme-toggle-btn .content {
  cursor: pointer !important;
  user-select: none !important;
}


/* Subpage wrappers and containers in Light Theme */
.theme-light .about,
.theme-light .opportunity,
.theme-light .market-opportunity,
.theme-light .dashboard,
.theme-light .contact,
.theme-light .terms-of-use,
.theme-light .privacy-policy,
.theme-light .dashboard-hero,
.theme-light .contact-hero,
.theme-light .terms-hero,
.theme-light .privacy-hero {
  background-color: #ffffff !important;
  color: #0a0a0a !important;
}

/* Team Drawer Modal: Never block viewport or show opaque background when closed */
.team-drawer {
  background: transparent !important;
  background-color: transparent !important;
  pointer-events: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.team-drawer.open {
  pointer-events: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.theme-light .team-drawer {
  background: transparent !important;
  background-color: transparent !important;
}

.theme-light .team-drawer .drawer-inner {
  background-color: #ffffff !important;
  color: #0a0a0a !important;
}

.theme-light .team-drawer .overlay {
  background: rgba(0, 0, 0, 0.4) !important;
}

.theme-light .site-footer .copyright,
.theme-light .site-footer p,
.theme-light .site-footer span,
.theme-light .colophon-title,
.theme-light .site-footer .body {
  color: #334155 !important;
}

.theme-light .site-footer input {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

.theme-light .site-footer input::placeholder {
  color: #64748b !important;
}

.theme-light .accordion,
.theme-light .accordion-item,
.theme-light .accordion-title,
.theme-light .faq-title,
.theme-light .faq-question,
.theme-light .item-title {
  color: #0f172a !important;
}


/* Remove Top-Left Logo and Terminal */
/* Brand logo enabled */

.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 60px !important;
  z-index: 9999 !important;
  background: transparent !important;
  border: none !important;
  pointer-events: none !important;
}

.site-header .navbar {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  width: 100% !important;
  max-width: var(--layout-width) !important;
  margin: 0 auto !important;
  padding: 0 var(--layout-margin) !important;
  height: 60px !important;
  box-sizing: border-box !important;
}

.site-header .navbar .menu-start {
  display: none !important;
}

.site-header .navbar .menu.desktop-only {
  display: flex !important;
  align-items: center !important;
  gap: 2px !important;
  pointer-events: auto !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
}


/* Enforce Removal of Residual Elements */
.home-hero .title-wrapper .title,
.home-hero .title-wrapper .text-reveal,
.home-hero h1.title,
.home-hero .latest-press,
.latest-press,
.card-latest-press {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.home-hero .hero-footer img,
.home-hero .hero-footer .colophon__logo,
.home-hero .eyebrow img {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}


/* === MCKV MASTER PREVIEW FINAL SPEC DIRECTIVES === */
/* 1. Header Placement in Original Place (Aligned to the Right) */
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 60px !important;
  z-index: 9999 !important;
  background: transparent !important;
  border: none !important;
  pointer-events: none !important;
}

.site-header .navbar {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  width: 100% !important;
  max-width: var(--layout-width) !important;
  margin: 0 auto !important;
  padding: 0 var(--layout-margin) !important;
  height: 60px !important;
  box-sizing: border-box !important;
}

.site-header .navbar .menu-start {
  display: none !important;
}

.site-header .navbar .menu.desktop-only,
.site-header .menu.desktop-only {
  display: flex !important;
  align-items: center !important;
  gap: 2px !important;
  pointer-events: auto !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
}

/* 2. Remove Logo and Terminal on Top Left */
/* Brand logo enabled */

/* Crisp Video Fitting Screen & Cinematic Edge Vignette Blur */
.home-hero.wrapped-hero {
  padding-top: 0 !important;
}

.home-hero video,
.wrapped-hero video,
.chart-wrapper video,
.video-bg video,
.storyblok-video video {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  transform: none !important;
  transform-origin: center center !important;
}

@media (max-width: 799px) {
  .home-hero,
  .wrapped-hero,
  .page-index .home-hero,
  .page-index .storyblok-video,
  .home-hero .storyblok-video,
  .wrapped-hero .storyblok-video,
  .home-hero .video-bg,
  .home-hero .video-bg[data-v-5f997ca7],
  .wrapped-hero .video-bg {
    position: absolute !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    overflow: hidden !important;
  }

  .home-hero video,
  .home-hero .video-bg video,
  .wrapped-hero video,
  .chart-wrapper video,
  .video-bg video,
  .storyblok-video video,
  .page-index video {
    position: absolute !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    transform: none !important;
  }

  /* Video on mobile: crisp clarity like a high-end reel, with 15% reduced subtle edge blur and zero touch finger effect */
  .video-vignette-corners {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    z-index: 3 !important;
    overflow: hidden !important;
    backdrop-filter: blur(6.8px) saturate(110%) !important;
    -webkit-backdrop-filter: blur(6.8px) saturate(110%) !important;
    background: transparent !important;
    mask: radial-gradient(ellipse 92% 88% at 50% 50%, transparent 0%, transparent 62%, rgba(0, 0, 0, 0.45) 82%, black 100%) !important;
    -webkit-mask: radial-gradient(ellipse 92% 88% at 50% 50%, transparent 0%, transparent 62%, rgba(0, 0, 0, 0.45) 82%, black 100%) !important;
    mask-image: radial-gradient(ellipse 92% 88% at 50% 50%, transparent 0%, transparent 62%, rgba(0, 0, 0, 0.45) 82%, black 100%) !important;
    -webkit-mask-image: radial-gradient(ellipse 92% 88% at 50% 50%, transparent 0%, transparent 62%, rgba(0, 0, 0, 0.45) 82%, black 100%) !important;
  }

  #mckv-cursor-mask-svg,
  #mckv-cursor-trace-svg,
  #mckv-cursor-glow,
  #mckv-cursor-trails,
  #mckv-gradient-trails {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

.home-hero .video-bg,
.wrapped-hero .video-bg,
.home-hero .storyblok-video,
.wrapped-hero .storyblok-video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* Remove any artificial pseudo mask overlay */
.home-hero::before {
  display: none !important;
  content: none !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   CINEMATIC VIDEO FROSTED BLUR & CURSOR REVEAL (DESKTOP ONLY)
   Sumptuous 54px frosted glass blur across video; un-blurred dynamically by cursor
   ───────────────────────────────────────────────────────────────────────────── */
@media (min-width: 800px) {
  .video-vignette-corners {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    z-index: 3 !important;
    overflow: hidden !important;
    backdrop-filter: blur(54px) saturate(135%) !important;
    -webkit-backdrop-filter: blur(54px) saturate(135%) !important;
    background: transparent !important;
    mask: url(#mckv-cursor-mask) !important;
    -webkit-mask: url(#mckv-cursor-mask) !important;
  }

  html.theme-light .video-vignette-corners,
  :is(.theme-light, [data-theme="light"]) .video-vignette-corners {
    background: transparent !important;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   LUMINOUS GRADIENT CURSOR TRACE (Modern Ambient Video-Palette Follower)
   Warm Egyptian Amber / Gold / Bronze Glowing Particle Trails
   ───────────────────────────────────────────────────────────────────────────── */
#mckv-cursor-trace-svg {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  pointer-events: none !important;
  z-index: 5 !important;
}

#mckv-gradient-trails,
#mckv-gradient-active {
  mix-blend-mode: screen !important;
  pointer-events: none !important;
}

html.theme-light #mckv-gradient-trails,
html.theme-light #mckv-gradient-active,
:is(.theme-light, [data-theme="light"]) #mckv-gradient-trails,
:is(.theme-light, [data-theme="light"]) #mckv-gradient-active {
  mix-blend-mode: multiply !important;
}

/* Login Page Showcase Terminal Framing: Confined to 46vw Left Section, Focusing Exclusively on the Broker Card */
.showcase-video-backdrop {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  right: auto !important;
  width: 46% !important;
  width: 46vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  overflow: hidden !important;
  z-index: 0 !important;
  pointer-events: none !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #000000 !important;
}

html.theme-light .showcase-video-backdrop {
  border-right: 1px solid rgba(0, 0, 0, 0.08) !important;
  background: #faf7f2 !important;
}

.showcase-terminal-bg-blur {
  display: none !important;
}

.showcase-terminal-video {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  z-index: 1 !important;
  width: max(calc(100vh * 1.74312), 112.5vw) !important;
  height: auto !important;
  aspect-ratio: 3420 / 1962 !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  transform: translate(-66.70%, -50%) scale(1.15) !important;
  object-fit: cover !important;
  filter: none !important;
  -webkit-filter: none !important;
  will-change: transform !important;
}

html.theme-light .showcase-terminal-video {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  z-index: 1 !important;
  width: max(calc(100vh * 1.74312), 112.5vw) !important;
  height: auto !important;
  aspect-ratio: 3420 / 1962 !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  transform: translate(-66.70%, -50%) scale(1.15) !important;
  object-fit: cover !important;
  filter: none !important;
  -webkit-filter: none !important;
}

/* Frosted Glass Corner Blur Vignette (Crystal Clear Center, Elegant Corner Softening) */
.login-video-vignette,
html.theme-light .login-video-vignette {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: 2 !important;
  overflow: hidden !important;
  background: transparent !important;
  backdrop-filter: blur(48px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(48px) saturate(130%) !important;
  mask-image: radial-gradient(ellipse 92% 90% at 50% 50%, transparent 48%, black 95%) !important;
  -webkit-mask-image: radial-gradient(ellipse 92% 90% at 50% 50%, transparent 48%, black 95%) !important;
  mask: radial-gradient(ellipse 92% 90% at 50% 50%, transparent 48%, black 95%) !important;
  -webkit-mask: radial-gradient(ellipse 92% 90% at 50% 50%, transparent 48%, black 95%) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.login-video-aura,
html.theme-light .login-video-aura,
.showcase-video-vignette,
.login-frosted-reveal-overlay,
.opportunity-frosted-reveal-overlay {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Hide colored cursor trace SVG on home, opportunity, invite, and login pages */
html.page-home-active #mckv-cursor-trace-svg,
html.page-home-active #mckv-gradient-active,
html.page-home-active #mckv-gradient-trails,
body.page-home-active #mckv-cursor-trace-svg,
body:has(.page-index) #mckv-cursor-trace-svg,
body:has(.home-hero) #mckv-cursor-trace-svg,
.page-index #mckv-cursor-trace-svg,
html.page-opportunity-active #mckv-cursor-trace-svg,
html.page-invite-active #mckv-cursor-trace-svg,
body:has(.page-opportunity) #mckv-cursor-trace-svg,
body:has(.page-invite) #mckv-cursor-trace-svg,
html.page-opportunity-active #mckv-cursor-trails,
html.page-invite-active #mckv-cursor-trails,
html.page-opportunity-active #mckv-gradient-trails,
html.page-invite-active #mckv-gradient-trails,
.login-page-main #mckv-cursor-trace-svg,
body:has(.workstation-login-section) #mckv-cursor-trace-svg,
body:has(.login-split-card-container) #mckv-cursor-trace-svg,
.login-split-card-container #mckv-cursor-trace-svg,
html.page-login-active #mckv-cursor-trace-svg {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Base Full-Frame Edge & Vignette Blur neutralized - single seamless video-vignette-corners restored */
.page-index .storyblok-video video,
.page-index .video-bg video,
.page-index video {
  filter: brightness(1.35) contrast(1.04) !important;
  -webkit-filter: brightness(1.35) contrast(1.04) !important;
}

.video-vignette-frame .edge-top,
.video-vignette-frame .edge-bottom,
.video-vignette-frame .edge-left,
.video-vignette-frame .edge-right,
.video-vignette-frame .vignette-shade {
  display: none !important;
}

.hero-bottom-left-mark {
  display: none !important;
}

/* Zero Duplicate Tree: Eradicate stale SSR duplicate tree immediately when active tree is present */
/* duplicate tree rule neutralized */

/* ─────────────────────────────────────────────────────────────────────────────
   HOME PAGE: Full Workstation Video Hero & Natural Fluid Scroll to Native Footer
   Strict Root Resolution: Zero Old Marketing Clutter, Zero Shrunk Video, Zero Seams
   ───────────────────────────────────────────────────────────────────────────── */
.page-index .opportunity-wrapper,
.page-index .section-faq,
.home-hero .title-wrapper,
.home-hero .ctas {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.page-index .pin-spacer {
  display: contents !important;
  height: auto !important;
  padding: 0 !important;
}

.page-index .home-productivity,
.page-index .home-productivity .layout-grid.inner,
.page-index .chart-wrapper,
.page-index .animated-mask,
.page-index .home-hero,
.page-index .home-hero.wrapped-hero {
  position: relative !important;
  left: 0 !important;
  top: 0 !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  max-width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  overflow: hidden !important;
}

.page-index .storyblok-video,
.page-index .storyblok-video video,
.page-index .video-bg video {
  position: absolute !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  object-fit: cover !important;
  z-index: 0 !important;
}

.page-index .home-hero .hero-footer {
  display: flex !important;
  position: absolute !important;
  bottom: 28px !important;
  left: 28px !important;
  z-index: 10 !important;
  background: transparent !important;
  pointer-events: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.page-index .home-hero .hero-footer .eyebrow {
  display: flex !important;
  opacity: 0.9 !important;
  visibility: visible !important;
}

/* Zero Conflicting Middle-Left Floating CTAs or Overlapping Title Buttons */
.hero-bottom-left-mark,
.home-hero .title-wrapper,
.home-hero .ctas {
  display: none !important;
}

/* On Desktop: Strictly Eliminate Duplicate Mobile-Only Hero & Kill All Empty Space */
@media (min-width: 800px) {

  .mobile-only,
  .home-hero.mobile-only,
  section.home-hero.mobile-only {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }
}

/* 3. Remove Top of Screen Blur & Cookie Banner */
.top-blur,
.site-header .top-blur,
.site-header .top-blur *,
.cookie-banner,
#cookie-banner,
[class*="cookie-banner"] {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  height: 0 !important;
}

.top-blur,
.site-header .top-blur {
  display: none !important;
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* 4. Header & Button System: Exact Same Vertical Roll Dynamics & Right Arrow Icon */
.site-header .navbar .menu .ui-button,
.site-header .navbar .menu-start .ui-button,
.site-header .navbar .menu .theme-toggle-btn,
.site-header .navbar .menu a.theme-toggle-btn,
.site-header .navbar .menu button.theme-toggle-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  height: 34px !important;
  line-height: 34px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  cursor: pointer !important;
  outline: none !important;
  box-sizing: border-box !important;
  pointer-events: auto !important;
  overflow: visible !important;
  text-decoration: none !important;
  user-select: none !important;
  gap: 2px !important;
}

.site-header .navbar .menu .ui-button>.content,
.site-header .navbar .menu-start .ui-button>.content,
.site-header .navbar .menu .theme-toggle-btn .content,
.site-header .navbar .menu .lang-toggle-btn .content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  height: 34px !important;
  line-height: 34px !important;
  padding: 0 16px !important;
  margin: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  font-family: "Archivo Narrow", "Archivo Narrow Fallback: Arial", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 1.04px !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  transition: transform 0.5s cubic-bezier(0.85, 0, 0.15, 1) 0s, background-color 0.25s ease !important;
}

.site-header .navbar .menu .ui-button>.content>*,
.site-header .navbar .menu-start .ui-button>.content>*,
.site-header .navbar .menu .theme-toggle-btn .content>*,
.site-header .navbar .menu .lang-toggle-btn .content>*,
.site-header .navbar .menu .ui-button .nav-label,
.site-header .navbar .menu .ui-button .nav-hover-slot,
.site-header .navbar .menu .theme-toggle-btn .theme-label,
.site-header .navbar .menu .theme-toggle-btn .theme-hover-slot,
.site-header .navbar .menu .lang-toggle-btn .lang-label,
.site-header .navbar .menu .lang-toggle-btn .lang-hover-slot {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 34px !important;
  line-height: 34px !important;
  flex-shrink: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: transform 0.5s cubic-bezier(0.85, 0, 0.15, 1) 0.07s !important;
}

.site-header .navbar .menu .ui-button:hover>.content>*,
.site-header .navbar .menu-start .ui-button:hover>.content>*,
.site-header .navbar .menu .theme-toggle-btn:hover .content>*,
.site-header .navbar .menu .lang-toggle-btn:hover .content>*,
.site-header .navbar .menu li:hover .ui-button>.content>*,
.site-header .navbar .menu-start li:hover .ui-button>.content>*,
.site-header .navbar .menu li:hover .theme-toggle-btn .content>*,
.site-header .navbar .menu li:hover .lang-toggle-btn .content>*,
.site-header .navbar .menu .ui-button:hover .nav-label,
.site-header .navbar .menu .ui-button:hover .nav-hover-slot,
.site-header .navbar .menu li:hover .ui-button .nav-label,
.site-header .navbar .menu li:hover .ui-button .nav-hover-slot,
.site-header .navbar .menu .theme-toggle-btn:hover .theme-label,
.site-header .navbar .menu .theme-toggle-btn:hover .theme-hover-slot,
.site-header .navbar .menu .lang-toggle-btn:hover .lang-label,
.site-header .navbar .menu .lang-toggle-btn:hover .lang-hover-slot {
  transform: translateY(-34px) !important;
}

/* Header & Middle-Left Button Attached Right-Arrow Icon */
.site-header .navbar .menu .ui-button>.icon,
.ctas .ui-button>.icon {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  height: 34px !important;
  width: 32px !important;
  min-width: 32px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  position: relative !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: none !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: transform 0.5s cubic-bezier(0.85, 0, 0.15, 1) 0s, background-color 0.25s ease !important;
}

.site-header .navbar .menu .ui-button>.icon>span,
.ctas .ui-button>.icon>span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 34px !important;
  width: 32px !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  transition: transform 0.5s cubic-bezier(0.85, 0, 0.15, 1) 0.07s !important;
}

.site-header .navbar .menu .ui-button:hover>.icon>span,
.site-header .navbar .menu li:hover .ui-button>.icon>span,
.hero-middle-left-ctas .ui-button:hover>.icon>span,
.ctas .ui-button:hover>.icon>span {
  transform: translateY(-100%) !important;
}

.site-header .navbar .menu .ui-button>.icon .svg-mask,
.hero-middle-left-ctas .ui-button>.icon .svg-mask,
.ctas .ui-button>.icon .svg-mask {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  background-color: currentColor !important;
  mask-image: url(/svgs/icoArrow-right.svg) !important;
  -webkit-mask-image: url(/svgs/icoArrow-right.svg) !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-position: center !important;
  -webkit-mask-position: center !important;
  mask-size: 16px 16px !important;
  -webkit-mask-size: 16px 16px !important;
}

/* Dark Theme Colors (Unified across Content & Icon) */
html:not(.theme-light) .site-header .navbar .menu .ui-button>.content,
html:not(.theme-light) .site-header .navbar .menu .theme-toggle-btn .content,
html:not(.theme-light) .site-header .navbar .menu .lang-toggle-btn .content,
html:not(.theme-light) .site-header .navbar .menu .ui-button>.icon,
/* hero-middle-left-ctas unbundled */
html:not(.theme-light) .ctas .ui-button>.content,
html:not(.theme-light) .ctas .ui-button>.icon,
html.theme-dark .site-header .navbar .menu .ui-button>.content,
html.theme-dark .site-header .navbar .menu .theme-toggle-btn .content,
html.theme-dark .site-header .navbar .menu .lang-toggle-btn .content,
html.theme-dark .site-header .navbar .menu .ui-button>.icon,

html.theme-dark .ctas .ui-button>.content,
html.theme-dark .ctas .ui-button>.icon {
  background-color: rgba(238, 238, 240, 0.1) !important;
  color: #f0f2f5 !important;
}

html:not(.theme-light) .site-header .navbar .menu .ui-button:hover>.content,
html:not(.theme-light) .site-header .navbar .menu .theme-toggle-btn:hover .content,
html:not(.theme-light) .site-header .navbar .menu .lang-toggle-btn:hover .content,
html:not(.theme-light) .site-header .navbar .menu .ui-button:hover>.icon,

html:not(.theme-light) .ctas .ui-button:hover>.content,
html:not(.theme-light) .ctas .ui-button:hover>.icon,
html.theme-dark .site-header .navbar .menu .ui-button:hover>.content,
html.theme-dark .site-header .navbar .menu .theme-toggle-btn:hover .content,
html.theme-dark .site-header .navbar .menu .lang-toggle-btn:hover .content,
html.theme-dark .site-header .navbar .menu .ui-button:hover>.icon,

html.theme-dark .ctas .ui-button:hover>.content,
html.theme-dark .ctas .ui-button:hover>.icon {
  background-color: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}

/* Light Theme Colors (Unified across Content & Icon) */
html.theme-light .site-header .navbar .menu .ui-button>.content,
html.theme-light .site-header .navbar .menu .theme-toggle-btn .content,
html.theme-light .site-header .navbar .menu .lang-toggle-btn .content,
html.theme-light .site-header .navbar .menu .ui-button>.icon,

html.theme-light .ctas .ui-button>.content,
html.theme-light .ctas .ui-button>.icon {
  background-color: rgba(0, 0, 0, 0.08) !important;
  color: #000000 !important;
}

html.theme-light .site-header .navbar .menu .ui-button:hover>.content,
html.theme-light .site-header .navbar .menu .theme-toggle-btn:hover .content,
html.theme-light .site-header .navbar .menu .lang-toggle-btn:hover .content,
html.theme-light .site-header .navbar .menu .ui-button:hover>.icon,

html.theme-light .ctas .ui-button:hover>.content,
html.theme-light .ctas .ui-button:hover>.icon {
  background-color: rgba(0, 0, 0, 0.16) !important;
  color: #000000 !important;
}

/* Smart Header Active Navigation Tab (Reflects Currently Open Page) */
/* Header Navigation: Zero current page highlight; uniform institutional secondary buttons */
.site-header .navbar .menu .ui-button,
.site-header .navbar .menu .ui-button.secondary,
.site-header .navbar .menu .ui-button.active,
.site-header .navbar .menu .ui-button.is-active,
.site-header .navbar .menu .ui-button.primary {
  position: relative !important;
}

html:not(.theme-light) .site-header .navbar .menu .ui-button>.content,
html.theme-dark .site-header .navbar .menu .ui-button>.content,
html:not(.theme-light) .site-header .navbar .menu .ui-button>.icon,
html.theme-dark .site-header .navbar .menu .ui-button>.icon {
  background-color: transparent !important;
}

html.theme-light .site-header .navbar .menu .ui-button>.content,
html.theme-light .site-header .navbar .menu .ui-button>.icon {
  background-color: transparent !important;
}

/* Smooth Cinematic Cross-Fade Page Transitions */
body.mckv-page-exiting #site,
body.mckv-page-exiting .page-wrapper {
  opacity: 0 !important;
  transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body:not(.mckv-page-exiting) #site,
body:not(.mckv-page-exiting) .page-wrapper {
  animation: mckvFadeInPage 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes mckvFadeInPage {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   MOBILE VIEW (Phone): Remove header buttons, keep ONLY mobile menu button
   ───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 799px) {
  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    pointer-events: none !important;
    height: 56px !important;
    padding: 0 !important;
  }

  .site-header .navbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 16px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    height: 56px !important;
    pointer-events: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .site-header .navbar>a,
  .site-header .navbar .logo,
  .site-header .brand-logo,
  .site-header [data-v-19fa32a8]>a {
    pointer-events: auto !important;
    display: flex !important;
    align-items: center !important;
    z-index: 100002 !important;
  }

  .site-header .navbar .menu.desktop-only,
  .site-header .menu.desktop-only,
  .site-header .navbar .menu:not(.mobile-menu),
  .site-header .navbar>.menu,
  .site-header .navbar>ul:not(.menu-items) {
    display: none !important;
  }

  .site-header .mobile-only,
  .site-header .hamburger-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 100001 !important;
    position: relative !important;
    margin: 0 0 0 auto !important;
  }

  html[dir="rtl"] .site-header .mobile-only,
  html.lang-ar .site-header .mobile-only {
    margin: 0 auto 0 0 !important;
  }
}

/* Mobile Menu System: Fixed, Static & Ultra-Premium */
/* ─────────────────────────────────────────────────────────────────────────────
   MOBILE MENU: STATIC, LUXURIOUS INSTITUTIONAL SPEC, LUMINOUS LIGHTING & ZERO VOIDS
   ───────────────────────────────────────────────────────────────────────────── */
.mobile-menu {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 68px 20px 24px 20px !important;
  box-sizing: border-box !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-4px) scale(0.995) !important;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s !important;
  z-index: 99999 !important;
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: none !important;
  -webkit-overflow-scrolling: auto !important;
}

html:not(.theme-light) .mobile-menu,
html.theme-dark .mobile-menu {
  background-color: #0b0704 !important;
  background: radial-gradient(circle at 50% 0%, #1c0e06 0%, #0d0704 60%, #070402 100%) !important;
  color: #ffffff !important;
}

html.theme-light .mobile-menu {
  background-color: #faf7f2 !important;
  background: #faf7f2 radial-gradient(circle at 50% 0%, rgba(212, 122, 36, 0.07) 0%, rgba(250, 247, 242, 0.98) 55%, #faf7f2 100%) !important;
  color: #0a0a0a !important;
  border: none !important;
}

.mobile-menu.open:not(.is-closing) {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

.mobile-menu.is-closing {
  opacity: 0 !important;
  visibility: visible !important;
  pointer-events: none !important;
  transform: translateY(-8px) scale(0.99) !important;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.mobile-menu.is-closing .mobile-menu-lighting,
.mobile-menu.is-closing .gradient-bg-dark,
.mobile-menu.is-closing .gradient {
  height: 200% !important;
  transform: translateX(-50%) scaleY(1.3) !important;
  opacity: 0 !important;
  transition: height 0.28s ease, transform 0.28s ease, opacity 0.28s ease !important;
}

.mobile-menu.is-closing .stagger-item {
  opacity: 0 !important;
  transform: translateY(6px) !important;
  transition: opacity 0.20s ease, transform 0.20s ease !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   AUTHENTIC BACKGROUND LIGHTING (GRADIENT-DARK-TRANSPARENT.PNG) WITH 1.2s SWEEP
   ───────────────────────────────────────────────────────────────────────────── */
.mobile-menu .mobile-menu-lighting-wrapper {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.mobile-menu .mobile-menu-lighting,
.mobile-menu .gradient-bg-dark,
.mobile-menu .gradient {
  position: absolute !important;
  top: -1px !important;
  left: 50% !important;
  width: calc(100% + 220px) !important;
  height: 200% !important;
  transform: translateX(-50%) scaleY(1.3) !important;
  transform-origin: top center !important;
  pointer-events: none !important;
  z-index: 1 !important;
  overflow: hidden !important;
  transition: height 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease !important;
  will-change: height, transform !important;
  display: block !important;
  opacity: 0 !important;
}

.mobile-menu .mobile-menu-lighting-img,
.mobile-menu .gradient-bg-dark .image,
.mobile-menu .gradient .image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: fill !important;
  pointer-events: none !important;
}

/* Downward lighting expansion when menu opens */
html:not(.theme-light) .mobile-menu.open:not(.is-closing) .mobile-menu-lighting,
html.theme-dark .mobile-menu.open:not(.is-closing) .mobile-menu-lighting,
.mobile-menu.open:not(.is-closing) .gradient-bg-dark,
.mobile-menu.open:not(.is-closing) .gradient {
  height: 120% !important;
  transform: translateX(-50%) scaleY(1) !important;
  opacity: 1 !important;
}

/* Dark theme: warm glowing amber/gold atmospheric light */
html:not(.theme-light) .mobile-menu .mobile-menu-lighting,
html.theme-dark .mobile-menu .mobile-menu-lighting {
  mix-blend-mode: screen !important;
  filter: contrast(1.15) brightness(1.2) !important;
}

/* Light theme: soft warm atmospheric glow with smooth opening expansion */
html.theme-light .mobile-menu .mobile-menu-lighting {
  display: block !important;
  opacity: 0 !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  background: radial-gradient(ellipse 90% 70% at 50% 0%, rgba(220, 140, 50, 0.14) 0%, rgba(220, 140, 50, 0.04) 40%, transparent 70%) !important;
}

html.theme-light .mobile-menu .mobile-menu-lighting-img {
  display: none !important;
}

html.theme-light .mobile-menu.open:not(.is-closing) .mobile-menu-lighting {
  height: 120% !important;
  transform: translateX(-50%) scaleY(1) !important;
  opacity: 1 !important;
}

html.theme-light .hamburger-button.is-active,
.theme-light .hamburger-button.is-active,
html.theme-light .hamburger-button.is-active .content,
.theme-light .hamburger-button.is-active .content,
html.theme-light .hamburger-button.is-active .icon,
.theme-light .hamburger-button.is-active .icon {
  background: rgba(0, 0, 0, 0.05) !important;
  background-color: rgba(0, 0, 0, 0.05) !important;
  border-color: rgba(0, 0, 0, 0.14) !important;
  color: #0a0a0a !important;
}

html.theme-light .hamburger-button.is-active span,
.theme-light .hamburger-button.is-active span {
  color: #0a0a0a !important;
}

html.theme-light .hamburger-button.is-active svg,
.theme-light .hamburger-button.is-active svg {
  color: #0a0a0a !important;
  stroke: #0a0a0a !important;
}

/* Inner Container sitting cleanly above lighting */
.mobile-menu-inner-container {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.mobile-menu-top {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
}

/* Mobile Menu Top Controls Row: Perfectly Symmetrical Pill Controls */
.mobile-menu-top-controls-row,
.mobile-menu .mobile-menu-top-controls-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  width: 100% !important;
  margin-bottom: 20px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-sizing: border-box !important;
}

html.theme-light .mobile-menu-top-controls-row,
html.theme-light .mobile-menu .mobile-menu-top-controls-row {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.mobile-menu-top-ctrl-btn,
.mobile-menu .mobile-menu-top-ctrl-btn {
  flex: 1 1 50% !important;
  height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  font-family: Archivo Narrow, "Archivo Narrow Fallback: Arial", sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  -webkit-tap-highlight-color: transparent !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease !important;
}

.mobile-menu-top-ctrl-btn:active {
  transform: scale(0.98) !important;
}

html:not(.theme-light) .mobile-menu-top-ctrl-btn,
html.theme-dark .mobile-menu-top-ctrl-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
}

html:not(.theme-light) .mobile-menu-top-ctrl-btn:active,
html.theme-dark .mobile-menu-top-ctrl-btn:active {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}

html.theme-light .mobile-menu-top-ctrl-btn {
  background: rgba(0, 0, 0, 0.04) !important;
  color: #0a0a0a !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
}

html.theme-light .mobile-menu-top-ctrl-btn:active {
  background: rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(0, 0, 0, 0.22) !important;
}

.mobile-menu-top-ctrl-btn .ctrl-icon-slot {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
}

.mobile-menu-top-ctrl-btn .ctrl-icon-slot svg {
  display: block !important;
  width: 15px !important;
  height: 15px !important;
}

html:not(.theme-light) .mobile-menu-top-ctrl-btn .ctrl-icon-slot svg,
html.theme-dark .mobile-menu-top-ctrl-btn .ctrl-icon-slot svg {
  stroke: #ffffff !important;
}

html.theme-light .mobile-menu-top-ctrl-btn .ctrl-icon-slot svg {
  stroke: #0a0a0a !important;
}

.mobile-menu-top-ctrl-btn .ctrl-icon-slot img,
.mobile-menu-top-ctrl-btn .lang-flag-svg {
  display: inline-block !important;
  width: 20px !important;
  height: 14px !important;
  border-radius: 2px !important;
  object-fit: cover !important;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.4) !important;
}

.mobile-menu-top-ctrl-btn .ctrl-text-slot {
  display: inline-block !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.8px !important;
  line-height: 1 !important;
}

/* Staggered Items Animation on Open / Close - Authentic Original Cadence */
.mobile-menu .stagger-item {
  opacity: 0 !important;
  transform: translateY(12px) !important;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.mobile-menu.open .stagger-item,
html.mobile-menu-active .mobile-menu .stagger-item {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.mobile-menu.open .stagger-item:nth-child(1),
html.mobile-menu-active .mobile-menu .stagger-item:nth-child(1) {
  transition-delay: 0.04s !important;
}

.mobile-menu.open .stagger-item:nth-child(2),
html.mobile-menu-active .mobile-menu .stagger-item:nth-child(2) {
  transition-delay: 0.08s !important;
}

.mobile-menu.open .stagger-item:nth-child(3),
html.mobile-menu-active .mobile-menu .stagger-item:nth-child(3) {
  transition-delay: 0.12s !important;
}

.mobile-menu.open .stagger-item:nth-child(4),
html.mobile-menu-active .mobile-menu .stagger-item:nth-child(4) {
  transition-delay: 0.16s !important;
}

/* Primary Navigation List */
.mobile-menu .mobile-menu-links-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
}

.mobile-menu .mobile-menu-links-list li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.mobile-menu .menu-link-mobile {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  text-decoration: none !important;
  padding: 10px 0 !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html.theme-light .mobile-menu .menu-link-mobile {
  border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
}

.mobile-menu .menu-link-left {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.mobile-menu .menu-link-num {
  font-family: Archivo Narrow, monospace !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  opacity: 0.4 !important;
  min-width: 18px !important;
}

html:not(.theme-light) .mobile-menu .menu-link-num {
  color: #ffffff !important;
}

html.theme-light .mobile-menu .menu-link-num {
  color: #0a0a0a !important;
}

.mobile-menu .menu-link-text-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.mobile-menu .menu-link-title {
  font-family: Archivo, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.015em !important;
  text-transform: uppercase !important;
}

html[lang="ar"] .mobile-menu .menu-link-title,
html.lang-ar .mobile-menu .menu-link-title {
  font-family: "Aref Ruqaa", serif !important;
  font-size: 24px !important;
  letter-spacing: 0 !important;
  line-height: 1.25 !important;
}

html:not(.theme-light) .mobile-menu .menu-link-title {
  color: #ffffff !important;
}

html.theme-light .mobile-menu .menu-link-title {
  color: #0a0a0a !important;
}

.mobile-menu .menu-link-sub {
  font-family: Archivo Narrow, -apple-system, sans-serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.3px !important;
  opacity: 0.55 !important;
}

html:not(.theme-light) .mobile-menu .menu-link-sub {
  color: rgba(255, 255, 255, 0.7) !important;
}

html.theme-light .mobile-menu .menu-link-sub {
  color: rgba(10, 10, 10, 0.65) !important;
}

.mobile-menu .menu-link-arrow {
  font-size: 16px !important;
  font-weight: 600 !important;
  opacity: 0.4 !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}

html:not(.theme-light) .mobile-menu .menu-link-arrow {
  color: #ffffff !important;
}

html.theme-light .mobile-menu .menu-link-arrow {
  color: #0a0a0a !important;
}

.mobile-menu .menu-link-mobile:active {
  opacity: 0.7 !important;
}

.mobile-menu .menu-link-mobile:active .menu-link-arrow {
  opacity: 1 !important;
  transform: translateX(3px) !important;
}

html[lang="ar"] .mobile-menu .menu-link-mobile:active .menu-link-arrow,
html.lang-ar .mobile-menu .menu-link-mobile:active .menu-link-arrow {
  transform: translateX(-3px) !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   MIDDLE SECTION: INSTITUTIONAL SPEC & MARKET DATA CARD (FILLS EMPTY SPACE)
   ───────────────────────────────────────────────────────────────────────────── */
.mobile-menu-mid-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 13px 15px !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

html:not(.theme-light) .mobile-menu-mid-card {
  background: rgba(255, 255, 255, 0.035) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

html.theme-light .mobile-menu-mid-card {
  background: rgba(255, 255, 255, 0.75) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.menu-status-badge {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.menu-pulse-dot {
  width: 6.5px !important;
  height: 6.5px !important;
  border-radius: 50% !important;
  background-color: #629F06 !important;
  box-shadow: 0 0 8px rgba(98, 159, 6, 0.75) !important;
  flex-shrink: 0 !important;
  animation: menuPulseAnimation 2s infinite ease-in-out !important;
}

@keyframes menuPulseAnimation {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

.menu-status-title {
  font-family: Archivo Narrow, monospace !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
}

html:not(.theme-light) .menu-status-title {
  color: #a3c86d !important;
}

html.theme-light .menu-status-title {
  color: #436d04 !important;
}

.menu-card-identity {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.menu-card-logo {
  width: 22px !important;
  height: 22px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  opacity: 0.9 !important;
}

html.theme-light .menu-card-logo {
  filter: brightness(0) !important;
  opacity: 0.85 !important;
}

.menu-card-meta {
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important;
}

.menu-card-name {
  font-family: Archivo, -apple-system, sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;
}

html:not(.theme-light) .menu-card-name {
  color: #ffffff !important;
}

html.theme-light .menu-card-name {
  color: #0a0a0a !important;
}

.menu-card-desc {
  font-family: Archivo Narrow, -apple-system, sans-serif !important;
  font-size: 10.5px !important;
  line-height: 1.3 !important;
  opacity: 0.6 !important;
}

html:not(.theme-light) .menu-card-desc {
  color: rgba(255, 255, 255, 0.75) !important;
}

html.theme-light .menu-card-desc {
  color: rgba(10, 10, 10, 0.7) !important;
}

.menu-chips-row {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  padding-top: 3px !important;
}

.menu-chip {
  font-family: Archivo Narrow, monospace !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  padding: 3px 7px !important;
  border-radius: 4px !important;
}

html:not(.theme-light) .menu-chip {
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html.theme-light .menu-chip {
  background: rgba(0, 0, 0, 0.04) !important;
  color: rgba(10, 10, 10, 0.75) !important;
  border: 1px solid rgba(0, 0, 0, 0.07) !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   BOTTOM SECTION: TACTILE CONTROLS, LEGAL LINKS & COLOPHON
   ───────────────────────────────────────────────────────────────────────────── */
.mobile-menu-bottom {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html.theme-light .mobile-menu-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.mobile-menu-controls-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
}

.mobile-menu-control-btn {
  flex: 1 1 50% !important;
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-family: Archivo, -apple-system, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

.mobile-menu-control-btn .ctrl-icon {
  font-size: 14px !important;
}

html:not(.theme-light) .mobile-menu-control-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
}

html.theme-light .mobile-menu-control-btn {
  background: rgba(0, 0, 0, 0.04) !important;
  color: #0a0a0a !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
}

.mobile-menu-legal-row {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
}

.mobile-menu-legal-link {
  font-family: Archivo, -apple-system, sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  opacity: 0.65 !important;
  transition: opacity 0.2s ease !important;
}

html:not(.theme-light) .mobile-menu-legal-link {
  color: #ffffff !important;
}

html.theme-light .mobile-menu-legal-link {
  color: #0a0a0a !important;
}

.mobile-menu-dot {
  font-size: 10px !important;
  opacity: 0.4 !important;
}

html:not(.theme-light) .mobile-menu-dot {
  color: #ffffff !important;
}

html.theme-light .mobile-menu-dot {
  color: #0a0a0a !important;
}

.mobile-menu-brand-colophon {
  font-family: Archivo Narrow, "Archivo Narrow Fallback: Arial", sans-serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  opacity: 0.45 !important;
}

html:not(.theme-light) .mobile-menu-brand-colophon {
  color: #ffffff !important;
}

html.theme-light .mobile-menu-brand-colophon {
  color: #0a0a0a !important;
}

/* Hide legacy dangling elements inside mobile menu */
.mobile-menu>.colophon-wrapper,
.mobile-menu>.menu-items,
.mobile-menu>.legal-menu,
.mobile-menu>.gradient-bg-dark,
.mobile-menu>.gradient {
  display: none !important;
}

/* Animated Hamburger to X */
.hamburger-button .svg-hamburger .line {
  transform-origin: 8px 8px !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.2s ease !important;
}

.hamburger-button .svg-hamburger .line.top {
  transform: translateY(-2.5px) !important;
}

.hamburger-button .svg-hamburger .line.bottom {
  transform: translateY(2.5px) !important;
}

.hamburger-button.is-active .svg-hamburger .line.top,
.hamburger-button.open .svg-hamburger .line.top,
.svg-hamburger.open .line.top {
  transform: translateY(0px) rotate(45deg) !important;
}

.hamburger-button.is-active .svg-hamburger .line.bottom,
.hamburger-button.open .svg-hamburger .line.bottom,
.svg-hamburger.open .line.bottom {
  transform: translateY(0px) rotate(-45deg) !important;
}

/* 5. Restore Video Light Effect (Warm Amber / Gold Aura) */
.video-bg::after,
.storyblok-video.video-bg::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: 2 !important;
  background: radial-gradient(circle at 50% 45%, rgba(195, 119, 44, 0.33) 0%, rgba(195, 119, 44, 0.13) 50%, transparent 75%) !important;
  mix-blend-mode: screen !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.theme-light .video-bg::after,
.theme-light .storyblok-video.video-bg::after,
[data-theme="light"] .video-bg::after,
[data-theme="light"] .storyblok-video.video-bg::after {
  background: radial-gradient(circle at 50% 45%, rgba(195, 119, 44, 0.20) 0%, rgba(195, 119, 44, 0.08) 45%, transparent 75%) !important;
  mix-blend-mode: multiply !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* 6. Remove Black Box & Blur at Bottom */
.home-hero .hero-footer,
.wrapped-hero .hero-footer,
.hero-footer,
.theme-light .home-hero .hero-footer,
.theme-light .wrapped-hero .hero-footer,
.theme-light .hero-footer,
[data-theme="light"] .hero-footer,
[data-theme="dark"] .hero-footer {
  background: transparent !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.home-hero .hero-footer .latest-press,
.home-hero .hero-footer .card-latest-press,
.card-latest-press,
.latest-press,
.login-card,
.login-left-stage {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.home-hero .hero-footer img,
.home-hero .hero-footer .colophon__logo,
.home-hero .eyebrow img,
.home-hero .eyebrow .colophon__logo,
.home-hero .eyebrow svg {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}



/* 8. Total Eradication of Legacy Blue Variables Across All Themes */
:root,
[data-theme="dark"],
[data-theme="light"],
.theme-dark,
.theme-light {
  --brand-blue-primary: #C3772C !important;
  --brand-blue-secondary: #629F06 !important;
  --brand-blue-secondary-0: rgba(98, 159, 6, 0) !important;
  --brand-blue-secondary-5: rgba(98, 159, 6, 0.05) !important;
  --brand-blue-secondary-10: rgba(98, 159, 6, 0.1) !important;
  --brand-blue-secondary-15: rgba(98, 159, 6, 0.15) !important;
  --brand-blue-secondary-20: rgba(98, 159, 6, 0.2) !important;
  --brand-blue-secondary-25: rgba(98, 159, 6, 0.25) !important;
  --brand-blue-secondary-30: rgba(98, 159, 6, 0.3) !important;
  --brand-blue-secondary-35: rgba(98, 159, 6, 0.35) !important;
  --brand-blue-secondary-40: rgba(98, 159, 6, 0.4) !important;
  --brand-blue-secondary-45: rgba(98, 159, 6, 0.45) !important;
  --brand-blue-secondary-50: rgba(98, 159, 6, 0.5) !important;
  --brand-blue-secondary-55: rgba(98, 159, 6, 0.55) !important;
  --brand-blue-secondary-60: rgba(98, 159, 6, 0.6) !important;
  --brand-blue-secondary-65: rgba(98, 159, 6, 0.65) !important;
  --brand-blue-secondary-70: rgba(98, 159, 6, 0.7) !important;
  --brand-blue-secondary-75: rgba(98, 159, 6, 0.75) !important;
  --brand-blue-secondary-80: rgba(98, 159, 6, 0.8) !important;
  --brand-blue-secondary-85: rgba(98, 159, 6, 0.85) !important;
  --brand-blue-secondary-90: rgba(98, 159, 6, 0.9) !important;
  --brand-blue-secondary-95: rgba(98, 159, 6, 0.95) !important;
}

/* ==========================================================================
   LIVE, SEAMLESS AMBIENT LIGHTING BACKGROUND (ZERO VERTICAL CUTOFFS)
   ========================================================================== */
.site-footer {
  position: relative !important;
  background: transparent !important;
  overflow: visible !important;
  width: 100% !important;
}

.site-footer::before {
  content: "" !important;
  position: absolute !important;
  inset: -140px 0 0 0 !important;
  background: radial-gradient(ellipse at 50% 80%, rgba(195, 119, 44, 0.42) 0%, rgba(195, 119, 44, 0.18) 45%, rgba(195, 119, 44, 0.04) 70%, transparent 85%) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.theme-light .site-footer::before,
[data-theme="light"] .site-footer::before,
html.page-opportunity-active .site-footer::before,
html.page-invite-active .site-footer::before,
body:has(.page-opportunity) .site-footer::before,
body:has(.page-invite) .site-footer::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

.site-footer>* {
  position: relative !important;
  z-index: 1 !important;
}

.site-footer .gradient-bg-dark,
.site-footer .gradient-bg-light,
.site-footer .gradient {
  display: none !important;
}

/* Sections Ambient Glow */
.about-hero,
.opportunity-hero,
.dashboard-hero {
  position: relative !important;
  overflow: visible !important;
}

/* ═══════════════════════════════════════════════════════════════════
   ABOUT PAGE HEADINGS: Crisp White in Dark Mode
   ═══════════════════════════════════════════════════════════════════ */
.about-hero h1,
.about-hero .title,
.about-hero .word,
.about-hero .letter,
.theme-dark .about-hero h1,
.theme-dark .about-hero .title,
.theme-dark .about-hero .word,
.theme-dark .about-hero .letter,
html:not(.theme-light) .about-hero h1,
html:not(.theme-light) .about-hero .title,
html:not(.theme-light) .about-hero .word,
html:not(.theme-light) .about-hero .letter {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
}

/* Remove 3D horse canvas residue and stuck intro */
#mckv-3d-horse-container,
#mckvay-brand-intro {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Ensure footer and section containers do not vertically slice or mask the ambient glow */
.site-footer {
  position: relative !important;
  overflow: visible !important;
  background: transparent !important;
  width: 100% !important;
}

.site-footer .pre-footer-spacer,
.site-footer section,
.site-footer .footer-grid,
.about-hero,
.opportunity-hero,
.dashboard-hero {
  overflow: visible !important;
}

/* Native Footer Polish: Crisp white horse colophon logo in footer */
.site-footer .colophon-logo-img,
.site-footer .colophon-logo,
.footer-colophon img {
  filter: none !important;
  opacity: 1 !important;
}

/* Light Mode Overrides for Native Footer */
.theme-light .site-footer {
  background: transparent !important;
  background-color: transparent !important;
}

.theme-light .site-footer .svg-dashed-line line {
  stroke: rgba(0, 0, 0, 0.12) !important;
}

.theme-light .site-footer .body,
.theme-light .site-footer .eyebrow,
.theme-light .site-footer .navigation-title,
.theme-light .site-footer .social-title {
  color: #0f172a !important;
}

.theme-light .site-footer a {
  color: #475569 !important;
}

.theme-light .site-footer a:hover {
  color: #C3772C !important;
}

/* ═══════════════════════════════════════════════════════════════════
   PERMANENT GREEN FLASH SUPPRESSION & LIVE AMBIENT BACKGROUND
   ═══════════════════════════════════════════════════════════════════ */
.gradient-bg-light,
[data-v-9d8fa70e].gradient-bg-light {
  display: block !important;
  opacity: 0.85 !important;
  visibility: visible !important;
  pointer-events: none !important;
}

/* Zero Transition Flash: Eradicate only green page transition overlays permanently */
#page-transition,
[data-v-590d8da8]#page-transition,
.page-transition {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  background: none !important;
  background-color: transparent !important;
}

/* Middle-Left Action Buttons (Home and Opportunity pages) */
.hero-middle-left-ctas {
  display: flex !important;
  position: absolute !important;
  left: 28px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 25 !important;
  pointer-events: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Home Page: Zero Footer (Strict 100vh Workstation View) */
.page-index .site-footer,
.index.theme-dark .site-footer,
body.page-index .site-footer,
.home .site-footer {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
}


/* ═══════════════════════════════════════════════════════════════════
   OPPORTUNITY RESTRICTED ACCESS SCREEN
   Clean 1-Viewport / Sticky Footer Architecture (Zero empty void)
   ═══════════════════════════════════════════════════════════════════ */
html.page-opportunity-active {
  min-height: 100% !important;
  height: auto !important;
  overflow-x: clip !important;
  overflow-y: auto !important;
  scroll-behavior: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

html.page-opportunity-active body,
body:has(.page-opportunity) {
  min-height: 100% !important;
  height: auto !important;
  overflow-x: clip !important;
  overflow-y: visible !important;
  scroll-behavior: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

@keyframes opportunityMovingGradient {
  0% {
    transform: translate3d(0, 0, 0) scale(1.0);
  }

  33% {
    transform: translate3d(2.2%, -2%, 0) scale(1.04);
  }

  66% {
    transform: translate3d(-2%, 2.2%, 0) scale(1.02);
  }

  100% {
    transform: translate3d(1.5%, 1.8%, 0) scale(1.03);
  }
}

html.page-opportunity-active:not(.theme-light),
html.page-opportunity-active:not(.theme-light) body,
html.page-invite-active:not(.theme-light),
html.page-invite-active:not(.theme-light) body,
body:has(.page-opportunity):not(.theme-light),
body:has(.page-invite):not(.theme-light) {
  background-color: #180903 !important;
  background-image: none !important;
}

html.page-opportunity-active:not(.theme-light) body::before,
html.page-invite-active:not(.theme-light) body::before,
body:has(.page-opportunity):not(.theme-light)::before,
body:has(.page-invite):not(.theme-light)::before {
  content: "" !important;
  position: fixed !important;
  inset: -15% !important;
  width: 130vw !important;
  height: 130vh !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background:
    radial-gradient(ellipse 95% 90% at 50% 50%, rgba(212, 122, 36, 0.65) 0%, rgba(195, 119, 44, 0.45) 35%, rgba(140, 68, 18, 0.28) 62%, rgba(45, 18, 6, 0.70) 85%, #180903 100%),
    radial-gradient(ellipse 65% 60% at 30% 65%, rgba(225, 138, 48, 0.28) 0%, transparent 70%),
    radial-gradient(ellipse 65% 60% at 70% 35%, rgba(195, 110, 35, 0.25) 0%, transparent 70%),
    #180903 !important;
  animation: opportunityMovingGradient 22s ease-in-out infinite alternate !important;
  will-change: transform !important;
}

html.page-opportunity-active:not(.theme-light) #site,
html.page-invite-active:not(.theme-light) #site,
body:has(.page-opportunity):not(.theme-light) #site,
body:has(.page-invite):not(.theme-light) #site {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  position: relative !important;
  z-index: 2 !important;
}

html.page-opportunity-active:not(.theme-light) .lenis,
html.page-opportunity-active:not(.theme-light) .container,
html.page-opportunity-active:not(.theme-light) .page-wrapper,
html.page-opportunity-active:not(.theme-light) .site-footer,
html.page-invite-active:not(.theme-light) .lenis,
html.page-invite-active:not(.theme-light) .container,
html.page-invite-active:not(.theme-light) .page-wrapper,
html.page-invite-active:not(.theme-light) .site-footer,
body:has(.page-opportunity):not(.theme-light) .lenis,
body:has(.page-opportunity):not(.theme-light) .container,
body:has(.page-opportunity):not(.theme-light) .page-wrapper,
body:has(.page-opportunity):not(.theme-light) .site-footer,
body:has(.page-invite):not(.theme-light) .lenis,
body:has(.page-invite):not(.theme-light) .container,
body:has(.page-invite):not(.theme-light) .page-wrapper,
body:has(.page-invite):not(.theme-light) .site-footer {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

html.page-opportunity-active.theme-light,
html.page-opportunity-active.theme-light body,
html.page-invite-active.theme-light,
html.page-invite-active.theme-light body,
body:has(.page-opportunity).theme-light,
body:has(.page-opportunity).theme-light body,
body:has(.page-invite).theme-light,
body:has(.page-invite).theme-light body {
  background-color: #ffffff !important;
  background: #ffffff !important;
  background-image: none !important;
}

html.page-opportunity-active.theme-light body::before,
html.page-invite-active.theme-light body::before,
body:has(.page-opportunity).theme-light::before,
body:has(.page-invite).theme-light::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

html.page-opportunity-active.theme-light #site,
html.page-opportunity-active.theme-light .page-wrapper,
html.page-invite-active.theme-light #site,
html.page-invite-active.theme-light .page-wrapper,
body:has(.page-opportunity).theme-light #site,
body:has(.page-opportunity).theme-light .page-wrapper,
body:has(.page-invite).theme-light #site,
body:has(.page-invite).theme-light .page-wrapper {
  background: transparent !important;
  background-color: transparent !important;
}

body:has(.page-opportunity) #site,
body:has(.page-opportunity) .page-wrapper,
body:has(.page-invite) #site,
body:has(.page-invite) .page-wrapper {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  height: 100% !important;
  width: 100% !important;
  background: transparent !important;
  background-color: transparent !important;
}

.page-opportunity.opportunity-screen-main {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 80px 24px 24px 24px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  background: transparent !important;
  background-color: transparent !important;
}

.opportunity-restricted-hero {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  position: relative !important;
  overflow: hidden !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

html.theme-light .opportunity-restricted-hero,
:is(.theme-light, [data-theme="light"]) .opportunity-restricted-hero {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

.opportunity-message-container {
  width: 96% !important;
  max-width: min(96vw, 1500px) !important;
  text-align: center !important;
  margin: 0 auto !important;
  z-index: 10 !important;
  position: relative !important;
}

.opportunity-title {
  font-family: Archivo, "Archivo Fallback: Arial", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: clamp(34px, min(4.8vw, 6.2vh), 66px) !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.025em !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  max-width: 100% !important;
  width: 100% !important;
}

html:not(.theme-light) .opportunity-title:not(.invite-title):not(.invite-red-notice),
html.theme-dark .opportunity-title:not(.invite-title):not(.invite-red-notice) {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html.theme-light .opportunity-title:not(.invite-title):not(.invite-red-notice) {
  color: #0a0a0a !important;
  -webkit-text-fill-color: #0a0a0a !important;
}

.opportunity-subtitle {
  font-family: Archivo Narrow, "Archivo Narrow Fallback: Arial", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: clamp(14px, min(2vw, 2.4vh), 21px) !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  line-height: 1.45 !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  max-width: 100% !important;
  width: 100% !important;
}

html:not(.theme-light) .opportunity-subtitle,
html.theme-dark .opportunity-subtitle {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html.theme-light .opportunity-subtitle {
  color: #1e293b !important;
  -webkit-text-fill-color: #1e293b !important;
}

.opportunity-inline-link {
  position: relative !important;
  display: inline-block !important;
  text-decoration: none !important;
  transition: color 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease !important;
}

.opportunity-inline-link::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0px !important;
  left: 0 !important;
  width: 0 !important;
  height: 1.5px !important;
  background-color: currentColor !important;
  transition: width 0.26s cubic-bezier(0.16, 1, 0.3, 1) !important;
  pointer-events: none !important;
}

html[dir="rtl"] .opportunity-inline-link::after,
html.lang-ar .opportunity-inline-link::after {
  left: auto !important;
  right: 0 !important;
}

.opportunity-inline-link:hover::after {
  width: 100% !important;
}

html:not(.theme-light) .opportunity-inline-link,
html.theme-dark .opportunity-inline-link {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html.theme-light .opportunity-inline-link {
  color: #0a0a0a !important;
  -webkit-text-fill-color: #0a0a0a !important;
}

.opportunity-inline-link:hover,
html:not(.theme-light) .opportunity-inline-link:hover,
html.theme-dark .opportunity-inline-link:hover {
  opacity: 1 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html.theme-light .opportunity-inline-link:hover {
  opacity: 1 !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

/* Strictly remove login button on the left */
.opportunity-restricted-hero .hero-middle-left-ctas,
.page-opportunity .hero-middle-left-ctas,
.opportunity-middle-left-cta {
  display: none !important;
}

/* Dock footer cleanly at bottom */
body:has(.page-opportunity) .site-footer,
html.page-opportunity-active .site-footer {
  margin-top: auto !important;
  flex-shrink: 0 !important;
  width: 100% !important;
  background: transparent !important;
}

body:has(.page-opportunity) .site-footer .pre-footer-spacer,
html.page-opportunity-active .site-footer .pre-footer-spacer {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════
   LEGAL PAGES DEEP-ROOT ZERO-GAP ARCHITECTURE (TERMS & PRIVACY)
   STILL & STATIC TO SCREEN SIZE • ANIMATED MOVING GRADIENT
   EXPANSIVE FULL-WIDTH LAYOUT • UNIFIED INSTITUTIONAL FOOTER
   ═══════════════════════════════════════════════════════════════════ */
@keyframes legalMovingGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

html.page-legal-active {
  width: 100% !important;
  max-width: 100vw !important;
  height: auto !important;
  min-height: 100% !important;
  overflow-x: clip !important;
  overflow-y: auto !important;
  overscroll-behavior: none !important;
  overscroll-behavior-y: none !important;
  -webkit-overflow-scrolling: touch !important;
  position: static !important;
}

html.page-legal-active body,
body:has(.page-legal) {
  width: 100% !important;
  max-width: 100vw !important;
  height: auto !important;
  min-height: 100% !important;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  overscroll-behavior: none !important;
  overscroll-behavior-y: none !important;
  overscroll-behavior-x: none !important;
  position: relative !important;
}

html:not(.theme-light).page-legal-active,
html:not(.theme-light).page-legal-active body,
html.theme-dark.page-legal-active,
html.theme-dark.page-legal-active body,
body:has(.page-legal):not(.theme-light) {
  background: #070403 radial-gradient(ellipse 90% 45% at 50% 0%, rgba(195, 119, 44, 0.16) 0%, transparent 65%) no-repeat !important;
  background-color: #070403 !important;
  background-size: 100% 900px !important;
  background-attachment: scroll !important;
  animation: none !important;
  color: #F0F2F5 !important;
}

html.theme-light.page-legal-active,
html.theme-light.page-legal-active body,
body:has(.page-legal).theme-light {
  background: #ffffff radial-gradient(ellipse 90% 45% at 50% 0%, rgba(195, 119, 44, 0.08) 0%, transparent 65%) no-repeat !important;
  background-color: #ffffff !important;
  background-size: 100% 900px !important;
  background-attachment: scroll !important;
  animation: none !important;
  color: #0f172a !important;
}

/* Deep-root solid underlying background to prevent any viewport/tile compositor lag or white flash */
html:not(.theme-light).page-legal-active #site,
html:not(.theme-light).page-legal-active #sf-boilerplate,
html:not(.theme-light).page-legal-active .container,
html:not(.theme-light).page-legal-active .lenis,
html:not(.theme-light).page-legal-active .page-wrapper,
html:not(.theme-light).page-legal-active .page-legal,
body:has(.page-legal):not(.theme-light) #site,
body:has(.page-legal):not(.theme-light) #sf-boilerplate,
body:has(.page-legal):not(.theme-light) .container,
body:has(.page-legal):not(.theme-light) .lenis,
body:has(.page-legal):not(.theme-light) .page-wrapper,
body:has(.page-legal):not(.theme-light) .page-legal {
  background-color: #070403 !important;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
}

html.theme-light.page-legal-active #site,
html.theme-light.page-legal-active #sf-boilerplate,
html.theme-light.page-legal-active .container,
html.theme-light.page-legal-active .lenis,
html.theme-light.page-legal-active .page-wrapper,
html.theme-light.page-legal-active .page-legal,
body:has(.page-legal).theme-light #site,
body:has(.page-legal).theme-light #sf-boilerplate,
body:has(.page-legal).theme-light .container,
body:has(.page-legal).theme-light .lenis,
body:has(.page-legal).theme-light .page-wrapper,
body:has(.page-legal).theme-light .page-legal {
  background-color: #ffffff !important;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
}

html.page-legal-active .site-footer,
html.page-legal-active .site-footer section,
body:has(.page-legal) .site-footer,
body:has(.page-legal) .site-footer section {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
}

body:has(.page-legal) .site-footer::before,
html.page-legal-active .site-footer::before {
  display: none !important;
}

.page-legal {
  position: relative !important;
  width: 100% !important;
  min-height: 100vh !important;
  padding-top: 60px !important;
  padding-bottom: 60px !important;
  background: transparent !important;
}

.page-legal .legal-hero {
  position: relative !important;
  padding: 40px 0 32px 0 !important;
}

.page-legal .legal-hero .gradient-bg-dark,
.page-legal .legal-hero .gradient {
  display: none !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Expansive Full-Width Quantitative Legal Layout */
.legal-container {
  width: 100% !important;
  max-width: 1680px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
  box-sizing: border-box !important;
}

@media (max-width: 1024px) {
  .legal-container {
    padding: 0 24px !important;
  }
}

@media (max-width: 640px) {
  .legal-container {
    padding: 0 16px !important;
  }
}

.legal-hero .subtitle {
  max-width: 100% !important;
}

.legal-toc-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 10px !important;
}

.legal-section {
  width: 100% !important;
}

.legal-callout-card {
  width: 100% !important;
  box-sizing: border-box !important;
}

.legal-body {
  width: 100% !important;
}

.legal-paragraph {
  width: 100% !important;
  max-width: 100% !important;
}

/* Light mode footer typography matching other pages */
html.theme-light.page-legal-active .site-footer,
html.theme-light.page-legal-active .site-footer * {
  color: #0f172a !important;
}

html.theme-light.page-legal-active .site-footer .menu-link,
html.theme-light.page-legal-active .site-footer .legal-link,
html.theme-light.page-legal-active .site-footer a {
  color: #1e293b !important;
}

html.theme-light.page-legal-active .site-footer .brand-subtext,
html.theme-light.page-legal-active .site-footer .footer {
  color: #475569 !important;
}

html.theme-light.page-legal-active .site-footer .svg-dashed-line line {
  stroke: rgba(0, 0, 0, 0.15) !important;
}

/* ═══════════════════════════════════════════════════════════════════
   REDESIGNED INSTITUTIONAL FOOTER (STRAIGHT TO THE TOP & DESK LINKS)
   ═══════════════════════════════════════════════════════════════════ */
.site-footer .footer-brand-col .title .storyblok-content {
  font-family: Archivo, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  letter-spacing: -0.5px !important;
  line-height: 1.15 !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
}

html.theme-light .site-footer .footer-brand-col .title .storyblok-content {
  color: #0f172a !important;
}

.site-footer .brand-subtext {
  color: rgba(255, 255, 255, 0.75) !important;
}

html.theme-light .site-footer .brand-subtext {
  color: #475569 !important;
}

.site-footer .footer-support-block span {
  color: rgba(255, 255, 255, 0.45) !important;
}

html.theme-light .site-footer .footer-support-block span {
  color: #64748b !important;
}

.site-footer .support-email-link {
  color: #ffffff !important;
}

.site-footer .support-email-link:hover {
  color: #C3772C !important;
  text-decoration: underline !important;
}

html.theme-light .site-footer .support-email-link {
  color: #0f172a !important;
}

html.theme-light .site-footer .support-email-link:hover {
  color: #C3772C !important;
}

.site-footer a.menu-link:hover,
.site-footer a.legal-link:hover {
  color: #C3772C !important;
}

/* ═══════════════════════════════════════════════════════════════════
   STICKY FOOTER ARCHITECTURE & STRICT ZERO-SCROLL-BEYOND BOUNDARY
   ═══════════════════════════════════════════════════════════════════ */
.site-footer .pre-footer-spacer,
.pre-footer-spacer,
.site-footer .gradient-bg-dark,
.site-footer .gradient-bg-light,
.site-footer .gradient,
.site-footer .bottom.gradient,
.wordmark-wrapper,
.wordmark-placeholder {
  display: none !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: clip !important;
  overflow-y: auto !important;
  scroll-behavior: auto !important;
  overscroll-behavior: none !important;
  overscroll-behavior-y: none !important;
  -webkit-overflow-scrolling: touch !important;
}

body {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: clip !important;
  overflow-y: visible !important;
  position: relative !important;
  overscroll-behavior: none !important;
  overscroll-behavior-y: none !important;
  -webkit-overflow-scrolling: touch !important;
}

/* Home page is strictly fixed to viewport (single video hero screen) */
html.page-index,
body.page-index,
html.page-home-active,
body.page-home-active {
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
  overflow-y: hidden !important;
  overscroll-behavior: none !important;
  overscroll-behavior-y: none !important;
  touch-action: none !important;
}

#site,
#sf-boilerplate,
.container,
.lenis,
.page-wrapper,
main {
  height: auto !important;
  min-height: 100% !important;
  overflow: visible !important;
}

#site,
.container,
.lenis {
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
}

.page-wrapper {
  flex: 1 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
}

.site-footer {
  flex-shrink: 0 !important;
  margin-top: auto !important;
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.site-footer section {
  position: relative !important;
  overflow: hidden !important;
}

.site-footer .footer-grid {
  position: relative !important;
  padding-top: 32px !important;
  padding-bottom: 32px !important;
}

.opportunity-screen-main,
.page-opportunity.opportunity-screen-main {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
}

.opportunity-restricted-hero {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 14px 24px 12px 24px !important;
}





/* Unblock Natural Vertical Scrolling on Home */
.page-index .home-hero {
  position: relative !important;
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  overflow: hidden !important;
}

.page-index .home-productivity {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  min-height: 80vh !important;
  visibility: visible !important;
  opacity: 1 !important;
  padding: 100px 0 !important;
}

.page-index .home-propositions {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  min-height: 60vh !important;
  visibility: visible !important;
  opacity: 1 !important;
  padding: 80px 0 !important;
}

/* Home Footer Strictly Hidden */
.page-index .site-footer,
.index.theme-dark .site-footer,
body.page-index .site-footer {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Terminal / Login Page Center Alignment without Footer Collision */
.page-dashboard .login-page-main,
.page-dashboard .workstation-login-section {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: 100vh !important;
  height: 100vh !important;
  height: 100dvh !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  position: relative !important;
}

@media (min-width: 800px) {

  .page-dashboard .login-page-main,
  .page-dashboard .workstation-login-section {
    overflow: hidden !important;
  }
}

.page-dashboard .site-footer,
html.page-login-active .site-footer,
body:has(.page-dashboard) .site-footer {
  display: none !important;
}



/* =====================================================================
   HOME PAGE DOWNSTREAM SECTIONS & NATURAL SCROLLING
   ===================================================================== */
.home-productivity {
  width: 100% !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding: 120px 28px !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 5 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.home-productivity .inner {
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr !important;
  gap: 60px !important;
  align-items: center !important;
  width: 100% !important;
}

@media (max-width: 900px) {
  .home-productivity .inner {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}

.home-productivity .heading-wrapper .eyebrow {
  font-family: "Archivo Narrow", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 1.04px !important;
  color: #C3772C !important;
  text-transform: uppercase !important;
  margin-bottom: 16px !important;
  display: block !important;
}

.home-productivity .heading-wrapper .title {
  font-family: Archivo, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: clamp(32px, 4vw, 56px) !important;
  font-weight: 500 !important;
  color: #EEEEEF !important;
  line-height: 1.15 !important;
  margin: 0 0 20px 0 !important;
}

.home-productivity .heading-wrapper .description {
  font-family: Archivo, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: rgba(238, 238, 240, 0.7) !important;
  margin: 0 !important;
}

.home-productivity .card-productivity {
  background: rgba(238, 238, 240, 0.04) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 20px 24px !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 80px !important;
  transition: border-color 0.25s ease, background-color 0.25s ease !important;
}

.home-productivity .card-productivity:hover {
  background: rgba(238, 238, 240, 0.08) !important;
  border-color: rgba(195, 119, 44, 0.4) !important;
}

.home-productivity .card-productivity .eyebrow {
  font-family: "Archivo Narrow", sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.5) !important;
  margin-right: 16px !important;
}

.home-productivity .card-productivity .title {
  font-family: Archivo, sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #EEEEEF !important;
  flex-grow: 1 !important;
}

.home-productivity .card-productivity .image {
  height: 44px !important;
  width: auto !important;
  object-fit: contain !important;
}

.home-propositions {
  width: 100% !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding: 100px 28px 140px 28px !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 5 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}



/* ZERO NAVBAR HORSE LOGO (ORIGINAL CLEAN HEADER DESIGN) */
a.site-header-logo-link,
.site-header .site-header-logo-link,
.site-header .navbar .site-header-logo-link,
.navbar a.site-header-logo-link,
.site-header a.logo,
img.header-logo-img,
.site-header .site-header-logo-link img,
.navbar a.site-header-logo-link img,
.site-header img.header-logo-img,
.site-header a.logo img,
.site-header .colophon__logo {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════════
   HEADER BUTTONS: EXACT SAME PILL DESIGN & ROLLING EFFECT
   ═══════════════════════════════════════════════════════════════════ */
.site-header .navbar {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  width: 100% !important;
  padding: 0 28px !important;
  box-sizing: border-box !important;
}

.site-header .menu-start {
  display: none !important;
}

.site-header .menu.desktop-only {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 2px !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
  pointer-events: auto !important;
}

padding: 0 !important;
list-style: none !important;
}

/* Base styling for ALL header buttons */
.site-header .ui-button {
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  font-family: Archivo Narrow, "Archivo Narrow Fallback: Arial", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  gap: 2px !important;
  letter-spacing: 1.04px !important;
  line-height: 1.4 !important;
  overflow: hidden !important;
  pointer-events: auto !important;
  position: relative !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  user-select: none !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  background: transparent !important;
}

/* Pill Content Structure */
.site-header .ui-button>.content {
  align-items: center !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  overflow: hidden !important;
  height: 34px !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  font-family: Archivo Narrow, "Archivo Narrow Fallback: Arial", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 1.04px !important;
  transition: background-color 0.25s cubic-bezier(0.45, 0, 0.55, 1) !important;
}

/* Double-Span Text Container for Rolling Animation */
.site-header .ui-button>.content>* {
  align-items: center !important;
  display: flex !important;
  flex-shrink: 0 !important;
  height: 100% !important;
  justify-content: center !important;
  transition: transform 0.5s cubic-bezier(0.85, 0, 0.15, 1) !important;
}

/* Hover Rolling Animation on ALL Header Buttons (Left & Right) */
@media (min-width: 800px) {

  .site-header .ui-button:hover>.content>*,
  .site-header .ui-button:is(a:hover *)>.content>* {
    transform: translateY(-100%) !important;
  }
}

/* Dark Theme Colors */
html:not(.theme-light) .site-header .ui-button>.content,
html:not(.theme-light) .site-header .ui-button>.icon,
html.theme-dark .site-header .ui-button>.content,
html.theme-dark .site-header .ui-button>.icon {
  background-color: rgba(238, 238, 240, 0.1) !important;
  color: #f0f2f5 !important;
}

html:not(.theme-light) .site-header .ui-button:hover>.content,
html:not(.theme-light) .site-header .ui-button:hover>.icon,
html.theme-dark .site-header .ui-button:hover>.content,
html.theme-dark .site-header .ui-button:hover>.icon {
  background-color: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}

/* Light Theme Colors */
html.theme-light .site-header .ui-button>.content,
html.theme-light .site-header .ui-button>.icon {
  background-color: rgba(0, 0, 0, 0.08) !important;
  color: #000000 !important;
}

html.theme-light .site-header .ui-button:hover>.content,
html.theme-light .site-header .ui-button:hover>.icon {
  background-color: rgba(0, 0, 0, 0.16) !important;
  color: #000000 !important;
}

html.theme-light .site-header .ui-button .icon .svg-mask {
  background-color: #000000 !important;
}

html:not(.theme-light) .site-header .ui-button .icon .svg-mask {
  background-color: #ffffff !important;
}

/* Home Page Middle-Left CTA: Arrow & Horse Logo are strictly 100% pure white across ALL themes */
.hero-middle-left-ctas .ui-button .icon .svg-mask,
.hero-middle-left-ctas .ui-button:hover .icon .svg-mask,
html.theme-light .hero-middle-left-ctas .ui-button .icon .svg-mask,
html.theme-dark .hero-middle-left-ctas .ui-button .icon .svg-mask,
:is(.theme-light, [data-theme="light"]) .hero-middle-left-ctas .ui-button .icon .svg-mask {
  background-color: #ffffff !important;
  color: #ffffff !important;
}

.hero-middle-left-ctas .nav-btn-horse-logo,
.hero-middle-left-ctas .ui-button:hover .nav-btn-horse-logo,
html.theme-light .hero-middle-left-ctas .nav-btn-horse-logo,
html.theme-dark .hero-middle-left-ctas .nav-btn-horse-logo,
:is(.theme-light, [data-theme="light"]) .hero-middle-left-ctas .nav-btn-horse-logo {
  filter: none !important;
  opacity: 1 !important;
}

/* Arabic (RTL) Layout & Authentic Dual Typography: English text uses Archivo / Archivo Narrow; Arabic uses Aref Ruqaa */
html[dir="rtl"],
html.lang-ar,
body.lang-ar,
html[dir="rtl"] body,
html.lang-ar body {
  direction: rtl !important;
  text-align: right !important;
  font-family: 'Aref Ruqaa', "Archivo Narrow", Archivo, -apple-system, sans-serif !important;
  font-weight: 700 !important;
}

html[dir="rtl"] *:not([lang="en"]):not(.en-text):not(.latin-text):not(#mckvay-brand-intro-master-overlay):not(.mckvay-brand-intro-master-overlay):not(.mckvay-intro-typography):not(.mckvay-intro-line):not(.mckvay-solid-text):not(.mckvay-empty-text):not(.mckvay-sweep-text),
html.lang-ar *:not([lang="en"]):not(.en-text):not(.latin-text):not(#mckvay-brand-intro-master-overlay):not(.mckvay-brand-intro-master-overlay):not(.mckvay-intro-typography):not(.mckvay-intro-line):not(.mckvay-solid-text):not(.mckvay-empty-text):not(.mckvay-sweep-text) {
  font-family: 'Aref Ruqaa', "Archivo Narrow", Archivo, sans-serif !important;
}

/* Intro Typography: Strictly preserve iconic dark-mode Butler font across ALL languages & RTL */
#mckvay-brand-intro-master-overlay,
#mckvay-brand-intro-master-overlay *,
.mckvay-brand-intro-master-overlay,
.mckvay-brand-intro-master-overlay *,
.mckvay-intro-typography,
.mckvay-intro-typography *,
.mckvay-intro-line,
.mckvay-intro-line *,
.mckvay-solid-text,
.mckvay-empty-text,
.mckvay-sweep-text,
html.lang-ar #mckvay-brand-intro-master-overlay,
html.lang-ar #mckvay-brand-intro-master-overlay *,
html.lang-ar .mckvay-brand-intro-master-overlay,
html.lang-ar .mckvay-brand-intro-master-overlay *,
html.lang-ar .mckvay-intro-typography,
html.lang-ar .mckvay-intro-typography *,
html[dir="rtl"] #mckvay-brand-intro-master-overlay,
html[dir="rtl"] #mckvay-brand-intro-master-overlay *,
html[dir="rtl"] .mckvay-brand-intro-master-overlay,
html[dir="rtl"] .mckvay-brand-intro-master-overlay *,
html[dir="rtl"] .mckvay-intro-typography,
html[dir="rtl"] .mckvay-intro-typography * {
  font-family: 'Butler', Georgia, 'Times New Roman', serif !important;
  direction: ltr !important;
  text-align: center !important;
}

html.lang-ar .opportunity-title,
html.lang-ar .invite-title,
html.page-opportunity-active.lang-ar .opportunity-title,
html.page-invite-active.lang-ar .opportunity-title,
html.page-invite-active.lang-ar .invite-title,
html[dir="rtl"] .opportunity-title,
html[dir="rtl"] .invite-title,
html.lang-ar .opportunity-restricted-hero h1,
html[dir="rtl"] .opportunity-restricted-hero h1 {
  font-family: 'Aref Ruqaa', "Archivo Narrow", Archivo, sans-serif !important;
  letter-spacing: 0 !important;
}

html.lang-ar .opportunity-subtitle,
html.lang-ar .invite-subtitle,
html.page-opportunity-active.lang-ar .opportunity-subtitle,
html.page-invite-active.lang-ar .opportunity-subtitle,
html.page-invite-active.lang-ar .invite-subtitle,
html[dir="rtl"] .opportunity-subtitle,
html[dir="rtl"] .invite-subtitle,
html.lang-ar .opportunity-restricted-hero p,
html[dir="rtl"] .opportunity-restricted-hero p {
  font-family: 'Aref Ruqaa', "Archivo Narrow", Archivo, sans-serif !important;
  letter-spacing: 0 !important;
}

/* Explicit English/Latin typography preservation in Arabic mode */
html.lang-ar [lang="en"],
html.lang-ar .en-text,
html.lang-ar .latin-text,
html[dir="rtl"] [lang="en"],
html[dir="rtl"] .en-text,
html[dir="rtl"] .latin-text,
html.lang-ar .theme-label,
html.lang-ar .lang-label,
html.lang-ar .opportunity-title .en-text,
html.lang-ar .invite-title .en-text,
html.lang-ar .hero-middle-left-ctas .ui-button .content span {
  font-family: "Archivo Narrow", "Archivo Narrow Fallback: Arial", Archivo, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  letter-spacing: -0.015em !important;
}

html.lang-ar .site-header .menu .ui-button .content span,
html.lang-ar .site-header .menu .ui-button .content .nav-label,
html.lang-ar .site-header .menu .theme-toggle-btn .content span,
html.lang-ar .site-header .menu .lang-toggle-btn .content span,
html[dir="rtl"] .site-header .menu .ui-button .content span {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 34px !important;
  letter-spacing: 0 !important;
}

html.lang-ar .hero-middle-left-ctas .ui-button .content span,
html[dir="rtl"] .hero-middle-left-ctas .ui-button .content span {
  font-size: 16.5px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

html.lang-ar .opportunity-title,
html.lang-ar .opportunity-restricted-hero h1,
html.lang-ar .page-about h1,
html.lang-ar .about-hero h1,
html[dir="rtl"] .opportunity-restricted-hero h1 {
  font-size: clamp(32px, min(4.6vw, 5.8vh), 58px) !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
}

@media (max-width: 600px) {

  html.lang-ar .opportunity-title,
  html.lang-ar .opportunity-restricted-hero h1,
  html[dir="rtl"] .opportunity-restricted-hero h1 {
    font-size: clamp(22px, 6vw, 32px) !important;
    line-height: 1.35 !important;
  }
}

html.lang-ar .opportunity-subtitle,
html.lang-ar .opportunity-restricted-hero p,
html.lang-ar .page-about p,
html[dir="rtl"] .opportunity-restricted-hero p {
  font-size: clamp(16px, min(2.0vw, 2.4vh), 22px) !important;
  font-weight: 600 !important;
  line-height: 1.55 !important;
}

@media (max-width: 600px) {

  html.lang-ar .opportunity-subtitle,
  html.lang-ar .opportunity-restricted-hero p,
  html[dir="rtl"] .opportunity-restricted-hero p {
    font-size: clamp(12px, 3.8vw, 16px) !important;
    line-height: 1.5 !important;
  }
}

html.lang-ar .site-footer .footer-newsletter .title,
html.lang-ar .site-footer .storyblok-content,
html.lang-ar .site-footer .links a,
html[dir="rtl"] .site-footer .links a {
  font-size: 15.5px !important;
  font-weight: 700 !important;
}

html[dir="rtl"] .site-header .menu.desktop-only {
  margin-left: 0 !important;
  margin-right: auto !important;
}

html[dir="rtl"] .hero-middle-left-ctas,
html.lang-ar .hero-middle-left-ctas {
  left: auto !important;
  right: 28px !important;
  align-items: flex-start !important;
  text-align: right !important;
}

html[dir="rtl"] .hero-middle-left-ctas .ui-button,
html.lang-ar .hero-middle-left-ctas .ui-button {
  align-self: flex-start !important;
  text-align: right !important;
}

html[dir="rtl"] .ui-button .icon .svg-mask {
  transform: scaleX(-1) !important;
}

/* Arabic (RTL) Footer Master Architectural Layout: Symmetrical, Centered, Professional */
html.lang-ar .site-footer,
html[dir="rtl"] .site-footer {
  direction: rtl !important;
  text-align: right !important;
  width: 100% !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

html.lang-ar .site-footer .layout-grid,
html[dir="rtl"] .site-footer .layout-grid {
  direction: rtl !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  padding-left: var(--layout-margin, 28px) !important;
  padding-right: var(--layout-margin, 28px) !important;
}

html.lang-ar .site-footer .newsletter-wrapper,
html[dir="rtl"] .site-footer .newsletter-wrapper,
html.lang-ar .site-footer .navigation-wrapper,
html[dir="rtl"] .site-footer .navigation-wrapper,
html.lang-ar .site-footer .socials-wrapper,
html[dir="rtl"] .site-footer .socials-wrapper {
  padding-top: 22px !important;
  padding-bottom: 28px !important;
  padding-left: 28px !important;
  padding-right: 28px !important;
  box-sizing: border-box !important;
}

html.lang-ar .site-footer .brand-subtext,
html[dir="rtl"] .site-footer .brand-subtext {
  text-align: right !important;
  margin: 14px 0 24px 0 !important;
  max-width: 340px !important;
  line-height: 1.6 !important;
}

html.lang-ar .site-footer .colophon-content,
html[dir="rtl"] .site-footer .colophon-content {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  justify-content: flex-start !important;
  text-align: right !important;
}

html.lang-ar .site-footer .legal-menu,
html[dir="rtl"] .site-footer .legal-menu {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 16px !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  margin: 0 !important;
}

html.lang-ar .site-footer .back-to-top,
html[dir="rtl"] .site-footer .back-to-top {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  justify-content: flex-start !important;
}

/* Strict Home Page Video-Only Isolation */
.page-index .home-productivity,
.page-index .home-propositions,
.page-index .home-banner,
.page-index .home-opportunity,
.page-index .home_news,
.page-index .home_faq,
.page-index .site-footer {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html.page-index,
body.page-index,
.page-index #site,
.page-index .page-wrapper,
.page-index main {
  height: 100vh !important;
  min-height: 100vh !important;
  max-height: 100vh !important;
  overflow: hidden !important;
}

/* ═══════════════════════════════════════════════════════════════════
   1. OPPORTUNITY & INVITE PAGES: PERFECT VIEWPORT FIT ON DESKTOP
   ZERO SCROLLING, ZERO OVERFLOW, FOOTER ANCHORED AT EXACT BOTTOM
   ═══════════════════════════════════════════════════════════════════ */
@media (min-width: 800px) {

  html.page-opportunity-active,
  html.page-opportunity-active body,
  html.page-opportunity-active #site,
  html.page-opportunity-active .lenis,
  html.page-opportunity-active .container,
  html.page-invite-active,
  html.page-invite-active body,
  html.page-invite-active #site,
  html.page-invite-active .lenis,
  html.page-invite-active .container {
    height: 100vh !important;
    height: 100lvh !important;
    max-height: 100vh !important;
    max-height: 100lvh !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html.page-opportunity-active .container,
  html.page-invite-active .container {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100vh !important;
    height: 100lvh !important;
    box-sizing: border-box !important;
  }

  html.page-opportunity-active .page-wrapper,
  html.page-invite-active .page-wrapper {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  html.page-opportunity-active .page-opportunity,
  html.page-opportunity-active .opportunity-screen-main,
  html.page-invite-active .page-opportunity,
  html.page-invite-active .opportunity-screen-main,
  html.page-invite-active .page-invite {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 0 !important;
    padding: 0 24px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  html.page-opportunity-active .opportunity-restricted-hero,
  html.page-invite-active .opportunity-restricted-hero {
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   OPPORTUNITY & INVITE SMOOTH ENTRANCE ANIMATIONS (Hero Text, Header & Footer)
   ───────────────────────────────────────────────────────────────────────────── */
@keyframes mckvSmoothEntranceHero {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
    filter: blur(6px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes mckvSmoothEntranceHeader {
  0% {
    opacity: 0;
    transform: translateY(-16px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mckvSmoothEntranceFooter {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

html.page-opportunity-active .site-header,
html.page-invite-active .site-header {
  flex: 0 0 auto !important;
  animation: mckvSmoothEntranceHeader 0.85s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

html.page-opportunity-active .opportunity-message-container,
html.page-invite-active .opportunity-message-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: clamp(18px, 3vh, 32px) !important;
  max-width: min(96vw, 1380px) !important;
  width: 96% !important;
  margin: 0 auto !important;
  padding: 0 clamp(16px, 3vw, 32px) !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 5 !important;
  animation: mckvSmoothEntranceHero 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both !important;
}

html.page-opportunity-active .opportunity-title,
html.page-invite-active .opportunity-title,
.opportunity-title,
.invite-title {
  font-family: Archivo, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: clamp(34px, min(4.8vw, 6.2vh), 66px) !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.025em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  word-wrap: normal !important;
}

.opportunity-title .title-line-1,
.invite-title .title-line-1 {
  display: block !important;
  white-space: nowrap !important;
}

.opportunity-title .title-line-2,
.invite-title .title-line-2 {
  display: block !important;
  white-space: nowrap !important;
  margin-top: 0.10em !important;
}

@media (max-width: 720px) {

  .opportunity-title .title-line-1,
  .invite-title .title-line-1,
  .opportunity-title .title-line-2,
  .invite-title .title-line-2 {
    white-space: normal !important;
  }
}

html.lang-ar .opportunity-title,
html.lang-ar .invite-title,
html.page-opportunity-active.lang-ar .opportunity-title,
html.page-invite-active.lang-ar .opportunity-title,
html.page-invite-active.lang-ar .invite-title {
  font-family: 'Aref Ruqaa', "Archivo Narrow", Archivo, sans-serif !important;
  letter-spacing: 0 !important;
  font-size: clamp(32px, min(4.6vw, 5.8vh), 58px) !important;
  line-height: 1.35 !important;
  text-wrap: balance !important;
}

@media (max-width: 600px) {

  html.page-opportunity-active .opportunity-title,
  html.page-invite-active .opportunity-title,
  .opportunity-title,
  .invite-title {
    font-size: clamp(24px, 6.5vw, 34px) !important;
    line-height: 1.18 !important;
  }
}

html:not(.theme-light) .opportunity-title:not(.invite-title):not(.invite-red-notice) {
  color: #ffffff !important;
}

html.theme-light .opportunity-title:not(.invite-title):not(.invite-red-notice) {
  color: #0a0a0a !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   INVITE PAGE: MODERN SOPHISTICATED EDITORIAL RED (NOT CHEAP NEON / AI WAY)
   ───────────────────────────────────────────────────────────────────────────── */
html.page-invite-active .opportunity-title.invite-red-notice,
html.page-invite-active .invite-title.invite-red-notice,
html.page-invite-active h1.invite-red-notice,
html.page-invite-active .opportunity-title.invite-title,
html.page-invite-active .invite-title,
html.page-invite-active h1,
.invite-red-notice,
.page-invite-active .invite-title,
.page-invite-active h1,
.invite-title {
  color: #FF453A !important;
  -webkit-text-fill-color: #FF453A !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  text-shadow: none !important;
  white-space: nowrap !important;
  font-size: clamp(22px, 3.4vw, 48px) !important;
  letter-spacing: -0.02em !important;
}

@media (max-width: 799px) {
  html.page-invite-active .opportunity-title.invite-red-notice,
  html.page-invite-active .invite-title.invite-red-notice,
  html.page-invite-active h1.invite-red-notice,
  html.page-invite-active .opportunity-title.invite-title,
  html.page-invite-active .invite-title,
  html.page-invite-active h1,
  .invite-red-notice,
  .page-invite-active .invite-title,
  .page-invite-active h1,
  .invite-title {
    white-space: normal !important;
    text-wrap: balance !important;
    font-size: clamp(20px, 5.5vw, 28px) !important;
    line-height: 1.25 !important;
  }
}

html.theme-light.page-invite-active .opportunity-title.invite-red-notice,
html.theme-light.page-invite-active .invite-title.invite-red-notice,
html.theme-light.page-invite-active h1.invite-red-notice,
html.theme-light.page-invite-active .opportunity-title,
html.theme-light.page-invite-active .invite-title,
html.theme-light.page-invite-active h1,
html.theme-light .invite-red-notice {
  color: #991B1B !important;
  -webkit-text-fill-color: #991B1B !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  text-shadow: none !important;
}

html.page-opportunity-active .opportunity-subtitle,
html.page-invite-active .opportunity-subtitle,
.opportunity-subtitle,
.invite-subtitle {
  margin: 0 !important;
  font-family: Archivo Narrow, "Archivo Narrow Fallback: Arial", sans-serif !important;
  font-size: clamp(16px, min(2.1vw, 2.5vh), 23px) !important;
  font-weight: 600 !important;
  letter-spacing: 1.8px !important;
  line-height: 1.6 !important;
  text-transform: uppercase !important;
  text-align: center !important;
  text-wrap: balance !important;
  max-width: min(94vw, 980px) !important;
  width: 100% !important;
}

html.lang-ar .opportunity-subtitle,
html.lang-ar .invite-subtitle,
html.page-opportunity-active.lang-ar .opportunity-subtitle,
html.page-invite-active.lang-ar .opportunity-subtitle,
html.page-invite-active.lang-ar .invite-subtitle {
  font-family: 'Aref Ruqaa', "Archivo Narrow", Archivo, sans-serif !important;
  letter-spacing: 0 !important;
  font-size: clamp(16px, min(2.0vw, 2.4vh), 22px) !important;
  line-height: 1.55 !important;
}

@media (max-width: 600px) {

  html.page-opportunity-active .opportunity-subtitle,
  html.page-invite-active .opportunity-subtitle,
  .opportunity-subtitle,
  .invite-subtitle {
    font-size: clamp(13px, 3.8vw, 16px) !important;
    letter-spacing: 1.2px !important;
    line-height: 1.5 !important;
  }
}

html:not(.theme-light) .opportunity-subtitle,
html:not(.theme-light) .invite-subtitle {
  color: #ffffff !important;
}

html.theme-light .opportunity-subtitle,
html.theme-light .invite-subtitle {
  color: #0a0a0a !important;
}

/* Unified Expanding Underline Hover Interaction: Footer Nav, Connect & Inline CTAs */
.footer-menu-wrapper .menu .menu-link,
.navigation-wrapper .menu-link,
.socials-wrapper .menu-link,
.opportunity-inline-link {
  position: relative !important;
  display: inline-block !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: color 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease !important;
}

.footer-menu-wrapper .menu .menu-link::after,
.navigation-wrapper .menu-link::after,
.socials-wrapper .menu-link::after,
.opportunity-inline-link::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0px !important;
  left: 0 !important;
  width: 0 !important;
  height: 1.5px !important;
  background-color: currentColor !important;
  transition: width 0.26s cubic-bezier(0.16, 1, 0.3, 1) !important;
  pointer-events: none !important;
}

html[dir="rtl"] .footer-menu-wrapper .menu .menu-link::after,
html[dir="rtl"] .navigation-wrapper .menu-link::after,
html[dir="rtl"] .socials-wrapper .menu-link::after,
html[dir="rtl"] .opportunity-inline-link::after,
html.lang-ar .footer-menu-wrapper .menu .menu-link::after,
html.lang-ar .navigation-wrapper .menu-link::after,
html.lang-ar .socials-wrapper .menu-link::after,
html.lang-ar .opportunity-inline-link::after {
  left: auto !important;
  right: 0 !important;
}

.footer-menu-wrapper .menu .menu-link:hover::after,
.navigation-wrapper .menu-link:hover::after,
.socials-wrapper .menu-link:hover::after,
.opportunity-inline-link:hover::after {
  width: 100% !important;
}

.footer-menu-wrapper .menu .menu-link:hover,
.navigation-wrapper .menu-link:hover,
.socials-wrapper .menu-link:hover,
.opportunity-inline-link:hover,
html:not(.theme-light) .footer-menu-wrapper .menu .menu-link:hover,
html:not(.theme-light) .navigation-wrapper .menu-link:hover,
html:not(.theme-light) .socials-wrapper .menu-link:hover,
html:not(.theme-light) .opportunity-inline-link:hover,
html.theme-dark .footer-menu-wrapper .menu .menu-link:hover,
html.theme-dark .navigation-wrapper .menu-link:hover,
html.theme-dark .socials-wrapper .menu-link:hover,
html.theme-dark .opportunity-inline-link:hover {
  opacity: 1 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html.theme-light .footer-menu-wrapper .menu .menu-link:hover,
html.theme-light .navigation-wrapper .menu-link:hover,
html.theme-light .socials-wrapper .menu-link:hover,
html.theme-light .opportunity-inline-link:hover {
  opacity: 1 !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

html:not(.theme-light) .opportunity-inline-link,
html.theme-dark .opportunity-inline-link {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html.theme-light .opportunity-inline-link {
  color: #0a0a0a !important;
  -webkit-text-fill-color: #0a0a0a !important;
}

/* UNIFIED CONTINUOUS ARTWORK ACROSS ALL PAGES & FOOTERS (ZERO CUTOFFS, FULL ART) */
.site-footer,
.site-footer section,
.site-footer .footer-grid,
.site-footer .footer-menu-wrapper,
.site-footer .newsletter-wrapper,
.site-footer .navigation-wrapper,
.site-footer .socials-wrapper {
  background: transparent !important;
  background-color: transparent !important;
}

html.page-opportunity-active .site-footer,
html.page-invite-active .site-footer {
  flex: 0 0 auto !important;
  margin-top: auto !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border-top: none !important;
  animation: mckvSmoothEntranceFooter 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both !important;
}

html.page-opportunity-active .site-footer section,
html.page-opportunity-active .site-footer .footer-grid,
html.page-invite-active .site-footer section,
html.page-invite-active .site-footer .footer-grid {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
}

html.page-opportunity-active .site-footer .pre-footer-spacer,
html.page-invite-active .site-footer .pre-footer-spacer {
  display: none !important;
  height: 0 !important;
}

/* Footer Top Dashed Line Separator (Crisp & Restored Institutional Separation) */
.site-footer .svg-dashed-line.horizontal.line.top {
  opacity: 0.60 !important;
  display: block !important;
  visibility: visible !important;
}

html.page-opportunity-active .site-footer .svg-dashed-line.horizontal.line.top,
html.page-invite-active .site-footer .svg-dashed-line.horizontal.line.top {
  opacity: 0.65 !important;
  display: block !important;
  visibility: visible !important;
}

html:not(.theme-light) .site-footer .svg-dashed-line line,
html:not(.theme-light) .site-footer [id*="dashed-pattern"] line {
  stroke: rgba(255, 255, 255, 0.35) !important;
}

html.theme-light .site-footer .svg-dashed-line line,
html.theme-light .site-footer [id*="dashed-pattern"] line,
:is(.theme-light, [data-theme="light"]) .site-footer .svg-dashed-line line,
:is(.theme-light, [data-theme="light"]) .site-footer [id*="dashed-pattern"] line {
  stroke: rgba(0, 0, 0, 0.25) !important;
}

/* Footer Corner Pin Dots */
.site-footer .footer-grid.has-pin::before,
.site-footer .footer-grid.has-pin::after,
.site-footer .has-pin::before,
.site-footer .has-pin::after {
  display: block !important;
  opacity: 0.85 !important;
  visibility: visible !important;
}

html:not(.theme-light) .site-footer .has-pin::before,
html:not(.theme-light) .site-footer .has-pin::after {
  background-color: rgba(255, 255, 255, 0.80) !important;
}

html.theme-light .site-footer .has-pin::before,
html.theme-light .site-footer .has-pin::after,
:is(.theme-light, [data-theme="light"]) .site-footer .has-pin::before,
:is(.theme-light, [data-theme="light"]) .site-footer .has-pin::after {
  background-color: rgba(0, 0, 0, 0.65) !important;
}

/* Seamless Harmonized Footer Typography in Both Themes */
html.theme-light .site-footer,
html.theme-light .site-footer * {
  color: #1e293b !important;
}

html.theme-light .site-footer .brand-subtext,
html.theme-light .site-footer .colophon__text,
html.theme-light .site-footer .colophon__text p,
html.theme-light .site-footer .footer,
html.theme-light .site-footer .legal-link,
html.theme-light .site-footer .back-to-top {
  color: rgba(30, 41, 59, 0.72) !important;
}

html.theme-light .site-footer a:hover {
  color: #000000 !important;
}

html:not(.theme-light) .site-footer,
html:not(.theme-light) .site-footer * {
  color: rgba(255, 255, 255, 0.90) !important;
}

html:not(.theme-light) .site-footer .brand-subtext,
html:not(.theme-light) .site-footer .colophon__text,
html:not(.theme-light) .site-footer .colophon__text p,
html:not(.theme-light) .site-footer .footer,
html:not(.theme-light) .site-footer .legal-link,
html:not(.theme-light) .site-footer .back-to-top {
  color: rgba(255, 255, 255, 0.65) !important;
}

html:not(.theme-light) .site-footer a:hover {
  color: #ffffff !important;
}

/* ═══════════════════════════════════════════════════════════════════
   HOME PAGE MIDDLE-LEFT BUTTONS: PROMINENT & BIGGER (height 42px)
   Light & Dark Theme Master Design: Zero White Patches, Pure White Arrow & Horse
   ═══════════════════════════════════════════════════════════════════ */
.hero-middle-left-ctas {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  align-items: flex-start !important;
  position: absolute !important;
  left: 28px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 25 !important;
  pointer-events: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
}

html[dir="rtl"] .hero-middle-left-ctas,
html.lang-ar .hero-middle-left-ctas {
  left: auto !important;
  right: 28px !important;
  align-items: flex-start !important;
  text-align: right !important;
}

html[dir="rtl"] .hero-middle-left-ctas .ui-button,
html.lang-ar .hero-middle-left-ctas .ui-button {
  align-self: flex-start !important;
  text-align: right !important;
}

.hero-middle-left-ctas .ui-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  height: 42px !important;
  line-height: 42px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
  gap: 2px !important;
  overflow: hidden !important;
  pointer-events: auto !important;
  background: transparent !important;
  background-color: transparent !important;
}

/* Button Content Surface */
.hero-middle-left-ctas .ui-button>.content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  height: 42px !important;
  line-height: 42px !important;
  padding: 0 22px !important;
  font-size: 15px !important;
  letter-spacing: 1.1px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease !important;
}

.hero-middle-left-ctas .ui-button>.content>span,
.hero-middle-left-ctas .ui-button>.content>div,
.hero-middle-left-ctas .ui-button>.content>* {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  line-height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  width: 100% !important;
  transition: transform 0.5s cubic-bezier(0.85, 0, 0.15, 1) 0.07s !important;
}

.hero-middle-left-ctas .ui-button:hover>.content>* {
  transform: translateY(-42px) !important;
}

/* Icon Box Container */
.hero-middle-left-ctas .ui-button>.icon {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  transition: background-color 0.25s ease, border-color 0.25s ease !important;
}

.hero-middle-left-ctas .ui-button>.icon>span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  transition: transform 0.5s cubic-bezier(0.85, 0, 0.15, 1) 0.07s !important;
}

.hero-middle-left-ctas .ui-button:hover>.icon>span,
.hero-middle-left-ctas .ui-button.has-icon:hover .icon>span {
  transform: translateY(-42px) !important;
}

/* MANDATORY REQUIREMENT: Arrow & Horse Logo MUST BE PURE WHITE */
.hero-middle-left-ctas .ui-button .icon .svg-mask,
.hero-middle-left-ctas .ui-button:hover .icon .svg-mask,
html.theme-light .hero-middle-left-ctas .ui-button .icon .svg-mask,
html.theme-dark .hero-middle-left-ctas .ui-button .icon .svg-mask,
:is(.theme-light, [data-theme="light"]) .hero-middle-left-ctas .ui-button .icon .svg-mask {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  background-color: #ffffff !important;
  mask-image: url(/svgs/icoArrow-right.svg) !important;
  -webkit-mask-image: url(/svgs/icoArrow-right.svg) !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-position: center !important;
  -webkit-mask-position: center !important;
  mask-size: 18px 18px !important;
  -webkit-mask-size: 18px 18px !important;
}

.hero-middle-left-ctas .nav-btn-horse-logo,
.hero-middle-left-ctas .ui-button:hover .nav-btn-horse-logo,
html.theme-light .hero-middle-left-ctas .nav-btn-horse-logo,
html.theme-dark .hero-middle-left-ctas .nav-btn-horse-logo,
:is(.theme-light, [data-theme="light"]) .hero-middle-left-ctas .nav-btn-horse-logo {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  object-fit: contain !important;
  filter: none !important;
  /* Preserves crisp, authentic 100% white horse logo */
  opacity: 1 !important;
}

/* ═══════════════════════════════════════════════════════════════════
   2. WORKSTATION LOGIN PAGE UI DESIGN (PREMIUM INSTITUTIONAL INTERFACE)
   ═══════════════════════════════════════════════════════════════════ */
.login-page-main,
.page-dashboard {
  min-height: 100vh !important;
  height: 100vh !important;
  height: 100dvh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.workstation-login-section {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

@media (min-width: 800px) {
  .workstation-login-section {
    overflow: hidden !important;
  }
}

/* Master Floating Split Showcase Container */
.login-split-card-container {
  position: relative !important;
  width: 100% !important;
  max-width: 100vw !important;
  min-height: 100vh !important;
  height: 100vh !important;
  height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  transition: none !important;
}

/* Dark theme master card */
html:not(.theme-light) .login-split-card-container,
html.theme-dark .login-split-card-container {
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Light theme master card */
html.theme-light .login-split-card-container {
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Backward compatibility for single card container if referenced */
.login-card-container {
  position: relative !important;
  width: 100% !important;
  max-width: 440px !important;
  margin: 0 auto !important;
  padding: 46px 40px 38px 40px !important;
  box-sizing: border-box !important;
  border-radius: 16px !important;
}

/* Two-Column Split Layout */
.login-split-layout {
  display: grid !important;
  grid-template-columns: 46% 54% !important;
  min-height: 600px !important;
  box-sizing: border-box !important;
}

@media (max-width: 940px) {
  .login-split-layout {
    display: flex !important;
    flex-direction: column !important;
  }
}

/* Left Column: Form Side */
.login-form-col {
  padding: 56px 52px 48px 52px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

@media (max-width: 600px) {
  .login-form-col {
    padding: 30px 22px 28px 22px !important;
  }
}

.login-form-header {
  margin-bottom: 24px !important;
}

.login-brand-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 22px !important;
}

@media (max-width: 600px) {
  .login-brand-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
}

.login-brand-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
}

.login-brand-horse-logo {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain !important;
  display: block !important;
}

.login-brand-text {
  font-family: Archivo, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 1.2px !important;
}

html:not(.theme-light) .login-brand-text {
  color: #ffffff !important;
}

html.theme-light .login-brand-text {
  color: #0a0a0a !important;
}

.login-brand-divider {
  opacity: 0.35 !important;
  font-size: 13px !important;
}

.login-brand-sub {
  font-family: Archivo Narrow, "Archivo Narrow Fallback: Arial", sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  color: #C3772C !important;
}

/* Status Badge */
.terminal-status-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 4px 12px !important;
  border-radius: 9999px !important;
  font-family: Archivo Narrow, "Archivo Narrow Fallback: Arial", sans-serif !important;
  font-size: 10px !important;
  letter-spacing: 1.4px !important;
  text-transform: uppercase !important;
}

html:not(.theme-light) .terminal-status-badge {
  background: rgba(195, 119, 44, 0.12) !important;
  border: 1px solid rgba(195, 119, 44, 0.28) !important;
  color: #C3772C !important;
}

html.theme-light .terminal-status-badge {
  background: rgba(195, 119, 44, 0.10) !important;
  border: 1px solid rgba(195, 119, 44, 0.25) !important;
  color: #a05a18 !important;
}

.status-pulse-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background-color: #22c55e !important;
  box-shadow: 0 0 8px #22c55e !important;
  display: inline-block !important;
}

/* Corner Pins */
.login-card-pin {
  position: absolute !important;
  width: 6px !important;
  height: 6px !important;
  pointer-events: none !important;
  z-index: 10 !important;
}

html:not(.theme-light) .login-card-pin {
  background-color: #C3772C !important;
  box-shadow: 0 0 6px rgba(195, 119, 44, 0.6) !important;
}

html.theme-light .login-card-pin {
  background-color: #0a0a0a !important;
}

.login-card-pin.pin-tl {
  top: 10px;
  left: 10px;
}

.login-card-pin.pin-tr {
  top: 10px;
  right: 10px;
}

.login-card-pin.pin-bl {
  bottom: 10px;
  left: 10px;
}

.login-card-pin.pin-br {
  bottom: 10px;
  right: 10px;
}

/* Login Title Group */
.login-title-group {
  margin-bottom: 8px !important;
}

.login-eyebrow {
  display: block !important;
  font-family: Archivo Narrow, "Archivo Narrow Fallback: Arial", sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 1.8px !important;
  text-transform: uppercase !important;
  color: #C3772C !important;
  margin-bottom: 6px !important;
}

.login-title {
  font-family: "Archivo Narrow", "Archivo Narrow Fallback: Arial", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  letter-spacing: -0.3px !important;
  text-transform: uppercase !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.2 !important;
}

html:not(.theme-light) .login-title {
  color: #ffffff !important;
}

html.theme-light .login-title {
  color: #0a0a0a !important;
}

.login-subtitle {
  font-family: Archivo, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  opacity: 0.65 !important;
}

html:not(.theme-light) .login-subtitle {
  color: rgba(255, 255, 255, 0.72) !important;
}

html.theme-light .login-subtitle {
  color: rgba(10, 10, 10, 0.65) !important;
}

/* Form Elements */
.login-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.login-field-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  text-align: left !important;
}

html[dir="rtl"] .login-field-group {
  text-align: right !important;
}

.login-label {
  font-family: Archivo Narrow, "Archivo Narrow Fallback: Arial", sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 1.3px !important;
  text-transform: uppercase !important;
}

html:not(.theme-light) .login-label {
  color: rgba(255, 255, 255, 0.65) !important;
}

html.theme-light .login-label {
  color: rgba(0, 0, 0, 0.65) !important;
}

.login-input-wrapper {
  position: relative !important;
  width: 100% !important;
}

.login-input-icon {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0.55 !important;
  transition: opacity 0.2s ease !important;
}

html:not(.theme-light) .login-input-icon {
  color: #C3772C !important;
}

html.theme-light .login-input-icon {
  color: #8F4F13 !important;
}

html[dir="rtl"] .login-input-icon {
  left: auto !important;
  right: 14px !important;
}

.login-input {
  width: 100% !important;
  height: 44px !important;
  box-sizing: border-box !important;
  padding: 0 16px !important;
  font-family: Archivo, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 14px !important;
  border-radius: 8px !important;
  outline: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.login-input-wrapper.with-icon .login-input {
  padding-left: 42px !important;
}

html[dir="rtl"] .login-input-wrapper.with-icon .login-input {
  padding-left: 16px !important;
  padding-right: 42px !important;
}

.login-input-wrapper.with-action .login-input {
  padding-right: 42px !important;
}

html[dir="rtl"] .login-input-wrapper.with-action .login-input {
  padding-right: 16px !important;
  padding-left: 42px !important;
}

html[dir="rtl"] .login-input-wrapper.with-icon.with-action .login-input {
  padding-right: 42px !important;
  padding-left: 42px !important;
}

html:not(.theme-light) .login-input {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

html:not(.theme-light) .login-input::placeholder {
  color: rgba(255, 255, 255, 0.3) !important;
}

html:not(.theme-light) .login-input:focus {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: #C3772C !important;
  box-shadow: 0 0 0 3px rgba(195, 119, 44, 0.25) !important;
}

html.theme-light .login-input {
  background: rgba(0, 0, 0, 0.03) !important;
  border: 1px solid rgba(0, 0, 0, 0.14) !important;
  color: #0a0a0a !important;
}

html.theme-light .login-input::placeholder {
  color: rgba(0, 0, 0, 0.38) !important;
}

html.theme-light .login-input:focus {
  background: #ffffff !important;
  border-color: #C3772C !important;
  box-shadow: 0 0 0 3px rgba(195, 119, 44, 0.18) !important;
}

/* Password View/Hide Action Button */
.login-input-action-btn {
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  padding: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0.55 !important;
  transition: opacity 0.2s ease, transform 0.15s ease !important;
  border-radius: 4px !important;
}

html:not(.theme-light) .login-input-action-btn {
  color: #ffffff !important;
}

html.theme-light .login-input-action-btn {
  color: #0a0a0a !important;
}

html[dir="rtl"] .login-input-action-btn {
  right: auto !important;
  left: 10px !important;
}

.login-input-action-btn:hover {
  opacity: 1 !important;
  transform: translateY(-50%) scale(1.08) !important;
}

/* Utility Row: Remember Workstation & Recovery */
.login-utility-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: -2px !important;
  margin-bottom: 2px !important;
  font-size: 12px !important;
}

.login-remember-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  user-select: none !important;
  font-family: Archivo, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 12px !important;
  opacity: 0.78 !important;
}

html:not(.theme-light) .login-remember-label {
  color: #e5e5e5 !important;
}

html.theme-light .login-remember-label {
  color: #333333 !important;
}

.login-checkbox {
  width: 15px !important;
  height: 15px !important;
  accent-color: #C3772C !important;
  cursor: pointer !important;
  border-radius: 3px !important;
}

.login-recovery-link {
  font-family: Archivo, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 12px !important;
  color: #C3772C !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: opacity 0.2s ease, color 0.2s ease !important;
}

.login-recovery-link:hover {
  opacity: 0.8 !important;
  text-decoration: underline !important;
}

/* Submit Action Button */
.login-actions {
  margin-top: 4px !important;
  width: 100% !important;
}

.login-submit-btn {
  width: 100% !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  font-family: Archivo Narrow, "Archivo Narrow Fallback: Arial", sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 1.4px !important;
  text-transform: uppercase !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.login-submit-btn .content {
  width: 100% !important;
  height: 44px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  transition: transform 0.5s cubic-bezier(0.85, 0, 0.15, 1) 0s !important;
}

.login-submit-btn .content>* {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 44px !important;
  width: 100% !important;
  transition: transform 0.5s cubic-bezier(0.85, 0, 0.15, 1) 0.07s !important;
}

.login-submit-btn:hover .content>* {
  transform: translateY(-100%) !important;
}

html:not(.theme-light) .login-submit-btn .content,
html:not(.theme-light) .login-submit-btn .content * {
  background-color: #C3772C !important;
  color: #ffffff !important;
}

html:not(.theme-light) .login-submit-btn:hover .content,
html:not(.theme-light) .login-submit-btn:hover .content * {
  background-color: #d98835 !important;
  color: #ffffff !important;
}

html.theme-light .login-submit-btn .content,
html.theme-light .login-submit-btn .content * {
  background-color: #0a0a0a !important;
  color: #ffffff !important;
}

html.theme-light .login-submit-btn:hover .content,
html.theme-light .login-submit-btn:hover .content * {
  background-color: #262626 !important;
  color: #ffffff !important;
}

/* Status / Feedback message */
.login-status-message {
  padding: 10px 14px !important;
  border-radius: 6px !important;
  font-family: Archivo, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 12px !important;
  text-align: center !important;
  line-height: 1.4 !important;
  transition: all 0.25s ease !important;
}

.login-status-message.info {
  background: rgba(195, 119, 44, 0.12) !important;
  border: 1px solid rgba(195, 119, 44, 0.3) !important;
  color: #C3772C !important;
}

.login-status-message.success {
  background: rgba(34, 197, 94, 0.12) !important;
  border: 1px solid rgba(34, 197, 94, 0.3) !important;
  color: #22c55e !important;
}

/* Institutional SSO / Direct Verification Section */
.login-sso-section {
  margin-top: 14px !important;
}

.login-sso-divider {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
}

.login-sso-divider .divider-line {
  flex: 1 !important;
  height: 1px !important;
}

html:not(.theme-light) .login-sso-divider .divider-line {
  background: rgba(255, 255, 255, 0.08) !important;
}

html.theme-light .login-sso-divider .divider-line {
  background: rgba(0, 0, 0, 0.08) !important;
}

.login-sso-divider .divider-label {
  font-family: Archivo Narrow, "Archivo Narrow Fallback: Arial", sans-serif !important;
  font-size: 10px !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  opacity: 0.55 !important;
}

.login-sso-buttons {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px !important;
}

.sso-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  height: 38px !important;
  border-radius: 8px !important;
  font-family: Archivo, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  padding: 0 10px !important;
}

html:not(.theme-light) .sso-btn {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  color: #e5e5e5 !important;
}

html:not(.theme-light) .sso-btn:hover {
  background: rgba(195, 119, 44, 0.12) !important;
  border-color: #C3772C !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

html.theme-light .sso-btn {
  background: rgba(0, 0, 0, 0.03) !important;
  border: 1px solid rgba(0, 0, 0, 0.10) !important;
  color: #1a1a1a !important;
}

html.theme-light .sso-btn:hover {
  background: rgba(195, 119, 44, 0.08) !important;
  border-color: #C3772C !important;
  color: #8F4F13 !important;
  transform: translateY(-1px) !important;
}

.sso-btn svg {
  flex-shrink: 0 !important;
}

/* Card Footer */
.login-card-footer {
  margin-top: 18px !important;
  padding-top: 14px !important;
  text-align: center !important;
}

html:not(.theme-light) .login-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

html.theme-light .login-card-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.login-note {
  font-family: Archivo Narrow, "Archivo Narrow Fallback: Arial", sans-serif !important;
  font-size: 10px !important;
  letter-spacing: 1.4px !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  opacity: 0.52 !important;
}

/* ═══════════════════════════════════════════════════════════════════
   RIGHT COLUMN: FULL & STATIC VISUAL SHOWCASE
   ═══════════════════════════════════════════════════════════════════ */
.login-showcase-col {
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  box-sizing: border-box !important;
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 600px !important;
}

@media (max-width: 940px) {
  .login-showcase-col {
    padding: 0 !important;
    min-height: 440px !important;
  }
}

.showcase-inner-card {
  width: 100% !important;
  height: 100% !important;
  min-height: 600px !important;
  border-radius: 0 !important;
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 48px 44px !important;
  box-sizing: border-box !important;
}

@media (max-width: 940px) {
  .showcase-inner-card {
    min-height: 440px !important;
    padding: 36px 24px !important;
  }
}

.showcase-static-content {
  position: relative !important;
  z-index: 3 !important;
}

/* Landscape Art Layer */
.showcase-art-layer {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  overflow: hidden !important;
}

.showcase-ambient-glow {
  position: absolute !important;
  inset: 0 !important;
  background: radial-gradient(circle at 75% 25%, rgba(235, 145, 50, 0.35) 0%, transparent 60%) !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

.showcase-sand-dunes-svg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
}

.showcase-landscape-svg {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

/* Text Protection Dark Gradient Overlay Disabled to keep video crystal-clear */
.showcase-inner-card::after,
.showcase-inner-card::before {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Top Meta Row inside Showcase */
.showcase-top-meta {
  position: relative !important;
  z-index: 3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.showcase-tag {
  font-family: Archivo Narrow, "Archivo Narrow Fallback: Arial", sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  color: rgba(255, 255, 255, 0.85) !important;
  background: rgba(0, 0, 0, 0.4) !important;
  padding: 4px 10px !important;
  border-radius: 9999px !important;
  -webkit-backdrop-filter: blur(10px) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.showcase-live-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: Archivo Narrow, "Archivo Narrow Fallback: Arial", sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  color: #ffbe76 !important;
  background: rgba(0, 0, 0, 0.4) !important;
  padding: 4px 10px !important;
  border-radius: 9999px !important;
  -webkit-backdrop-filter: blur(10px) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(195, 119, 44, 0.3) !important;
}

.showcase-live-pill .pulse-ring {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #22c55e !important;
  box-shadow: 0 0 6px #22c55e !important;
}

/* Carousel Wrap & Slides */
.showcase-carousel-wrap {
  position: relative !important;
  z-index: 3 !important;
  margin-top: auto !important;
  margin-bottom: 20px !important;
  min-height: 120px !important;
}

.showcase-slide {
  display: none !important;
  opacity: 0 !important;
  transform: translateY(8px) !important;
  transition: opacity 0.4s ease, transform 0.4s ease !important;
}

.showcase-slide.active {
  display: block !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.slide-eyebrow {
  display: block !important;
  font-family: Archivo Narrow, "Archivo Narrow Fallback: Arial", sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 2.4px !important;
  text-transform: uppercase !important;
  color: #ffbe76 !important;
  margin-bottom: 12px !important;
}

.slide-headline {
  font-family: Archivo, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  letter-spacing: -0.6px !important;
  color: #ffffff !important;
  line-height: 1.25 !important;
  margin: 0 0 12px 0 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75) !important;
  max-width: 520px !important;
}

.slide-desc {
  font-family: Archivo, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.88) !important;
  margin: 0 !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65) !important;
  max-width: 480px !important;
}

/* Showcase Bottom Controls */
.showcase-bottom-controls {
  position: relative !important;
  z-index: 3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.showcase-dots {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.showcase-dots .dot {
  width: 22px !important;
  height: 3px !important;
  border-radius: 2px !important;
  background: rgba(255, 255, 255, 0.35) !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 0 !important;
  margin: 0 !important;
}

.showcase-dots .dot.active {
  background: #ffffff !important;
  width: 34px !important;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5) !important;
}

.showcase-arrows {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.arrow-btn {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: rgba(0, 0, 0, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
}

.arrow-btn:hover {
  background: #C3772C !important;
  border-color: #C3772C !important;
  transform: scale(1.08) !important;
}

/* Light Mode Overrides for Showcase Landscape & Art Layer */
html.theme-light .showcase-landscape-svg .sky-stop-top {
  stop-color: #faf2ea !important;
}

html.theme-light .showcase-landscape-svg .sky-stop-mid {
  stop-color: #ebd7c2 !important;
}

html.theme-light .showcase-landscape-svg .sky-stop-bot {
  stop-color: #d1ad88 !important;
}

html.theme-light .showcase-landscape-svg .sun-stop-1 {
  stop-color: #ffa84d !important;
}

html.theme-light .showcase-landscape-svg .sun-stop-2 {
  stop-color: #c3772c !important;
}

html.theme-light .showcase-landscape-svg .sun-stop-3 {
  stop-color: #ebd7c2 !important;
}

html.theme-light .showcase-landscape-svg .dune-base {
  fill: #4a2108 !important;
}

/* Force Showcase Headline & Body Contrast in all themes */
.showcase-inner-card .slide-headline,
html.theme-light .showcase-inner-card .slide-headline,
html:not(.theme-light) .showcase-inner-card .slide-headline,
html.lang-ar .showcase-inner-card .slide-headline,
html[dir="rtl"] .showcase-inner-card .slide-headline {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.showcase-inner-card .slide-desc,
html.theme-light .showcase-inner-card .slide-desc,
html:not(.theme-light) .showcase-inner-card .slide-desc,
html.lang-ar .showcase-inner-card .slide-desc,
html[dir="rtl"] .showcase-inner-card .slide-desc {
  color: rgba(255, 255, 255, 0.88) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.88) !important;
}

.showcase-inner-card .slide-eyebrow,
html.theme-light .showcase-inner-card .slide-eyebrow,
html:not(.theme-light) .showcase-inner-card .slide-eyebrow,
html.lang-ar .showcase-inner-card .slide-eyebrow,
html[dir="rtl"] .showcase-inner-card .slide-eyebrow {
  color: #ffbe76 !important;
  -webkit-text-fill-color: #ffbe76 !important;
}

/* Gold Corner Pins in all themes */
.login-card-pin,
html.theme-light .login-card-pin,
html:not(.theme-light) .login-card-pin {
  background-color: #C3772C !important;
  box-shadow: 0 0 6px rgba(195, 119, 44, 0.6) !important;
}

/* Institutional Clean Modern Arabic Typography for Workstation Gate */
html[dir="rtl"] .login-split-card-container *,
html.lang-ar .login-split-card-container * {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Arabic", "Cairo", "Tahoma", sans-serif !important;
}

/* Fix horse logo row and header alignment in RTL */
html[dir="rtl"] .login-brand-row,
html.lang-ar .login-brand-row {
  flex-direction: row-reverse !important;
}

html[dir="rtl"] .login-brand-link,
html.lang-ar .login-brand-link {
  flex-direction: row-reverse !important;
}

/* ═══════════════════════════════════════════════════════════════════
   3. ABOUT & LOGIN PAGES: SEAMLESS FLOW & MOVING BACKGROUND IN SYNC
   ═══════════════════════════════════════════════════════════════════ */
@keyframes mckvAmbientLightDrift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Login Page Clean Transparent Background: Living Frosted Glass & Video Surface */
html.theme-dark.page-login-active,
html.theme-dark.page-login-active body,
html:not(.theme-light).page-login-active,
html:not(.theme-light).page-login-active body {
  background: #000000 !important;
  background-color: #000000 !important;
  background-image: none !important;
  animation: none !important;
}

html.theme-light.page-login-active,
html.theme-light.page-login-active body {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  animation: none !important;
}

/* Ensure all login wrapper containers remain fully transparent to show the living video and frosted glass */
html:has(.page-dashboard) #site,
html:has(.page-dashboard) #sf-boilerplate,
html:has(.page-dashboard) .container,
html:has(.page-dashboard) .lenis,
html:has(.page-dashboard) .page-wrapper,
html:has(.page-dashboard) main,
html:has(.page-dashboard) .page-dashboard,
html:has(.page-dashboard) .workstation-login-section,
html.page-login-active #site,
html.page-login-active #sf-boilerplate,
html.page-login-active .container,
html.page-login-active .lenis,
html.page-login-active .page-wrapper,
html.page-login-active main,
html.page-login-active .page-dashboard,
html.page-login-active .login-page-main,
html.page-login-active .login-split-layout,
html.page-login-active .login-showcase-col,
html.page-login-active .login-form-col {
  background: transparent !important;
  background-color: transparent !important;
}

/* ═══════════════════════════════════════════════════════════════════
   3. ABOUT PAGE: SEAMLESS CONTINUOUS SCROLLING BACKGROUND
   Moves with scroll, zero cutoffs, zero seams, full-canvas coverage
   ═══════════════════════════════════════════════════════════════════ */
html.theme-light:has(.page-about),
html.theme-light:has(.page-about) body,
html.theme-light.page-about-active,
html.theme-light.page-about-active body,
html.theme-light body:has(.page-about),
html.theme-light.page-about,
body.theme-light.page-about {
  background-color: #ffffff !important;
  background-image: none !important;
  background: #ffffff !important;
  min-height: 100% !important;
}

/* Ensure all nested wrappers on About are 100% transparent */
html.theme-light.page-about-active #site,
html.theme-light.page-about-active #sf-boilerplate,
html.theme-light.page-about-active .container,
html.theme-light.page-about-active .lenis,
html.theme-light.page-about-active .page-wrapper,
html.theme-light.page-about-active main,
html.theme-light.page-about-active section,
html.theme-light.page-about-active .about,
html.theme-light.page-about-active .page-about,
html.theme-light.page-about-active .about-hero,
html.theme-light.page-about-active .about-story,
html.theme-light.page-about-active .team-wrapper,
html.theme-light.page-about-active .disclaimer,
html.theme-light.page-about-active .dashboard-disclaimer,
html.theme-light.page-about-active .site-footer,
html.theme-light.page-about-active .site-footer section,
html.theme-light.page-about-active .site-footer .footer-grid,
html.theme-light.page-about-active .site-footer .newsletter-wrapper,
html.theme-light.page-about-active .site-footer .navigation-wrapper,
html.theme-light.page-about-active .site-footer .socials-wrapper,
html.theme-light body:has(.page-about) #site,
html.theme-light body:has(.page-about) #sf-boilerplate,
html.theme-light body:has(.page-about) .container,
html.theme-light body:has(.page-about) .lenis,
html.theme-light body:has(.page-about) .page-wrapper,
html.theme-light body:has(.page-about) main,
html.theme-light body:has(.page-about) section,
html.theme-light body:has(.page-about) .about,
html.theme-light body:has(.page-about) .page-about,
html.theme-light body:has(.page-about) .about-hero,
html.theme-light body:has(.page-about) .about-story,
html.theme-light body:has(.page-about) .team-wrapper,
html.theme-light body:has(.page-about) .disclaimer,
html.theme-light body:has(.page-about) .dashboard-disclaimer,
html.theme-light body:has(.page-about) .site-footer,
html.theme-light body:has(.page-about) .site-footer section {
  background: transparent !important;
  background-color: transparent !important;
}

/* Suppress all sectional overlays and gradients that cause cutoffs or stripes in light mode */
html.theme-light.page-about-active .gradient-bg-dark,
html.theme-light.page-about-active .gradient-bg-light,
html.theme-light.page-about-active .bg-overlay,
html.theme-light.page-about-active .overlay-gradient,
html.theme-light.page-about-active .gradient,
html.theme-light body:has(.page-about) .gradient-bg-dark,
html.theme-light body:has(.page-about) .gradient-bg-light,
html.theme-light body:has(.page-about) .bg-overlay,
html.theme-light body:has(.page-about) .overlay-gradient,
html.theme-light body:has(.page-about) .gradient {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Dark mode seamless ambient background across the full about page, moving with scroll */
html:not(.theme-light):has(.page-about),
html:not(.theme-light):has(.page-about) body,
html:not(.theme-light).page-about-active,
html:not(.theme-light).page-about-active body,
body:has(.page-about):not(.theme-light) {
  background-color: #080302 !important;
  background-image: radial-gradient(ellipse 90% 50% at 50% 0%, rgba(195, 119, 44, 0.25) 0%, rgba(195, 119, 44, 0.08) 40%, transparent 70%),
    radial-gradient(ellipse 85% 50% at 50% 100%, rgba(195, 119, 44, 0.22) 0%, rgba(195, 119, 44, 0.06) 45%, transparent 75%),
    linear-gradient(180deg, #0d0502 0%, #080302 50%, #0d0502 100%) !important;
  background-attachment: scroll !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  min-height: 100% !important;
}

/* Dark mode child transparency & solid root site background */
html:not(.theme-light).page-about-active #site,
body:has(.page-about):not(.theme-light) #site {
  background-color: #080302 !important;
}

html:not(.theme-light).page-about-active .container,
html:not(.theme-light).page-about-active .lenis,
html:not(.theme-light).page-about-active .page-wrapper,
html:not(.theme-light).page-about-active .page-about,
body:has(.page-about):not(.theme-light) .container,
body:has(.page-about):not(.theme-light) .lenis,
body:has(.page-about):not(.theme-light) .page-wrapper,
body:has(.page-about):not(.theme-light) .page-about,
body:has(.page-about):not(.theme-light) .about-hero,
body:has(.page-about):not(.theme-light) .dashboard-disclaimer,
body:has(.page-about):not(.theme-light) .site-footer {
  background: transparent !important;
  background-color: transparent !important;
}

html.theme-light.page-about-active .site-footer,
html.theme-light.page-about-active .site-footer * {
  color: #0f172a !important;
}

html.theme-light.page-about-active .site-footer .menu-link,
html.theme-light.page-about-active .site-footer .legal-link,
html.theme-light.page-about-active .site-footer a {
  color: #1e293b !important;
}

html.theme-light.page-about-active .site-footer .brand-subtext,
html.theme-light.page-about-active .site-footer .footer {
  color: #475569 !important;
}

/* High-contrast crisp typography for disclaimer in light theme */
html.theme-light .dashboard-disclaimer,
html.theme-light .dashboard-disclaimer .title,
html.theme-light .dashboard-disclaimer h2,
html.theme-light .dashboard-disclaimer h6,
html.theme-light .dashboard-disclaimer strong {
  color: #0f172a !important;
}

html.theme-light .dashboard-disclaimer .body,
html.theme-light .dashboard-disclaimer p,
html.theme-light .dashboard-disclaimer .storyblok-content p,
html.theme-light .dashboard-disclaimer .storyblok-content div {
  color: rgba(15, 23, 42, 0.78) !important;
}

html.theme-light .dashboard-disclaimer .line,
html.theme-light .dashboard-disclaimer .svg-dashed-line {
  stroke: rgba(0, 0, 0, 0.15) !important;
  color: rgba(0, 0, 0, 0.15) !important;
}

/* ═══════════════════════════════════════════════════════════════════
   UNIVERSAL FOOTER BOUNDARY: FOOTER IS STRICTLY THE LAST ELEMENT
   ZERO DEAD SPACE BELOW IT, CANNOT SCROLL BEYOND IT
   ═══════════════════════════════════════════════════════════════════ */
body,
html {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.site-footer,
footer.site-footer {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Prevent overflowing elements from creating dead space past the footer */
@media (min-width: 800px) {

  .dashboard-disclaimer,
  .page-about,
  .login-page-main,
  .workstation-login-section {
    overflow: clip !important;
  }
}

@media (max-width: 799px) {

  .dashboard-disclaimer,
  .page-about {
    overflow-x: clip !important;
  }
}

@media (min-width: 800px) {
  body:not(:has(.page-legal)) .page-wrapper {
    overflow: clip !important;
  }
}

.dashboard-disclaimer .gradient-bg-dark,
.dashboard-disclaimer .gradient,
.dashboard-disclaimer .image {
  max-height: 100% !important;
  overflow: hidden !important;
}

#teleports,
#teleports * {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Prevent footer orange box from cutting off the disclaimer */
body:has(.page-about) .site-footer::before {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════
   4. CONTACT REMOVAL SUPPRESSION
   ═══════════════════════════════════════════════════════════════════ */
a[href*="/contact"],
li:has(a[href*="/contact"]) {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════
   5. BRAND INTRO SPLASH — 100% IDENTICAL TO MCK EGX WEB
   Pure viewport 100dvh framing; solid background wrapper
   ═══════════════════════════════════════════════════════════════════ */
html.mckv-skip-intro #mckvay-brand-intro-master-overlay,
html.mckv-skip-intro .mckvay-brand-intro-master-overlay {
  display: none !important;
}

html[data-intro-active="true"],
html[data-intro-active="true"] body {
  background-color: #120703 !important;
  margin: 0 !important;
  padding: 0 !important;
}

html[data-intro-active="true"].theme-light,
html[data-intro-active="true"].theme-light body,
:is(.theme-light, [data-theme="light"])[data-intro-active="true"],
:is(.theme-light, [data-theme="light"])[data-intro-active="true"] body {
  background-color: #faf7f2 !important;
}

html[data-intro-active="true"] .site-header,
[data-intro-active="true"] .site-header {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.mckvay-brand-intro-master-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 2147483647 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  user-select: none !important;
  overflow: hidden !important;
  background-color: #180903 !important;
  opacity: 1 !important;
  transition: opacity 0.95s cubic-bezier(0.4, 0, 0.2, 1) !important;
  will-change: opacity !important;
}

:is(.theme-light, [data-theme="light"]) .mckvay-brand-intro-master-overlay,
html.theme-light .mckvay-brand-intro-master-overlay {
  background-color: #faf7f2 !important;
}

.mckvay-brand-intro-master-overlay.mckvay-intro-overlay-fading {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.95s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.mckvay-brand-intro-master-overlay.mckvay-intro-immediate {
  transition: opacity 0.25s ease-out !important;
}

.mckvay-brand-intro-bg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  background-color: #faf7f2 !important;
  opacity: 1 !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  transition: opacity 1.0s cubic-bezier(0.4, 0, 0.2, 1) !important;
  will-change: opacity !important;
}

:is(.theme-dark, html:not(.theme-light), body:not(.theme-light)) .mckvay-brand-intro-bg,
.mckvay-brand-intro-bg.theme-dark {
  background-color: #180903 !important;
}

.mckvay-brand-intro-bg.mckvay-intro-dismissing {
  opacity: 0 !important;
  pointer-events: none !important;
  animation: none !important;
}

.mckvay-brand-intro-bg.mckvay-intro-immediate {
  transition-duration: 0.30s !important;
}

@keyframes mckvay-intro-aura-appear {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }

  100% {
    opacity: 1;
    transform: scale(1.0);
  }
}

/* Warm Luminous Amber Lighting Aura on Intro — Exact Degree of Invite Page */
.mckvay-brand-intro-aura,
.mckvay-brand-intro-bg::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: 1 !important;
  background:
    radial-gradient(ellipse 95% 90% at 50% 50%, rgba(212, 122, 36, 0.65) 0%, rgba(195, 119, 44, 0.45) 35%, rgba(140, 68, 18, 0.28) 62%, rgba(45, 18, 6, 0.70) 85%, #180903 100%),
    radial-gradient(ellipse 65% 60% at 30% 65%, rgba(225, 138, 48, 0.28) 0%, transparent 70%),
    radial-gradient(ellipse 65% 60% at 70% 35%, rgba(195, 110, 35, 0.25) 0%, transparent 70%),
    #180903 !important;
  mix-blend-mode: normal !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  animation: mckvay-intro-aura-appear 0.95s cubic-bezier(0.16, 1, 0.3, 1) both !important;
  transition: opacity 1.0s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

:is(.theme-light, [data-theme="light"]) .mckvay-brand-intro-aura,
:is(.theme-light, [data-theme="light"]) .mckvay-brand-intro-bg::after,
.theme-light .mckvay-brand-intro-aura,
.theme-light .mckvay-brand-intro-bg::after {
  background: radial-gradient(circle at 50% 50%, rgba(212, 122, 36, 0.09) 0%, rgba(195, 119, 44, 0.04) 24%, transparent 58%) !important;
  mix-blend-mode: normal !important;
}

.mckvay-brand-intro-aura.mckvay-intro-dismissing {
  opacity: 0 !important;
  pointer-events: none !important;
}

.mckvay-brand-intro-aura.mckvay-intro-immediate {
  transition-duration: 0.30s !important;
}

/* Smooth Hardware-Accelerated Cinematic Entry & Exit: Starts With IN, Ends With OUT */
@keyframes mckvay-intro-in {
  0% {
    opacity: 0;
    transform: scale(0.92) translate3d(0, 10px, 0);
  }

  100% {
    opacity: 1;
    transform: scale(1.0) translate3d(0, 0, 0);
  }
}

@keyframes mckvay-intro-out {
  0% {
    opacity: 1;
    transform: scale(1.0) translate3d(0, 0, 0);
  }

  100% {
    opacity: 0;
    transform: scale(1.06) translate3d(0, -6px, 0);
  }
}

@keyframes mckvay-intro-out-immediate {
  0% {
    opacity: 1;
    transform: scale(1.0) translate3d(0, 0, 0);
  }

  100% {
    opacity: 0;
    transform: scale(1.04) translate3d(0, -3px, 0);
  }
}

.mckvay-intro-typography {
  --intro-glow: drop-shadow(0 0 24px rgba(0, 0, 0, 0.12));
  animation: mckvay-intro-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) both !important;
  will-change: transform, opacity !important;
  transform-origin: center center !important;
  filter: var(--intro-glow) !important;
  font-family: "Butler", Georgia, "Times New Roman", serif !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  user-select: none !important;
  position: relative !important;
  z-index: 10 !important;
  width: 100% !important;
  padding: 0 16px !important;
  max-width: 80rem !important;
  margin: 0 auto !important;
  pointer-events: none !important;
  backface-visibility: hidden !important;
  -webkit-font-smoothing: antialiased !important;
}

.mckvay-brand-intro-master-overlay.mckvay-intro-overlay-fading .mckvay-intro-typography {
  animation: mckvay-intro-out 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.mckvay-brand-intro-master-overlay.mckvay-intro-immediate .mckvay-intro-typography {
  animation: mckvay-intro-out-immediate 0.25s ease-out forwards !important;
}

:is(.theme-dark, html:not(.theme-light), body:not(.theme-light)) .mckvay-intro-typography {
  --intro-glow: drop-shadow(0 0 32px rgba(215, 181, 59, 0.32)) !important;
}

.mckvay-intro-line {
  position: relative !important;
  display: inline-block !important;
  text-align: center !important;
  letter-spacing: 0.025em !important;
  overflow: visible !important;
  font-size: clamp(1.85rem, 8.8vw, 11.5rem) !important;
  font-weight: 400 !important;
  line-height: 1.18 !important;
  isolation: isolate !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
}

@media (max-width: 799px) {
  .mckvay-intro-typography {
    padding: 0 8px !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
  .mckvay-intro-line {
    font-size: clamp(2.85rem, 13.6vw, 4.3rem) !important;
    letter-spacing: 0.01em !important;
    white-space: nowrap !important;
  }
}

.mckvay-intro-subtitle {
  margin-top: -0.34em !important;
}

.mckvay-empty-text,
.mckvay-solid-text {
  color: #120b04 !important;
  -webkit-text-fill-color: #120b04 !important;
  position: relative !important;
  z-index: 10 !important;
  pointer-events: none !important;
  user-select: none !important;
  -webkit-text-stroke: 0px transparent !important;
}

:is(.theme-dark, html:not(.theme-light), body:not(.theme-light)) .mckvay-empty-text,
:is(.theme-dark, html:not(.theme-light), body:not(.theme-light)) .mckvay-solid-text {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  -webkit-text-stroke: 0px transparent !important;
}

.mckvay-sweep-text {
  position: absolute !important;
  inset: 0 !important;
  z-index: 20 !important;
  pointer-events: none !important;
  user-select: none !important;
  background-size: 320% 100% !important;
  background-repeat: no-repeat !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
  opacity: 0.98 !important;
  background-position: 0% 0;
  animation: cinematic-sweep 1.7s cubic-bezier(0.25, 1, 0.5, 1) 0.10s forwards !important;
  will-change: background-position;
  background-image: linear-gradient(75deg, transparent 0%, transparent 20%, rgba(0, 0, 0, 0.35) 28%, rgba(0, 0, 0, 0.85) 34%, rgba(0, 0, 0, 0.35) 40%, transparent 46%, transparent 48%, rgba(0, 0, 0, 0.50) 54%, #000000 60%, rgba(0, 0, 0, 0.50) 66%, transparent 74%, transparent 100%);
}

:is(.theme-dark, html:not(.theme-light), body:not(.theme-light)) .mckvay-sweep-text,
.mckvay-sweep-text.theme-dark {
  background-image: linear-gradient(75deg, transparent 0%, transparent 20%, rgba(255, 215, 140, 0.35) 28%, rgba(255, 245, 225, 0.90) 34%, rgba(255, 215, 140, 0.35) 40%, transparent 46%, transparent 48%, rgba(255, 200, 120, 0.45) 54%, #ffffff 60%, rgba(255, 200, 120, 0.45) 66%, transparent 74%, transparent 100%) !important;
  background-size: 320% 100% !important;
  background-repeat: no-repeat !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
}

@keyframes cinematic-sweep {
  0% {
    background-position: 0% 0;
  }

  100% {
    background-position: 100% 0;
  }
}

.mckvay-beam-glare {
  display: none !important;
}

:is(.theme-dark, html:not(.theme-light), body:not(.theme-light)) .mckvay-beam-glare,
.mckvay-beam-glare.theme-dark {
  mix-blend-mode: screen !important;
}

.mckvay-beam-glare-primary {
  width: 28% !important;
  z-index: 25 !important;
  transform: translate3d(380%, 0, 0);
  animation: glare-sweep-primary 2.3s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
  background-image: linear-gradient(75deg, transparent 0%, rgba(0, 0, 0, 0.08) 30%, rgba(0, 0, 0, 0.90) 50%, rgba(0, 0, 0, 0.08) 70%, transparent 100%);
  filter: drop-shadow(0 0 16px rgba(0, 0, 0, 0.38));
}

:is(.theme-dark, html:not(.theme-light), body:not(.theme-light)) .mckvay-beam-glare-primary,
.mckvay-beam-glare-primary.theme-dark {
  background-image: linear-gradient(75deg, transparent 0%, rgba(255, 255, 255, 0.05) 30%, rgba(255, 255, 255, 0.90) 50%, rgba(255, 255, 255, 0.05) 70%, transparent 100%);
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.75));
}

@keyframes glare-sweep-primary {
  0% {
    transform: translate3d(380%, 0, 0);
  }

  78%,
  100% {
    transform: translate3d(-180%, 0, 0);
  }
}

.mckvay-beam-glare-secondary {
  width: 22% !important;
  z-index: 24 !important;
  transform: translate3d(450%, 0, 0);
  animation: glare-sweep-secondary 2.3s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
  background-image: linear-gradient(75deg, transparent 0%, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.05) 70%, transparent 100%);
  filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.28));
}

:is(.theme-dark, html:not(.theme-light), body:not(.theme-light)) .mckvay-beam-glare-secondary,
.mckvay-beam-glare-secondary.theme-dark {
  background-image: linear-gradient(75deg, transparent 0%, rgba(255, 255, 255, 0.04) 30%, rgba(255, 255, 255, 0.75) 50%, rgba(255, 255, 255, 0.04) 70%, transparent 100%);
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.55));
}

@keyframes glare-sweep-secondary {
  0% {
    transform: translate3d(450%, 0, 0);
  }

  78%,
  100% {
    transform: translate3d(-110%, 0, 0);
  }
}


/* ═══════════════════════════════════════════════════════════════════
   6. BUTTON ICON ROLL: ARROW ROLLS TO WHITE HORSE LOGO ON HOVER
   ═══════════════════════════════════════════════════════════════════ */
.ui-button .icon .icon-slot-logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
  background-color: transparent !important;
}

.site-header .nav-btn-horse-logo,
.ui-button .icon .nav-btn-horse-logo,
.nav-btn-horse-logo {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  min-height: 16px !important;
  max-height: 16px !important;
  background: transparent !important;
  background-color: transparent !important;
  object-fit: contain !important;
  pointer-events: none !important;
  user-select: none !important;
  transition: transform 0.2s ease, filter 0.2s ease !important;
}

html:not(.theme-light) .nav-btn-horse-logo,
.theme-dark .nav-btn-horse-logo {
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.4)) !important;
}

html.theme-light .nav-btn-horse-logo,
.theme-light .nav-btn-horse-logo {
  filter: brightness(0) !important;
}

.btn-accent .nav-btn-horse-logo,
.ui-button.primary .nav-btn-horse-logo,
html.theme-light .hero-middle-left-ctas .nav-btn-horse-logo,
.theme-light .hero-middle-left-ctas .nav-btn-horse-logo,
.hero-middle-left-ctas .nav-btn-horse-logo {
  filter: none !important;
  opacity: 1 !important;
}

html.theme-light .hero-middle-left-ctas .ui-button .icon .svg-mask,
.theme-light .hero-middle-left-ctas .ui-button .icon .svg-mask,
.hero-middle-left-ctas .ui-button .icon .svg-mask {
  background-color: #ffffff !important;
  color: #ffffff !important;
}

.site-header .navbar .menu .ui-button.has-icon:hover .icon>*,
.site-header .navbar .menu li:hover .ui-button.has-icon .icon>*,
.site-header .navbar .menu .ui-button.has-icon:hover .icon>span,
.site-header .navbar .menu li:hover .ui-button.has-icon .icon>span,
.site-header .ui-button.has-icon:hover .icon>span,
.site-header a.ui-button.has-icon:hover .icon>span,
.site-header .ui-button:hover .icon-slot-arrow,
.site-header .ui-button:hover .icon-slot-logo,
.site-header .ui-button.has-icon:hover .icon-slot-arrow,
.site-header .ui-button.has-icon:hover .icon-slot-logo {
  transform: translateY(-34px) !important;
}

.hero-middle-left-ctas .ui-button.has-icon:hover .icon>*,
.hero-middle-left-ctas .ui-button.has-icon:hover .icon>span,
.hero-middle-left-ctas .ui-button:hover .icon>span {
  transform: translateY(-42px) !important;
}

.hero-middle-left-ctas .nav-btn-horse-logo {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   LEGAL PAGES: EYEBROW BOX REMOVAL & SILKY SMOOTH SECTION SCROLLING
   ───────────────────────────────────────────────────────────────────────────── */
.legal-hero .eyebrow {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

html.page-legal-active,
html:has(.page-legal) {
  scroll-behavior: smooth !important;
}

.legal-section {
  scroll-margin-top: 84px !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   7. ARABIC FOOTER MASTER CENTERING & SYMMETRICAL PROPORTIONS
   ═══════════════════════════════════════════════════════════════════════════ */
html.lang-ar .site-footer,
html[dir="rtl"] .site-footer {
  width: 100% !important;
  max-width: 100vw !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

html.lang-ar .site-footer .footer-grid,
html[dir="rtl"] .site-footer .footer-grid {
  width: 100% !important;
  max-width: var(--layout-width, calc(100vw - 56px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--layout-margin, 28px) !important;
  padding-right: var(--layout-margin, 28px) !important;
  box-sizing: border-box !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   8. COMPREHENSIVE PHONE OPTIMIZATION (PAGE-BY-PAGE & ELEMENT-BY-ELEMENT)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 799px) {

  /* Global Phone Rules */
  html,
  body {
    max-width: 100vw !important;
    overflow-x: clip !important;
    -webkit-text-size-adjust: 100% !important;
  }

  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Header & Mobile Navbar */
  .site-header {
    height: 56px !important;
  }

  .site-header .navbar {
    height: 56px !important;
    padding: 8px 16px !important;
    justify-content: space-between !important;
  }

  .site-header .navbar>a,
  .site-header-logo-link {
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
  }

  .site-header .header-logo-img {
    height: 24px !important;
    width: auto !important;
  }

  /* ── 1. HOME WORKSTATION (index.html) ON PHONE ── */
  .page-index .home-hero,
  .home-hero {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    overflow: hidden !important;
    position: relative !important;
  }

  .page-index .home-hero video,
  .home-hero video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: none !important;
    -webkit-filter: none !important;
  }

  /* MCKV TERMINAL and Slogan CTAs on Phone: Pinned to TOP, Identical to Web Standard */
  .hero-middle-left-ctas {
    position: absolute !important;
    left: 16px !important;
    right: auto !important;
    top: 14px !important;
    bottom: auto !important;
    transform: none !important;
    z-index: 25 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    align-items: flex-start !important;
    max-width: calc(100vw - 80px) !important;
    pointer-events: auto !important;
  }

  html[dir="rtl"] .hero-middle-left-ctas,
  html.lang-ar .hero-middle-left-ctas {
    left: auto !important;
    right: 16px !important;
    align-items: flex-start !important;
    text-align: right !important;
  }

  html[dir="rtl"] .hero-middle-left-ctas .ui-button,
  html.lang-ar .hero-middle-left-ctas .ui-button {
    align-self: flex-start !important;
    text-align: right !important;
  }

  /* CTAs remain stably anchored behind the high z-index modal menu with zero pop-in glitch */
  .hero-middle-left-ctas {
    transition: opacity 0.2s ease !important;
  }

  .hero-middle-left-ctas .ui-button,
  html.theme-light .hero-middle-left-ctas .ui-button,
  html.theme-dark .hero-middle-left-ctas .ui-button,
  .theme-light .hero-middle-left-ctas .ui-button {
    height: 42px !important;
    line-height: 42px !important;
    padding: 0 !important;
    font-size: 15px !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0 !important;
  }

  .hero-middle-left-ctas .ui-button .content {
    font-family: "Archivo Narrow", "Archivo Narrow Fallback: Arial", Archivo, -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    letter-spacing: -0.015em !important;
    height: 42px !important;
    padding: 0 22px !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    justify-content: flex-start !important;
  }

  .hero-middle-left-ctas .ui-button .content>span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    flex-shrink: 0 !important;
    line-height: 42px !important;
    transition: transform 0.5s cubic-bezier(0.85, 0, 0.15, 1) 0.07s !important;
  }

  .hero-middle-left-ctas .ui-button:hover .content>span,
  .hero-middle-left-ctas .ui-button:active .content>span {
    transform: translateY(-42px) !important;
  }

  html.theme-light .hero-middle-left-ctas .ui-button .content,
  .theme-light .hero-middle-left-ctas .ui-button .content {
    background-color: rgba(0, 0, 0, 0.06) !important;
    border: none !important;
    color: #0a0a0a !important;
  }

  html.theme-light .hero-middle-left-ctas .ui-button:hover .content,
  .theme-light .hero-middle-left-ctas .ui-button:hover .content,
  html.theme-light .hero-middle-left-ctas .ui-button:active .content,
  .theme-light .hero-middle-left-ctas .ui-button:active .content {
    background-color: rgba(0, 0, 0, 0.10) !important;
    border: none !important;
  }

  html:not(.theme-light) .hero-middle-left-ctas .ui-button .content,
  html.theme-dark .hero-middle-left-ctas .ui-button .content {
    background-color: rgba(238, 238, 240, 0.1) !important;
    border: none !important;
    color: #f0f2f5 !important;
  }

  .hero-middle-left-ctas .ui-button .icon {
    height: 42px !important;
    width: 42px !important;
    min-width: 42px !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    position: relative !important;
    justify-content: flex-start !important;
    background: linear-gradient(135deg, #C4412F 0%, #C3772C 50%, #629F06 100%) !important;
    color: #ffffff !important;
    border: none !important;
  }

  .hero-middle-left-ctas .ui-button .icon>span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    width: 100% !important;
    flex-shrink: 0 !important;
    transition: transform 0.5s cubic-bezier(0.85, 0, 0.15, 1) 0.07s !important;
  }

  .hero-middle-left-ctas .ui-button:hover .icon>span,
  .hero-middle-left-ctas .ui-button:active .icon>span {
    transform: translateY(-42px) !important;
  }

  html.theme-light .hero-middle-left-ctas .ui-button .icon,
  .theme-light .hero-middle-left-ctas .ui-button .icon {
    border: none !important;
  }

  html:not(.theme-light) .hero-middle-left-ctas .ui-button .icon,
  html.theme-dark .hero-middle-left-ctas .ui-button .icon {
    border: none !important;
  }

  /* ── 2. INVITE & OPPORTUNITY PAGES (invite.html & opportunity.html) ON PHONE ── */
  html.page-invite-active,
  html.page-opportunity-active {
    min-height: 100% !important;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: none !important;
    overscroll-behavior-y: none !important;
  }

  body.page-invite-active,
  body.page-opportunity-active,
  html.page-invite-active body,
  html.page-opportunity-active body {
    min-height: 100% !important;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y pinch-zoom !important;
  }

  .page-opportunity-active.page-invite-active,
  .page-opportunity-active #site,
  .page-invite-active #site,
  .page-opportunity-active .container,
  .page-invite-active .container,
  .page-opportunity-active .lenis,
  .page-invite-active .lenis,
  .page-opportunity-active .page-wrapper,
  .page-invite-active .page-wrapper,
  .opportunity-restricted-hero,
  .opportunity-message-container {
    min-height: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: auto !important;
  }

  html.page-invite-active .container,
  html.page-opportunity-active .container {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100dvh !important;
    height: auto !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
  }

  html.page-invite-active .page-wrapper,
  html.page-opportunity-active .page-wrapper {
    flex: 1 0 auto !important;
    min-height: calc(100dvh - 120px) !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 88px 20px 48px 20px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  .page-opportunity.opportunity-screen-main,
  .opportunity-restricted-hero {
    flex: 1 0 auto !important;
    min-height: 0 !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .opportunity-message-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: auto 0 !important;
    padding: 0 8px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 16px !important;
    box-sizing: border-box !important;
  }

  .opportunity-title,
  .invite-title {
    font-size: clamp(24px, 6.8vw, 36px) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.015em !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .opportunity-title .title-line-1,
  .invite-title .title-line-1 {
    display: block !important;
    white-space: normal !important;
  }

  .opportunity-title .title-line-2,
  .invite-title .title-line-2 {
    display: block !important;
    white-space: normal !important;
    margin-top: 6px !important;
  }

  .opportunity-subtitle,
  .invite-subtitle {
    font-family: Archivo Narrow, "Archivo Narrow Fallback: Arial", sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 1.2px !important;
    line-height: 1.55 !important;
    text-transform: uppercase !important;
    text-align: center !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }

  html.lang-ar .opportunity-title,
  html.lang-ar .invite-title {
    font-family: 'Aref Ruqaa', "Archivo Narrow", Archivo, sans-serif !important;
    font-size: clamp(24px, 6.2vw, 32px) !important;
    line-height: 1.35 !important;
  }

  html.lang-ar .opportunity-subtitle,
  html.lang-ar .invite-subtitle {
    font-family: var(--font-ar), "Cairo", -apple-system, sans-serif !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
  }

  /* ── 4. LOGIN PAGE (login.html) ON PHONE ── */
  html:has(.login-page-main),
  html.page-login-active {
    min-height: 100% !important;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: none !important;
    overscroll-behavior-y: none !important;
  }

  body:has(.login-page-main),
  body.page-login-active,
  body.login-page {
    min-height: 100% !important;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    touch-action: pan-y pinch-zoom !important;
  }

  .page-login-active .page-wrapper,
  body:has(.login-page-main) .page-wrapper,
  .page-login-active #site,
  body:has(.login-page-main) #site,
  .page-login-active .container,
  body:has(.login-page-main) .container,
  .page-login-active .lenis,
  body:has(.login-page-main) .lenis,
  .page-login-active .dashboard,
  body:has(.login-page-main) .dashboard,
  html .login-page-main,
  html .workstation-login-section,
  .login-page-main,
  .workstation-login-section,
  .login-split-card-container,
  .login-split-layout,
  .login-form-col {
    height: auto !important;
    min-height: 100dvh !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: auto !important;
  }

  .login-showcase-col,
  .showcase-terminal-column {
    display: none !important;
  }

  .login-left-stage,
  .login-stage,
  .workstation-login-section {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100dvh !important;
    padding: 80px 20px 32px 20px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .login-card {
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
  }

  /* ── 5. LEGAL PAGES (privacy-policy.html & terms-of-use.html) ON PHONE ── */
  .page-legal-active .legal-toc-grid,
  .legal-toc-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 24px !important;
  }

  .legal-sidebar {
    width: 100% !important;
    position: static !important;
    max-height: none !important;
    padding: 16px !important;
    box-sizing: border-box !important;
  }

  .legal-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
  }

  .legal-section-title {
    font-size: 22px !important;
    line-height: 1.25 !important;
  }

  .legal-paragraph {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  /* ── 6. FOOTER ON PHONE (BOTH ENGLISH & ARABIC) ── */
  .site-footer {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  html.theme-light .site-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
  }

  .site-footer .footer-grid,
  .site-footer .layout-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 22px !important;
    padding: 36px 20px 32px 20px !important;
    width: 100% !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  .site-footer .newsletter-wrapper,
  .site-footer .navigation-wrapper,
  .site-footer .socials-wrapper,
  html.lang-ar .site-footer .newsletter-wrapper,
  html.lang-ar .site-footer .navigation-wrapper,
  html.lang-ar .site-footer .socials-wrapper,
  html[dir="rtl"] .site-footer .newsletter-wrapper,
  html[dir="rtl"] .site-footer .navigation-wrapper,
  html[dir="rtl"] .site-footer .socials-wrapper {
    width: 100% !important;
    padding: 0 !important;
    text-align: center !important;
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  .site-footer .footer-newsletter {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .site-footer .footer-brand-col {
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .site-footer .footer-brand-col .title {
    font-family: Archivo, -apple-system, sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    letter-spacing: -0.015em !important;
    line-height: 1.15 !important;
    text-align: center !important;
  }

  .site-footer .brand-subtext,
  html.lang-ar .site-footer .brand-subtext,
  html[dir="rtl"] .site-footer .brand-subtext {
    font-family: Archivo, -apple-system, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    margin: 8px auto 0 auto !important;
    text-align: center !important;
    max-width: 290px !important;
    opacity: 0.78 !important;
  }

  /* Colophon Logo & Text: Universal Placement in Brand Column on Phone & Desktop */
  .site-footer .footer-brand-col .colophon-content,
  .site-footer .colophon-content,
  html.lang-ar .site-footer .colophon-content,
  html[dir="rtl"] .site-footer .colophon-content {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
    margin: 12px auto 0 auto !important;
  }

  .site-footer .colophon__logo {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    object-fit: contain !important;
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
  }

  html.theme-light .site-footer .colophon__logo,
  .theme-light .site-footer .colophon__logo {
    filter: brightness(0) !important;
    opacity: 0.82 !important;
  }

  .site-footer .colophon__text {
    font-family: Archivo Narrow, "Archivo Narrow Fallback: Arial", sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 1.1px !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
  }

  html:not(.theme-light) .site-footer .colophon__text,
  html:not(.theme-light) .site-footer .colophon__text a {
    color: rgba(255, 255, 255, 0.72) !important;
  }

  html.theme-light .site-footer .colophon__text,
  html.theme-light .site-footer .colophon__text a {
    color: rgba(10, 10, 10, 0.72) !important;
  }

  /* Eliminate duplicate or misplaced bottom EGX-box on all viewports */
  .site-footer .EGX-box,
  .EGX-box.mobile-only {
    display: none !important;
  }

  .site-footer .footer-menu-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .site-footer .eyebrow {
    font-family: Archivo Narrow, sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 1.4px !important;
    text-transform: uppercase !important;
    opacity: 0.55 !important;
    margin-bottom: 6px !important;
    text-align: center !important;
  }

  .site-footer .footer-menu-wrapper .links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 6px !important;
  }

  .site-footer .footer-menu-wrapper .links a {
    font-family: Archivo, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    padding: 2px 0 !important;
    transition: opacity 0.2s ease !important;
  }

  .site-footer .legal-menu,
  html.lang-ar .site-footer .legal-menu,
  html[dir="rtl"] .site-footer .legal-menu {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    gap: 16px !important;
    margin-top: 8px !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .site-footer .legal-menu a {
    font-family: Archivo, sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    opacity: 0.65 !important;
    text-decoration: none !important;
  }

  .site-footer .back-to-top,
  html.lang-ar .site-footer .back-to-top,
  html[dir="rtl"] .site-footer .back-to-top {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 10px auto 0 auto !important;
    font-family: Archivo, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
  }

  .site-footer .footer {
    font-family: Archivo, sans-serif !important;
    font-size: 10.5px !important;
    font-weight: 500 !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
    opacity: 0.5 !important;
    text-align: center !important;
    margin-top: 6px !important;
    line-height: 1.4 !important;
  }

  /* Hide decorative dashed SVG lines on mobile to eliminate clutter */
  .site-footer .svg-dashed-line {
    display: none !important;
  }
}

/* ═════════════════════════════════════════════════════════════════════
   UNIVERSAL FOOTER COLOPHON HORSE LOGO & BRAND TEXT STABILIZATION
   Strictly In Place Across All Viewports, Themes (Dark/Light) & Languages (EN/AR)
   ═════════════════════════════════════════════════════════════════════ */
.site-footer .colophon-content,
.footer-brand-col .colophon-content,
.colophon-content {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  margin-top: 14px !important;
  vertical-align: middle !important;
}

html[dir="rtl"] .site-footer .colophon-content,
html[dir="rtl"] .footer-brand-col .colophon-content,
html.lang-ar .site-footer .colophon-content,
html.lang-ar .footer-brand-col .colophon-content {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  direction: rtl !important;
  gap: 8px !important;
}

@media (max-width: 799px) {
  .site-footer .colophon-content,
  .footer-brand-col .colophon-content,
  html[dir="rtl"] .site-footer .colophon-content,
  html.lang-ar .site-footer .colophon-content {
    justify-content: center !important;
    margin: 12px auto 0 auto !important;
  }
}

.site-footer .colophon__logo,
.footer-brand-col .colophon__logo,
.colophon__logo {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  object-fit: contain !important;
  display: inline-block !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

html.theme-light .site-footer .colophon__logo,
.theme-light .site-footer .colophon__logo,
html.theme-light .footer-brand-col .colophon__logo,
.theme-light .footer-brand-col .colophon__logo {
  filter: brightness(0) !important;
  opacity: 0.82 !important;
}

html:not(.theme-light) .site-footer .colophon__logo,
html.theme-dark .site-footer .colophon__logo,
html:not(.theme-light) .footer-brand-col .colophon__logo,
html.theme-dark .footer-brand-col .colophon__logo {
  filter: none !important;
  opacity: 0.9 !important;
}

.site-footer .colophon__text,
.footer-brand-col .colophon__text {
  font-family: Archivo Narrow, "Archivo Narrow Fallback: Arial", sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 1.1px !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.site-footer .colophon__text p,
.footer-brand-col .colophon__text p {
  margin: 0 !important;
  padding: 0 !important;
  display: inline !important;
}

/* ═════════════════════════════════════════════════════════════════════
   LOGIN PAGE: VERTICAL ALIGNMENT & HARMONIOUS CENTERING
   Guarantees left broker showcase card & right terminal sign-in form share the exact vertical center
   ═════════════════════════════════════════════════════════════════════ */
@media (min-width: 900px) {
  .login-split-layout {
    display: grid !important;
    grid-template-columns: 46% 54% !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }

  .login-showcase-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100vh !important;
    height: 100dvh !important;
    padding: 32px 48px !important;
    box-sizing: border-box !important;
  }

  .login-form-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100vh !important;
    height: 100dvh !important;
    padding: 0 48px !important;
    position: relative !important;
    box-sizing: border-box !important;
  }

  .mckv-broker-card {
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 480px !important;
  }

  .login-form-centered-box {
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 480px !important;
  }

  .login-col-footer {
    position: absolute !important;
    bottom: 16px !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 480px !important;
    text-align: center !important;
    z-index: 3 !important;
  }
}

/* ═════════════════════════════════════════════════════════════════════
   LOGIN PAGE: AUTHENTIC LUMINOUS BACKGROUND LIGHTING (PHONE & DESKTOP)
   Exact warm amber/gold atmospheric aura in dark theme & champagne alabaster in light theme
   ═════════════════════════════════════════════════════════════════════ */
.login-lighting-wrapper {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.login-lighting {
  position: absolute !important;
  top: -2px !important;
  left: 50% !important;
  width: calc(100% + 400px) !important;
  max-width: 2400px !important;
  height: 160% !important;
  transform: translateX(-50%) scaleY(1.15) !important;
  transform-origin: top center !important;
  pointer-events: none !important;
  z-index: 1 !important;
  overflow: hidden !important;
  display: block !important;
}

.login-lighting-img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: fill !important;
  pointer-events: none !important;
}

html:not(.theme-light) .login-lighting,
html.theme-dark .login-lighting {
  mix-blend-mode: screen !important;
  filter: contrast(1.15) brightness(1.25) !important;
  opacity: 1 !important;
}

html.theme-light .login-lighting {
  mix-blend-mode: normal !important;
  filter: none !important;
  background: radial-gradient(ellipse 95% 75% at 50% 0%, rgba(220, 140, 50, 0.18) 0%, rgba(220, 140, 50, 0.06) 42%, transparent 75%) !important;
  opacity: 1 !important;
}

html.theme-light .login-lighting-img {
  display: none !important;
}

/* Universal Page Canvas & Container Aura on Login */
html:not(.theme-light).page-login-active,
html:not(.theme-light).page-login-active body,
html.theme-dark.page-login-active,
html.theme-dark.page-login-active body,
html:not(.theme-light) body:has(.login-page-main),
html.theme-dark body:has(.login-page-main),
html:not(.theme-light) .workstation-login-section,
html:not(.theme-light) .login-split-card-container,
html.theme-dark .workstation-login-section,
html.theme-dark .login-split-card-container {
  background-color: #0b0704 !important;
  background: radial-gradient(ellipse 100% 90% at 50% 0%, #1c0e06 0%, #0d0704 55%, #070402 100%) !important;
  color: #ffffff !important;
}

html.theme-light.page-login-active,
html.theme-light.page-login-active body,
html.theme-light body:has(.login-page-main),
html.theme-light body:has(.workstation-login-section),
html.theme-light .workstation-login-section,
html.theme-light .login-split-card-container {
  background-color: #faf7f2 !important;
  background: #faf7f2 radial-gradient(ellipse 100% 85% at 50% 0%, rgba(212, 122, 36, 0.12) 0%, rgba(220, 140, 50, 0.05) 45%, #faf7f2 100%) !important;
  color: #0a0a0a !important;
}

@media (min-width: 900px) {
  .login-showcase-col {
    background: transparent !important;
    background-color: transparent !important;
  }
  .login-form-col {
    background: transparent !important;
    background-color: transparent !important;
  }
}