/* ══════════════════════════════════════════════
   Neural Foundry — AISymmetric
   Restyled to match aisymmetricsolutions.com
   ══════════════════════════════════════════════ */

:root {
  --white: #FFFFFF;
  --graphite: #111111;
  --blue: #3B82F6;
  --cyan: #22D3EE;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

*, ::before, ::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--graphite);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── GRADIENT TEXT ── */
.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── SECTION TAGS ── */
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 16px;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.nav.scrolled {
  padding: 12px 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--graphite);
  text-decoration: none;
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 4px;
}

.nav-logo .brand-accent {
  color: var(--blue);
}

.nav-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--graphite); }

.nav-cta {
  border-radius: var(--radius-sm);
  background: var(--graphite);
  color: var(--white) !important;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.3s;
  display: inline-block;
}

.nav-cta:hover {
  background: #222;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  background: var(--white);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
}

.hero-logo {
  width: 80px;
  height: auto;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s 0.1s forwards;
  filter: none;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-title {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--graphite);
  opacity: 0;
  animation: fadeUp 0.9s 0.4s forwards;
}

.hero-sub {
  max-width: 560px;
  margin: 24px auto 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-500);
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.9s 0.6s forwards;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.9s 0.8s forwards;
}

.btn-primary {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: var(--graphite);
  color: var(--white);
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  display: inline-block;
}

.btn-primary:hover {
  background: #222;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-ghost {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: transparent;
  color: var(--graphite);
  border: 1px solid var(--gray-200);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  display: inline-block;
}

.btn-ghost:hover {
  border-color: var(--gray-400);
  background: var(--gray-50);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  opacity: 0;
  animation: fadeUp 0.9s 1s forwards;
}

.stat { text-align: center; }

.stat-num {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--graphite);
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 4px;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
  align-self: center;
}

/* ── SECTIONS ── */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--graphite);
}

.section-desc {
  max-width: 520px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-500);
}

/* ── BUILD VELOCITY ── */
#velocity {
  padding: 100px 0;
  background: var(--gray-50);
}

.velocity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 48px auto 0;
}

.velocity-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.velocity-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0;
  transition: opacity 0.4s;
}

.velocity-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59,130,246,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.06), 0 0 40px rgba(59,130,246,0.06);
}

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

.velocity-time {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.velocity-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── FOUNDRY SECTION ── */
#foundry {
  padding: 100px 0 60px;
}

/* ── FILTERS ── */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-500);
  padding: 8px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: var(--gray-300);
  color: var(--graphite);
}

.filter-btn.active {
  background: var(--graphite);
  border-color: var(--graphite);
  color: var(--white);
}

/* ── NEURAL GRAPH ── */
#graph-container {
  position: relative;
  width: 100%;
  height: 900px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 50%, rgba(59,130,246,0.04) 0%, transparent 70%);
  border-radius: var(--radius);
}

#graph-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
}

/* ── GRAPH LEGEND ── */
.graph-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  padding: 24px 0 0;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  cursor: pointer;
  transition: color 0.2s;
}

.legend-item:hover { color: var(--graphite); }

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── PORTFOLIO BANNERS ── */
.portfolio-banner {
  padding: 80px 0;
}

.portfolio-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 56px;
  background: var(--graphite);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.portfolio-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.portfolio-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.portfolio-inner .section-tag {
  color: var(--cyan);
}

.portfolio-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 12px;
}

.portfolio-subtitle {
  font-size: 15px;
  color: var(--gray-400);
  line-height: 1.6;
  max-width: 480px;
}

.btn-portfolio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--white);
  color: var(--graphite);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.btn-portfolio:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn-portfolio svg {
  transition: transform 0.3s;
}

.btn-portfolio:hover svg {
  transform: translateX(4px);
}

/* ── LABS BANNER (variant) ── */
.labs-inner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.labs-inner::before {
  background: radial-gradient(circle, rgba(34,211,238,0.12) 0%, transparent 70%);
}

.labs-inner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.labs-inner .section-tag {
  color: var(--cyan);
}

.labs-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.2);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.labs-badge .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* ── DETAIL PANEL ── */
#detail-panel {
  position: fixed;
  top: 0;
  right: -560px;
  width: 520px;
  height: 100vh;
  background: rgba(255,255,255,0.97);
  border-left: 1px solid var(--gray-100);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 200;
  transition: right 0.4s cubic-bezier(0.16,1,0.3,1);
  overflow-y: auto;
  padding: 32px;
}

#detail-panel.open { right: 0; }

