@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Core Luxury Technical Palette: Deep Black, Gold, Silver/Platinum, White */
  --bg-deep: #050608;
  --bg-base: #0a0c10;
  --bg-surface: #10141a;
  
  /* Glassmorphic Panel Backgrounds */
  --glass-bg: rgba(14, 18, 26, 0.65);
  --glass-bg-hover: rgba(20, 26, 36, 0.82);
  --glass-panel: rgba(16, 20, 28, 0.75);
  --glass-subtle: rgba(255, 255, 255, 0.03);
  
  /* Precision Technical Borders & Lines */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-silver: rgba(210, 220, 235, 0.2);
  --border-gold: rgba(230, 185, 100, 0.38);
  --border-gold-glow: rgba(235, 195, 115, 0.65);
  
  /* Metallic Gradients & Colors */
  --gold-primary: #e5b869;
  --gold-light: #fae2a6;
  --gold-dark: #b88628;
  --gold-gradient: linear-gradient(135deg, #fae2a6 0%, #e5b869 50%, #c49335 100%);
  --gold-text-gradient: linear-gradient(135deg, #ffffff 0%, #fae2a6 30%, #e5b869 70%, #c8983e 100%);
  
  --silver-primary: #cbd5e1;
  --silver-light: #f1f5f9;
  --silver-dark: #64748b;
  --silver-gradient: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
  
  --text-white: #ffffff;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Accent glows */
  --gold-glow: 0 0 25px rgba(229, 184, 105, 0.22);
  --silver-glow: 0 0 25px rgba(203, 213, 225, 0.15);
  --panel-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --card-shadow: 0 12px 35px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 19.2px; /* 20% increase from 16px standard baseline */
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(229, 184, 105, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(203, 213, 225, 0.06) 0%, transparent 35%),
    radial-gradient(circle at 50% 80%, rgba(229, 184, 105, 0.04) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 45px 45px, 45px 45px;
  background-position: 0 0, 0 0, 0 0, -1px -1px, -1px -1px;
  background-attachment: fixed;
  color: var(--text-main);
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(229, 184, 105, 0.6);
}

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

.container {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Precision Glass Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(8, 10, 15, 0.8);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-white);
}

.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  background: var(--gold-gradient);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  color: #080a0f;
  font-weight: 900;
  font-size: 0.95rem;
  box-shadow: 0 0 16px rgba(229, 184, 105, 0.4);
}

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

.nav-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  position: relative;
  transition: all 0.25s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: all 0.25s ease;
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--gold-primary);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.04);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 70%;
}

/* Sharp Technical Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #06070a;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 20px rgba(229, 184, 105, 0.35);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(229, 184, 105, 0.6);
  color: #000;
  text-decoration: none;
}

.btn-secondary {
  background: rgba(18, 24, 34, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-silver);
  color: var(--silver-light);
  box-shadow: var(--card-shadow);
}

.btn-secondary:hover {
  background: rgba(28, 36, 50, 0.9);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(203, 213, 225, 0.2);
  color: #fff;
  text-decoration: none;
}

/* HUD Kicker */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  background: rgba(229, 184, 105, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(229, 184, 105, 0.1);
  margin-bottom: 0.5rem;
}

.kicker::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
}

/* Hero Section */
.hero {
  padding: 5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  margin: 1.2rem 0;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #ffffff;
}

.gradient-text {
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  text-shadow: 0 0 35px rgba(229, 184, 105, 0.2);
}

.hero p {
  margin: 0 0 2rem;
  max-width: 64ch;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 2.2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--text-dim);
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-meta span::before {
  content: '//';
  color: var(--gold-primary);
  font-weight: 700;
}

/* Glassmorphism Profile HUD */
.hero-aside {
  position: relative;
}

.profile-card {
  position: relative;
  z-index: 1;
  background: var(--glass-panel);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-silver);
  border-radius: 14px;
  padding: 1.8rem;
  box-shadow: var(--panel-shadow);
  overflow: hidden;
}

.hud-corner {
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: var(--gold-primary);
  pointer-events: none;
}
.hud-corner.top-left { top: 8px; left: 8px; border-top: 2px solid; border-left: 2px solid; }
.hud-corner.top-right { top: 8px; right: 8px; border-top: 2px solid; border-right: 2px solid; }
.hud-corner.bottom-left { bottom: 8px; left: 8px; border-bottom: 2px solid; border-left: 2px solid; }
.hud-corner.bottom-right { bottom: 8px; right: 8px; border-bottom: 2px solid; border-right: 2px solid; }

