/* ==========================================================================
   CV DIGITAL LEADER / HEAD OF DIGITAL - DESIGN SYSTEM (HIRAEL STYLE)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@300;400;500;600&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Syne:wght@500;600;700;800&display=swap');

:root {
  /* Hirael signature color palette */
  --cs-bg: #070707;
  --cs-bg-secondary: #0f0f0f;
  --cs-bg-card: rgba(18, 18, 18, 0.75);
  --cs-bg-card-hover: rgba(26, 26, 26, 0.85);
  
  --cs-cream: #e1e0cc;
  --cs-ink: #dedbc8;
  --cs-muted: #8b8a80;
  --cs-muted-dark: #474642;
  --cs-white: #ffffff;
  
  --cs-gold: #c4a278;
  --cs-gold-glow: rgba(196, 162, 120, 0.18);
  --cs-cream-glow: rgba(222, 219, 200, 0.12);
  
  --cs-border: rgba(255, 255, 255, 0.08);
  --cs-border-hover: rgba(222, 219, 200, 0.25);
  --cs-border-gold: rgba(196, 162, 120, 0.35);

  /* Typography */
  --font-display: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions & easing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Global Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--cs-bg);
  color: var(--cs-ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--cs-bg);
  color: var(--cs-ink);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

::selection {
  background: var(--cs-gold);
  color: #000;
}

/* --------------------------------------------------------------------------
   Atmospheric Site Preloader
   -------------------------------------------------------------------------- */
.site-preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #070707;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.site-preloader.fade-out {
  opacity: 0;
  transform: scale(1.025);
  pointer-events: none;
}

.preloader-content {
  position: relative;
  z-index: 99992;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.preloader-glow-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 140px;
  background: radial-gradient(ellipse at center, rgba(196, 162, 120, 0.25) 0%, rgba(225, 224, 204, 0.08) 45%, transparent 75%);
  filter: blur(45px);
  pointer-events: none;
  animation: preloaderPulse 2.4s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.9); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

.preloader-track {
  width: 220px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  position: relative;
  overflow: visible;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
}

.preloader-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(225, 224, 204, 0.15) 0%, var(--cs-gold) 60%, #ffffff 100%);
  box-shadow: 0 0 14px rgba(225, 224, 204, 0.65);
  border-radius: 9999px;
  transition: width 0.05s linear;
}

.preloader-bar-head {
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  transform: translate(50%, -50%);
  box-shadow: 0 0 8px #ffffff, 0 0 18px var(--cs-gold);
}

.preloader-brand {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--cs-muted);
  letter-spacing: 0.28em;
  text-transform: lowercase;
  margin-top: 1.5rem;
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   Scroll-Driven Element Reveal Animations
   -------------------------------------------------------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Delays for Grid Children */
.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }

/* --------------------------------------------------------------------------
   Atmospheric Backgrounds & Film Grain Noise
   -------------------------------------------------------------------------- */
.grain-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
  opacity: 0.045;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.ambient-lights {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-light {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform, opacity;
  transition: transform 1.2s var(--ease-out-expo);
}

.light-1 {
  top: -15%;
  left: 10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, var(--cs-cream-glow) 0%, rgba(222,219,200,0) 70%);
}

.light-2 {
  top: 35%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--cs-gold-glow) 0%, rgba(196,162,120,0) 70%);
}

.light-3 {
  bottom: 5%;
  left: 5%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(140, 115, 85, 0.08) 0%, rgba(0,0,0,0) 70%);
}

.ambient-particles-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99991;
  display: block;
}

/* --------------------------------------------------------------------------
   Custom Interactive Cursor (Desktop)
   -------------------------------------------------------------------------- */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--cs-cream);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), background-color 0.3s ease;
  mix-blend-mode: difference;
}

.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(225, 224, 204, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), border-color 0.3s ease, background 0.3s ease;
}

.custom-cursor.hovered {
  width: 14px;
  height: 14px;
  background-color: var(--cs-gold);
}

.cursor-follower.hovered {
  width: 64px;
  height: 64px;
  border-color: var(--cs-gold);
  background: rgba(196, 162, 120, 0.08);
}

@media (pointer: coarse), (max-width: 1024px) {
  .custom-cursor, .cursor-follower {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Layout & Container
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1380px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 2.5rem;
  }
}

@media (min-width: 1280px) {
  .container {
    padding-inline: 3.5rem;
  }
}

/* --------------------------------------------------------------------------
   Header & Floating Navigation Pill
   -------------------------------------------------------------------------- */
