:root {
  /* NEW COLOR PALETTE — Editorial Game Portfolio */
  --color-bg: #0d0d0d;
  --color-surface: #1a1a1a;
  --color-primary: #ff6b35; /* Coral orange */
  --color-secondary: #e85d04; /* Rust orange (replaced amber) */
  --color-tertiary: #d00000; /* Deep red (replaced purple) */
  --color-teal: #ffffff; /* Pure white (replaced neon teal) */
  --color-pink: #b3b3b3; /* Silver grey (replaced radical pink) */
  --color-text-primary: #f5f5f5;
  --color-text-muted: #999999;

  /* TYPOGRAPHY */
  --font-headings: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --font-display: "Bebas Neue", sans-serif;
  --font-secondary: "DM Sans", sans-serif;

  /* GLOBAL METRICS */
  --border-radius: 12px;
  --nav-height: 80px;
  --transition-smooth: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* =========================================
   Reset & Basics
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none !important; /* Custom Cursor */
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  background-color: var(--color-bg);
}

body {
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-surface);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 10px;
}

h1, h2, h3, h4, .nav-brand {
  font-family: var(--font-headings);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

/* =========================================
   Global Effects
   ========================================= */

#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background-color: var(--color-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.1s ease-out, width 0.3s, height 0.3s, background-color 0.3s;
  will-change: transform, left, top;
}

@media (hover: none) {
  #custom-cursor { display: none !important; }
  * { cursor: auto !important; }
}

/* Fast Filtering & Pagination Utility */
.card-hidden, .paginate-hidden {
  display: none !important;
}

.project-card {
  will-change: transform, opacity;
}

.card-media {
  position: relative;
  background-color: rgba(255, 255, 255, 0.03); /* Placeholder while loading */
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.project-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--color-primary);
  width: 0%;
  z-index: 9999;
}

/* =========================================
   Header & Navigation
   ========================================= */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
  display: flex;
  align-items: center;
}

#main-header .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-brand {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer !important;
  padding: 10px;
  z-index: 1100;
}

.hamburger .bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background-color: var(--color-text-primary);
  transition: var(--transition-smooth);
}

.hamburger.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .bar:nth-child(2) { opacity: 0; }
.hamburger.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .hamburger { display: block; }
  #nav-menu {
    position: fixed;
    top: 0; right: -100%; width: 100%; height: 100vh;
    background: var(--color-bg);
    display: flex; justify-content: center; align-items: center;
    transition: var(--transition-smooth); z-index: 1050;
  }
  #nav-menu.nav-open { right: 0; }
  .nav-links { flex-direction: column; gap: 2rem; text-align: center; }
  .nav-link { font-size: 24px; }
}

/* =========================================
   Sections Core
   ========================================= */
.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   Hero Section
   ========================================= */
#hero {
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(13, 13, 13, 0.7), rgba(106, 76, 147, 0.4));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1000px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1.5rem;
  display: block;
}

.hero-name {
  font-family: var(--font-headings);
  font-size: clamp(40px, 7vw, 100px); /* Slightly smaller to fit better */
  font-weight: 700;
  line-height: 0.9;
  color: #fff;
  margin-bottom: 2rem;
  max-width: 100%;
  display: block; /* Ensure it starts a new line if needed */
}

.hero-name .word {
  display: inline-block;
  white-space: nowrap;
}

/* Letter Animation */
.hero-name .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-name.is-visible .letter {
  opacity: 1;
  transform: translateY(0);
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 20px;
  color: #cccccc;
  font-style: italic;
  margin-bottom: 1rem;
}

.hero-desc {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 600px;
  margin-bottom: 3.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn-hero {
  height: 50px;
  width: 180px;
  padding: 0; /* Let height/width handle it */
  font-size: 16px;
}

/* =========================================
   Systems I Build Section
   ========================================= */
.systems-header {
  margin-bottom: 4rem;
}

.systems-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
}

