/* ==========================================================================
   0. Preloader (Exact Authentic Match to me.stratz.eu / RyanCV Theme)
   ========================================================================== */
.preload-svg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  transform: scaleY(-1);
  -webkit-transform: scaleY(-1);
  pointer-events: none;
  z-index: 99998;
  background: transparent !important;
}

.preload-path {
  fill: #0b0b0d;
}

.preloader.loader-curve {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.loader-curve .centrize {
  display: table;
  table-layout: fixed;
  height: 100%;
  width: 100%;
}

.loader-curve .vertical-center {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.loader-curve .preload-text {
  font-family: "Helvetica Neue Thin", "HelveticaNeue-Thin", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 100;
  letter-spacing: 14px;
  text-transform: uppercase;
  color: #ffffff;
  z-index: 20;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 640px) {
  .loader-curve .preload-text {
    font-size: 13px;
    letter-spacing: 6px;
    padding: 0 1rem;
    white-space: nowrap;
  }
}

.loader-curve .preload-text + .spinner {
  display: none;
}

.loader-curve .preload-text span {
  display: inline-block;
  -webkit-animation: ar-loading 1.1s infinite alternate ease-in-out;
  animation: ar-loading 1.1s infinite alternate ease-in-out;
  will-change: opacity, transform;
}

@-webkit-keyframes ar-loading {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0.12;
    transform: translateY(3px);
  }
}

@keyframes ar-loading {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0.12;
    transform: translateY(3px);
  }
}

/* ==========================================================================
   Pourya Mehrpouyan — Executive Strategic Advisory Portfolio
   Redesign based faithfully on the Meridian Template (Modulify)
   Aesthetic: "Agentic Era", High-Tech, Sovereign, Minimalist Luxury
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & Root Variables
   -------------------------------------------------------------------------- */
:root {
  /* Typography — Helvetica Family Everywhere */
  --font-heading: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Meridian Palette: Deep Space Neutrals */
  --ink: #0b0b0d;
  --ink-pure: #030303;
  --ink-subtle: #0f1015;
  --ink-surface: #15161d;
  --ink-card: rgba(18, 19, 25, 0.76);
  --ink-card-hover: rgba(28, 30, 40, 0.9);

  /* Contrast Text & Steels */
  --foreground: #f7f7f8;
  --foreground-muted: #84848d;
  --steel: #84848d;
  --steel-soft: #a1a1aa;
  --steel-light: #d4d4d8;

  /* High-Chroma Accents */
  --brand: #2340ff;           /* Meridian Iconic Cobalt */
  --brand-electric: #5c5cfc;  /* Agentic High-Chroma Primary */
  --brand-soft: #8c9bff;
  --brand-glow: rgba(92, 92, 252, 0.35);
  --brand-subtle: rgba(35, 64, 255, 0.12);

  /* Functional Accents */
  --emerald: #10b981;
  --amber: #f59e0b;
  --rose: #f43f5e;

  /* Hardware-Sharp Borders & Glassmorphism */
  --border-hardware: rgba(255, 255, 255, 0.1);
  --border-hardware-soft: rgba(255, 255, 255, 0.05);
  --border-hardware-hover: rgba(255, 255, 255, 0.28);
  --border-active: #5c5cfc;
  --glass-blur: blur(30px);

  /* Border Radii */
  --radius-pill: 9999px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  /* Transitions */
  --ease-meridian: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.35s;
  --duration-slow: 0.6s;

  /* Layout Container */
  --container-max: 90rem; /* 1440px */
}

/* --------------------------------------------------------------------------
   2. Reset & Global Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--ink);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  position: relative;
  background-color: var(--ink);
  color: var(--foreground);
  overflow-x: clip;
  display: block;
  font-family: var(--font-sans);
}

button, input, select, textarea {
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6, strong, b {
  font-weight: 600;
}

main {
  display: block;
  width: 100%;
  min-height: 100vh;
  overflow: visible;
}

/* Typography Helpers */
.font-heading {
  font-family: var(--font-heading);
}

.font-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.text-steel {
  color: var(--steel);
}

.text-white {
  color: #ffffff;
}

.text-brand-soft {
  color: var(--brand-soft);
}

.bg-subtle {
  background-color: var(--ink-subtle);
}

.w-full {
  width: 100%;
}

.text-center {
  text-align: center;
}

.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-8 { margin-top: 2rem; }

/* Global Site Container */
.site-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .site-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .site-container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

/* Skip link */
.skip-to-content {
  position: fixed;
  top: -100px;
  left: 1rem;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  z-index: 9999;
  transition: top var(--duration-fast);
}