.nav-wrapper {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: auto;
  max-width: calc(100vw - 2rem);
  transition: top 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(12, 12, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--cs-border);
  padding: 0.35rem 0.5rem 0.35rem 1.25rem;
  border-radius: 9999px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.6);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--cs-cream);
  text-decoration: none;
  letter-spacing: -0.02em;
  margin-right: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-logo-dot {
  width: 6px;
  height: 6px;
  background-color: var(--cs-gold);
  border-radius: 50%;
  display: inline-block;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cs-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
  padding-block: 0.25rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--cs-cream);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cs-gold);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Language Toggle Switch */
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--cs-border);
  border-radius: 9999px;
  padding: 2px;
  cursor: pointer;
}

.lang-btn {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: var(--cs-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background: var(--cs-cream);
  color: #000;
}

/* Quick Contact Pill Button */
.btn-pill-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cs-ink);
  color: #000;
  text-decoration: none;
  font-size: 0.825rem;
  font-weight: 600;
  padding: 0.4rem 0.4rem 0.4rem 1rem;
  border-radius: 9999px;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}

.btn-pill-primary:hover {
  background: var(--cs-cream);
  box-shadow: 0 0 20px rgba(225, 224, 204, 0.3);
}

.btn-pill-primary .btn-icon-circle {
  width: 28px;
  height: 28px;
  background: #000;
  color: var(--cs-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.btn-pill-primary:hover .btn-icon-circle {
  transform: scale(1.1) rotate(45deg);
}

/* Mobile Hamburger & Responsive Navigation Rules */
.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--cs-border);
  border-radius: 50%;
  color: var(--cs-cream);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--cs-border-gold);
}

@media (min-width: 900px) {
  .mobile-nav-toggle {
    display: none;
  }
}

@media (max-width: 899px) {
  .btn-pill-primary {
    display: none;
  }

  .nav-wrapper {
    top: 1rem;
    max-width: calc(100vw - 1.5rem);
  }

  .nav-pill {
    padding: 0.3rem 0.4rem 0.3rem 0.9rem;
    gap: 0.5rem;
  }

  .nav-logo {
    font-size: 0.85rem;
    margin-right: 0.2rem;
    gap: 0.3rem;
  }

  .lang-btn {
    font-size: 0.65rem;
    padding: 0.25rem 0.45rem;
  }

  .mobile-nav-toggle {
    width: 32px;
    height: 32px;
    margin-left: 0.15rem;
  }
}

/* Mobile Drawer Menu */
.mobile-menu-drawer {
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 7, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 95;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out-expo);
}

.mobile-menu-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu-link {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--cs-cream);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.mobile-menu-link:hover {
  color: var(--cs-gold);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 8rem;
  padding-bottom: 5rem;
  overflow: visible;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  overflow: visible;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
  }
}

.hero-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--cs-border);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cs-ink);
  margin-bottom: 1.75rem;
}

.hero-greeting {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--cs-muted);
  letter-spacing: 0.01em;
  margin-bottom: 0.6rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 5.25rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--cs-cream);
  margin-bottom: 1.75rem;
}

.hero-title .title-accent {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: var(--cs-gold);
  letter-spacing: 0;
  padding-inline: 0.15em;
}

.hero-description {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.6;
  color: var(--cs-muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--cs-cream);
  color: #050505;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}

.btn-hero-primary:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(225, 224, 204, 0.25);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--cs-ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid var(--cs-border);
  transition: all var(--transition-fast);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cs-border-hover);
  color: var(--cs-cream);
}

/* Free-Floating 3D Sphere Stage (No borders, expands on top) */
.hero-sphere-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 480px;
  overflow: visible;
  z-index: 15;
}

@media (min-width: 1024px) {
  .hero-sphere-wrap {
    min-height: 600px;
    margin-right: -3rem;
  }
}

.free-sphere-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
  overflow: visible !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  cursor: grab;
  transform-style: preserve-3d;
  z-index: 15;
}

@media (min-width: 1024px) {
  .free-sphere-stage {
    min-height: 600px;
  }
}

.free-sphere-stage:active {
  cursor: grabbing;
}

.stage-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: auto;
}

.stage-canvas canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  overflow: visible !important;
  pointer-events: auto;
}

.sphere-ambient-glow {
  position: absolute;
  inset: -25%;
  background: radial-gradient(circle at 50% 50%, rgba(196, 162, 120, 0.22), transparent 70%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

/* Floating Badges with Parallax */
.floating-badge {
  position: absolute;
  background: rgba(14, 14, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--cs-border);
  padding: 0.75rem 1.15rem;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  z-index: 25;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.3s ease;
  pointer-events: auto;
}

.floating-badge:hover {
  border-color: var(--cs-border-gold);
  transform: translateY(-4px) scale(1.02);
}

.badge-top-right {
  top: 15px;
  right: 0px;
}

.badge-bottom-left {
  bottom: 25px;
  left: 0px;
}

.badge-icon {
  width: 36px;
  height: 36px;
  background: rgba(196, 162, 120, 0.15);
  border: 1px solid var(--cs-border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cs-gold);
  font-size: 1rem;
}

.badge-text-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cs-cream);
  line-height: 1.2;
}