.profile-card .avatar-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 200px;
  border-radius: 8px;
  background: #080a0f;
  border: 1px solid var(--border-gold);
  position: relative;
  overflow: hidden;
  margin-bottom: 1.4rem;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8), var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-card .avatar-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.profile-card .avatar-graphic {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: 
    radial-gradient(circle at 50% 50%, rgba(229, 184, 105, 0.12) 0%, transparent 65%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 20px 20px, 20px 20px;
  color: var(--gold-light);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.profile-card .status-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(8, 12, 18, 0.85);
  border: 1px solid var(--border-gold);
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  font-size: 0.72rem;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.profile-card h3 {
  margin: 0;
  font-size: 1.35rem;
  color: #fff;
  font-weight: 700;
}

.profile-card .profile-role {
  color: var(--gold-primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0.3rem 0 0.8rem;
}

.profile-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
}

/* Sections */
section,
[id],
.section {
  padding: 4.5rem 0;
  scroll-margin-top: 100px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.2rem;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  letter-spacing: -0.04em;
  color: #fff;
  font-weight: 800;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  max-width: 54ch;
  font-size: 1.02rem;
}

/* Glassmorphic Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-silver);
  border-radius: 10px;
  padding: 2rem 1.6rem;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0.6;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8), var(--gold-glow);
}

.stat-card strong {
  display: block;
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  line-height: 1;
  margin-bottom: 0.6rem;
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.stat-card span {
  color: var(--silver-light);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Glassmorphic Project & Cert Grids */
.project-grid,
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.project-card,
.cert-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.8rem;
  box-shadow: var(--card-shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover,
.cert-card:hover {
  transform: translateY(-5px);
  background: var(--glass-bg-hover);
  border-color: var(--border-gold);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), var(--gold-glow);
}

.project-card .tag,
.cert-card .tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  font-size: 0.74rem;
  background: rgba(229, 184, 105, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.8rem;
}

.project-card h3,
.cert-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.28rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.35;
}

.project-card p,
.cert-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
}

.project-card ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  margin: 1.2rem 0 0;
}

.project-card li {
  display: inline-flex;
  padding: 0.28rem 0.65rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--silver-light);
  font-size: 0.76rem;
  font-weight: 500;
}

.card-action {
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Subpages */
.page-hero {
  padding: 4.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 4.5vw, 3.5rem);
  margin: 0.8rem 0 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 68ch;
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0;
}

/* Detail & Article Shell */
.detail-shell {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 2.5rem;
}

.article-panel,
.sidebar-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2.2rem;
  box-shadow: var(--panel-shadow);
}

.article-panel h2 {
  font-size: 1.45rem;
  color: var(--gold-light);
  letter-spacing: -0.02em;
  margin: 2rem 0 0.8rem;
  border-left: 3px solid var(--gold-primary);
  padding-left: 0.8rem;
}

.article-panel h2:first-of-type {
  margin-top: 0;
}

.article-panel p {
  color: var(--text-main);
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 0 0 1.2rem;
}

.article-panel ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 1rem 0 2rem;
}

.article-panel li {
  padding: 0.4rem 0.85rem;
  border-radius: 4px;
  background: rgba(229, 184, 105, 0.06);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.86rem;
  font-weight: 600;
}

.sidebar-panel h3 {
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.6rem;
}