.skip-to-content:focus {
  top: 1rem;
}

/* --------------------------------------------------------------------------
   3. Top Announcement & Live Status Bar
   -------------------------------------------------------------------------- */
.top-status-bar {
  background-color: rgba(11, 11, 13, 0.95);
  border-bottom: 1px solid var(--border-hardware);
  position: relative;
  z-index: 60;
  height: 38px;
  display: flex;
  align-items: center;
}

.top-status-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.top-status-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  overflow: hidden;
}

.status-kicker {
  color: var(--brand-soft);
  font-weight: 600;
  flex-shrink: 0;
}

.top-news-ticker {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--steel-light);
}

.top-status-right {
  display: none;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .top-status-right {
    display: flex;
  }
}

.live-clock-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--steel);
}

.clock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.clock-label {
  color: var(--steel);
}

.clock-time {
  color: var(--foreground);
  font-weight: 500;
}

.status-separator {
  color: rgba(255, 255, 255, 0.2);
}

.availability-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--brand-soft);
}

.pulse-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--brand-electric);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(92, 92, 252, 0.6); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(92, 92, 252, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(92, 92, 252, 0); }
}

/* --------------------------------------------------------------------------
   4. Primary Meridian Floating Header
   -------------------------------------------------------------------------- */
.meridian-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(11, 11, 13, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-hardware);
  transition: background-color var(--duration-normal), border-color var(--duration-normal);
}

.header-inner {
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
}

/* Brand Logo (Expanding typography on hover) */
.brand-monogram {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--foreground);
  z-index: 10;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
}

.logo-bold {
  color: #ffffff;
}

.logo-collapse {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  max-width: 6.5em;
  opacity: 1;
  transition: max-width var(--duration-normal) var(--ease-meridian), opacity var(--duration-normal);
}

.logo-space {
  width: 0.45em;
  display: inline-block;
}

/* Primary Navigation with Meridian's expanding dash */
.primary-nav {
  display: none;
  align-items: center;
  gap: 1.85rem;
}

@media (min-width: 1024px) {
  .primary-nav {
    display: flex;
  }
}

.nav-item {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel-light);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color var(--duration-fast);
  position: relative;
}

.nav-dash {
  display: inline-block;
  height: 1px;
  width: 0;
  background-color: var(--foreground);
  margin-right: 0;
  transition: width var(--duration-normal) var(--ease-meridian), margin-right var(--duration-normal) var(--ease-meridian);
}

.nav-item:hover, .nav-item.active {
  color: #ffffff;
}

.nav-item:hover .nav-dash, .nav-item.active .nav-dash {
  width: 12px;
  margin-right: 6px;
  background-color: var(--brand-electric);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 10;
}

/* LinkedIn Marquee Pill */
.linkedin-marquee-pill {
  display: none;
  height: 2.5rem;
  width: 11.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-hardware);
  text-decoration: none;
  color: var(--steel-light);
  overflow: hidden;
  align-items: center;
  transition: border-color var(--duration-fast), color var(--duration-fast);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

@media (min-width: 1280px) {
  .linkedin-marquee-pill {
    display: flex;
  }
}

.linkedin-marquee-pill:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.marquee-track-mini {
  display: flex;
  flex-shrink: 0;
  animation: marquee-mini 10s linear infinite;
}

@keyframes marquee-mini {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.mini-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-right: 0.75rem;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.mini-label .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: currentColor;
}

/* Meridian Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--duration-normal), color var(--duration-normal), border-color var(--duration-normal), transform var(--duration-fast);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-arrow {
  width: 14px;
  height: 14px;
  transition: transform var(--duration-normal) var(--ease-meridian);
}

.btn:hover .btn-arrow {
  transform: translate(2px, -2px);
}

.btn-pill-white {
  background-color: #ffffff;
  color: var(--ink);
  height: 2.5rem;
  padding: 0 1.35rem;
  border: 1px solid #ffffff;
  font-weight: 500;
}

.btn-pill-white:hover {
  background-color: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.btn-pill-ghost {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid var(--border-hardware);
  height: 2.5rem;
  padding: 0 1.35rem;
}

.btn-pill-ghost:hover {
  border-color: #ffffff;
  background-color: #ffffff;
  color: var(--ink);
}

/* Mobile Menu Button with Matrix Dot Grid */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  height: 2.5rem;
  padding: 0 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-hardware);
  background: transparent;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: border-color var(--duration-fast);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn:hover {
  border-color: #ffffff;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 3px);
  gap: 3px;
}

.matrix-grid .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: currentColor;
}

