/* ==========================================================================
   HOPE SAMUEL — TECHNICAL PROJECT MANAGER PORTFOLIO DESIGN SYSTEM
   Modern, high-performance styling with rich dark/light modes, glassmorphism,
   fluid typography, micro-interactions, responsive layouts & print support.
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Color Palette - Light Mode */
  --bg-primary: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F1F5F9;
  --bg-surface-translucent: rgba(255, 255, 255, 0.85);
  --border-subtle: #E2E8F0;
  --border-strong: #CBD5E1;
  --border-glow: rgba(13, 148, 136, 0.25);
  
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-inverse: #F8FAFC;
  
  --accent-teal: #0D9488;
  --accent-teal-glow: rgba(13, 148, 136, 0.16);
  --accent-teal-bright: #14B8A6;
  --accent-blue: #0284C7;
  --accent-blue-glow: rgba(2, 132, 199, 0.15);
  --accent-emerald: #059669;
  --accent-amber: #D97706;
  --accent-purple: #7C3AED;
  
  --badge-bg: rgba(13, 148, 136, 0.1);
  --badge-border: rgba(13, 148, 136, 0.25);
  --badge-text: #0F766E;
  
  --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --card-shadow-hover: 0 20px 35px -5px rgba(15, 23, 42, 0.12), 0 8px 16px -3px rgba(15, 23, 42, 0.06);
  --hero-glow: radial-gradient(circle at 50% 20%, rgba(20, 184, 166, 0.15) 0%, rgba(248, 250, 252, 0) 70%);
  
  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Transition timings */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode Tokens */
:root[data-theme="dark"] {
  --bg-primary: #090D14;
  --bg-surface: #111823;
  --bg-surface-elevated: #182333;
  --bg-surface-translucent: rgba(17, 24, 35, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-glow: rgba(0, 210, 180, 0.3);
  
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #090D14;
  
  --accent-teal: #00D2B4;
  --accent-teal-glow: rgba(0, 210, 180, 0.2);
  --accent-teal-bright: #2DD4BF;
  --accent-blue: #38BDF8;
  --accent-blue-glow: rgba(56, 189, 248, 0.2);
  --accent-emerald: #10B981;
  --accent-amber: #F59E0B;
  --accent-purple: #A855F7;
  
  --badge-bg: rgba(0, 210, 180, 0.12);
  --badge-border: rgba(0, 210, 180, 0.25);
  --badge-text: #00D2B4;
  
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  --card-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 210, 180, 0.15);
  --hero-glow: radial-gradient(circle at 50% 15%, rgba(0, 210, 180, 0.12) 0%, rgba(9, 13, 20, 0) 70%);
}

/* Automatic System Dark Mode fallback */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg-primary: #090D14;
    --bg-surface: #111823;
    --bg-surface-elevated: #182333;
    --bg-surface-translucent: rgba(17, 24, 35, 0.85);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);
    --border-glow: rgba(0, 210, 180, 0.3);
    
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --text-inverse: #090D14;
    
    --accent-teal: #00D2B4;
    --accent-teal-glow: rgba(0, 210, 180, 0.2);
    --accent-teal-bright: #2DD4BF;
    --accent-blue: #38BDF8;
    --accent-blue-glow: rgba(56, 189, 248, 0.2);
    --accent-emerald: #10B981;
    --accent-amber: #F59E0B;
    --accent-purple: #A855F7;
    
    --badge-bg: rgba(0, 210, 180, 0.12);
    --badge-border: rgba(0, 210, 180, 0.25);
    --badge-text: #00D2B4;
    
    --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    --card-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 210, 180, 0.15);
    --hero-glow: radial-gradient(circle at 50% 15%, rgba(0, 210, 180, 0.12) 0%, rgba(9, 13, 20, 0) 70%);
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(var(--border-subtle) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
  z-index: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* ---------- Reusable Badges & Elements ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--badge-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 0 0 rgba(0, 210, 180, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 210, 180, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 7px rgba(0, 210, 180, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 210, 180, 0);
  }
}

.kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.kicker::before {
  content: "//";
  opacity: 0.6;
}

.section-title {
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 16px;
  max-width: 24ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-copy {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-teal);
  color: #090D14;
  box-shadow: 0 4px 18px var(--accent-teal-glow);
}

.btn-primary:hover {
  background: var(--accent-teal-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-teal-glow);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--card-shadow);
}

.btn-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent-teal);
  border: 1px solid var(--accent-teal);
}

.btn-outline:hover {
  background: var(--accent-teal-glow);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 8px;
}

