/* ----------------------------------------------------
   DESIGN SYSTEM & CSS VARIABLES
   ---------------------------------------------------- */
:root {
  /* Colors */
  --bg-primary: #070708;
  --bg-card: #111115;
  --bg-card-elevated: #161622;
  --text-primary: #ffffff;
  --text-muted: #8e929e;

  /* Discipline Specific Glowing Accents */
  --accent-purple: #a78bfa;
  --accent-purple-dark: #8b5cf6;
  --accent-purple-glow: rgba(167, 139, 250, 0.15);

  --accent-orange: #fb923c;
  --accent-orange-dark: #ea580c;
  --accent-orange-glow: rgba(251, 146, 60, 0.15);

  --accent-cyan: #22d3ee;
  --accent-cyan-dark: #0891b2;
  --accent-cyan-glow: rgba(34, 211, 238, 0.15);

  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(255, 255, 255, 0.2);

  /* Typography */
  --font-headers: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Max width container */
  --max-width: 1200px;
}

/* ----------------------------------------------------
   RESET & BASE STYLES
   ---------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip !important;
  width: 100% !important;
  max-width: 100vw !important;
  position: relative;
  min-height: 100vh;
}

/* Fail-safe Content Visibility for All Viewports */
.reveal,
.fade-in,
.about-card,
.hero-section,
.timeline-section,
.portfolio-section,
.some-more-works-section,
.certifications-section,
.tools-section,
.contact-section {
  opacity: 1;
  visibility: visible;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: #1f1f2e;
  border-radius: 5px;
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: #3f3f5a;
}

/* Typography elements */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headers);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  line-height: 1.6;
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----------------------------------------------------
   BACKGROUND DYNAMICS (CURSOR GLOW & AMBIENT LIGHTS)
   ---------------------------------------------------- */
/* Subtle Interactive + Grid Canvas Background */
#plus-grid-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle 500px at var(--mouse-x, 0px) var(--mouse-y, 0px),
      rgba(167, 139, 250, 0.06),
      rgba(34, 211, 238, 0.04) 50%,
      transparent 100%);
  transition: opacity 0.5s ease;
}

.ambient-light {
  position: absolute;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  border-radius: 50%;
  filter: blur(160px);
  pointer-events: none;
  opacity: 0.15;
  z-index: 0;
  overflow: hidden;
}

.shadow-purple {
  top: 10%;
  right: 0 !important;
  background: var(--accent-purple);
}

.shadow-cyan {
  bottom: 20%;
  left: 0 !important;
  background: var(--accent-cyan);
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 50px 50px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  mask-image: radial-gradient(circle 80% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(circle 80% at 50% 50%, black, transparent);
  pointer-events: none;
  z-index: 0;
}

/* ----------------------------------------------------
   LAYOUT CONTAINERS & UTILITIES
   ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-headers);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-cyan) 70%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.05);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
}

.btn-blue {
  background: #0062ff !important;
  color: #ffffff !important;
  border: 1px solid #0062ff !important;
}

.btn-blue:hover {
  background: #ffffff !important;
  color: #070708 !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.btn-nav {
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
}

.btn-nav:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

/* Section Common Headers */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.25rem auto;
}

.section-header h2 {
  font-family: var(--font-headers) !important;
  font-size: 2.35rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-header p {
  font-size: 1.1rem;
}

/* ----------------------------------------------------
   SITE HEADER & NAVIGATION
   ---------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  background: rgba(7, 7, 8, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.main-nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-link:hover {
  color: var(--text-primary);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
  padding: 2px 0;
  margin-left: 0.5rem;
  overflow: visible !important;
}

.mobile-nav-toggle span {
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

/* ----------------------------------------------------
   HERO SECTION
   ---------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

.hero-title {
  font-size: clamp(1.8rem, 2.7vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 2rem;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    white-space: normal;
  }
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  max-width: 650px;
  margin-bottom: 3rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
}

/* ----------------------------------------------------
   ABOUT SECTION
   ---------------------------------------------------- */
.about-section {
  padding: 4rem 0 2rem 0;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 1020px;
  margin-top: 0;
  margin-bottom: 1.5rem;
  text-align: left;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(167, 139, 250, 0.12);
}

.about-header {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.75rem !important;
  margin-bottom: 1.5rem !important;
}

.about-header i {
  width: 28px;
  height: 28px;
  color: var(--accent-purple);
  flex-shrink: 0;
}

.about-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 800px;
  margin-bottom: 2.5rem;
}

@media (min-width: 993px) {
  .about-card {
    max-width: 1080px;
    margin-left: -2.5rem;
    width: calc(100% + 2.5rem);
  }

  .about-text {
    max-width: 900px !important;
  }
}

.quick-contact-strip {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.contact-item:hover {
  opacity: 0.8;
}

.contact-item i {
  color: var(--accent-purple);
  width: 20px;
  height: 20px;
}

/* ----------------------------------------------------
   DISCIPLINES SECTION (CARDS Grid)
   ---------------------------------------------------- */
.disciplines-section {
  padding: 3rem 0;
}

.disciplines-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.discipline-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: start;
  gap: 2.5rem;
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: radial-gradient(circle 200px at var(--x, 0px) var(--y, 0px),
      rgba(255, 255, 255, 0.04),
      transparent 85%);
}

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

.discipline-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-elevated);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.card-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
}

.card-header h3 {
  font-size: 1.5rem;
}

.card-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.card-bullets li {
  position: relative;
  padding-left: 1.5rem;
}

.card-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.bullet-content {
  font-size: 1rem;
  line-height: 1.5;
}

.highlight {
  font-weight: 700;
}

/* Color Coding Themes */

/* PM (Purple) */
.theme-purple:hover {
  border-color: var(--accent-purple);
  box-shadow: 0 15px 40px var(--accent-purple-glow);
}

.theme-purple .card-icon-wrapper {
  color: var(--accent-purple);
  background: rgba(167, 139, 250, 0.05);
}

.theme-purple .card-bullets li::before {
  background-color: var(--accent-purple);
  box-shadow: 0 0 8px var(--accent-purple);
}

.theme-purple .bullet-content strong:first-of-type {
  color: var(--accent-purple);
}

.theme-purple .highlight {
  color: var(--accent-purple-dark);
  font-weight: 700;
}

/* Product Marketing (Orange) */
.theme-orange:hover {
  border-color: var(--accent-orange);
  box-shadow: 0 15px 40px var(--accent-orange-glow);
}

.theme-orange .card-icon-wrapper {
  color: var(--accent-orange);
  background: rgba(251, 146, 60, 0.05);
}

.theme-orange .card-bullets li::before {
  background-color: var(--accent-orange);
  box-shadow: 0 0 8px var(--accent-orange);
}

.theme-orange .bullet-content strong:first-of-type {
  color: var(--accent-orange);
}

.theme-orange .highlight {
  color: var(--accent-orange-dark);
  font-weight: 700;
}

/* Business Analytics (Cyan) */
.theme-cyan:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 40px var(--accent-cyan-glow);
}

.theme-cyan .card-icon-wrapper {
  color: var(--accent-cyan);
  background: rgba(34, 211, 238, 0.05);
}

.theme-cyan .card-bullets li::before {
  background-color: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.theme-cyan .bullet-content strong:first-of-type {
  color: var(--accent-cyan);
}

.theme-cyan .highlight {
  color: var(--accent-cyan-dark);
  font-weight: 700;
}

/* ----------------------------------------------------
   TIMELINE ROULETTE & VIEWPORT
   ---------------------------------------------------- */
.timeline-section {
  padding: 3rem 0;
  position: relative;
}

/* Stacked Timeline Box Container */
.timeline-main-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3.5rem 3.5rem 2.2rem 3.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  max-width: 950px;
  margin: 0 auto;
  position: relative;
  overflow: visible;
}

.timeline-nodes-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
  /* Align rows to left */
  width: 100%;
}

.nodes-row,
.experience-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.row-category-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.row-category-icon img {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}

.row-nodes {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-grow: 1;
}

.nodes-row .row-nodes {
  flex-wrap: wrap;
}

.experience-row .row-nodes {
  flex-wrap: nowrap;
  /* lock experiences in a single line */
}

.roulette-node {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.experience-row .roulette-node {
  padding: 0.5rem 0.85rem;
  gap: 0.65rem;
}

.experience-row .node-logo-wrapper {
  width: 36px;
  height: 36px;
}

.experience-row .node-org {
  font-size: 0.85rem;
}

.experience-row .node-type {
  font-size: 0.65rem;
}

.roulette-node:hover,
.roulette-node.active {
  background: rgba(255, 255, 255, 0.05);
}

.node-logo-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.roulette-node .timeline-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* fill the entire circle */
  filter: grayscale(100%) opacity(0.6);
  transition: all 0.3s ease;
}

.roulette-node:hover .timeline-logo,
.roulette-node.active .timeline-logo {
  filter: none;
  opacity: 1;
}

/* Roulette brand accents on hover & active */
.roulette-node[data-target="item-htw"]:hover,
.roulette-node[data-target="item-htw"].active {
  border-color: #0082D1;
  box-shadow: 0 0 15px rgba(0, 130, 209, 0.25);
}