.system-tile {
  background-color: #0f0f1a;
  border: 1px solid #1a1a2e;
  border-radius: 4px;
  padding: 16px 20px;
  width: calc(25% - 12px); /* 4 columns minus gaps */
  min-width: 260px;
  max-width: 320px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.system-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Color Coded Borders */
.st-teal { border-left: 3px solid var(--color-teal); }
.st-amber { border-left: 3px solid var(--color-secondary); }
.st-pink { border-left: 3px solid var(--color-accent); }

/* Glow Effects on Hover */
.st-teal:hover { box-shadow: 0 10px 20px -10px rgba(255, 255, 255, 0.3); border-color: var(--color-teal); }
.st-amber:hover { box-shadow: 0 10px 20px -10px rgba(232, 93, 4, 0.3); border-color: var(--color-secondary); }
.st-pink:hover { box-shadow: 0 10px 20px -10px rgba(179, 179, 179, 0.3); border-color: var(--color-pink); }

.tile-category {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}

.st-teal .tile-category { color: var(--color-teal); }
.st-amber .tile-category { color: var(--color-secondary); }
.st-pink .tile-category { color: var(--color-accent); }

.tile-name {
  font-family: var(--font-headings);
  font-size: 18px;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.tile-desc {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-bottom: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tile-evidence {
  font-family: var(--font-body);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 12px;
}

@media (max-width: 1200px) {
  .system-tile { width: calc(33.33% - 11px); }
}

@media (max-width: 900px) {
  .system-tile { width: calc(50% - 8px); min-width: 200px; }
}

@media (max-width: 600px) {
  .system-tile { width: 100%; max-width: none; }
}

.btn-hero.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
}

.btn-hero.btn-primary:hover {
  background-color: var(--color-secondary);
  transform: scale(1.05);
}

.btn-hero.btn-secondary {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-hero.btn-secondary:hover {
  background-color: var(--color-primary);
  color: #fff;
}

.hero-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat-badge {
  background-color: var(--color-surface);
  border-left: 3px solid var(--color-primary);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 13px;
  padding: 12px 20px;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary);
}

.scroll-text {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.scroll-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(45deg);
  animation: bounceChevron 2s infinite ease-in-out;
}

@keyframes bounceChevron {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(8px) rotate(45deg); }
}

/* Responsive Hero Refinements */
/* Responsive Hero Refinements */
@media (max-width: 768px) {
  .hero-content {
    text-align: left;
    padding-top: 40px;
  }
  
  .hero-name {
    font-size: clamp(32px, 10vw, 64px);
    line-height: 1.1;
  }

  .hero-ctas {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1.5rem !important;
    display: flex !important;
  }
  
  .btn-hero {
    width: 100% !important;
    max-width: 300px !important;
    display: flex !important;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .stat-badge {
    width: fit-content;
    padding: 10px 15px;
  }
}

/* Project Filtering */
.filter-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0 4rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1rem;
}

.filter-btn {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-family: var(--font-headings);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 10px 0;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.filter-btn:hover {
  color: #fff;
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-teal);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn.active {
  color: #fff;
}

.filter-btn.active::after {
  width: 100%;
}

.project-masonry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  transition: opacity 0.3s ease;
}

/* Card Heights & Rhythm */
.is-featured {
  grid-column: span 2;
}

.project-card {
  position: relative;
  background-color: var(--color-surface);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

/* Category Top Bars for Work */
.p-bar-teal-amber { background: linear-gradient(90deg, var(--color-teal), var(--color-secondary)); }
.p-bar-amber { background: var(--color-secondary); }
.p-bar-teal { background: var(--color-teal); }

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.15);
  border-color: rgba(255, 107, 53, 0.3);
}

/* 60/40 Media/Content Split */
.card-media {
  height: 60%;
  position: relative;
  overflow: hidden;
  background-color: #222; /* Slightly lighter for better contrast */
  aspect-ratio: 16 / 9;
}

.media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  color: #444; /* Darker for better contrast against #222 */
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.2em;
  border: 1px dashed rgba(255, 255, 255, 0.05); /* Added visual hint */
}

.project-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card:hover .project-media {
  transform: scale(1.05);
}