/* ---------- Navigation Bar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-surface-translucent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  color: var(--text-primary);
}

.nav-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.nav-avatar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-teal);
  box-shadow: 0 0 10px var(--accent-teal-glow);
  cursor: pointer;
}

.nav-status-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: var(--accent-emerald);
  border: 2px solid var(--bg-surface);
  border-radius: 50%;
}

.wordmark .accent {
  color: var(--accent-teal);
}

.wordmark-role {
  font-size: 12px;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--text-muted);
  display: block;
  line-height: 1.2;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navlinks a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 0;
  position: relative;
  transition: color var(--transition-fast);
}

.navlinks a:hover,
.navlinks a.active {
  color: var(--accent-teal);
}

.navlinks a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-teal);
  transition: width var(--transition-normal);
}

.navlinks a:hover::after,
.navlinks a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 30px;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--transition-normal);
  box-shadow: var(--card-shadow);
}

.theme-toggle:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  transform: scale(1.05);
}

.nav-hire-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--accent-teal);
  color: #090D14;
  font-size: 14px;
  font-weight: 700;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 14px var(--accent-teal-glow);
}

.nav-hire-btn:hover {
  background: var(--accent-teal-bright);
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Mobile drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 74px;
  left: 0;
  width: 100%;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  z-index: 99;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
}

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

.mobile-nav a {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 0;
}

.mobile-nav a:hover {
  color: var(--accent-teal);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  padding: 72px 0 64px;
  background: var(--hero-glow);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-tag-wrap {
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero h1 .text-highlight {
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lede {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 54ch;
  margin-bottom: 34px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat-item {
  position: relative;
}

.hero-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 0;
  width: 1px;
  height: 80%;
  background: var(--border-subtle);
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-teal);
  line-height: 1.1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* Hero Showcase Visual */
.hero-visual-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.hero-visual-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.hero-device-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  position: relative;
  width: 240px;
  border-radius: 36px;
  background: #090D14;
  padding: 10px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
  transform: rotate(2deg);
  transition: transform var(--transition-smooth);
}

.phone-mockup:hover {
  transform: rotate(0deg) scale(1.02);
}

.phone-mockup-inner {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
}

.phone-mockup img {
  width: 100%;
  border-radius: 26px;
  display: block;
}

.hero-floating-badge {
  position: absolute;
  background: var(--bg-surface-translucent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--card-shadow);
  z-index: 2;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.hero-floating-badge.badge-1 {
  top: 15%;
  left: -20px;
  border-left: 3px solid var(--accent-teal);
}

.hero-floating-badge.badge-2 {
  bottom: 12%;
  right: -20px;
  border-left: 3px solid var(--accent-blue);
}

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

.hero-card-meta {
  margin-top: 24px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Section Layouts ---------- */
section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-surface-elevated);
  transition: background-color var(--transition-normal);
}

.section-header {
  margin-bottom: 54px;
}

.section-header.text-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header.text-center .section-title,
.section-header.text-center .section-copy {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Value Pillars / Why Hire Hope ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px 26px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-teal), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--card-shadow-hover);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-teal-glow);
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 22px;
}

.pillar-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- Interactive TPM Delivery Pipeline ---------- */
.pipeline-interactive {
  margin-top: 40px;
}

.pipeline-stepper {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.pipeline-step-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px 14px;
  text-align: left;
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pipeline-step-btn .step-number {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-teal);
}

.pipeline-step-btn .step-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.pipeline-step-btn:hover {
  border-color: var(--accent-teal);
  transform: translateY(-2px);
}

.pipeline-step-btn.active {
  background: var(--bg-surface);
  border-color: var(--accent-teal);
  box-shadow: 0 0 20px var(--accent-teal-glow);
}

.pipeline-step-btn.active::after {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--accent-teal);
}

.pipeline-content-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--card-shadow);
  display: none;
  animation: fadeIn 0.3s ease;
}

.pipeline-content-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.pipeline-panel-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.pipeline-panel-main h3 {
  font-size: 26px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pipeline-panel-main p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.pipeline-deliverables-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pipeline-deliverables-list li {
  font-size: 15px;
  color: var(--text-primary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pipeline-deliverables-list li::before {
  content: "✔";
  color: var(--accent-teal);
  font-weight: 700;
  font-size: 14px;
  margin-top: 2px;
}

.pipeline-panel-sidebar {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 26px;
}

.pipeline-panel-sidebar h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-teal);
  margin-bottom: 16px;
}

.pipeline-tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.pill-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.pipeline-quote {
  font-size: 14px;
  font-style: italic;
  color: var(--text-secondary);
  border-left: 3px solid var(--accent-teal);
  padding-left: 14px;
  margin-top: 14px;
}

/* ---------- Case Study Showcase (Svello Multi-Platform) ---------- */
.case-study-hero-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 44px;
  box-shadow: var(--card-shadow);
  margin-bottom: 50px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
}

.case-study-title {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 18px;
}

.case-study-meta-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.meta-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.meta-chip strong {
  color: var(--text-primary);
}