/* --------------------------------------------------------------------------
   5. Mobile Drawer Menu Overlay
   -------------------------------------------------------------------------- */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(11, 11, 13, 0.95);
  backdrop-filter: blur(28px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-meridian);
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-content {
  width: 100%;
  max-width: 24rem;
  height: 100%;
  margin-left: auto;
  background-color: var(--ink-subtle);
  border-left: 1px solid var(--border-hardware);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform var(--duration-normal) var(--ease-meridian);
}

.mobile-drawer.open .drawer-content {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-hardware);
}

.drawer-brand {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  color: var(--brand-soft);
}

.drawer-close {
  background: none;
  border: 1px solid var(--border-hardware);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.drawer-item {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel-light);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.drawer-item:hover {
  color: var(--brand-electric);
}

.drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.drawer-socials {
  display: flex;
  gap: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.drawer-socials a {
  color: var(--steel);
  text-decoration: none;
}

.drawer-socials a:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   6. Hero Section (Meridian Deep Space + Three.js + Marquee)
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   6. Hero Track & Transforming 3D Globe Stage (Meridian Deep Space Engine)
   -------------------------------------------------------------------------- */
.hero-track {
  position: relative;
  height: 200vh;
  height: 200svh; /* Keeps hero stage pinned on mobile until globe transition fully completes */
  background-color: var(--ink);
  color: #ffffff;
  overflow: visible;
}

@media (min-width: 1024px) {
  .hero-track {
    height: 230vh;
    height: 230svh; /* Desktop scroll track matching Meridian md:h-[230svh] */
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-track {
    height: auto;
  }
}

/* Sticky Stage holding the Globe, Starfields, and Hero Content */
.hero-stage {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
  padding-top: 3.5rem;
  cursor: grab;
  width: 100%;
  z-index: 10;
}

@media (min-width: 1024px) {
  .hero-stage {
    min-height: 36rem;
  }
}

.hero-stage:active {
  cursor: grabbing;
}

.hero-stage a,
.hero-stage button {
  cursor: pointer;
}

/* Nebula background layer */
.nebula {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: 
    radial-gradient(circle at 75% 25%, rgba(92, 92, 252, 0.16) 0%, transparent 55%),
    radial-gradient(circle at 20% 75%, rgba(35, 64, 255, 0.14) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(11, 11, 13, 0.4) 0%, transparent 100%);
  pointer-events: none;
}

/* Starfield layers */
.starfield {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: 
    radial-gradient(1px 1px at 30px 45px, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 150px 90px, rgba(140, 155, 255, 0.8), transparent),
    radial-gradient(1px 1px at 290px 230px, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1.2px 1.2px at 420px 120px, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1px 1px at 570px 330px, rgba(140, 155, 255, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 720px 190px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 850px 410px, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.3px 1.3px at 980px 160px, rgba(140, 155, 255, 0.7), transparent);
  background-size: 1000px 700px;
  opacity: 0.65;
  pointer-events: none;
}

.starfield-far {
  background-size: 650px 500px;
  opacity: 0.4;
  transform: rotate(45deg);
}

/* 3D Meridian Globe Canvas */
.hero-globe-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

/* Progressive Shading Gradient based on scroll progress */
.hero-progress-gradient {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: var(--hero-progress, 0);
  background: linear-gradient(180deg, rgba(11, 11, 13, 0.85) 0%, rgba(11, 11, 13, 0.45) 45%, transparent 70%);
  transition: opacity 0.05s linear;
}

@media (min-width: 1024px) {
  .hero-progress-gradient {
    background: linear-gradient(90deg, rgba(11, 11, 13, 0.85) 0%, rgba(11, 11, 13, 0.45) 38%, transparent 62%);
  }
}

.hero-container {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  will-change: transform;
}

/* Mobile: remains pinned on the first top section until globe transition completes,
   text becomes smaller and minimizes to the bottom left */
@media (max-width: 1023px) {
  .hero-container {
    opacity: 1;
    transform-origin: bottom left;
    transform: translateY(calc(var(--hero-p, 0) * 26svh)) scale(calc(1 - var(--hero-p, 0) * 0.38));
    pointer-events: auto;
  }

  .hero-lead {
    opacity: max(0, calc(1 - var(--hero-p, 0) * 1.6));
    transition: opacity 0.1s linear;
  }

  .hero-actions {
    opacity: max(0, calc(1 - var(--hero-p, 0) * 1.4));
    transition: opacity 0.1s linear;
  }
}

/* Desktop: gradually moves text to the left as user scrolls until globe transition completes */
@media (min-width: 1024px) {
  .hero-container {
    max-width: min(48rem, 50vw);
    padding-right: 2rem;
    transform: translateX(calc(var(--hero-p, 0) * -140px));
  }

  .hero-lead {
    max-width: 32rem;
  }
}

.hero-kicker-wrap {
  margin-bottom: 1.25rem;
}

.hero-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--steel-light);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.kicker-pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--brand-soft);
  box-shadow: 0 0 10px var(--brand-electric);
  border-radius: 50%;
  display: inline-block;
}

.hero-headline {
  font-size: clamp(2.3rem, 6.2vw, 4.85rem);
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 600;
  max-width: 14ch;
  color: #ffffff;
}

.hero-role-line {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--brand-soft);
}