.roulette-node[data-target="item-hashmove"]:hover,
.roulette-node[data-target="item-hashmove"].active {
  border-color: #10b981;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
}

.roulette-node[data-target="item-goodcore"]:hover,
.roulette-node[data-target="item-goodcore"].active {
  border-color: #3b82f6;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.25);
}

.roulette-node[data-target="item-iba"]:hover,
.roulette-node[data-target="item-iba"].active {
  border-color: #9333ea;
  box-shadow: 0 0 15px rgba(147, 51, 234, 0.25);
}

.roulette-node[data-target="item-loreal"]:hover,
.roulette-node[data-target="item-loreal"].active {
  border-color: #d4af37;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.roulette-node[data-target="item-dawlance"]:hover,
.roulette-node[data-target="item-dawlance"].active {
  border-color: #E30613;
  box-shadow: 0 0 15px rgba(227, 6, 19, 0.25);
}

.roulette-node[data-target="item-yaqeen"]:hover,
.roulette-node[data-target="item-yaqeen"].active {
  border-color: #fb923c;
  box-shadow: 0 0 15px rgba(251, 146, 60, 0.25);
}

/* Click Selection - Theme Color Fill & Pulse Glow */
.roulette-node.selected {
  transform: scale(1.04);
}

.roulette-node[data-target="item-htw"].selected {
  background: rgba(0, 130, 209, 0.22) !important;
  border-color: #0082D1 !important;
  box-shadow: 0 0 22px rgba(0, 130, 209, 0.45), inset 0 0 12px rgba(0, 130, 209, 0.2) !important;
}

.roulette-node[data-target="item-hashmove"].selected {
  background: rgba(16, 185, 129, 0.22) !important;
  border-color: #10b981 !important;
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.45), inset 0 0 12px rgba(16, 185, 129, 0.2) !important;
}

.roulette-node[data-target="item-goodcore"].selected {
  background: rgba(59, 130, 246, 0.22) !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 22px rgba(59, 130, 246, 0.45), inset 0 0 12px rgba(59, 130, 246, 0.2) !important;
}

.roulette-node[data-target="item-iba"].selected {
  background: rgba(168, 28, 28, 0.22) !important;
  border-color: #a81c1c !important;
  box-shadow: 0 0 22px rgba(168, 28, 28, 0.45), inset 0 0 12px rgba(168, 28, 28, 0.2) !important;
}

.roulette-node[data-target="item-loreal"].selected {
  background: rgba(212, 175, 55, 0.22) !important;
  border-color: #d4af37 !important;
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.45), inset 0 0 12px rgba(212, 175, 55, 0.2) !important;
}

.roulette-node[data-target="item-dawlance"].selected {
  background: rgba(227, 6, 19, 0.22) !important;
  border-color: #E30613 !important;
  box-shadow: 0 0 22px rgba(227, 6, 19, 0.45), inset 0 0 12px rgba(227, 6, 19, 0.2) !important;
}

.roulette-node.selected .timeline-logo {
  filter: none !important;
  opacity: 1 !important;
}

.node-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.node-org {
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.node-type {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
  display: flex;
  align-items: center;
}

.node-type-icon {
  width: 12px;
  height: 12px;
  margin-right: 0.25rem;
  vertical-align: middle;
  filter: brightness(0.8);
}

/* Tooltip styles */
.node-tooltip {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translate(-50%, 10px) scale(0.9);
  background: rgba(17, 17, 21, 0.96);
  border: 1px solid var(--border-color);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-primary);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 50;
  text-align: center;
}

.node-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(17, 17, 21, 0.96) transparent transparent transparent;
}

.roulette-node:hover .node-tooltip {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.timeline-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color) 15%, var(--border-color) 85%, transparent);
  margin: 2.5rem 0;
  width: 100%;
}

/* Viewport Card display */
.timeline-viewport {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  min-height: 410px;
  /* stabilized height to fit HashMove */
}

@media (max-width: 768px) {
  .timeline-viewport {
    min-height: auto;
    /* stack normally on mobile */
  }
}

/* Custom list-free project container and alignment styles */
.timeline-card-projects {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-left: 0;
  margin-left: 0;
  margin-top: 1.5rem;
}

.timeline-project-row {
  margin: 0;
  padding: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #d1d5db;
}

/* Brand Theme Color Variables for detail view content */
#item-htw {
  --tab-theme-color: #0082D1;
}

#item-iba {
  --tab-theme-color: #8C2622;
}

#item-hashmove {
  --tab-theme-color: #10b981;
}

#item-goodcore {
  --tab-theme-color: #3b82f6;
}

#item-loreal {
  --tab-theme-color: #d4af37;
}

#item-dawlance {
  --tab-theme-color: #E30613;
}

.timeline-card-content strong {
  color: var(--tab-theme-color) !important;
  font-weight: 700;
}

.kpi-value {
  color: var(--tab-theme-color) !important;
  font-weight: normal !important;
  display: inline;
}

.timeline-card-content {
  display: none;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  animation: cardFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.timeline-card-content.active {
  display: block;
}

.timeline-card-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-headers);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.timeline-card-content h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.timeline-card-content .organization {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.timeline-card-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #d1d5db;
}