.badge-text-sub {
  font-size: 0.75rem;
  color: var(--cs-muted);
}

/* --------------------------------------------------------------------------
   Manifesto Section (Word-by-Word Scroll Reveal)
   -------------------------------------------------------------------------- */
.manifesto-section {
  padding-block: 6rem;
  position: relative;
}

@media (min-width: 768px) {
  .manifesto-section {
    padding-block: 9rem;
  }
}

.manifesto-box {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 3rem 1rem;
  text-align: center;
  position: relative;
  overflow: visible;
}

@media (min-width: 768px) {
  .manifesto-box {
    padding: 5rem 2rem;
  }
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--cs-gold);
  margin-bottom: 2rem;
}

.manifesto-heading {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--cs-cream);
  max-width: 1000px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.manifesto-heading .serif-italic {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: var(--cs-gold);
  letter-spacing: 0;
}

.word-reveal-container {
  max-width: 820px;
  margin-inline: auto;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.7;
  color: var(--cs-cream);
}

.word-reveal-container .word {
  display: inline-block;
  opacity: 0.22;
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform: translateY(2px);
  margin-right: 0.28em;
}

.word-reveal-container .word.lit {
  opacity: 1;
  transform: translateY(0);
  color: var(--cs-cream);
}

/* --------------------------------------------------------------------------
   Brand Marquee (Client Ticker - Borderless)
   -------------------------------------------------------------------------- */
.marquee-section {
  padding-block: 4rem 3rem;
  overflow: hidden;
  position: relative;
  border-block: none;
  background: transparent;
}

.marquee-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cs-muted);
  margin-bottom: 1.75rem;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
  gap: 3rem;
  align-items: center;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--cs-muted);
  transition: color var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
}

.marquee-item:hover {
  color: var(--cs-cream);
  transform: scale(1.05);
}

.marquee-item .item-dot {
  font-size: 0.75rem;
  color: var(--cs-gold);
  opacity: 0.6;
}

/* --------------------------------------------------------------------------
   Bento Grid: Core Strategic Pillars
   -------------------------------------------------------------------------- */
.pillars-section {
  padding-block: 6rem;
  position: relative;
}

@media (min-width: 768px) {
  .pillars-section {
    padding-block: 8rem;
  }
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.center {
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--cs-cream);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--cs-muted);
  max-width: 600px;
}

.section-header.center .section-subtitle {
  margin-inline: auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bento-card {
  position: relative;
  background: rgba(255, 255, 255, 0.018);
  border: none;
  border-radius: 1.75rem;
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  overflow: visible;
  transition: transform 0.4s var(--ease-out-expo), background 0.3s ease;
  transform-style: preserve-3d;
}

.bento-card:hover {
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-6px);
}

.bento-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(196, 162, 120, 0.08), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bento-card:hover .bento-card-glow {
  opacity: 1;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.card-icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(196, 162, 120, 0.1);
  border: none;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cs-gold);
  font-size: 1.25rem;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.bento-card:hover .card-icon-wrap {
  transform: scale(1.08);
  background: rgba(196, 162, 120, 0.18);
}

.card-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cs-muted);
  font-weight: 600;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cs-cream);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.card-list-item {
  font-size: 0.875rem;
  color: var(--cs-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.45;
}

.card-list-item svg {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  color: var(--cs-gold);
  margin-top: 3px;
}

.card-bottom-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cs-ink);
  opacity: 0.8;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   Experience & Career Timeline
   -------------------------------------------------------------------------- */
.experience-section {
  padding-block: 6rem;
  position: relative;
}

@media (min-width: 768px) {
  .experience-section {
    padding-block: 8rem;
  }
}

.timeline-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 1050px;
  margin-inline: auto;
}

.timeline-card {
  position: relative;
  background: rgba(255, 255, 255, 0.015);
  border: none;
  border-radius: 2rem;
  padding: 2.5rem 2rem;
  transition: all var(--transition-normal);
  overflow: visible;
}

@media (min-width: 768px) {
  .timeline-card {
    padding: 3.5rem 3rem;
  }
}

.timeline-card:hover {
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
}

.timeline-card-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1.75rem;
}

@media (min-width: 768px) {
  .timeline-card-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.company-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cs-gold);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.timeline-role-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  color: var(--cs-cream);
  line-height: 1.15;
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.meta-pill {
  background: rgba(255, 255, 255, 0.035);
  border: none;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cs-muted);
}

.timeline-responsibilities {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

@media (min-width: 768px) {
  .timeline-responsibilities {
    grid-template-columns: repeat(2, 1fr);
  }
}

.resp-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.resp-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cs-gold);
  margin-top: 8px;
  flex-shrink: 0;
}