.role-prefix {
  color: var(--steel);
}

.role-cursor {
  animation: blink 1s step-start infinite;
  color: var(--brand-electric);
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-lead {
  margin-top: 1.5rem;
  max-width: 38rem;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  color: var(--steel-light);
}

.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-actions .btn {
  height: 2.85rem;
  padding: 0 1.65rem;
}

@media (max-width: 767px) {
  .hero-container {
    justify-content: flex-start;
    padding-top: 0.75rem;
    padding-bottom: 0.25rem;
  }
  .hero-kicker-wrap {
    margin-bottom: 0.4rem;
  }
  .hero-headline {
    font-size: clamp(1.8rem, 7.2vw, 2.3rem);
    line-height: 1.05;
  }
  .hero-role-line {
    margin-top: 0.45rem;
    font-size: 0.70rem;
  }
  .hero-lead {
    margin-top: 0.6rem;
    font-size: 0.86rem;
    line-height: 1.42;
    max-width: 100%;
  }
  .hero-actions {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.45rem;
  }
  .hero-actions .btn {
    height: 2.15rem;
    padding: 0 0.85rem;
    font-size: 0.72rem;
  }
}

/* Scroll To Explore Indicator (Fades early on scroll) */
.scroll-explore {
  position: absolute;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  pointer-events: none;
  opacity: calc(1 - var(--hero-progress, 0) * 4);
  transition: opacity 0.1s linear;
}

@media (min-width: 768px) {
  .scroll-explore {
    display: flex;
  }
}

.scroll-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--steel);
}

.scroll-stem {
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to bottom, var(--steel) 0%, transparent 100%);
  animation: scroll-pulse 2.2s infinite ease-in-out;
}

@keyframes scroll-pulse {
  0% { transform: scaleY(0.4); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0.4); opacity: 0.3; }
}

/* Hero Running Marquee Ribbon */
.hero-marquee-bar {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border-hardware);
  background-color: rgba(11, 11, 13, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.marquee-bar-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.marquee-title {
  flex-shrink: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--steel);
}

.marquee-viewport {
  position: relative;
  flex: 1;
  overflow: hidden;
  display: flex;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  animation: marquee-slide 40s linear infinite;
}

@keyframes marquee-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-item-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.marquee-tag {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 1.5rem;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--steel-light);
  white-space: nowrap;
}

.tag-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--brand-soft);
}

/* --------------------------------------------------------------------------
   7. By The Numbers Metrics Section (Meridian Minimalist 6-Cell Grid)
   -------------------------------------------------------------------------- */
.meridian-stats-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: var(--ink);
  border-bottom: 1px solid var(--border-hardware);
}

.section-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--steel);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.meridian-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-left: 1px solid var(--border-hardware);
  border-top: 1px solid var(--border-hardware);
}

@media (min-width: 640px) {
  .meridian-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .meridian-metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .meridian-metrics-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.metric-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.25rem;
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--border-hardware);
  border-bottom: 1px solid var(--border-hardware);
  background-color: rgba(18, 19, 25, 0.35);
  transition: background-color var(--duration-fast);
}

.metric-block:hover {
  background-color: rgba(92, 92, 252, 0.05);
}

.metric-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--steel);
  order: 2;
}

.metric-value {
  font-size: clamp(2.2rem, 3.5vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1;
  order: 1;
}

.metric-sub {
  font-size: 10px;
  color: var(--steel-soft);
  order: 3;
  margin-top: auto;
}

@media (max-width: 639px) {
  .metric-block {
    padding: 1.15rem 0.85rem;
    gap: 0.65rem;
  }

  .metric-value {
    font-size: clamp(1.6rem, 6vw, 2.15rem);
    letter-spacing: -0.02em;
  }

  .metric-label {
    font-size: 9.5px;
    letter-spacing: 0.12em;
    line-height: 1.35;
  }

  .metric-sub {
    font-size: 9px;
    letter-spacing: 0.04em;
    line-height: 1.35;
  }
}

/* --------------------------------------------------------------------------
   8. About Section (Two-Column Split + 8 Consultative Pillars)
   -------------------------------------------------------------------------- */
.meridian-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  border-bottom: 1px solid var(--border-hardware);
  position: relative;
}