.badge-sub {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(34, 211, 238, 0.2);
  margin-left: 0.5rem;
  vertical-align: middle;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----------------------------------------------------
   CONTACT SECTION (SHRUNKEN)
   ---------------------------------------------------- */
.contact-section {
  padding: 3rem 0;
}

.contact-card {
  background: linear-gradient(135deg, #111115 0%, #0c0c0e 100%);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.contact-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.05) 0%, transparent 80%);
  pointer-events: none;
}

.contact-card h2 {
  font-size: 2.75rem;
  max-width: 800px;
  margin: 0 auto 1.25rem auto;
  line-height: 1.15;
}

.contact-card p {
  font-size: 1.15rem;
  max-width: 500px;
  margin: 0 auto 2.5rem auto;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* ----------------------------------------------------
   PAGE FOOTER SECTION & STYLES
   ---------------------------------------------------- */
.page-footer {
  background: #09090b;
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 0;
  margin-top: 4rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-left .footer-copyright {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact:hover {
  color: var(--text-primary);
}

.footer-contact i {
  width: 16px;
  height: 16px;
  color: var(--accent-cyan);
}

.btn-footer-meeting {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-footer-meeting:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.btn-footer-meeting i {
  width: 14px;
  height: 14px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-right {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ----------------------------------------------------
   ANIMATION CLASSROOM (GSAP FALLBACKS)
   ---------------------------------------------------- */
.reveal,
.fade-in {
  opacity: 1;
}

/* ----------------------------------------------------
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ---------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }

  .disciplines-grid {
    gap: 1.5rem;
  }

  .discipline-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem;
  }

  .contact-card h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 1rem 1.5rem;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background: rgba(7, 7, 8, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 0px solid var(--border-color);
  }

  .main-nav.active {
    height: calc(100vh - 60px);
    border-bottom-width: 1px;
    overflow-y: auto;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 3rem 1.5rem;
    align-items: stretch;
    gap: 1.5rem;
  }

  .main-nav ul li {
    text-align: center;
  }

  .nav-link {
    font-size: 1.25rem;
    display: block;
    padding: 0.75rem 0;
  }

  .btn-nav {
    display: block;
    width: 100%;
    margin-top: 1rem;
    font-size: 1.1rem;
    padding: 0.85rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-title-desktop-extra {
    display: none !important;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-cta {
    width: 100%;
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .about-card {
    padding: 2rem 1.5rem;
  }

  .about-text {
    font-size: 1.15rem;
  }

  .quick-contact-strip {
    flex-direction: column;
    gap: 1rem;
  }

  .section-header h2 {
    font-size: 1.85rem;
    font-weight: 600;
  }

  .timeline-main-box {
    padding: 2rem 1.5rem;
  }

  .timeline-nodes-container {
    gap: 1.5rem;
  }

  .nodes-row,
  .experience-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .row-category-icon {
    align-self: center;
    /* center category icon on mobile */
  }

  .row-nodes {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.75rem;
  }

  .roulette-node,
  .experience-row .roulette-node {
    width: 100%;
    justify-content: flex-start;
    padding: 0.75rem 1.25rem;
    gap: 1rem;
  }

  .experience-row .node-logo-wrapper {
    width: 44px;
    height: 44px;
  }

  .experience-row .node-org {
    font-size: 0.95rem;
  }

  .experience-row .node-type {
    font-size: 0.75rem;
  }

  .contact-card {
    padding: 3.5rem 1.5rem;
  }

  .contact-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-actions .btn {
    width: 100%;
  }
}

/* ----------------------------------------------------
   CERTIFICATIONS & ACHIEVEMENTS SECTION
   ---------------------------------------------------- */
.certifications-section {
  padding: 3rem 0;
}

#certifications .section-header h2 {
  white-space: nowrap;
}

/* Main Section Overall Card Container (GitHub Original Theme with Subtle Brightening Hover Effect) */
.certifications-card-container {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  padding: 12px 16px; /* 12px top/bottom, 16px left/right */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 8px; /* 8px gap between rows */
  width: 100%;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.certifications-card-container:hover {
  background: var(--bg-card-elevated);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(255, 255, 255, 0.04);
  filter: brightness(1.06);
}

/* Category Rows */
.cert-row {
  display: grid;
  grid-template-columns: 132px 1fr; /* Increased by 6px moving cards starting edge 6px further right */
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  margin: 0;
  padding: 0;
}

.cert-category-col {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 0.75rem;
}

.cert-category-title {
  font-family: var(--font-headers);
  font-size: 1.2rem;
  font-weight: 400; /* Regular weight */
  color: var(--text-primary);
  letter-spacing: -0.01em;
  transform: translateY(6px); /* Moved 6px down */
}

.cert-brand-logo {
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* DataCamp logo in original SVG green colors & enlarged slightly */
.datacamp-logo {
  height: 26px;
  filter: none !important;
  opacity: 1 !important;
}

/* Bloomberg logo enlarged slightly */
.bloomberg-logo {
  height: 24px;
}

/* Achievements Row 1 (Pixel-perfect left-aligned with DataCamp & Bloomberg) */
.cert-achievements-flex {
  display: flex;
  align-items: flex-end; /* Line up along bottom line */
  justify-content: flex-start; /* Left align achievements flush with Associate Data Analyst card */
  gap: 24px !important; /* 24px gap between each achievement card */
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.cert-achievement-card {
  flex: 0 0 auto; /* Sit naturally left-aligned without auto-stretching */
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.cert-achievement-card:first-child {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.cert-achievement-card:hover {
  transform: translateY(-4px) scale(1.02);
  filter: brightness(1.1);
  box-shadow: none !important;
}

.cert-achievement-img {
  width: auto;
  height: 165px; /* Proportionate height matching new updated PNGs */
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* IELTS 8.5 Card elevated 12px from the bottom line */
.cert-ielts-card {
  width: 95px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  margin-bottom: 12px !important; /* Moved up 12px from bottom */
}

.cert-ielts-svg {
  width: 100%;
  max-width: 95px;
  height: auto;
  display: block;
}

/* Continuous Side-by-Side Certificate Strips (Row 2 & Row 3) */
.cert-strip-flex {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

/* DataCamp strip has 4 items, taking 100% width (25% each) */
.cert-datacamp-strip .cert-strip-item {
  flex: 0 0 25%;
  max-width: 25%;
}

/* Bloomberg strip has 3 items, taking 75% width (25% each, leaving right side open) */
.cert-bloomberg-strip .cert-strip-item {
  flex: 0 0 25%;
  max-width: 25%;
}

.cert-strip-item {
  position: relative;
  cursor: pointer;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.cert-strip-item:hover {
  z-index: 10;
  filter: brightness(1.15);
}

.cert-strip-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 !important;
  padding: 0 !important;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .cert-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .cert-category-col {
    justify-content: center;
    padding-left: 0;
  }

  .cert-achievements-flex {
    flex-wrap: wrap;
  }

  .cert-achievement-card {
    flex: 1 1 calc(50% - 0.75rem);
    min-width: 150px;
  }

  .cert-ielts-card {
    width: 90px;
  }

  .cert-strip-flex {
    flex-wrap: wrap;
    border-radius: 14px;
    gap: 0.5rem !important;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .cert-strip-item {
    flex: 1 1 calc(50% - 0.5rem);
    border-radius: 10px !important;
  }
}

/* ----------------------------------------------------
   MOBILE VIEWPORT LAYOUT FOR CERTIFICATIONS
   ---------------------------------------------------- */
@media (max-width: 992px) {
  .certifications-card-container {
    padding: 1.5rem 1rem !important;
    gap: 1.5rem !important;
  }

  /* Mobile Certifications Horizontal 1.75-Card Swipe Carousel */
  .cert-row {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
    margin-bottom: 1.25rem !important;
    position: relative !important;
    width: 100% !important;
  }

  .cert-category-col {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 0.25rem !important;
    margin-bottom: 0.5rem !important;
    width: 100% !important;
  }

  .cert-category-title {
    transform: none !important;
    font-weight: 600 !important;
    text-align: left !important;
    font-size: 1.15rem !important;
    margin: 0 !important;
  }

  .cert-brand-logo {
    margin: 0 !important;
    display: block !important;
  }

  .datacamp-logo {
    height: 26px !important;
  }

  .bloomberg-logo {
    height: 22px !important;
  }

  /* Subtle Runway Lights Swipe Indicator Animation */
  .swipe-runway-indicator {
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    opacity: 0.65;
    transition: opacity 0.3s ease;
  }

  .runway-arrow {
    width: 6px;
    height: 6px;
    border-top: 1.5px solid rgba(255, 255, 255, 0.85);
    border-right: 1.5px solid rgba(255, 255, 255, 0.85);
    transform: rotate(45deg);
    display: inline-block;
    animation: runwayBlink 1.8s infinite ease-in-out;
  }

  .runway-arrow.a1 { animation-delay: 0s; }
  .runway-arrow.a2 { animation-delay: 0.25s; }
  .runway-arrow.a3 { animation-delay: 0.5s; }

  @keyframes runwayBlink {
    0%, 100% {
      opacity: 0.2;
      transform: rotate(45deg) scale(0.9);
    }
    30% {
      opacity: 1;
      transform: rotate(45deg) scale(1.1);
    }
    60% {
      opacity: 0.35;
      transform: rotate(45deg) scale(0.95);
    }
  }

  /* Horizontal swipe track showing ~1.75 cards at once with 8px gap */
  .cert-achievements-flex,
  .cert-strip-flex,
  .cert-datacamp-strip,
  .cert-bloomberg-strip {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 8px !important; /* Exactly 8px gap between cards */
    width: 100% !important;
    padding-bottom: 4px !important;
    padding-left: 0 !important;
    scrollbar-width: none !important;
  }

  .cert-achievements-flex::-webkit-scrollbar,
  .cert-strip-flex::-webkit-scrollbar,
  .cert-datacamp-strip::-webkit-scrollbar,
  .cert-bloomberg-strip::-webkit-scrollbar {
    display: none !important;
  }

  /* Frameless Cards (~1.75 Cards layout, flex: 0 0 58vw) */
  .cert-achievement-card,
  .cert-strip-item,
  .cert-datacamp-strip .cert-strip-item,
  .cert-bloomberg-strip .cert-strip-item {
    flex: 0 0 58vw !important;
    width: 58vw !important;
    max-width: 58vw !important;
    height: auto !important; /* Natural height per row */
    scroll-snap-align: start !important;
    background: transparent !important; /* NO FRAME */
    border: none !important; /* NO BORDER */
    box-shadow: none !important;
    padding: 0 !important; /* NO PADDING */
    margin: 0 !important;
  }

  .cert-bloomberg-strip .cert-strip-item:nth-child(3) {
    grid-column: auto !important;
    width: 58vw !important;
  }

  /* DataCamp and Bloomberg images: 6px rounded corners, frameless */
  .cert-datacamp-strip .cert-strip-img,
  .cert-bloomberg-strip .cert-strip-img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    border: none !important;
    box-shadow: none !important;
    display: block !important;
  }

  /* Bigger Achievements Row on mobile with bottom alignment (Penn, L'Oréal, Dawlance all 185px height) */
  .cert-achievements-flex {
    align-items: flex-end !important; /* Bottom align all achievement cards */
  }

  .cert-achievements-flex .cert-achievement-card {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    height: 185px !important;
    display: flex !important;
    align-items: flex-end !important;
  }

  .cert-achievements-flex .cert-achievement-img {
    height: 185px !important;
    width: auto !important;
    max-width: 85vw !important;
    max-height: 185px !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    display: block !important;
  }

  .cert-ielts-card {
    flex: 0 0 38vw !important;
    width: 38vw !important;
    height: 185px !important;
    scroll-snap-align: start !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding-bottom: 8px !important;
  }

  .cert-ielts-svg {
    width: 92px !important;
    height: 92px !important;
    max-width: 92px !important;
    display: block !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 576px) {
  .section-header h2,
  #certifications .section-header h2 {
    font-family: var(--font-headers) !important;
    font-size: 1.85rem !important;
    font-weight: 600 !important;
  }
}

/* ----------------------------------------------------
   TOOLS & TECHNOLOGIES SECTION
   ---------------------------------------------------- */
.tools-section {
  padding: 3rem 0;
}

.tools-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 28px;
  padding: 3.5rem 3rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
}

.tools-row {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: 100%;
}

.tools-category {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 180px;
  max-width: 180px;
  height: 100px;
  border-radius: 12px;
  padding: 1rem;
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tools-category.pm-theme {
  border: 2px solid rgba(167, 139, 250, 0.3);
  background: rgba(167, 139, 250, 0.03);
  color: #e9e3ff;
  box-shadow: 0 0 15px rgba(167, 139, 250, 0.05);
}

.tools-category.pmarketing-theme {
  border: 2px solid rgba(251, 146, 60, 0.3);
  background: rgba(251, 146, 60, 0.03);
  color: #ffe8d6;
  box-shadow: 0 0 15px rgba(251, 146, 60, 0.05);
}

.tools-category.analytics-theme {
  border: 2px solid rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.03);
  color: #e0faff;
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.05);
}

.tools-list {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-grow: 1;
  gap: 1.25rem;
}

.tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(100% / 8 - 1.25rem * 7 / 8);
  min-width: 80px;
  text-align: center;
  gap: 0.75rem;
}

.tool-icon {
  width: 68px;
  height: 68px;
  object-fit: contain;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

.tool-item:hover .tool-icon {
  transform: translateY(-5px) scale(1.08);
  filter: drop-shadow(0 10px 15px rgba(255, 255, 255, 0.15));
}

.tool-name {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  font-family: var(--font-body);
  transition: color 0.3s ease;
}

/* Old-School Light Rod Neon Tube Ignition Flicker Animation */
@keyframes lightRodFlicker {
  0% {
    opacity: 0.4;
    filter: brightness(0.7);
    box-shadow: none;
  }
  15% {
    opacity: 0.95;
    filter: brightness(1.5);
    box-shadow: 0 0 28px currentColor, inset 0 0 12px currentColor;
  }
  30% {
    opacity: 0.35;
    filter: brightness(0.75);
    box-shadow: 0 0 6px currentColor;
  }
  45% {
    opacity: 1;
    filter: brightness(1.7);
    box-shadow: 0 0 32px currentColor, inset 0 0 16px currentColor;
  }
  60% {
    opacity: 0.75;
    filter: brightness(0.9);
    box-shadow: 0 0 12px currentColor;
  }
  75% {
    opacity: 1;
    filter: brightness(1.4);
    box-shadow: 0 0 28px currentColor, inset 0 0 10px currentColor;
  }
  100% {
    opacity: 1;
    filter: brightness(1.1);
    box-shadow: 0 0 22px currentColor, inset 0 0 8px currentColor;
  }
}

/* Tech Stack Desktop Hover Glow & Mobile Scroll Glow with Light Rod Flicker */
.tools-row:hover .tools-category,
.tools-row:has(.tool-item:hover) .tools-category,
.tools-category.mobile-glow {
  animation: lightRodFlicker 0.42s cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
  transform: translateY(-3px) scale(1.03);
}

.tools-row:hover .tools-category.pm-theme,
.tools-row:has(.tool-item:hover) .tools-category.pm-theme,
.tools-category.mobile-glow.pm-theme {
  color: #a78bfa !important;
  border-color: #a78bfa !important;
  background: rgba(167, 139, 250, 0.18) !important;
}

.tools-row:hover .tools-category.pmarketing-theme,
.tools-row:has(.tool-item:hover) .tools-category.pmarketing-theme,
.tools-category.mobile-glow.pmarketing-theme {
  color: #fb923c !important;
  border-color: #fb923c !important;
  background: rgba(251, 146, 60, 0.18) !important;
}

.tools-row:hover .tools-category.analytics-theme,
.tools-row:has(.tool-item:hover) .tools-category.analytics-theme,
.tools-category.mobile-glow.analytics-theme {
  color: #22d3ee !important;
  border-color: #22d3ee !important;
  background: rgba(34, 211, 238, 0.18) !important;
}

@media (max-width: 992px) {
  .tools-card {
    padding: 2.5rem 2rem;
    gap: 2rem;
  }

  .tools-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .tools-category {
    min-width: 100%;
    max-width: 100%;
    height: auto;
    padding: 0.75rem 1rem;
    text-align: left;
    justify-content: flex-start;
  }

  .tools-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    width: 100%;
  }

  .tool-item {
    width: calc(25% - 0.75rem);
    min-width: 70px;
  }

  .tool-icon {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .tool-item {
    width: calc(33.333% - 0.67rem);
  }

  .tool-icon {
    width: 54px;
    height: 54px;
  }
}

/* ----------------------------------------------------
   SELECTED WORKS / PORTFOLIO SECTION
   ---------------------------------------------------- */
.portfolio-section {
  padding: 2rem 0;
  position: relative;
}

.portfolio-cards-container {
  position: relative;
  width: 100%;
  max-width: 960px;
  height: 650px;
  /* Reduced from 740px since active card top is pinned at y=54px (54px + 572px = 626px) */
  margin: 1.75rem auto 0 auto;
}

.portfolio-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 572px;
  /* Fixed height matching 16:9 image (540px) + 32px MacBook header */
  perspective: 1200px;
  transform-style: preserve-3d;
}

.portfolio-card-inner {
  width: 100%;
  height: 100%;
  background: #0f0f13;
  /* Solid dark background to prevent bleed-through of underlying cards */
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform-style: preserve-3d;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.portfolio-card-inner:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.85);
}

.card-mac-header {
  height: 36px;
  background: #15151a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 0 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.expand-landscape-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
  font-family: var(--font-headers);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
  margin-left: auto;
}

.expand-landscape-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.expand-landscape-btn i {
  width: 12px;
  height: 12px;
}

@media (max-width: 576px) {
  .expand-btn-text {
    display: none;
  }
  .expand-landscape-btn {
    padding: 0.2rem 0.4rem;
  }
}

.mac-dots {
  display: flex;
  gap: 6px;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.mac-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.mac-dot.red {
  background: #ff5f56;
}

.mac-dot.yellow {
  background: #ffbd2e;
}

.mac-dot.green {
  background: #27c93f;
}

/* Cheeky tooltip showing inside the header bar next to the dots */
.mac-dots::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 48px;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  background: rgba(255, 95, 86, 0.12);
  color: #ff5f56;
  border: 1px solid rgba(255, 95, 86, 0.25);
  padding: 2px 7px;
  font-size: 0.6rem;
  font-family: monospace;
  font-weight: 500;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mac-dots:hover::after {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.mac-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-family: monospace;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.portfolio-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.timeline-card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.timeline-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 500;
}

.timeline-mobile-pagination {
  display: none;
}

.btn-connect-mobile {
  display: none;
}

/* Desktop: Hide Full Screen expand button in mac header */
.card-mac-header .expand-landscape-btn {
  display: none !important;
}

/* IBA Desktop Roulette Node Maroon Outline - Only on active or hover */
.roulette-node[data-target="item-iba"]:hover,
.roulette-node[data-target="item-iba"].active {
  border-color: #a81c1c !important;
  box-shadow: 0 0 15px rgba(168, 28, 28, 0.5) !important;
}

/* Floating Skip Cards Button (Desktop Left Side - Window Viewport Fixed) */
.card-skip-btn {
  position: fixed !important;
  left: max(24px, calc((100vw - 960px) / 2 - 160px)) !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 9999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  border-radius: 30px;
  background: rgba(11, 11, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-headers);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  outline: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, background-color 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.card-skip-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.card-skip-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
}

.card-skip-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.card-skip-btn i {
  width: 16px;
  height: 16px;
  color: var(--accent-cyan);
  transition: transform 0.25s ease;
}

.card-skip-btn:hover i {
  transform: translateY(2px);
}

@media (max-width: 1200px) {
  .card-skip-btn {
    display: none !important;
  }
}

/* Minimalistic Floating Card Up/Down Navigation Bubbles */
.card-nav-controls {
  position: fixed;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.card-nav-controls.visible {
  opacity: 1;
  pointer-events: auto;
}

.card-nav-bubble {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(11, 11, 15, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.card-nav-bubble:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.card-nav-bubble:active {
  transform: scale(0.92);
}

@media (max-width: 992px) {
  .card-nav-controls,
  .card-nav-bubble,
  .card-skip-btn {
    display: none !important;
  }
}

@media (min-width: 993px) {
  .mobile-stack-indicators {
    display: none !important;
  }
}

@media (max-width: 992px) {
  .header-container {
    padding: 0.85rem 1rem !important;
    max-width: 100vw !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .btn-connect-mobile {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 16px !important;
    width: auto !important;
    min-width: 105px !important;
    white-space: nowrap !important;
    border-radius: 20px !important;
    background: linear-gradient(135deg, var(--accent-cyan), #3b82f6) !important;
    color: #050508 !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-decoration: none !important;
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.35) !important;
    margin-left: auto !important;
    margin-right: 0.75rem !important;
  }

  .mobile-nav-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 24px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
    margin-right: 0 !important;
    cursor: pointer !important;
    z-index: 1001 !important;
  }

  .main-nav {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 60px);
    background: rgba(7, 7, 8, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
  }

  .main-nav.active {
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column !important;
    gap: 1.75rem !important;
    text-align: center;
  }

  .main-nav .nav-link {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
  }

  .hero-title {
    font-size: 2.2rem !important;
    line-height: 1.25 !important;
    text-align: left !important;
  }

  .about-card .about-header h2,
  .about-card h2 {
    font-size: 1.35rem !important;
    font-weight: 500 !important;
  }

  .hero-title-desktop-extra {
    display: none !important;
  }

  /* Timeline Mobile: Remove top bubbles completely */
  .timeline-nodes-container {
    display: none !important;
  }

  .timeline-divider {
    display: none !important;
  }

  .timeline-mobile-pagination {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 1.25rem;
    padding: 8px 12px;
    background: rgba(15, 15, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    max-width: 100%;
    overflow-x: auto;
  }

  .t-page-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .t-page-item .t-page-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0.8);
    transition: all 0.3s ease;
  }

  .t-page-item .t-page-label {
    display: none;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
  }

  .t-page-item.active {
    background: rgba(34, 211, 238, 0.18);
    border-color: var(--accent-cyan);
    padding: 6px 12px;
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.35);
  }

  .t-page-item.active .t-page-logo {
    filter: brightness(1);
    transform: scale(1.1);
  }

  .t-page-item.active .t-page-label {
    display: inline-block;
  }

  /* Force 100% visibility for all elements on mobile viewports */
  .reveal,
  .fade-in,
  .about-card,
  .cert-strip,
  .mobile-timeline-stream,
  .stream-card-wrapper,
  .tools-category,
  .archive-row,
  .discipline-card {
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .portfolio-cards-container {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 2.5rem auto 0 auto !important;
    height: auto !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
  }

  .portfolio-card {
    position: sticky !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 9 / 16 !important;
    opacity: 1 !important;
    margin-bottom: 14vh !important;
    box-shadow: 0 -15px 45px rgba(0, 0, 0, 0.9), 0 25px 50px rgba(0, 0, 0, 0.95);
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid #1a1a24 !important;
    will-change: transform, opacity;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  }

  .portfolio-card[data-card-index="1"] { top: 80px !important; z-index: 10 !important; }
  .portfolio-card[data-card-index="2"] { top: 80px !important; z-index: 20 !important; }
  .portfolio-card[data-card-index="3"] { top: 80px !important; z-index: 30 !important; }
  .portfolio-card[data-card-index="4"] { top: 80px !important; z-index: 40 !important; }
  .portfolio-card[data-card-index="5"] { top: 80px !important; z-index: 50 !important; }
  .portfolio-card[data-card-index="6"] { top: 80px !important; z-index: 60 !important; }
  .portfolio-card[data-card-index="7"] { top: 80px !important; z-index: 70 !important; margin-bottom: 2.5rem !important; }

  .some-more-works-section {
    padding-top: 2rem !important;
    margin-top: 0 !important;
  }

  .certifications-section {
    padding-top: 2rem !important;
    margin-top: 0 !important;
  }

  /* Center ONLY Tech Stack Category Title Fields on Mobile */
  .tools-category {
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    display: flex !important;
    width: 100% !important;
  }

  .portfolio-card-inner {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #070708 !important;
  }

  /* Remove header bar & top text on mobile */
  .card-mac-header {
    display: none !important;
  }

  /* Remove vertical text on mobile */
  .card-vertical-text {
    display: none !important;
  }

  /* Full Canvas Image Wrapper */
  .landscape-img-wrapper {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #070708 !important;
    border-radius: 12px !important;
  }

  /* Rotated 16:9 Image math: fits 9:16 card canvas completely with 0% cropping */
  .portfolio-card-image {
    position: absolute !important;
    width: 177.77778% !important; /* 100% * 16 / 9 */
    height: 56.25% !important;    /* 100% * 9 / 16 */
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    transform: rotate(90deg) !important;
    border-radius: 0 !important;
  }

  /* Right-Side Page Indicators Strip */
  .mobile-stack-indicators {
    display: flex !important;
    position: fixed !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) scale(0.9) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    flex-direction: column !important;
    gap: 8px !important;
    z-index: 99 !important;
    background: rgba(11, 11, 15, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    padding: 8px 6px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
    transition: opacity 0.35s ease, transform 0.35s ease !important;
  }

  .mobile-stack-indicators.visible {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(-50%) scale(1) !important;
  }

  .stack-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    touch-action: manipulation;
  }

  /* Expanded 36px touch target for effortless finger tapping on mobile */
  .stack-dot::before {
    content: '';
    position: absolute;
    top: -12px;
    bottom: -12px;
    left: -14px;
    right: -14px;
  }

  .stack-dot.active {
    height: 20px;
    border-radius: 4px;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.6);
  }

  .dot-num {
    display: none;
  }

  /* Early Reveal for Mobile Awards / Certifications Section */
  #certifications .reveal,
  #certifications .cert-strip {
    opacity: 1 !important;
    transform: none !important;
  }

  .portfolio-card[data-card-index="1"] { top: 80px !important; z-index: 10 !important; }
  .portfolio-card[data-card-index="2"] { top: 80px !important; z-index: 20 !important; }
  .portfolio-card[data-card-index="3"] { top: 80px !important; z-index: 30 !important; }
  .portfolio-card[data-card-index="4"] { top: 80px !important; z-index: 40 !important; }
  .portfolio-card[data-card-index="5"] { top: 80px !important; z-index: 50 !important; }
  .portfolio-card[data-card-index="6"] { top: 80px !important; z-index: 60 !important; }
  .portfolio-card[data-card-index="7"] { top: 80px !important; z-index: 70 !important; margin-bottom: 2.5rem !important; }

  .portfolio-carousel-dots {
    display: none !important;
  }
}

.card-vertical-text {
  display: none;
}

.landscape-img-wrapper {
  width: 100%;
  height: calc(100% - 36px);
  position: relative;
  overflow: hidden;
}

@media (min-width: 993px) {
  .portfolio-card-image {
    transform: none !important;
    width: 100% !important;
    height: 100% !important;
  }
}

.portfolio-carousel-dots {
  display: none;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.carousel-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.4);
}

/* ----------------------------------------------------
   SOME MORE WORKS SECTION (HOVER ARCHIVE TABLE)
   ---------------------------------------------------- */
.some-more-works-section {
  padding: 0 0 3rem 0;
  /* Pulled up */
  margin-top: -1.5rem;
  /* Reduced top spacing */
  position: relative;
  z-index: 10;
}

.archive-table-wrapper {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.archive-hint {
  font-family: var(--font-headers);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted) !important;
  padding-left: 1.5rem !important;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  opacity: 0.65;
}

.archive-table {
  width: 100%;
}

.archive-table-header {
  display: grid;
  grid-template-columns: 80px 1fr 300px;
  padding: 1rem 1.5rem;
  font-family: var(--font-headers);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.archive-row {
  display: grid;
  grid-template-columns: 80px 1fr 300px;
  align-items: center;
  padding: 2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: none;
  /* Hide default cursor to make custom follow portal premium */
  transition: background-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.archive-row .archive-col-num {
  font-family: monospace;
  font-size: 1rem;
  opacity: 0.5;
  transition: opacity 0.35s ease;
}

.archive-row .archive-col-project {
  display: flex;
  align-items: center;
  /* Center align subtext with titles */
  gap: 1rem;
}

.archive-row .archive-title {
  font-family: var(--font-headers);
  font-size: 2.1rem;
  font-weight: 800;
  /* Thicker bold font weight */
  letter-spacing: -0.04em;
  /* Tighter letter-spacing */
  text-transform: uppercase;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.archive-row .archive-subtitle {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.6;
  text-transform: uppercase;
  transition: opacity 0.35s ease;
}

.archive-row .archive-col-category {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.7;
}

/* Hover active state overrides controlled by JS */
.archive-row:hover {
  border-color: transparent;
}

.archive-row:hover .archive-col-num {
  opacity: 0.8;
}

.archive-row:hover .archive-title {
  transform: translateX(10px);
}

.archive-row:hover .archive-subtitle {
  opacity: 0.9;
}

/* Pulsating Hover Hint */
.hover-hint {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  opacity: 0.65;
  margin-left: 1rem;
  font-family: var(--font-headers);
  font-weight: 600;
  vertical-align: middle;
  display: inline-block;
  animation: pulseHint 2s infinite ease-in-out;
}

@keyframes pulseHint {

  0%,
  100% {
    opacity: 0.45;
    transform: translateX(0);
  }

  50% {
    opacity: 0.9;
    transform: translateX(6px);
  }
}

/* Floating Cursors Preview Portal */
.archive-floating-portal {
  position: fixed;
  width: 400px;
  /* Standard size for showcase buttons preview */
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1000;
  display: block;
  opacity: 0;
  clip-path: inset(0% 0% 100% 0%);
  /* Hidden at top: default state for bottom-to-top wipe exit */
  transform: scale(0.95);
  transform-origin: center center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  border: 3px solid transparent;
  /* Delayed transition when exiting (removing .active) */
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
    clip-path 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
    border-color 0.3s ease,
    width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.archive-floating-portal.active {
  opacity: 1;
  clip-path: inset(0% 0% 0% 0%);
  /* Wipes open from bottom to top on hover */
  transform: scale(1);
  /* Instant transition when entering (adding .active) */
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0s,
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0s,
    clip-path 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0s,
    border-color 0.3s ease,
    width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Bigger portal size specifically for Some More Works section rows */
.archive-floating-portal.portal-large {
  width: 540px;
  /* Bigger than 460px */
}

.archive-portal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive constraints */
@media (max-width: 768px) {
  .archive-table-header {
    display: none;
  }

  .archive-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    cursor: default;
  }

  .archive-row .archive-col-project {
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
  }

  .archive-row .archive-title {
    font-size: 1.3rem;
  }

  .archive-row:hover .archive-title {
    transform: none;
  }

  .archive-col-category {
    font-size: 0.85rem;
    opacity: 0.6;
  }

  .archive-row .archive-col-num {
    display: none;
  }

  .archive-floating-portal {
    display: none !important;
    /* No floating cards on mobile viewports */
  }
}

/* ----------------------------------------------------
   REFINE DETAILS: GPA WHITE, HASHMOVE SPACING, SHOWCASE BUTTONS
   ---------------------------------------------------- */
.gpa-white {
  color: #ffffff !important;
}

#item-hashmove .timeline-card-projects {
  gap: 0.85rem;
  margin-top: 1rem;
}

/* Showcase view buttons styling */
.showcase-btn {
  display: inline-block;
  padding: 0.6rem 1.35rem;
  font-family: var(--font-headers);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-showcase-goodcore {
  border: 1px solid #3b82f6;
  color: #3b82f6;
}

.btn-showcase-goodcore:hover {
  background: #3b82f6;
  color: #070708 !important;
}

.btn-showcase-loreal {
  border: 1px solid #d4af37;
  color: #d4af37;
}

.btn-showcase-loreal:hover {
  background: #d4af37;
  color: #070708 !important;
}

.btn-showcase-dawlance {
  border: 1px solid #E30613;
  color: #E30613;
}

.btn-showcase-dawlance:hover {
  background: #E30613;
  color: #070708 !important;
}

/* ----------------------------------------------------
   MODALS: LANDSCAPE VIEW & MOBILE TOUCH TABLE PREVIEW
   ---------------------------------------------------- */

/* Fullscreen Landscape Modal */
.landscape-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.landscape-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.landscape-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.landscape-modal-content {
  position: relative;
  z-index: 2501;
  width: 94vw;
  max-width: 1200px;
  background: #0f0f13;
  border: 1px solid var(--border-color-hover);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.landscape-modal.active .landscape-modal-content {
  transform: scale(1);
}

.landscape-modal-header {
  height: 48px;
  background: #15151a;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.landscape-modal-title {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.landscape-modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.landscape-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.landscape-modal-close i {
  width: 18px;
  height: 18px;
}

.landscape-modal-body {
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 82vh;
  overflow: auto;
}

.landscape-modal-body img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

/* Mobile Touch Table Preview Modal */
.archive-touch-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.archive-touch-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.archive-touch-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.archive-touch-card {
  position: relative;
  z-index: 2201;
  width: 100%;
  max-width: 500px;
  margin: 1rem;
  background: #111115;
  border: 2px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
  transform: translateY(40px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.archive-touch-modal.active .archive-touch-card {
  transform: translateY(0);
}

.archive-touch-card-header {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  background: #16161c;
}

.archive-touch-card-title-group {
  display: flex;
  flex-direction: column;
}

.archive-touch-title {
  font-family: var(--font-headers);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
}

.archive-touch-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.archive-touch-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 6px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.archive-touch-close i {
  width: 18px;
  height: 18px;
}

.archive-touch-image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #070708;
}

.archive-touch-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-touch-card-footer {
  padding: 0.75rem 1.25rem;
  background: #16161c;
  border-top: 1px solid var(--border-color);
}

.archive-touch-category {
  font-family: var(--font-headers);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.archive-row.touch-active {
  color: #070708 !important;
}

/* ----------------------------------------------------
   MOBILE FOCUS STRIPS ACCORDION (SOME MORE WORKS)
   ---------------------------------------------------- */
.mobile-focus-strips {
  display: none !important;
  flex-direction: column;
  gap: 0;
  width: 100%;
  overflow-anchor: none;
}

@media (max-width: 992px) {
  .archive-hint {
    display: none !important;
  }

  .archive-table {
    display: none !important;
  }

  .mobile-focus-strips {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    margin-top: 1.5rem !important;
    width: 100% !important;
  }
}

/* Focus Strip Item Themes */
.focus-strip-item[data-color="#d4af37"] { --strip-theme: #d4af37; }
.focus-strip-item[data-color="#E30613"] { --strip-theme: #E30613; }
.focus-strip-item[data-color="#fa9200"] { --strip-theme: #fa9200; }
.focus-strip-item[data-color="#0078fa"] { --strip-theme: #0078fa; }
.focus-strip-item[data-color="#ac50da"] { --strip-theme: #ac50da; }

.focus-strip-item {
  background: #0d0d12;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.focus-strip-header {
  width: 100%;
  padding: 1.1rem 1.25rem;
  background: #121217;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  outline: none;
  text-align: left;
}

.strip-header-main {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
  min-width: 0;
}

.strip-line1 {
  width: 100%;
}

.strip-title {
  font-family: var(--font-headers);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

.strip-line2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.6rem;
}

.strip-num-badge {
  font-family: monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2px 6px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.strip-subtitle {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.strip-category-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 5px 10px;
  border-radius: 12px;
  margin-left: auto;
  transition: all 0.3s ease;
}

.strip-header-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.strip-chevron {
  width: 20px;
  height: 20px;
  color: #94a3b8;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

/* Expanded State Color Theme & Fill */
.focus-strip-item.expanded {
  border-color: var(--strip-theme) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 255, 255, 0.05);
}

.focus-strip-item.expanded .strip-title {
  color: var(--strip-theme) !important;
}

.focus-strip-item.expanded .strip-num-badge {
  color: var(--strip-theme) !important;
  border-color: var(--strip-theme) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.focus-strip-item.expanded .strip-category-tag,
.focus-strip-item.expanded .strip-subtitle {
  color: var(--strip-theme) !important;
  border-color: var(--strip-theme) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.focus-strip-item.expanded[data-color="#d4af37"] .strip-category-tag,
.focus-strip-item.expanded[data-color="#d4af37"] .strip-subtitle,
.focus-strip-item.expanded[data-color="#d4af37"] .strip-num-badge {
  background: rgba(212, 175, 55, 0.18) !important;
}

.focus-strip-item.expanded[data-color="#E30613"] .strip-category-tag,
.focus-strip-item.expanded[data-color="#E30613"] .strip-subtitle,
.focus-strip-item.expanded[data-color="#E30613"] .strip-num-badge {
  background: rgba(227, 6, 19, 0.18) !important;
}

.focus-strip-item.expanded[data-color="#fa9200"] .strip-category-tag,
.focus-strip-item.expanded[data-color="#fa9200"] .strip-subtitle,
.focus-strip-item.expanded[data-color="#fa9200"] .strip-num-badge {
  background: rgba(250, 146, 0, 0.18) !important;
}

.focus-strip-item.expanded[data-color="#0078fa"] .strip-category-tag,
.focus-strip-item.expanded[data-color="#0078fa"] .strip-subtitle,
.focus-strip-item.expanded[data-color="#0078fa"] .strip-num-badge {
  background: rgba(0, 120, 250, 0.18) !important;
}

.focus-strip-item.expanded[data-color="#ac50da"] .strip-category-tag,
.focus-strip-item.expanded[data-color="#ac50da"] .strip-subtitle,
.focus-strip-item.expanded[data-color="#ac50da"] .strip-num-badge {
  background: rgba(172, 80, 218, 0.18) !important;
}

.focus-strip-item.expanded .strip-chevron {
  color: var(--strip-theme) !important;
  transform: rotate(180deg);
}

.focus-strip-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, padding 0.3s ease;
  padding: 0 1.25rem;
}

.focus-strip-item.expanded .focus-strip-content {
  max-height: 500px;
  opacity: 1;
  padding: 1rem 1.25rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.focus-crop-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #070708;
}

.focus-crop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.focus-crop-viewport .expand-landscape-btn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 10;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(12, 12, 18, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.focus-crop-viewport .expand-landscape-btn:hover,
.focus-crop-viewport .expand-landscape-btn:active {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.08);
}

.focus-crop-viewport .expand-landscape-btn svg,
.focus-crop-viewport .expand-landscape-btn i {
  width: 14px;
  height: 14px;
  stroke-width: 2.2px;
}

.focus-strip-footer {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.focus-strip-desc {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-muted);
  margin: 0;
}

/* ----------------------------------------------------
   MOBILE STREAM TIMELINE (INTERACTIVE RESUME STREAM)
   ---------------------------------------------------- */
.mobile-timeline-stream {
  display: none;
}

@media (max-width: 992px) {
  .timeline-main-box {
    display: none !important;
  }

  .mobile-timeline-stream {
    display: block !important;
    width: 100%;
    margin-top: 1.5rem;
  }
}

/* Apple VisionOS Segmented Filter Toggle Bar */
  .stream-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 4px;
    background: rgba(18, 18, 24, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    margin-left: 20px;
    margin-bottom: 1.25rem;
    position: sticky;
    top: 70px;
    z-index: 30;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 10px 30px rgba(0, 0, 0, 0.6);
    width: calc(100% - 20px);
    box-sizing: border-box;
  }

  .stream-filter-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-family: var(--font-headers);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .stream-filter-btn svg,
  .stream-filter-btn i {
    width: 14px;
    height: 14px;
    stroke-width: 2.2px;
  }

  /* All Button - Apple Dark Mode White Segment */
  .stream-filter-btn[data-filter="all"].active {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }

  /* Edu Button - Apple VisionOS Purple Segment */
  .stream-filter-btn[data-filter="edu"].active {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.45);
    color: #e9d5ff;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.35), inset 0 1px 0 rgba(216, 180, 254, 0.4);
  }

  /* Exp Button - Apple VisionOS Cyan/Blue Segment */
  .stream-filter-btn[data-filter="exp"].active {
    background: rgba(56, 189, 248, 0.2);
    border-color: rgba(56, 189, 248, 0.45);
    color: #bae6fd;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(56, 189, 248, 0.35), inset 0 1px 0 rgba(186, 230, 253, 0.4);
  }

  /* Track & Cards List */
  .stream-track-container {
    position: relative;
    padding-left: 20px;
  }

  /* Apple VisionOS Luminous Vertical Timeline Axis Line (Centered at x = 0px) */
  .stream-axis-line {
    position: absolute;
    left: 0px;
    transform: translateX(-50%);
    top: 16px;
    bottom: 16px;
    width: 2px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 1;
    border-radius: 1px;
  }

  .stream-progress-fill {
    position: relative;
    width: 100%;
    height: 10%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.6) 60%, #ffffff 100%);
    border-radius: 1.5px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 3px #ffffff;
    transition: height 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Apple Glass Leading Pulse Orb */
  .stream-progress-fill::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 10px #ffffff, 0 0 16px rgba(255, 255, 255, 0.95);
    z-index: 2;
  }

  .mobile-timeline-stream,
  .stream-track-container,
  .stream-cards-list,
  .stream-card-wrapper,
  .stream-card {
    overflow-anchor: none !important;
  }

  .stream-cards-list {
    display: flex;
    flex-direction: column;
    min-height: 480px;
    transition: min-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 2;
  }

  .stream-card-wrapper {
    position: relative;
    margin-bottom: 1.25rem;
    opacity: 1;
    max-height: 1200px;
    transform: scale(1);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                margin-bottom 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, max-height, transform;
  }

  .stream-card-wrapper:last-child {
    margin-bottom: 0;
  }

  .stream-card-wrapper.hidden {
    opacity: 0 !important;
    max-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    transform: scale(0.96) !important;
  }

  /* Restore moving glowing white timeline axis line (z-index: 1) */
  .stream-axis-line {
    display: block !important;
    position: absolute;
    left: 0px;
    transform: translateX(-50%);
    top: 16px;
    bottom: 16px;
    width: 2px;
    background: rgba(255, 255, 255, 0.12);
    z-index: 1;
    border-radius: 1px;
  }

  /* 36px Circular Mask Disk behind each node (z-index: 5, above axis line z-index: 1) */
  .stream-card-wrapper::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    left: -20px !important;
    top: 15px !important;
    width: 36px !important;
    height: 36px !important;
    transform: translateX(-50%) !important;
    border-radius: 50% !important;
    background: #070708 !important;
    z-index: 5 !important;
  }

  /* Remove segmented card lines */
  .stream-card-wrapper::before {
    display: none !important;
  }

  /* Pure Apple Frosted Glass Category Bullet Nodes (z-index: 10, above mask disk z-index: 5) */
  .stream-bullet-node {
    position: absolute;
    left: -20px;
    transform: translateX(-50%);
    top: 17px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  }

  /* Remove internal node pseudo-element stripe mask */
  .stream-bullet-node::before {
    display: none !important;
  }

  .stream-bullet-node svg {
    position: relative;
    z-index: 2;
    width: 14px;
    height: 14px;
    opacity: 0.95;
  }

  /* Translucent Apple Frosted Glass Fills */
  .exp-bullet {
    color: #22d3ee !important;
    background: rgba(34, 211, 238, 0.2) !important;
    border: 1px solid rgba(34, 211, 238, 0.5) !important;
    box-shadow: 0 4px 16px rgba(34, 211, 238, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.5) !important;
  }

  .edu-bullet {
    color: #c084fc !important;
    background: rgba(192, 132, 252, 0.2) !important;
    border: 1px solid rgba(192, 132, 252, 0.5) !important;
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.5) !important;
  }

  .stream-subrole {
    font-weight: 400 !important;
    opacity: 0.8;
    font-size: 0.95rem;
  }

  /* Stream Card */
  .stream-card {
    background: #0d0d12;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }

  /* Vibrant Brand Color Borders & KPI metrics text color when expanded */
  .stream-card-wrapper[data-color="#86bc26"] .stream-card.expanded { border-color: #86bc26 !important; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(134, 188, 38, 0.45) !important; }
  .stream-card-wrapper[data-color="#15ADCA"] .stream-card.expanded { border-color: #15ADCA !important; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(21, 173, 202, 0.4) !important; }
  .stream-card-wrapper[data-color="#3b82f6"] .stream-card.expanded { border-color: #3b82f6 !important; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(59, 130, 246, 0.35) !important; }
  .stream-card-wrapper[data-color="#d4af37"] .stream-card.expanded { border-color: #d4af37 !important; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.35) !important; }
  .stream-card-wrapper[data-color="#E30613"] .stream-card.expanded { border-color: #E30613 !important; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(227, 6, 19, 0.35) !important; }
  .stream-card-wrapper[data-color="#a81c1c"] .stream-card.expanded { border-color: #a81c1c !important; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(168, 28, 28, 0.45) !important; }

  /* 3 KPIs color shift matching card theme color when card opens up */
  .stream-card-wrapper[data-color="#86bc26"] .stream-card.expanded .metric-val { color: #86bc26 !important; text-shadow: 0 0 10px rgba(134, 188, 38, 0.45); }
  .stream-card-wrapper[data-color="#15ADCA"] .stream-card.expanded .metric-val { color: #15ADCA !important; text-shadow: 0 0 10px rgba(21, 173, 202, 0.45); }
  .stream-card-wrapper[data-color="#3b82f6"] .stream-card.expanded .metric-val { color: #3b82f6 !important; text-shadow: 0 0 10px rgba(59, 130, 246, 0.45); }
  .stream-card-wrapper[data-color="#d4af37"] .stream-card.expanded .metric-val { color: #d4af37 !important; text-shadow: 0 0 10px rgba(212, 175, 55, 0.45); }
  .stream-card-wrapper[data-color="#E30613"] .stream-card.expanded .metric-val { color: #E30613 !important; text-shadow: 0 0 10px rgba(227, 6, 19, 0.45); }
  .stream-card-wrapper[data-color="#a81c1c"] .stream-card.expanded .metric-val { color: #a81c1c !important; text-shadow: 0 0 10px rgba(168, 28, 28, 0.45); }

  /* Brand Theme Colors for Highlight KPI Text (when card expanded) */
  .stream-card-wrapper[data-color="#86bc26"] .highlight { color: #86bc26 !important; }
  .stream-card-wrapper[data-color="#15ADCA"] .highlight { color: #15ADCA !important; }
  .stream-card-wrapper[data-color="#3b82f6"] .highlight { color: #3b82f6 !important; }
  .stream-card-wrapper[data-color="#a81c1c"] .highlight { color: #a81c1c !important; }
  .stream-card-wrapper[data-color="#d4af37"] .highlight { color: #d4af37 !important; }
  .stream-card-wrapper[data-color="#E30613"] .highlight { color: #E30613 !important; }

  /* Bullet Titles Before Colon: ALWAYS EMBOLDENED BOLD (font-weight: 700) */
  .stream-bullet-item strong,
  .stream-bullet-item strong.highlight,
  .bullet-content strong {
    font-weight: 700 !important;
  }

  /* Inline KPI numbers in stream cards: Regular Weight (font-weight: 400) + Theme Colored */
  .stream-bullet-item span.highlight {
    font-weight: 400 !important;
  }

  .stream-card-wrapper[data-color="#86bc26"] .stream-card.expanded .stream-org { color: #86bc26 !important; }
  .stream-card-wrapper[data-color="#15ADCA"] .stream-card.expanded .stream-org { color: #15ADCA !important; }
  .stream-card-wrapper[data-color="#3b82f6"] .stream-card.expanded .stream-org { color: #3b82f6 !important; }
  .stream-card-wrapper[data-color="#a81c1c"] .stream-card.expanded .stream-org { color: #a81c1c !important; }
  .stream-card-wrapper[data-color="#d4af37"] .stream-card.expanded .stream-org { color: #d4af37 !important; }
  .stream-card-wrapper[data-color="#E30613"] .stream-card.expanded .stream-org { color: #E30613 !important; }

  /* Rainbow Text Effect for HTW Berlin */
  .stream-org-rainbow {
    background: linear-gradient(135deg, #0082D1, #76B900, #FBBA00, #FF5F00, #E30613);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
  }

  /* Header Layout Structure */
  .stream-card-header {
    padding: 1.1rem 1.1rem 0.9rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    cursor: pointer;
    user-select: none;
    background: #121217;
  }

  .stream-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.5rem;
  }

  .stream-brand-pill {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
  }

  .stream-brand-logo {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    object-fit: contain;
    flex-shrink: 0;
  }

  .stream-org {
    font-size: 0.82rem;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
  }

  /* 16:9 Mobile Showcase Carousel & Minimalist Dots */
  .stream-carousel-wrapper {
    position: relative;
    width: 100%;
    margin: 0.85rem 0;
  }

  .stream-carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.75rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-radius: 12px;
  }

  .stream-carousel-track::-webkit-scrollbar {
    display: none;
  }

  .stream-carousel-slide {
    position: relative;
    flex: 0 0 100%;
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #09090d;
  }

  .stream-showcase-viewport {
    position: relative;
  }

  /* YouTube-Style Bottom Right Fullscreen Button */
  .stream-fullscreen-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    left: auto;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(13, 13, 18, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    opacity: 0.85;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    pointer-events: auto !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-touch-callout: none !important;
  }

  .stream-fullscreen-btn *,
  .expand-landscape-btn * {
    pointer-events: none !important;
  }

  .stream-fullscreen-btn:hover {
    opacity: 1;
    transform: scale(1.08);
    background: rgba(13, 13, 18, 0.95);
    border-color: #ffffff;
  }

  .stream-fullscreen-btn:active,
  .expand-landscape-btn:active {
    opacity: 1 !important;
    transform: scale(0.88) !important;
  }

  .stream-fullscreen-btn svg,
  .stream-fullscreen-btn i {
    width: 14px;
    height: 14px;
    pointer-events: none !important;
  }

  .stream-carousel-slide .stream-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .stream-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 0.65rem;
  }

  .carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .carousel-dot.active {
    width: 16px;
    border-radius: 4px;
    background: #86bc26;
    box-shadow: 0 0 8px rgba(134, 188, 38, 0.6);
  }

/* Universal Fullscreen Lightbox Modal (Desktop & Mobile) */
.stream-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10000;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stream-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.stream-modal-card {
  position: relative;
  max-width: 900px;
  width: 92%;
  max-height: 85vh;
  background: #0f0f14;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stream-modal-overlay.active .stream-modal-card {
  transform: scale(1);
}

.stream-modal-header {
  height: 42px;
  background: #14141a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  flex-shrink: 0;
}

.stream-modal-title {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stream-modal-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}

.stream-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.stream-modal-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow: hidden;
  background: #09090d;
}

.stream-modal-img {
  max-width: 100%;
  max-height: calc(85vh - 70px);
  object-fit: contain;
  border-radius: 8px;
}

  .stream-header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.5rem;
  }

  .stream-role {
    font-family: var(--font-headers);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin: 0;
  }

  .stream-period-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: monospace;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 7px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .stream-period-badge svg {
    width: 11px;
    height: 11px;
  }

  .stream-chevron {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .stream-card.expanded .stream-chevron {
    transform: rotate(180deg);
  }

  .stream-card-wrapper[data-color="#86bc26"] .stream-card.expanded .stream-chevron { color: #86bc26 !important; }
  .stream-card-wrapper[data-color="#15ADCA"] .stream-card.expanded .stream-chevron { color: #15ADCA !important; }
  .stream-card-wrapper[data-color="#3b82f6"] .stream-card.expanded .stream-chevron { color: #3b82f6 !important; }
  .stream-card-wrapper[data-color="#d4af37"] .stream-card.expanded .stream-chevron { color: #d4af37 !important; }
  .stream-card-wrapper[data-color="#E30613"] .stream-card.expanded .stream-chevron { color: #E30613 !important; }
  .stream-card-wrapper[data-color="#a81c1c"] .stream-card.expanded .stream-chevron { color: #a81c1c !important; }

  /* Metrics Summary Bar - Center Aligned */
  .stream-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 0.7rem 0.8rem;
    background: #09090d;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
  }

  .metric-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
  }

  .metric-lbl {
    font-family: monospace;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .metric-val {
    font-family: monospace;
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
  }

  /* 16:9 Showcase Frame */
  .stream-showcase-viewport {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #070708;
    margin-bottom: 0.85rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  }

  .stream-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* Expandable Content Drawer */
  .stream-drawer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 1.1rem;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, padding 0.25s ease;
  }

  .stream-card.expanded .stream-drawer {
    max-height: 700px;
    opacity: 1;
    padding: 1rem 1.1rem;
  }

  .stream-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    margin-bottom: 0.85rem;
  }

  .stream-bullets-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
  }

  .stream-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
  }

  .custom-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 8px rgba(34, 211, 238, 0.8);
    flex-shrink: 0;
    margin-top: 6px;
  }

  /* Custom Bullet Colors Matching Brand Theme */
  .stream-card-wrapper[data-color="#86bc26"] .custom-bullet { background: #86bc26 !important; box-shadow: 0 0 8px rgba(134, 188, 38, 0.8); }
  .stream-card-wrapper[data-color="#15ADCA"] .custom-bullet { background: #15ADCA !important; box-shadow: 0 0 8px rgba(21, 173, 202, 0.8); }
  .stream-card-wrapper[data-color="#3b82f6"] .custom-bullet { background: #3b82f6 !important; box-shadow: 0 0 8px rgba(59, 130, 246, 0.8); }
  .stream-card-wrapper[data-color="#a81c1c"] .custom-bullet { background: #a81c1c !important; box-shadow: 0 0 8px rgba(168, 28, 28, 0.8); }
  .stream-card-wrapper[data-color="#d4af37"] .custom-bullet { background: #d4af37 !important; box-shadow: 0 0 8px rgba(212, 175, 55, 0.8); }
  .stream-card-wrapper[data-color="#E30613"] .custom-bullet { background: #E30613 !important; box-shadow: 0 0 8px rgba(227, 6, 19, 0.8); }

  .stream-skills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .stream-skill-tag {
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2px 7px;
    border-radius: 6px;
  }

/* Hide Portfolio Carousel Navigation Arrows on Mobile Viewports */
@media (max-width: 992px) {
  .portfolio-section .slider-arrow,
  .portfolio-section .portfolio-nav-buttons,
  .portfolio-section .portfolio-arrow-prev,
  .portfolio-section .portfolio-arrow-next,
  .portfolio-nav-wrapper {
    display: none !important;
  }
}

/* Global Reset: Remove Default Mobile Blue Tap Box / Outline & Prevent Long-Press Touch Freeze */
* {
  -webkit-tap-highlight-color: transparent !important;
}

button:focus,
a:focus,
div:focus {
  outline: none !important;
}

a,
button,
img,
.btn,
.contact-item,
.card-nav-bubble,
.card-skip-btn,
.expand-landscape-btn,
.stream-fullscreen-btn,
.stack-dot,
.focus-strip-header,
.cert-achievement-card,
.cert-strip-item {
  -webkit-user-drag: none !important;
  user-drag: none !important;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
  touch-action: manipulation;
}

/* Industry Standard Circular Tap/Click Ripple Wave Effect */
.ripple-target {
  overflow: hidden !important;
}

.ripple-target:not(.expand-landscape-btn) {
  position: relative;
}

/* Preserved absolute positioning for image crop viewport enlarge buttons */
.focus-crop-viewport .expand-landscape-btn {
  position: absolute !important;
  bottom: 8px !important;
  right: 8px !important;
}

.button-ripple-wave {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: buttonRippleAnimation 0.6s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
  pointer-events: none;
  z-index: 10;
}

.button-ripple-wave.dark-ripple {
  background: rgba(11, 11, 15, 0.28) !important;
}

@keyframes buttonRippleAnimation {
  0% {
    transform: scale(0);
    opacity: 0.5;
  }
  100% {
    transform: scale(3.5);
    opacity: 0;
  }
}

/* Mobile-Only Single Tone Buttons with Modern Press Micro-Feedback */
@media (max-width: 992px) {
  .btn,
  .btn-primary,
  .btn-blue,
  .btn-secondary,
  .btn-connect-mobile,
  .btn-footer-meeting {
    transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.15s ease !important;
  }

  .btn:hover,
  .btn-primary:hover,
  .btn-blue:hover,
  .btn-secondary:hover,
  .btn-connect-mobile:hover {
    background-image: none !important;
  }

  .btn-primary {
    background: #ffffff !important;
    color: #0b0b0e !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2) !important;
  }

  .btn-blue {
    background: #2563eb !important;
    color: #ffffff !important;
    border: 1px solid #3b82f6 !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
  }

  .btn-secondary {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
  }

  /* Tactile compression scale on tap press */
  .btn:active,
  .btn-primary:active,
  .btn-blue:active,
  .btn-secondary:active,
  .btn-connect-mobile:active,
  .contact-item:active {
    transform: scale(0.95) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
  }
}