.sidebar-panel p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li {
  margin-bottom: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-list a {
  color: var(--silver-light);
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-block;
  transition: all 0.2s;
}

.sidebar-list a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

/* Footer */
.footer {
  margin-top: 6rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(6, 8, 12, 0.95);
  padding: 3rem 0;
  position: relative;
  z-index: 10;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.footer-inner strong {
  color: var(--silver-light);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid,
  .project-grid,
  .cert-grid {
    grid-template-columns: 1fr;
  }
  .detail-shell {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 3.5rem 0 2.5rem;
  }
}

@media (max-width: 640px) {
  .navbar {
    min-height: 64px;
    gap: 0.6rem;
  }
  .brand {
    gap: 0.5rem;
    font-size: 0.82rem;
  }
  .brand-mark {
    width: 1.9rem;
    height: 1.9rem;
    font-size: 0.78rem;
  }
  .brand-subtitle {
    display: none;
  }
  .nav-links {
    gap: 0.25rem;
  }
  .nav-links a {
    font-size: 0.75rem;
    padding: 0.25rem 0.45rem;
  }
  .quote-banner {
    padding: 1.5rem 1.2rem;
  }
  .quote-banner blockquote {
    font-size: 1.1rem;
  }
}

/* Featured Project Card Highlight */
.project-card.featured-project {
  background: linear-gradient(145deg, rgba(229, 184, 105, 0.1) 0%, rgba(16, 20, 28, 0.88) 100%);
  border: 1px solid var(--border-gold-glow);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 30px rgba(229, 184, 105, 0.16);
}

.project-card.featured-project:hover {
  border-color: var(--gold-light);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.75), 0 0 40px rgba(229, 184, 105, 0.3);
}

.project-card.featured-project .tag {
  background: rgba(229, 184, 105, 0.16);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  box-shadow: 0 0 12px rgba(229, 184, 105, 0.25);
}

/* Custom Case Study Visual Enhancements */
.architecture-diagram {
  background: rgba(10, 12, 16, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  line-height: 1.5;
  overflow-x: auto;
  color: var(--text-main);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 30px rgba(0, 0, 0, 0.6);
}

.metric-badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.metric-badge-card {
  background: rgba(16, 20, 28, 0.7);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gold-primary);
  padding: 1rem 1.2rem;
  border-radius: 6px;
}

.metric-badge-card .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.2;
}

.metric-badge-card .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.flow-step {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 1.25rem;
}

.flow-step::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-primary);
  font-size: 0.9rem;
}

.flow-step strong {
  color: var(--text-white);
  font-family: 'JetBrains Mono', monospace;
}

.callout-box {
  background: rgba(229, 184, 105, 0.06);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.callout-box h4 {
  margin: 0 0 0.5rem;
  color: var(--gold-light);
  font-size: 1.05rem;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.tag-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--silver-light);
}

/* ==========================================================================
   Executive Portfolio Overhaul: Components & Narrative Flow
   ========================================================================== */

/* Proof & Status Chips (Hero) */
.proof-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.5rem 0 1.8rem;
}

.proof-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: rgba(16, 22, 32, 0.75);
  border: 1px solid var(--border-silver);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-main);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
}

.proof-chip:hover {
  border-color: var(--gold-primary);
  color: #fff;
  transform: translateY(-1px);
}

.proof-chip.highlight {
  border-color: var(--border-gold);
  background: rgba(229, 184, 105, 0.08);
  color: var(--gold-light);
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
}