@media (min-width: 1024px) {
  .meridian-section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #ffffff;
}

.section-subtitle {
  font-size: 0.85rem;
  color: var(--steel);
  max-width: 32rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}

@media (min-width: 1024px) {
  .about-split-layout {
    grid-template-columns: 5fr 7fr;
    gap: 4.5rem;
  }
}

/* Profile Card in About: Integrated Image with Seamless Fade to Text */
.profile-card-meridian {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 165px;
  border-radius: var(--radius-lg);
  background-color: var(--ink-card);
  border: 1px solid var(--border-hardware);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  overflow: hidden;
  margin-bottom: 2.25rem;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.45);
}

.profile-bg-image-wrap {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 44%;
  max-width: 240px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.profile-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%) contrast(1.05) brightness(0.9);
  transition: filter var(--duration-normal), transform var(--duration-normal);
}

.profile-card-meridian:hover .profile-bg-img {
  filter: grayscale(15%) contrast(1.05) brightness(0.95);
  transform: scale(1.03);
}

.profile-img-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(18, 19, 25, 0) 0%, rgba(18, 19, 25, 0.35) 40%, rgba(18, 19, 25, 0.95) 85%, var(--ink-card) 100%);
  pointer-events: none;
}

.profile-meta {
  position: relative;
  z-index: 2;
  padding: 1.75rem 2rem;
  padding-left: clamp(155px, 34%, 235px);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 0.35rem;
}

.profile-status-badge .indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.profile-name {
  font-size: 1.45rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.profile-role {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-soft);
  margin-top: 0.25rem;
}

.profile-contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.95rem;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-hardware-soft);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--steel-light);
  text-decoration: none;
  transition: border-color var(--duration-fast), color var(--duration-fast), background-color var(--duration-fast);
}

.contact-chip:hover {
  border-color: #ffffff;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 640px) {
  .profile-bg-image-wrap {
    width: 100%;
    max-width: 100%;
    height: 100%;
    opacity: 0.4;
  }
  .profile-img-fade {
    background: linear-gradient(to right, rgba(18, 19, 25, 0.4) 0%, rgba(18, 19, 25, 0.92) 55%, var(--ink-card) 100%);
  }
  .profile-meta {
    padding: 1.5rem 1.25rem;
    padding-left: 1.25rem;
  }
}

.about-narrative .body-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #ffffff;
  margin-bottom: 1rem;
}

.about-narrative .body-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--steel);
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* 8 Consultative Pillars Bento Grid */
.pillars-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .pillars-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pillar-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background-color: var(--ink-card);
  border: 1px solid var(--border-hardware);
  backdrop-filter: var(--glass-blur);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--duration-fast), border-color var(--duration-fast), background-color var(--duration-fast);
}

.pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hardware-hover);
  background-color: var(--ink-card-hover);
}

.pillar-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.pillar-index {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--steel);
}

.pillar-icon-box {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-subtle);
  color: var(--brand-soft);
}

.pillar-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.pillar-description {
  font-size: 0.85rem;
  color: var(--steel);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   9. Core Services / Advisory Domains Grid
   -------------------------------------------------------------------------- */
.services-header-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .services-header-wrap {
    flex-direction: row;
    align-items: flex-end;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card-meridian {
  padding: 2.25rem 2rem;
  border-radius: var(--radius-lg);
  background-color: var(--ink-card);
  border: 1px solid var(--border-hardware);
  backdrop-filter: var(--glass-blur);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  transition: transform var(--duration-fast), border-color var(--duration-fast), background-color var(--duration-fast);
}

.service-card-meridian:hover {
  transform: translateY(-4px);
  border-color: var(--brand-electric);
  background-color: var(--ink-card-hover);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-number {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--steel);
}

.service-badge {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-pill);
  background-color: var(--brand-subtle);
  color: var(--brand-soft);
  border: 1px solid rgba(92, 92, 252, 0.25);
}

.service-title {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  color: #ffffff;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--steel-light);
  line-height: 1.6;
}

.service-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--steel);
  border-top: 1px solid var(--border-hardware-soft);
  padding-top: 1.25rem;
}

.service-feature-list li {
  position: relative;
  padding-left: 1.2rem;
}

.service-feature-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--brand-soft);
}

.service-card-footer {
  padding-top: 0.75rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-soft);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.service-link:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   10. Career Trajectory & Testimonials Stage
   -------------------------------------------------------------------------- */