.resp-text {
  font-size: 0.95rem;
  color: var(--cs-ink);
  line-height: 1.5;
}

.timeline-brands-box {
  background: rgba(0, 0, 0, 0.2);
  border: none;
  border-radius: 1.25rem;
  padding: 1.5rem;
}

.brands-box-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cs-gold);
  margin-bottom: 0.85rem;
}

.brands-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.brand-tag {
  background: rgba(255, 255, 255, 0.035);
  border: none;
  padding: 0.35rem 0.8rem;
  border-radius: 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--cs-cream);
  transition: all var(--transition-fast);
}

.brand-tag:hover {
  background: rgba(196, 162, 120, 0.15);
  color: #fff;
}

/* Stats Counter Grid */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
  max-width: 1050px;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .stats-banner {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background: rgba(255, 255, 255, 0.018);
  border: none;
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.04);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.5vw, 3.25rem);
  font-weight: 800;
  color: var(--cs-cream);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-number .stat-suffix {
  color: var(--cs-gold);
  font-weight: 700;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--cs-muted);
}

/* --------------------------------------------------------------------------
   Skills & Technology Matrix
   -------------------------------------------------------------------------- */
.skills-section {
  padding-block: 6rem;
  position: relative;
}

@media (min-width: 768px) {
  .skills-section {
    padding-block: 8rem;
  }
}

.filter-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.035);
  border: none;
  color: var(--cs-muted);
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--cs-cream);
  color: #000;
}

.skills-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .skills-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .skills-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.skill-category-card {
  background: rgba(255, 255, 255, 0.018);
  border: none;
  border-radius: 1.75rem;
  padding: 2rem;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.skill-category-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.04);
}

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.skill-cat-icon {
  width: 40px;
  height: 40px;
  background: rgba(196, 162, 120, 0.12);
  border: none;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cs-gold);
}

.skill-cat-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cs-cream);
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skill-pill {
  background: rgba(255, 255, 255, 0.035);
  border: none;
  padding: 0.45rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.825rem;
  color: var(--cs-ink);
  transition: all var(--transition-fast);
}

.skill-pill:hover {
  background: rgba(225, 224, 204, 0.15);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Contact & Editorial Call to Action (Borderless)
   -------------------------------------------------------------------------- */
.contact-section {
  padding-block: 6rem;
  position: relative;
}

@media (min-width: 768px) {
  .contact-section {
    padding-block: 8rem;
  }
}

.contact-hero-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 3rem 1rem;
  text-align: center;
  position: relative;
  overflow: visible;
  box-shadow: none;
}

@media (min-width: 768px) {
  .contact-hero-card {
    padding: 5rem 2rem;
  }
}

.contact-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--cs-cream);
  max-width: 880px;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.contact-sub {
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  color: var(--cs-muted);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.contact-actions-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.contact-action-box {
  background: rgba(255, 255, 255, 0.035);
  border: none;
  border-radius: 1.25rem;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  color: var(--cs-cream);
}

.contact-action-box:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-3px);
}

.action-box-icon {
  width: 42px;
  height: 42px;
  background: rgba(196, 162, 120, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cs-gold);
}

.action-box-info {
  text-align: left;
}

.action-box-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--cs-muted);
  letter-spacing: 0.1em;
}

.action-box-value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cs-cream);
}

/* Toast Notification */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--cs-cream);
  color: #000;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s var(--ease-out-expo);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Footer (Borderless)
   -------------------------------------------------------------------------- */
.site-footer {
  padding-block: 4rem 3rem;
  border-top: none;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
  }
}

.footer-credits {
  font-size: 0.85rem;
  color: var(--cs-muted);
}

.footer-clause {
  font-size: 0.725rem;
  color: var(--cs-muted-dark);
  max-width: 750px;
  line-height: 1.5;
  margin-top: 1.5rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Print & PDF Stylesheet Optimization
   -------------------------------------------------------------------------- */
@media print {
  body {
    background: #ffffff !important;
    color: #111111 !important;
    font-size: 11pt;
  }

  .nav-wrapper, .custom-cursor, .cursor-follower, .grain-overlay, .ambient-lights, .marquee-section, .toast-msg, .filter-nav {
    display: none !important;
  }

  .hero-editorial-card, .manifesto-box, .bento-card, .timeline-card, .contact-hero-card {
    background: #ffffff !important;
    border: 1px solid #ddd !important;
    color: #111 !important;
    box-shadow: none !important;
    padding: 1.5rem !important;
    page-break-inside: avoid;
  }

  .hero-title, .section-title, .card-title, .timeline-role-title, .contact-headline {
    color: #000000 !important;
  }

  .hero-description, .card-list-item, .resp-text {
    color: #333333 !important;
  }

  .word-reveal-container .word {
    opacity: 1 !important;
    color: #111 !important;
  }
}