.chip-dot.green {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* Quote Banner */
.quote-banner {
  background: linear-gradient(135deg, rgba(229, 184, 105, 0.08) 0%, rgba(16, 20, 28, 0.9) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 2.2rem 2.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.quote-banner::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 8rem;
  font-family: serif;
  color: rgba(229, 184, 105, 0.07);
  pointer-events: none;
  line-height: 1;
}

.quote-banner blockquote {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.quote-banner .quote-author {
  margin-top: 0.8rem;
  display: block;
  font-size: 0.88rem;
  color: var(--gold-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Differentiator 3-Pillar Grid */
.differentiator-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  margin-top: 1rem;
}

.differentiator-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-silver);
  border-radius: 12px;
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: var(--card-shadow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.differentiator-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), var(--gold-glow);
}

.pillar-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--gold-primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.6rem;
  display: block;
}

.differentiator-card h3 {
  font-size: 1.35rem;
  color: #ffffff;
  margin: 0 0 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.pillar-philosophy {
  font-size: 0.98rem;
  color: var(--silver-light);
  line-height: 1.65;
  margin-bottom: 1.4rem;
}

.contrast-block {
  background: rgba(8, 11, 16, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.1rem;
  margin-top: 1.2rem;
  font-size: 0.88rem;
  line-height: 1.6;
}

.contrast-block .label-bad {
  display: block;
  font-size: 0.72rem;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f87171;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.contrast-block .label-good {
  display: block;
  font-size: 0.72rem;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #34d399;
  margin: 0.8rem 0 0.3rem;
  font-weight: 700;
}

.contrast-block p {
  margin: 0;
  color: var(--text-muted);
}

.contrast-block p.highlight-solution {
  color: var(--text-main);
  font-weight: 500;
}

/* Featured Case Studies Cards (Overhaul) */
.case-study-card {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-silver);
  border-radius: 14px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--panel-shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.case-study-card:hover {
  border-color: var(--border-gold-glow);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), var(--gold-glow);
}

.case-study-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.case-study-header .category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  background: rgba(229, 184, 105, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.case-study-card h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  color: #ffffff;
  margin: 0.4rem 0 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.case-story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.2rem;
  margin: 1.5rem 0 2rem;
}

.story-narrative h4,
.architecture-box h4 {
  font-size: 0.88rem;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin: 0 0 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.story-narrative p {
  color: var(--text-main);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.story-narrative .real-obstacle {
  background: rgba(14, 18, 26, 0.7);
  border-left: 3px solid var(--gold-primary);
  padding: 0.9rem 1.2rem;
  border-radius: 0 6px 6px 0;
  margin: 1.2rem 0;
  font-size: 0.95rem;
  color: var(--silver-light);
}

/* Interactive Architecture Pipeline Visual */
.arch-pipeline {
  background: rgba(7, 10, 15, 0.92);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 1.4rem;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.arch-flow-diagram {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.arch-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(18, 24, 35, 0.8);
  border: 1px solid var(--border-silver);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 0.86rem;
  transition: all 0.2s ease;
}

.arch-node:hover {
  border-color: var(--gold-primary);
  background: rgba(26, 34, 48, 0.95);
}

.arch-node .node-title {
  font-weight: 700;
  color: #fff;
}

.arch-node .node-tech {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--gold-light);
  background: rgba(229, 184, 105, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.arch-connector {
  text-align: center;
  color: var(--gold-primary);
  font-size: 0.9rem;
  line-height: 1;
  font-family: monospace;
}

.business-impact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  background: rgba(10, 14, 20, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  margin-top: 1.5rem;
}

.impact-item strong {
  display: block;
  font-size: 1.4rem;
  color: var(--gold-light);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.impact-item span {
  font-size: 0.84rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.case-study-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border-subtle);
}

/* Technical Competency Matrix */
.competency-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.competency-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-silver);
  border-radius: 12px;
  padding: 2rem 1.6rem;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.competency-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.7), var(--gold-glow);
}

.competency-card h3 {
  font-size: 1.22rem;
  color: #fff;
  margin: 0 0 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.competency-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.competency-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.competency-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--silver-light);
  font-size: 0.8rem;
  font-family: 'JetBrains Mono', monospace;
  transition: all 0.2s ease;
}

.competency-pill:hover {
  background: rgba(229, 184, 105, 0.12);
  border-color: var(--border-gold);
  color: #fff;
}

/* Midwest Commitment Banner & Social Proof */
.midwest-banner {
  background: linear-gradient(145deg, rgba(229, 184, 105, 0.12) 0%, rgba(16, 20, 28, 0.95) 60%, rgba(8, 10, 15, 0.98) 100%);
  border: 1px solid var(--border-gold-glow);
  border-radius: 16px;
  padding: 3.5rem 3rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 45px rgba(229, 184, 105, 0.18);
  position: relative;
  overflow: hidden;
}

.midwest-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(229, 184, 105, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.midwest-banner h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: #ffffff;
  margin: 0 0 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.midwest-banner p {
  font-size: 1.1rem;
  color: var(--text-main);
  max-width: 68ch;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-action-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

/* Interactive Quick-Copy Email Button */
.copy-btn {
  position: relative;
  cursor: pointer;
  border: 1px solid var(--border-gold);
  background: rgba(229, 184, 105, 0.12);
  color: var(--gold-light);
  padding: 0.85rem 1.6rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.25s ease;
}

.copy-btn:hover {
  background: var(--gold-gradient);
  color: #050608;
  box-shadow: 0 4px 20px rgba(229, 184, 105, 0.4);
}

.copy-toast {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  background: #10b981;
  color: #050608;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.copy-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* Responsive Rules for New Sections */
@media (max-width: 980px) {
  .differentiator-grid,
  .competency-matrix {
    grid-template-columns: 1fr;
  }
  .case-story-grid {
    grid-template-columns: 1fr;
  }
  .case-study-card {
    padding: 1.8rem;
  }
  .midwest-banner {
    padding: 2.2rem 1.6rem;
  }
}