.card-content {
  height: 40%;
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Watermark */
.card-watermark {
  position: absolute;
  bottom: 0;
  right: 1.5rem;
  font-family: var(--font-headings);
  font-size: 150px;
  font-weight: 700;
  color: #fff;
  opacity: 0.04;
  line-height: 0.8;
  pointer-events: none;
  user-select: none;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card:hover .card-watermark {
  transform: scale(1.1);
}

.card-badges {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 2;
}

.badge {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
}

.role-badge {
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.engine-badge {
  border: 1px solid var(--color-secondary);
  color: var(--color-secondary);
}

.year-badge {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  opacity: 0.8;
}

/* Top Badges and Variants */
.top-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--color-secondary);
  color: #000;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  border-radius: 4px;
  z-index: 3;
  text-transform: uppercase;
}

.tb-teal { background-color: var(--color-teal); }
.tb-amber { background-color: var(--color-secondary); }

/* Project Card Top Bar */
.project-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 10;
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.gallery-placeholder {
  aspect-ratio: 16 / 9;
  background-color: #222;
  border-radius: 8px;
  overflow: hidden;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease;
}

.gallery-placeholder:hover {
  border-color: var(--color-primary);
}

.card-title {
  font-family: var(--font-headings);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #fff;
  position: relative;
  z-index: 2;
}

.card-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 80%;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.btn-case-study {
  background: none;
  border: none;
  color: var(--color-primary);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 2;
}

.btn-case-study:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .project-masonry {
    grid-template-columns: 1fr !important;
  }
  .is-featured {
    grid-column: 1 / -1 !important;
  }
}

/* =========================================
   Modal Refinements
   ========================================= */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(20px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 0;
}

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

.modal-container {
  width: 90%;
  max-width: 1000px;
  background-color: var(--color-surface);
  border-radius: var(--border-radius);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Custom Modal Layout */
.modal-hero { width: 100%; height: 450px; overflow: hidden; background-color: #000; }

.modal-body { padding: 4rem; }

.modal-header-info { margin-bottom: 3.5rem; }

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

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

.modal-section h3 {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
}

.modal-text {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.modal-list {
  list-style: none;
  padding: 0;
}

.modal-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-muted);
}

.modal-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.skill-tag {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-text-primary);
  padding: 6px 14px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.modal-close-btn {
  position: fixed;
  top: 40px;
  right: 40px;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--color-primary);
  font-size: 24px;
  z-index: 2001;
}

.modal-close-btn:hover {
  background-color: var(--color-primary);
  color: #000;
  transform: rotate(90deg) scale(1.1);
}

@media (max-width: 800px) {
  .modal-grid { grid-template-columns: 1fr; gap: 3rem; }
  .modal-body { padding: 2.5rem; }
  .modal-close-btn { top: 20px; right: 20px; width: 40px; height: 40px; font-size: 20px; }
}

/* =========================================
   About Section
   ========================================= */
.about-grid-new {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.about-editorial-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 2rem;
}

.about-quote {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  color: #fff;
  line-height: 1.3;
  margin-bottom: 2rem;
}

.highlight-coral {
  color: var(--color-primary);
  font-weight: bold;
}

.about-body p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.about-stats-container {
  display: flex;
  justify-content: flex-end;
}

.stats-card {
  background-color: #1a1a1a;
  border-left: 4px solid var(--color-primary);
  padding: 32px;
  width: 100%;
}