.trajectory-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .trajectory-split {
    grid-template-columns: 7fr 5fr;
  }
}

.meridian-timeline {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: relative;
  margin-top: 2rem;
}

.meridian-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 8.5rem;
  width: 1px;
  background-color: var(--border-hardware);
  display: none;
}

@media (min-width: 640px) {
  .meridian-timeline::before {
    display: block;
  }
}

.timeline-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}

@media (min-width: 640px) {
  .timeline-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }
}

.timeline-left {
  width: 8rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--steel);
}

.timeline-years {
  font-weight: 600;
  color: var(--foreground);
}

.timeline-loc {
  font-size: 10px;
  color: var(--steel);
}

.timeline-node {
  display: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--ink);
  border: 2px solid var(--brand-electric);
  position: relative;
  left: -2px;
  top: 5px;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .timeline-node {
    display: block;
  }
}

.timeline-right {
  flex: 1;
  background-color: var(--ink-card);
  border: 1px solid var(--border-hardware);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.timeline-company {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-soft);
  display: block;
  margin-bottom: 0.25rem;
}

.timeline-role {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.timeline-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--steel-light);
  line-height: 1.55;
}

.timeline-bullets li {
  position: relative;
  padding-left: 1.2rem;
}

.timeline-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand-electric);
}

/* Aside: Education, Languages & Testimonials */
.aside-block {
  background-color: var(--ink-card);
  border: 1px solid var(--border-hardware);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: var(--glass-blur);
}

.edu-card {
  border-left: 2px solid var(--border-hardware);
  padding-left: 1rem;
}

.edu-year {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--steel);
}

.edu-degree {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
}

.edu-school {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--brand-soft);
  margin-bottom: 0.35rem;
}

.edu-desc {
  font-size: 0.85rem;
  color: var(--steel);
}

/* Languages Grid */
.languages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.lang-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-hardware-soft);
  font-size: 0.8rem;
}

.lang-name {
  color: var(--foreground);
}

.lang-level {
  font-size: 9px;
  text-transform: uppercase;
  color: var(--steel);
  letter-spacing: 0.1em;
}

/* Testimonials Carousel */
.testimonials-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.testimonials-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 11px;
  color: var(--steel);
}

.arrow-group {
  display: flex;
  gap: 0.35rem;
}

.ctrl-arrow {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  border: 1px solid var(--border-hardware);
  background: transparent;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--duration-fast), background-color var(--duration-fast);
}

.ctrl-arrow:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.testimonial-card-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.testimonial-quote-text {
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--steel-light);
}

.testimonial-author-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border-hardware-soft);
  padding-top: 1rem;
}

.author-avatar-fallback {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--brand-subtle);
  color: var(--brand-soft);
  font-family: var(--font-heading);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  border: 1px solid var(--border-hardware);
}

.author-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.author-role {
  font-size: 11px;
  color: var(--steel);
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   11. Works & Certifications Galleries (Meridian Style)
   -------------------------------------------------------------------------- */
.gallery-header-bar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .gallery-header-bar {
    flex-direction: row;
    align-items: flex-end;
  }
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-pill {
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-hardware);
  background: transparent;
  color: var(--steel-light);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.filter-pill:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.filter-pill.active {
  background-color: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
  font-weight: 600;
}

/* Cards Grid */
.meridian-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .meridian-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .meridian-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .meridian-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.meridian-card-item {
  border-radius: var(--radius-md);
  background-color: var(--ink-card);
  border: 1px solid var(--border-hardware);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform var(--duration-fast), border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.meridian-card-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-hardware-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.card-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--ink-surface);
}

.card-media-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-normal) var(--ease-meridian), filter var(--duration-normal);
}

.meridian-card-item:hover .card-media-thumb {
  transform: scale(1.06);
}

.card-hover-mask {
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 13, 0.6);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--duration-fast);
}

.meridian-card-item:hover .card-hover-mask {
  opacity: 1;
}

.mask-badge {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  background-color: #ffffff;
  color: var(--ink);
  font-weight: 600;
}

.card-meta-wrap {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  justify-content: space-between;
}

.card-cat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-soft);
}

.card-item-headline {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
}

.show-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
}

/* --------------------------------------------------------------------------
   12. FAQ Accordion Section
   -------------------------------------------------------------------------- */
.faq-header {
  margin-bottom: 3.5rem;
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-hardware);
}

.faq-item {
  border-bottom: 1px solid var(--border-hardware);
  transition: background-color var(--duration-fast);
}

.faq-item:hover {
  background-color: rgba(255, 255, 255, 0.015);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 0.5rem;
  background: none;
  border: none;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
}