/* Platform Filter Tabs */
.platform-tabs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 14px;
  margin-bottom: 36px;
  scrollbar-width: none;
}

.platform-tabs::-webkit-scrollbar {
  display: none;
}

.platform-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.platform-tab-btn:hover {
  border-color: var(--accent-teal);
  color: var(--text-primary);
}

.platform-tab-btn.active {
  background: var(--accent-teal);
  color: #090D14;
  border-color: var(--accent-teal);
  box-shadow: 0 4px 16px var(--accent-teal-glow);
}

/* Gallery Showcase Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.gallery-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--card-shadow-hover);
}

.gallery-card-img-wrap {
  position: relative;
  background: #090D14;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 260px;
}

.gallery-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-card:hover .gallery-card-img-wrap img {
  transform: scale(1.04);
}

.gallery-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(9, 13, 20, 0.75);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #00D2B4;
  letter-spacing: 0.05em;
  border: 1px solid rgba(0, 210, 180, 0.3);
}

.gallery-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 13, 20, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gallery-card:hover .gallery-zoom-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-teal);
  color: #090D14;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.gallery-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-card-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.gallery-card-copy {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
  flex-grow: 1;
}

.gallery-card-tpm-scope {
  background: var(--bg-surface-elevated);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text-secondary);
  border-left: 2px solid var(--accent-teal);
  line-height: 1.4;
}

.gallery-card-tpm-scope strong {
  display: block;
  color: var(--text-primary);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

/* Figma Wide Cards */
.figma-wide-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

.figma-wide-card .gallery-card-img-wrap {
  min-height: 340px;
}

/* ---------- Live TPM Artifacts Showcase ---------- */
.artifacts-section {
  position: relative;
}

.artifact-tab-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.artifact-tab-btn {
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.artifact-tab-btn:hover {
  border-color: var(--accent-teal);
  color: var(--text-primary);
}

.artifact-tab-btn.active {
  background: var(--accent-teal);
  color: #090D14;
  border-color: var(--accent-teal);
  box-shadow: 0 4px 14px var(--accent-teal-glow);
}

.artifact-panel {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  animation: fadeIn 0.3s ease;
}

.artifact-panel.active {
  display: block;
}

.artifact-header {
  padding: 20px 28px;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.artifact-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.ticket-tag {
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--accent-blue-glow);
  color: var(--accent-blue);
  font-size: 12px;
}

.artifact-content {
  padding: 32px 28px;
}

/* User Story Artifact Box */
.story-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.story-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px;
}

.story-box h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-teal);
  margin-bottom: 12px;
}

.gherkin-block {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-surface);
  border-radius: 8px;
  padding: 16px;
  border: 1px solid var(--border-subtle);
}

.gherkin-keyword {
  color: var(--accent-teal);
  font-weight: 700;
}

/* WBS Table */
.wbs-table-wrap {
  overflow-x: auto;
}

.wbs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.wbs-table th {
  background: var(--bg-surface-elevated);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.wbs-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.wbs-table tr:hover td {
  background: var(--bg-surface-elevated);
}

.status-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-done {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
}

.status-progress {
  background: rgba(2, 132, 199, 0.15);
  color: var(--accent-blue);
}

/* ---------- Skills & Competencies Matrix ---------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.skill-category-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 30px 24px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}

.skill-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.skill-cat-icon {
  font-size: 20px;
  color: var(--accent-teal);
}

.skill-category-header h3 {
  font-size: 18px;
}

.skill-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.skill-pill:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  transform: translateY(-1px);
}

/* ---------- Experience & Career Timeline ---------- */
.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 36px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 12px;
  width: 2px;
  background: var(--border-subtle);
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

.timeline-dot {
  position: absolute;
  left: -30px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-teal);
  border: 3px solid var(--bg-surface);
  box-shadow: 0 0 10px var(--accent-teal-glow);
}

.timeline-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-normal);
}

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

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-title {
  font-size: 20px;
  color: var(--text-primary);
}

.timeline-company {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-teal);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-surface-elevated);
  color: var(--text-muted);
}

.timeline-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.timeline-bullets li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}

.timeline-bullets li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--accent-teal);
}

/* ---------- Contact & Hire Section ---------- */
.hire-section {
  padding: 96px 0;
}