.stat-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-row.border-none {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.stat-value {
  font-family: var(--font-body);
  font-size: 15px;
  color: #fff;
}

.checkmark-coral {
  color: var(--color-primary);
  font-weight: bold;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4rem;
  width: 100%;
}

.skill-pill {
  font-family: var(--font-body);
  font-size: 14px;
  color: #fff;
  border: 1px solid var(--color-primary);
  padding: 8px 16px;
  border-radius: 50px;
  cursor: default;
  opacity: 0;
  transform: translateY(10px);
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, opacity 0.4s ease, transform 0.4s ease;
}

.skill-pill.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.skill-pill:hover {
  background-color: var(--color-secondary);
  color: #000;
  border-color: var(--color-secondary);
}

@media (max-width: 900px) {
  .about-grid-new {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-stats-container {
    justify-content: flex-start;
  }
}

/* =========================================
   Contact Section & Footer (Redesign)
   ========================================= */
.contact-container-new {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 4rem 1rem;
}

.contact-header {
  margin-bottom: 3rem;
}

.contact-header h2 {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 48px);
  color: #fff;
  margin-bottom: 1.5rem;
}

.contact-email-link {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.contact-email-link:hover {
  text-decoration: underline;
}

.contact-note {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.contact-form-new {
  width: 100%;
  margin-bottom: 3rem;
  text-align: left;
}

.contact-form-new .form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.contact-form-new .form-input {
  width: 100%;
  background-color: #1a1a1a;
  border: 1px solid transparent;
  padding: 1rem 1.5rem;
  font-family: var(--font-body);
  font-size: 14px;
  color: #fff;
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
  height: 50px;
}

.contact-form-new textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

.contact-form-new .form-input:focus {
  border-color: var(--color-primary);
  background-color: #222;
}

.contact-form-new .form-label {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-muted);
  pointer-events: none;
  transition: all 0.3s ease;
}

.contact-form-new textarea ~ .form-label {
  top: 1.5rem;
  transform: none;
}

.contact-form-new .form-input:focus ~ .form-label,
.contact-form-new .form-input:not(:placeholder-shown) ~ .form-label {
  top: -10px;
  left: 10px;
  font-size: 11px;
  background-color: var(--color-surface);
  padding: 0 5px;
  color: var(--color-primary);
}

.contact-form-new select.form-input:focus ~ .form-label,
.contact-form-new select.form-input:valid ~ .form-label {
  top: -10px;
  left: 10px;
  font-size: 11px;
  background-color: var(--color-surface);
  padding: 0 5px;
  color: var(--color-primary);
}

.btn-submit-new {
  width: 100%;
  height: 56px;
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.btn-submit-new:hover {
  background-color: var(--color-secondary);
  color: #000;
  transform: translateY(-2px);
}

.form-note {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
}

.social-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.social-text-link {
  font-family: var(--font-body);
  font-size: 13px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.social-text-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

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

.social-text-link:hover::after {
  width: 100%;
}

.minimal-footer-new {
  text-align: center;
  padding: 3rem 1rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.minimal-footer-new p {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

.minimal-footer-new .footer-note-text {
  font-size: 11px;
  color: #666;
  margin-top: 0.5rem;
}

/* =========================================
   COMPREHENSIVE RESPONSIVE SYSTEM
   Mobile < 768px | Tablet 768-1024px | Desktop > 1024px
   ========================================= */

/* ——— TABLET (768px – 1024px) ——— */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Nav */
  .nav-link { font-size: 13px; }

  /* Hero */
  .hero-name { font-size: clamp(44px, 7vw, 80px); }
  .hero-content { max-width: 90%; }

  /* Work Grid: 2-col stays, reduce gap */
  .project-masonry { gap: 16px; }
  .card-title { font-size: 22px; }
  .card-watermark { font-size: 110px; }

  /* About: reduce to 1 col earlier */
  .about-grid-new {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Contact: already single col, just constrain width */
  .contact-container-new { max-width: 580px; }

  /* Modal */
  .modal-container { width: 95%; }
}

/* ——— MOBILE (< 768px) ——— */
@media (max-width: 767px) {
  /* Container */
  .container { width: 92%; }

  /* Sections */
  .section { padding: 100px 0 80px; min-height: auto; }

  /* ——— NAV ——— */
  .hamburger { display: flex !important; }

  #nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 100%; height: 100vh;
    background: rgba(13, 13, 13, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1050;
    backdrop-filter: blur(20px);
  }

  #nav-menu.nav-open { right: 0; }

  .nav-links {
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
  }

  .nav-link {
    font-size: 28px;
    font-weight: 700;
    font-family: var(--font-headings);
    letter-spacing: -0.01em;
    color: var(--color-text-primary);
  }

  /* ——— HERO ——— */
  .hero-name {
    font-size: clamp(40px, 10vw, 120px);
    line-height: 1.0;
  }

  .hero-eyebrow { font-size: 11px; letter-spacing: 0.2em; }

  .hero-ctas {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }

  .btn-hero {
    width: 100% !important;
    max-width: 280px !important;
    justify-content: center !important;
    height: 52px !important;
  }

  .hero-stats {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .stat-badge {
    width: fit-content;
    padding: 10px 14px;
  }

  /* ——— WORK / PROJECT GRID ——— */
  #work { padding: 80px 0; }

  .section-header h2 { font-size: clamp(32px, 8vw, 56px); }
  .section-subtitle { font-size: 14px; }

  .project-masonry {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .is-featured {
    grid-column: 1 / -1 !important;
  }

  .card-title { font-size: 22px; }
  .card-watermark { font-size: 100px; }
  .card-desc { max-width: 100%; font-size: 13px; }
  .card-content { padding: 1.5rem; }

  /* ——— ABOUT ——— */
  .about-grid-new {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
  }

  .about-quote { font-size: clamp(24px, 6vw, 36px); }
  .about-body p { font-size: 15px; }

  .stats-card { padding: 1.5rem; }
  .stat-row { flex-direction: column; gap: 0.25rem; align-items: flex-start; }
  .stat-label { margin-bottom: 0; }

  .skills-container { gap: 8px; }
  .skill-pill { font-size: 12px; padding: 6px 12px; }

  /* ——— CONTACT ——— */
  .contact-container-new { padding: 2.5rem 0; }
  .contact-header h2 { font-size: clamp(28px, 7vw, 40px); }
  .contact-email-link { font-size: 17px; }

  .contact-form-new .form-input { height: 48px; font-size: 14px; }
  .btn-submit-new { height: 52px; font-size: 14px; }

  .social-row { gap: 1.25rem; }
  .social-text-link { font-size: 12px; }

  /* ——— MODAL ——— */
  .modal-overlay { padding: 0; align-items: flex-end; }

  .modal-container {
    width: 100%;
    max-height: 95vh;
    border-radius: 16px 16px 0 0;
    transform: translateY(20px) scale(1);
  }

  .modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
  }

  .modal-hero { max-height: 220px; }
  .modal-body { padding: 1.5rem; }
  .modal-title { font-size: 22px; }
  .modal-grid { grid-template-columns: 1fr; gap: 2rem; }
  .modal-close-btn { top: 14px; right: 14px; width: 36px; height: 36px; font-size: 18px; }
}

/* ——— VERY SMALL SCREENS (< 375px) ——— */
@media (max-width: 374px) {
  .hero-name { font-size: 36px; }
  .contact-header h2 { font-size: 26px; }
  .btn-hero { max-width: 100% !important; }
}

/* =========================================
   PERFORMANCE: prefers-reduced-motion
   ========================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Keep fade-in elements visible without animation */
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-name .letter {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .skill-pill {
    opacity: 1 !important;
    transform: none !important;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
  }

  .project-card:hover {
    transform: none !important;
  }

  .project-card:hover .project-media {
    transform: none !important;
  }

  .modal-container {
    transition: none !important;
    transform: none !important;
  }

/* =========================================
   About Extras (Terminal & Badges)
   ========================================= */

.terminal-card {
  background-color: #0d0d0d;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  font-family: var(--font-mono);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.terminal-header {
  background-color: #1a1a1a;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dot.red { background-color: #ff5f56; }
.terminal-dot.yellow { background-color: #ffbd2e; }
.terminal-dot.green { background-color: #27c93f; }

.terminal-title {
  color: var(--color-text-muted);
  font-size: 11px;
  margin-left: 10px;
  text-transform: lowercase;
  opacity: 0.7;
}

.terminal-body {
  padding: 20px;
  color: #a9b7c6;
  font-size: 13px;
  line-height: 1.6;
  flex-grow: 1;
  white-space: pre-wrap;
}

.terminal-body .cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background-color: var(--color-primary);
  margin-left: 2px;
  animation: blink 1s infinite steps(2);
  vertical-align: middle;
}

@keyframes blink {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.achievement-badges-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badges-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.achievement-badge {
  background-color: var(--color-surface);
  border-left: 3px solid var(--color-secondary);
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  border-radius: 0 4px 4px 0;
}

.achievement-badge:hover {
  background-color: #252525;
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(232, 93, 4, 0.1);
}

.badge-icon {
  font-size: 20px;
}

.badge-info {
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-family: var(--font-headings);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
}

.badge-desc {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--color-text-muted);
}

/* =========================================
   Industry Domains Section
   ========================================= */

#industries {
  background-color: #08080c;
  padding: 120px 0;
}

.industry-header {
  margin-bottom: 4rem;
  max-width: 800px;
}

.section-label-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1.5rem;
}

.section-label-teal {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-teal);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.section-line-teal {
  width: 40px;
  height: 1px;
  background-color: var(--color-teal);
}

.industry-title {
  font-family: var(--font-display);
  font-size: 64px;
  color: #fff;
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.industry-title .title-outline {
  -webkit-text-stroke: 2px var(--color-teal);
  color: transparent;
}

.industry-subtitle {
  font-family: var(--font-secondary);
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.domain-card {
  background-color: #0f0f1a;
  border: 1px solid #1a1a2e;
  border-radius: 4px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.domain-card:hover {
  border-color: var(--color-teal);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(255, 255, 255, 0.08);
}

.domain-watermark {
  position: absolute;
  top: 15px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 72px;
  color: #fff;
  opacity: 0.05;
  line-height: 1;
  pointer-events: none;
}

.domain-icon {
  font-size: 40px;
  margin-bottom: 1.5rem;
}

.domain-name {
  font-family: var(--font-display);
  font-size: 32px;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.domain-tagline {
  font-family: var(--font-secondary);
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 2rem;
  max-width: 280px;
}

.domain-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.d-pill {
  font-family: var(--font-secondary);
  font-size: 11px;
  color: var(--color-teal);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ——— RESPONSIVE INDUSTRY ——— */
@media (max-width: 1024px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .about-extras { grid-template-columns: 1fr !important; }
  /* =========================================
   Experience Timeline Redesign
   ========================================= */
.timeline-section {
  padding: 8rem 0;
  position: relative;
  background-color: var(--color-bg);
}

.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 4rem auto 0;
  padding: 2rem 0;
}

/* Central Vertical Line */
.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, 
      transparent, 
      var(--color-teal) 10%, 
      var(--color-teal) 90%, 
      transparent);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  width: 100%;
  display: flex;
  justify-content: flex-end; /* Default for Right */
  padding-right: 0;
}

.timeline-item.left {
  justify-content: flex-start;
}

.timeline-content {
  width: 45%;
  position: relative;
  z-index: 2;
}

/* Timeline Node (The Circle) */
.timeline-node {
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: var(--color-bg);
  border: 2px solid var(--color-teal);
  border-radius: 50%;
  left: 50%;
  top: 24px;
  transform: translateX(-50%);
  z-index: 10;
  transition: all 0.3s ease;
}

/* Year Chip */
.year-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-teal);
  border: 1px solid var(--color-teal);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.05);
}

/* Special Node Glows */
.node-glow-amber {
  border-color: var(--color-secondary) !important;
  box-shadow: 0 0 15px var(--color-secondary);
  animation: pulse-amber 2s infinite;
}

.node-glow-pink {
  border-color: var(--color-pink) !important;
  box-shadow: 0 0 15px var(--color-accent);
  animation: pulse-pink 2s infinite;
}

@keyframes pulse-amber {
  0% { box-shadow: 0 0 5px var(--color-secondary); }
  50% { box-shadow: 0 0 20px var(--color-secondary); }
  100% { box-shadow: 0 0 5px var(--color-secondary); }
}

@keyframes pulse-pink {
  0% { box-shadow: 0 0 5px var(--color-accent); }
  50% { box-shadow: 0 0 20px var(--color-accent); }
  100% { box-shadow: 0 0 5px var(--color-accent); }
}

/* Company Card in Timeline */
.timeline-card {
  background: #0f0f1a;
  border: 1px solid #1a1a2e;
  border-radius: 4px;
  padding: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-teal);
}

.timeline-card.special-amber { border-left: 3px solid var(--color-secondary); }
.timeline-card.special-pink { border-left: 3px solid var(--color-accent); }

.t-company {
  font-family: var(--font-headings);
  font-size: 18px;
  color: #fff;
  display: block;
  margin-bottom: 4px;
}

.t-location {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 12px;
}

.t-role {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 8px;
}

.t-desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.t-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.t-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-teal);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 8px;
  border-radius: 2px;
}

/* Mobile Adjustments for Timeline */
@media (max-width: 768px) {
  .timeline-container::before {
    left: 20px;
  }
  
  .timeline-node {
    left: 20px;
  }
  
  .timeline-item {
    justify-content: flex-start !important;
    padding-left: 50px;
  }
  
  .timeline-content {
    width: 100%;
  }
}
  .industry-grid { grid-template-columns: 1fr; }
  .industry-title { font-size: 48px; }
  .domain-card { min-height: auto; }
}

/* =========================================
   Ventures & Companies Section
   ========================================= */

#ventures {
  background-color: #0d0d0d;
  padding: 120px 0;
}

.ventures-header {
  margin-bottom: 5rem;
}

/* Full Width Company Cards List */
.company-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.company-card {
  background-color: #0f0f1a;
  border-radius: 4px;
  padding: 20px 28px;
  display: grid;
  grid-template-columns: 0.3fr 0.45fr 0.25fr;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid #1a1a2e;
}

/* Color Coding Borders */
.company-card.border-teal { border-left: 3px solid var(--color-teal); }
.company-card.border-amber { border-left: 3px solid var(--color-secondary); }
.company-card.border-pink { border-left: 3px solid var(--color-pink); }

/* Hover Effects */
.company-card:hover {
  transform: translateY(-2px);
  background-color: #141425;
}
.company-card.border-teal:hover { border-color: var(--color-teal); box-shadow: -10px 0 20px rgba(255, 255, 255, 0.05); }
.company-card.border-amber:hover { border-color: var(--color-secondary); box-shadow: -10px 0 20px rgba(232, 93, 4, 0.05); }
.company-card.border-pink:hover { border-color: var(--color-pink); box-shadow: -10px 0 20px rgba(179, 179, 179, 0.05); }

/* Zone 1: Company Meta (30%) */
.c-zone-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.c-name {
  font-family: var(--font-display);
  font-size: 20px;
  color: #fff;
  letter-spacing: 0.02em;
}
.c-loc {
  font-family: var(--font-secondary);
  font-size: 11px;
  color: var(--color-text-muted);
}
.c-date {
  font-family: var(--font-secondary);
  font-size: 11px;
  color: var(--color-teal);
  font-weight: 500;
}

/* Zone 2: Role Info (45%) */
.c-zone-center {
  padding: 0 2rem;
}
.c-role {
  font-family: var(--font-secondary);
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 4px;
}
.c-desc {
  font-family: var(--font-secondary);
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
}

/* Zone 3: Skills & Status (25%) */
.c-zone-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.c-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.status-badge {
  font-family: var(--font-secondary);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.status-FOUNDED { background-color: var(--color-pink); color: #fff; }
.status-CURRENT { background-color: var(--color-teal); color: #000; }
.status-PAST { border: 1px solid var(--color-teal); color: var(--color-teal); }

/* Responsive Adjustments for Ventures */
@media (max-width: 900px) {
  .company-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .c-zone-center { padding: 0; }
  .c-zone-right { justify-content: flex-start; flex-direction: column; align-items: flex-start; }
  .c-tags { justify-content: flex-start; }
}

/* =========================================
   Active Products (Building Now)
   ========================================= */

#building {
  background-color: #08080c;
  padding: 120px 0;
}

.building-header {
  margin-bottom: 4rem;
}

.header-accent-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 2rem;
}

.product-count-badge {
  background-color: rgba(232, 93, 4, 0.1);
  color: var(--color-secondary);
  border: 1px solid rgba(232, 93, 4, 0.3);
  font-family: var(--font-secondary);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  background-color: #0f0f1a;
  border-radius: 4px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Category Top Bar */
.product-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
}
.pb-teal { background-color: var(--color-teal); }
.pb-amber { background-color: var(--color-secondary); }
.pb-pink { background-color: var(--color-pink); }

/* Badges (Top-Right) */
.product-badges {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.p-badge {
  font-family: var(--font-secondary);
  font-size: 9px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.p-status-dev { background-color: var(--color-teal); color: #000; }
.p-status-live { background-color: var(--color-secondary); color: #000; }
.p-company { background-color: rgba(255, 255, 255, 0.05); color: var(--color-text-muted); border: 1px solid rgba(255, 255, 255, 0.1); }

.product-name {
  font-family: var(--font-display);
  font-size: 28px;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
  margin-top: 1rem;
  letter-spacing: 0.02em;
}

.product-desc {
  font-family: var(--font-secondary);
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.p-tag {
  font-family: var(--font-secondary);
  font-size: 10px;
  color: var(--color-teal);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 2px 6px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hover States */
.product-card:hover {
  transform: translateY(-4px);
  background-color: #141425;
}

.product-card.h-teal:hover { box-shadow: 0 15px 35px rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); }
.product-card.h-amber:hover { box-shadow: 0 15px 35px rgba(232, 93, 4, 0.08); border-color: rgba(232, 93, 4, 0.2); }
.product-card.h-pink:hover { box-shadow: 0 15px 35px rgba(179, 179, 179, 0.08); border-color: rgba(179, 179, 179, 0.2); }

/* Responsive Grid */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: auto; padding: 2.5rem 1.5rem; }
  .product-badges { top: 15px; right: 15px; }
}
}