.faq-number {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--steel);
  width: 2rem;
  flex-shrink: 0;
}

.faq-question {
  font-size: 1.25rem;
  font-weight: 600;
  flex: 1;
  color: #ffffff;
  transition: color var(--duration-fast);
}

.faq-item:hover .faq-question {
  color: var(--brand-soft);
}

.faq-plus {
  font-size: 1.5rem;
  font-family: var(--font-mono);
  color: var(--steel);
  transition: transform var(--duration-normal) var(--ease-meridian), color var(--duration-fast);
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
  color: var(--brand-electric);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-meridian);
}

.faq-item.open .faq-body {
  max-height: 400px;
}

.faq-answer {
  padding: 0 0.5rem 1.75rem 2.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--steel-light);
}

/* --------------------------------------------------------------------------
   13. Collaboration & Direct Booking Section
   -------------------------------------------------------------------------- */
.booking-section {
  background-color: var(--ink-pure);
}

.booking-cta-banner {
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  background: linear-gradient(135deg, rgba(35, 64, 255, 0.4) 0%, rgba(92, 92, 252, 0.15) 50%, rgba(11, 11, 13, 0.95) 100%);
  border: 1px solid rgba(92, 92, 252, 0.35);
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.banner-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.1;
  margin: 1rem 0;
}

.banner-lead {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  max-width: 42rem;
  line-height: 1.6;
}

/* 3 Consultation Tiers */
.booking-tiers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .booking-tiers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tier-card {
  padding: 2.25rem 2rem;
  border-radius: var(--radius-lg);
  background-color: var(--ink-card);
  border: 1px solid var(--border-hardware);
  backdrop-filter: var(--glass-blur);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  transition: transform var(--duration-fast), border-color var(--duration-fast);
}

.tier-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hardware-hover);
}

.tier-card.tier-popular {
  border-color: var(--brand-electric);
  box-shadow: 0 0 35px rgba(92, 92, 252, 0.2);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background-color: var(--brand-electric);
  color: #ffffff;
  font-size: 9px;
  letter-spacing: 0.16em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.tier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tier-duration {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
}

.tier-badge {
  font-size: 9px;
  letter-spacing: 0.14em;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--steel-light);
}

.tier-badge.badge-blue {
  background-color: var(--brand-subtle);
  color: var(--brand-soft);
  border: 1px solid rgba(92, 92, 252, 0.3);
}

.tier-name {
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
}

.tier-desc {
  font-size: 0.85rem;
  color: var(--steel);
  line-height: 1.55;
}

.tier-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 11px;
  color: var(--steel-light);
  border-top: 1px solid var(--border-hardware-soft);
  padding-top: 1.25rem;
}

.tier-bullets li {
  position: relative;
  padding-left: 1.2rem;
}

.tier-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-soft);
}

.btn-tier {
  height: 2.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-hardware);
  background: transparent;
  color: #ffffff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.btn-tier:hover {
  background-color: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
}

/* Interactive Dispatcher Form & Channels Wrap */
.booking-form-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .booking-form-wrap {
    grid-template-columns: 7fr 5fr;
  }
}

.form-container {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background-color: var(--ink-card);
  border: 1px solid var(--border-hardware);
  backdrop-filter: var(--glass-blur);
}

.form-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.form-subtitle {
  font-size: 11px;
  color: var(--steel);
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field.full-width {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--steel);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hardware);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--duration-fast);
}

.form-field select option {
  background-color: var(--ink-surface);
  color: #ffffff;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--brand-electric);
  box-shadow: 0 0 0 3px rgba(92, 92, 252, 0.15);
}

.form-dispatch-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  border-color: #25d366;
  height: 2.75rem;
  padding: 0 1.5rem;
  font-weight: 600;
}

.btn-whatsapp:hover {
  background-color: #1ebc57;
  border-color: #1ebc57;
}

/* Channels Box */
.channels-box {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background-color: var(--ink-card);
  border: 1px solid var(--border-hardware);
  backdrop-filter: var(--glass-blur);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.channels-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
}

.channels-desc {
  font-size: 11px;
  color: var(--steel);
  letter-spacing: 0.05em;
}

.channel-items {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.channel-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-hardware-soft);
  text-decoration: none;
  transition: all var(--duration-fast);
}

.channel-link:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.07);
}

.channel-icon {
  color: var(--brand-soft);
  display: flex;
  align-items: center;
  margin-right: 0.75rem;
}

.channel-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.channel-label {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--steel);
}

.channel-val {
  font-size: 0.85rem;
  color: #ffffff;
}

.channel-status {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--brand-soft);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  background-color: var(--brand-subtle);
}