.panel-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  color: var(--gray-400);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.panel-close:hover {
  color: var(--graphite);
  border-color: var(--gray-300);
}

.panel-category-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  border: 1px solid;
}

.panel-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--graphite);
}

.panel-industry {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.panel-divider {
  height: 1px;
  background: var(--gray-100);
  margin: 24px 0;
}

.panel-section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 10px;
}

.panel-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 24px;
}

.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.stack-tag {
  font-size: 12px;
  font-weight: 500;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  color: var(--gray-600);
  padding: 4px 10px;
  border-radius: 6px;
}

.meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.meta-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  padding: 16px;
  border-radius: var(--radius-sm);
}

.meta-item-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.meta-item-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--graphite);
}

.preview-placeholder {
  width: 100%;
  height: 140px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.preview-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.03), rgba(34,211,238,0.03));
}

.preview-icon { font-size: 24px; position: relative; z-index: 1; color: var(--gray-400); }

.preview-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  position: relative;
  z-index: 1;
}

.panel-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.panel-btn-primary {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  background: var(--graphite);
  color: var(--white);
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.panel-btn-primary:hover {
  background: #222;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.panel-btn-ghost {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  color: var(--graphite);
  border: 1px solid var(--gray-200);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.panel-btn-ghost:hover {
  border-color: var(--gray-400);
  background: var(--gray-50);
}

/* ── OVERLAY ── */
#overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 150;
  display: none;
  opacity: 0;
  transition: opacity 0.3s;
}

#overlay.visible { display: block; opacity: 1; }

/* ── METHODOLOGY ── */
#methodology {
  padding: 100px 0;
  background: var(--gray-50);
}

.method-steps {
  display: flex;
  gap: 0;
  max-width: 960px;
  margin: 48px auto 0;
  flex-wrap: wrap;
}

.method-step {
  flex: 1;
  min-width: 140px;
  padding: 28px 20px;
  border-top: 2px solid var(--gray-200);
  position: relative;
  transition: all var(--transition);
}

.method-step:hover {
  border-top-color: var(--blue);
}

.method-step:hover .method-icon { color: var(--blue); }

.method-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.method-icon {
  font-size: 20px;
  margin-bottom: 12px;
  transition: color var(--transition);
  color: var(--gray-500);
}

.method-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--graphite);
}

.method-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-500);
}

/* ── FOOTER ── */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--gray-100);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-weight: 700;
  font-size: 16px;
  color: var(--graphite);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo-img {
  height: 24px;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-500);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover { color: var(--graphite); }

.footer-copy {
  font-size: 12px;
  color: var(--gray-400);
}

/* ── TOOLTIP ── */
#tooltip {
  position: fixed;
  pointer-events: none;
  z-index: 300;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--gray-100);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px 20px;
  border-radius: 12px;
  max-width: 240px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.15s, transform 0.15s;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

#tooltip.visible { opacity: 1; transform: translateY(0); }

.tooltip-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--graphite);
}

.tooltip-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tooltip-desc {
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray-500);
}

.tooltip-build {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
}

/* ── SCROLL HINT ── */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 1s 1.5s forwards;
}

.scroll-hint-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gray-300), transparent);
  animation: scrollPulse 1.5s ease-in-out infinite;
}

.scroll-hint-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .nav { padding: 12px 0; }
  .nav-tag { display: none; }
  .nav-links { display: none; }
  .nav-logo-img { width: 26px; height: 26px; }
  .nav-cta { font-size: 12px; padding: 8px 14px; }

  .hero-logo { width: 60px; }

  .velocity-grid {
    grid-template-columns: 1fr 1fr;
  }

  #graph-container { height: 420px; }

  #detail-panel {
    width: 100vw;
    right: -100vw;
    top: auto;
    bottom: 0;
    height: 80vh;
    border-left: none;
    border-top: 1px solid var(--gray-100);
    border-radius: 16px 16px 0 0;
  }

  #detail-panel.open { right: 0; bottom: 0; }

  .hero-stats { gap: 24px; }
  .stat-num { font-size: 28px; }

  .method-steps { flex-direction: column; }

  .footer-inner { flex-direction: column; text-align: center; }

  .filter-bar { gap: 6px; }
  .filter-btn { font-size: 12px; padding: 6px 12px; }

  .portfolio-inner {
    flex-direction: column;
    padding: 40px 28px;
    text-align: center;
  }

  .portfolio-subtitle { margin: 0 auto; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 36px; }
  .velocity-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { display: none; }
}