.hire-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 56px;
  box-shadow: var(--card-shadow-hover);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hire-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-teal-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hire-title {
  font-size: clamp(32px, 3.8vw, 44px);
  margin-bottom: 18px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.contact-item:hover {
  border-color: var(--accent-teal);
  transform: translateX(4px);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-teal-glow);
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.contact-item-info {
  flex-grow: 1;
}

.contact-item-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.contact-item-val {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.copy-btn {
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.copy-btn:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

/* Quick Message Form */
.quick-form {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  z-index: 2;
}

.quick-form h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px var(--accent-teal-glow);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0;
  background: var(--bg-surface);
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}

.footer-bottom {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  gap: 16px;
  font-size: 13px;
}

.footer-bottom .back-to-top-btn {
  justify-self: end;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

#overview .overview-grid {
  display: block;
}

.copy-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 28px;
}

.snap-note {
  max-width: 72ch;
  margin: 0 auto 24px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.7;
  text-align: center;
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.back-to-top-btn:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  transform: translateY(-2px);
}

/* ---------- Lightbox Modal ---------- */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(9, 13, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox-modal.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.lightbox-container {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-header {
  padding: 16px 24px;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lightbox-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.lightbox-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lightbox-close-btn:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

.lightbox-body {
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: calc(90vh - 120px);
}

.lightbox-img {
  max-height: 65vh;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.lightbox-caption {
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 60ch;
  line-height: 1.6;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(9, 13, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.lightbox-nav-btn:hover {
  background: var(--accent-teal);
  color: #090D14;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* ---------- Resume Modal ---------- */
.resume-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(9, 13, 20, 0.9);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.resume-modal.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.resume-container {
  background: var(--bg-surface);
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 44px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}

.resume-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--accent-teal);
  color: #090D14;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 1200;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual-card {
    max-width: 480px;
    margin: 0 auto;
  }
  .pillars-grid,
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pipeline-stepper {
    grid-template-columns: repeat(3, 1fr);
  }
  .case-study-hero-card,
  .hire-card {
    grid-template-columns: 1fr;
    padding: 36px;
  }
  .figma-wide-card {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1081px) {
  .gallery-grid,
  .figma-row,
  .filmstrip,
  .browser-stack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }
  .figma-frame,
  .film-item,
  .browser-frame {
    min-width: 0;
  }
  .figma-frame img,
  .film-phone img,
  .browser-body img {
    width: 100%;
    height: auto;
  }
  .browser-intro {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
  .figma-wide-card {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .wrap {
    padding: 0 16px;
  }
  section {
    padding: 68px 0;
  }
  .navlinks,
  .nav-hire-btn {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }

  .nav-actions {
    gap: 10px;
  }

.nav-avatar-wrap {
  width: 38px;
  height: 38px;
}

  .hero {
    padding: 48px 0 40px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .hero-stat-item:not(:last-child)::after {
    display: none;
  }
  .pipeline-stepper {
    grid-template-columns: repeat(2, 1fr);
  }
  .pipeline-panel-grid,
  .story-spec-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pillars-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .hero-floating-badge {
    position: static;
    margin-top: 12px;
  }
  .hero-device-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .timeline {
    padding-left: 24px;
  }
  .timeline-dot {
    left: -18px;
  }
  .hire-card > * {
    min-width: 0;
  }
  .overview-grid,
  .copy-columns {
    grid-template-columns: 1fr;
  }
  .copy-columns {
    gap: 16px;
  }
  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-bottom .back-to-top-btn {
    justify-self: center;
  }
  .contact-item-icon {
    flex-shrink: 0;
  }
  .contact-item-info {
    min-width: 0;
  }
  .contact-item-val {
    overflow-wrap: anywhere;
  }
  .quick-form {
    width: 100%;
  }
  .form-group input,
  .form-group textarea {
    max-width: 100%;
  }
  .contact-item:hover {
    transform: none;
  }
}

@media (max-width: 480px) {
  .pipeline-stepper {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .hire-card {
    padding: 24px;
  }
  .quick-form {
    padding: 20px;
  }
  .contact-item {
    gap: 12px;
    padding: 12px;
  }
  .contact-item-icon {
    width: 40px;
    height: 40px;
  }
  .copy-btn {
    flex-shrink: 0;
    padding: 8px 10px;
  }
}

/* ==========================================================================
   PRINT STYLESHEET (For Clean PDF Export)
   ========================================================================== */
@media print {
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
  }
  .nav,
  .theme-toggle,
  .hero-cta-group,
  .platform-tabs,
  .pipeline-stepper,
  .artifact-tab-nav,
  .footer,
  .toast,
  .lightbox-modal,
  .back-to-top-btn {
    display: none !important;
  }
  .wrap {
    max-width: 100% !important;
    padding: 0 !important;
  }
  section {
    padding: 20px 0 !important;
    page-break-inside: avoid;
  }
  .resume-modal {
    position: static !important;
    display: block !important;
    background: transparent !important;
    padding: 0 !important;
  }
  .resume-container {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
  }
} 

/* Profile picture style */

.profile-picture-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#profile-picture {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    cursor: pointer;
}

/* ---------- Mobile & Tablet Image Grid ---------- */

@media (max-width: 768px) {
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }
}