.nda-assurance-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--steel);
  border-top: 1px solid var(--border-hardware-soft);
  padding-top: 1.25rem;
}

.nda-assurance-badge svg {
  color: var(--emerald);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   14. Meridian Footer
   -------------------------------------------------------------------------- */
.meridian-footer {
  background-color: var(--ink-pure);
  border-top: 1px solid var(--border-hardware);
  padding-top: 5rem;
  padding-bottom: 3rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border-hardware-soft);
}

@media (min-width: 640px) {
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-top-grid {
    grid-template-columns: 5fr 2fr 3fr 2fr;
  }
}

.footer-brand-name {
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #ffffff;
  display: block;
}

.footer-brand-tagline {
  font-size: 11px;
  color: var(--steel);
  line-height: 1.6;
  margin-top: 0.5rem;
  max-width: 24rem;
  letter-spacing: 0.05em;
}

.footer-clock-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--brand-soft);
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.footer-col-title {
  color: var(--steel);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.footer-nav-col a {
  color: var(--steel-light);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.footer-nav-col a:hover {
  color: #ffffff;
}

.footer-bottom-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 2rem;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--steel);
}

@media (min-width: 768px) {
  .footer-bottom-bar {
    flex-direction: row;
  }
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--steel-light);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.back-to-top-btn:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   15. High-Resolution Lightbox Modal
   -------------------------------------------------------------------------- */
.meridian-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-meridian);
}

.meridian-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(3, 3, 3, 0.92);
  backdrop-filter: blur(28px);
}

.lightbox-content {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 58rem;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background-color: var(--ink-subtle);
  border: 1px solid var(--border-hardware);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-hardware);
  background-color: rgba(11, 11, 13, 0.85);
  color: #ffffff;
  font-size: 11px;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.lightbox-close:hover {
  border-color: #ffffff;
}

.lightbox-img-wrap {
  width: 100%;
  max-height: 65vh;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  padding: 1rem;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-meta {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border-hardware);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.lightbox-category {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--brand-soft);
  text-transform: uppercase;
}

.lightbox-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
}

.lightbox-controls {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.lightbox-controls .btn {
  height: 2.25rem;
  font-size: 10px;
  padding: 0 1rem;
}

/* ==========================================================================
   19. Cinematic Smooth Scroll & Section Zoom Scrollytelling Engine
   ========================================================================== */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* Base Scrollytelling Section Zoom Styling */
.scroll-zoom-section {
  position: relative;
  will-change: transform, opacity;
  transform-style: preserve-3d;
  transition: border-color 0.6s var(--ease-meridian), box-shadow 0.6s var(--ease-meridian);
}

/* Atmospheric Ambient Spotlight when Section is Focused */
.scroll-zoom-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--container-max);
  height: 100%;
  background: radial-gradient(ellipse 70% 35% at 50% 8%, rgba(92, 92, 252, 0.09), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s var(--ease-meridian);
  z-index: 0;
}

.scroll-zoom-section.section-focused::before {
  opacity: 1;
}

/* Hardware border shimmer on active section */
.scroll-zoom-section.section-focused {
  border-bottom-color: rgba(92, 92, 252, 0.28);
}

/* Enhanced Bento Card Depth & Illumination on Focus */
.scroll-zoom-section.section-focused .metric-block,
.scroll-zoom-section.section-focused .pillar-card-meridian,
.scroll-zoom-section.section-focused .service-card-meridian,
.scroll-zoom-section.section-focused .timeline-item,
.scroll-zoom-section.section-focused .work-card,
.scroll-zoom-section.section-focused .cert-card,
.scroll-zoom-section.section-focused .faq-item,
.scroll-zoom-section.section-focused .tier-card {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.65), 0 0 30px -10px rgba(92, 92, 252, 0.12);
}

/* Focused Section Header Badge Accent */
.scroll-zoom-section.section-focused .section-badge {
  border-color: rgba(92, 92, 252, 0.45);
  background-color: rgba(35, 64, 255, 0.15);
  box-shadow: 0 0 25px -4px rgba(92, 92, 252, 0.35);
  color: #ffffff;
}

.scroll-zoom-section.section-focused .section-badge .status-dot {
  background-color: var(--brand-electric);
  box-shadow: 0 0 10px #5c5cfc;
}

/* Sub-card smooth micro-transition */
.metric-block,
.pillar-card-meridian,
.service-card-meridian,
.timeline-item,
.work-card,
.cert-card,
.faq-item,
.tier-card {
  transition: border-color var(--duration-normal), box-shadow var(--duration-normal), transform var(--duration-normal);
}

