/*
Theme Name: Yameveo Sentinel Classic
Theme URI: https://yameveo.com
Author: Yameveo
Author URI: https://yameveo.com
Description: A premium cybersecurity-focused WordPress theme built for Yameveo. Features the Sentinel Classic brand identity with warm steel/brass palette, Sora + DM Sans typography, shield iconography, and modern scroll animations.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Apache License 2.0
License URI: http://www.apache.org/licenses/LICENSE-2.0
Text Domain: yameveo
Tags: one-column, custom-menu, custom-logo, featured-images, theme-options, blog
*/

/* ===== SENTINEL CLASSIC DESIGN SYSTEM ===== */
:root {
  --navy: #1B2B3A;
  --navy-deep: #0F1B26;
  --steel: #3E5C72;
  --sky: #7A9FB8;
  --silver: #B8CFDE;
  --brass: #D4A853;
  --brass-glow: rgba(212, 168, 83, 0.25);
  --cloud: #F2F5F8;
  --bg: #F2F5F8;
  --bg-warm: #EAF0F5;
  --bg-card: #FFFFFF;
  --text: #1B2B3A;
  --text-secondary: #3E5C72;
  --text-muted: #7A9FB8;
  --border: #D0DCE6;
  --font-head: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale {
  opacity: 0; transform: scale(0.92);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.stagger-children > * {
  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);
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-children.visible > * { opacity: 1; transform: translateY(0); }

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--brass-glow); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(212,168,83,0); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroImageIn {
  from { opacity: 0; transform: translateX(40px) scale(0.96); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== NAVIGATION ===== */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; padding: 0 80px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  background: rgba(27, 43, 58, 0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(184, 207, 222, 0.08);
  transition: box-shadow 0.3s;
}
.site-nav.scrolled { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2); }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-svg { transition: transform 0.3s; flex-shrink: 0; }
.logo:hover .logo-svg { transform: rotate(-4deg) scale(1.05); }

/* PNG/IMG logo — horizontal lockup from rebranding assets */
.site-logo {
  display: block;
  height: 40px;       /* nav height constraint */
  width: auto;        /* preserve aspect ratio */
  max-width: 220px;   /* cap on very wide viewports */
  flex-shrink: 0;
  transition: opacity 0.25s;
  object-fit: contain;
}
.logo:hover .site-logo { opacity: 0.85; }

/* Smaller logo in footer */
.footer-brand .site-logo {
  height: 28px;
  max-width: 160px;
}

.logo-text {
  font-family: var(--font-head);
  font-size: 20px; font-weight: 700;
  color: #E0E8F0; letter-spacing: -0.5px;
}
.logo-text .brass-o { color: var(--brass); }

.nav-menu { display: flex; gap: 28px; align-items: center; list-style: none; }
.nav-menu li a {
  font-family: var(--font-body);
  font-size: 14px; color: var(--sky);
  font-weight: 500; position: relative;
}
.nav-menu li a::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--brass);
  transition: width 0.3s; border-radius: 2px;
}
.nav-menu li a:hover { color: var(--silver); }
.nav-menu li a:hover::after { width: 100%; }
.nav-menu li.current-menu-item a { color: var(--silver); }
.nav-menu li.current-menu-item a::after { width: 100%; }

.nav-cta {
  background: var(--brass); color: var(--navy-deep) !important;
  padding: 10px 26px; border-radius: 8px;
  font-family: var(--font-head) !important;
  font-size: 13px !important; font-weight: 600;
  letter-spacing: 0.5px; transition: all 0.3s;
}
.nav-cta:hover { background: #e0b762; transform: translateY(-1px); box-shadow: 0 4px 16px var(--brass-glow); }
.nav-cta::after { display: none !important; }

/* Mobile menu toggle */
.menu-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--silver); margin: 5px 0;
  transition: all 0.3s;
}

/* ===== SECTION HELPERS ===== */
.section-tag {
  font-family: var(--font-head);
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 3px; color: var(--brass);
  font-weight: 600; margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-head);
  font-size: 38px; font-weight: 800;
  letter-spacing: -1px; margin-bottom: 20px;
  line-height: 1.15; color: var(--navy);
}
.section-title em { font-style: normal; color: var(--brass); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 80px 100px;
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 40%, var(--steel) 100%);
}
.hero-bg-orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; will-change: transform;
}
.hero-bg-orb.orb-1 {
  top: -250px; right: -200px; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(184, 207, 222, 0.06) 0%, transparent 60%);
}
.hero-bg-orb.orb-2 {
  bottom: -150px; left: -100px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.05) 0%, transparent 60%);
}
.hero-shield-bg {
  position: absolute; right: -80px; top: 50%;
  transform: translateY(-50%); opacity: 0.03; pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  width: 100%; position: relative; z-index: 2;
}
.hero-content { max-width: 580px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(184, 207, 222, 0.12);
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: 11px; font-weight: 500;
  color: var(--sky); margin-bottom: 32px;
  letter-spacing: 0.5px;
  opacity: 0; animation: fadeSlideUp 0.7s 0.2s forwards;
}
.hero-badge .dot-live {
  width: 8px; height: 8px;
  background: var(--brass); border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 24px; letter-spacing: -1.5px;
  color: #E8EDF2;
  opacity: 0; animation: fadeSlideUp 0.8s 0.4s forwards;
}
.hero h1 em { font-style: normal; color: var(--brass); }
.hero-desc {
  font-size: 16px; color: var(--sky);
  line-height: 1.75; max-width: 480px;
  margin-bottom: 36px;
  opacity: 0; animation: fadeSlideUp 0.8s 0.55s forwards;
}
.hero-buttons {
  display: flex; gap: 16px; align-items: center;
  opacity: 0; animation: fadeSlideUp 0.8s 0.7s forwards;
}

/* Buttons */
.btn-primary {
  font-family: var(--font-head);
  font-size: 14px; font-weight: 600;
  padding: 16px 36px;
  background: var(--brass); color: var(--navy-deep);
  border: none; border-radius: 8px;
  cursor: pointer; transition: all 0.3s;
  box-shadow: 0 4px 16px var(--brass-glow);
  position: relative; overflow: hidden;
  letter-spacing: 0.5px; display: inline-block;
}
.btn-primary::after {
  content: ''; position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}
.btn-primary:hover::after { width: 300px; height: 300px; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212, 168, 83, 0.4); background: #e0b762; }

.btn-outline {
  font-family: var(--font-head);
  font-size: 14px; font-weight: 600;
  padding: 16px 32px;
  background: transparent; color: var(--silver);
  border: 1px solid rgba(184, 207, 222, 0.25);
  border-radius: 8px; cursor: pointer;
  transition: all 0.3s; letter-spacing: 0.5px;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--silver); background: rgba(184, 207, 222, 0.06); color: white; }

/* Hero image */
.hero-image-wrap {
  position: relative;
  opacity: 0; animation: heroImageIn 1s 0.6s forwards;
}
.hero-image-frame {
  width: 100%; max-width: 480px;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(184, 207, 222, 0.1);
  transition: transform 0.4s, box-shadow 0.4s;
}
.hero-image-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.35);
}
.hero-image-frame img { width: 100%; height: auto; display: block; }
.hero-image-fallback {
  width: 100%; height: 360px;
  background: linear-gradient(135deg, var(--steel), var(--navy));
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 16px; padding: 40px;
}
.hero-logo-img {
  width: 100%; max-width: 320px;
  height: auto; opacity: 0.92;
}
.hero-image-fallback .tagline {
  font-family: var(--font-head);
  font-size: 11px; color: var(--brass);
  letter-spacing: 3px; text-transform: uppercase;
  font-weight: 600; margin-top: 4px;
}
.hero-float-badge {
  position: absolute; bottom: -16px; left: -16px;
  background: rgba(27, 43, 58, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(184, 207, 222, 0.12);
  border-radius: 12px; padding: 16px 20px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  display: flex; align-items: center; gap: 12px; z-index: 3;
  opacity: 0; animation: fadeSlideUp 0.6s 1.2s forwards;
}
.badge-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(212, 168, 83, 0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.badge-text {
  font-family: var(--font-head);
  font-size: 13px; font-weight: 600; color: var(--silver);
}
.badge-text small {
  display: block; font-weight: 400;
  color: var(--sky); font-size: 11px;
  font-family: var(--font-body);
}

/* ===== TRUST STRIP ===== */
.trust-strip {
  padding: 48px 80px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center; background: var(--bg-card);
}
.trust-strip p {
  font-family: var(--font-head);
  font-size: 10px; text-transform: uppercase;
  letter-spacing: 3px; color: var(--text-muted);
  margin-bottom: 24px; font-weight: 600;
}
.trust-logos {
  display: flex; justify-content: center;
  gap: 48px; align-items: center; flex-wrap: wrap;
}
.trust-logo {
  font-family: var(--font-head);
  font-size: 14px; color: var(--navy);
  font-weight: 700; letter-spacing: 2px;
  opacity: 0.25; text-transform: uppercase;
  transition: all 0.4s; cursor: default;
}
.trust-logo:hover { opacity: 0.6; transform: scale(1.05); }
.trust-logo.highlight { color: var(--brass); opacity: 0.5; }

/* ===== ABOUT ===== */
.about-section {
  padding: 100px 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-section p {
  font-size: 16px; color: var(--text-secondary);
  line-height: 1.8; margin-bottom: 16px;
}
.about-visual {
  background: linear-gradient(135deg, var(--navy), var(--steel));
  border-radius: 16px; height: 420px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.about-visual img {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 16px;
}
.about-visual .ring-deco {
  position: absolute; border-radius: 50%;
  border: 2px solid rgba(184, 207, 222, 0.12);
}
.about-visual .ring-deco.r1 {
  width: 200px; height: 200px;
  animation: slowSpin 25s linear infinite;
}
.about-visual .ring-deco.r2 {
  width: 300px; height: 300px;
  animation: slowSpin 35s linear infinite reverse;
}
.about-visual .Y-watermark {
  font-family: var(--font-head);
  font-size: 180px; font-weight: 800;
  color: rgba(255,255,255,0.04);
  z-index: 1; position: relative;
}
.about-logo-img {
  width: 220px; height: 220px;
  object-fit: contain;
  position: relative; z-index: 1;
  opacity: 0.85;
}
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 32px;
}
.about-stat {
  text-align: center; padding: 20px;
  background: var(--bg-warm); border-radius: 10px;
  border: 1px solid var(--border); transition: all 0.3s;
}
.about-stat:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(27,43,58,0.06); }
.about-stat .number {
  font-family: var(--font-head);
  font-size: 32px; font-weight: 800; color: var(--navy);
}
.about-stat .label {
  font-family: var(--font-head);
  font-size: 10px; color: var(--text-muted);
  font-weight: 600; margin-top: 4px;
  text-transform: uppercase; letter-spacing: 1.5px;
}

/* ===== SERVICES ===== */
.services-section {
  padding: 100px 80px;
  background: var(--navy);
  position: relative; overflow: hidden;
}
.services-section .parallax-bg {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
}
.services-section .parallax-orb {
  position: absolute; border-radius: 50%; will-change: transform;
}
.parallax-orb.so1 {
  top: -100px; right: -50px; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(184, 207, 222, 0.06) 0%, transparent 70%);
}
.parallax-orb.so2 {
  bottom: -80px; left: 100px; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.04) 0%, transparent 70%);
}
.services-section .section-title { color: #E0E8F0; }
.services-section .section-title em { color: var(--brass); }
.services-intro {
  font-size: 16px; color: var(--sky);
  max-width: 560px; line-height: 1.7;
  margin-bottom: 60px; opacity: 0.7;
}
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; position: relative; z-index: 2;
}
.service-card {
  padding: 32px;
  border: 1px solid rgba(184, 207, 222, 0.08);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(255,255,255,0.03);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--brass);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-6px);
  border-color: rgba(212, 168, 83, 0.2);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}
.service-icon-box {
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(212, 168, 83, 0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 22px;
  transition: transform 0.3s;
}
.service-card:hover .service-icon-box { transform: scale(1.1) rotate(-3deg); }
.service-card h3 {
  font-family: var(--font-head);
  font-size: 18px; font-weight: 700;
  margin-bottom: 12px; color: #E0E8F0;
  letter-spacing: -0.3px;
}
.service-card p { color: var(--sky); opacity: 0.65; font-size: 14px; line-height: 1.7; }

.consortium-badge {
  margin-top: 40px; padding: 18px 24px;
  background: rgba(212, 168, 83, 0.08);
  border: 1px solid rgba(212, 168, 83, 0.15);
  border-radius: 10px;
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--sky);
  position: relative; z-index: 2; transition: all 0.3s;
}
.consortium-badge:hover { background: rgba(212, 168, 83, 0.14); }
.consortium-badge strong { color: var(--brass); }

/* ===== TEAM ===== */
.team-section { padding: 100px 80px; }
.team-grid {
  display: flex; flex-wrap: wrap;
  gap: 60px 100px; margin-top: 60px; justify-content: center;
}
.team-card {
  flex: 0 0 260px; max-width: 260px;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.team-card:hover { transform: translateY(-6px); }
.team-avatar {
  width: 160px; height: 160px; border-radius: 50%;
  margin: 0 auto 20px; overflow: hidden;
  border: 3px solid var(--border);
  transition: border-color 0.4s, box-shadow 0.4s;
  background: linear-gradient(135deg, var(--bg-warm), var(--cloud));
}
.team-card:hover .team-avatar {
  border-color: var(--brass);
  box-shadow: 0 8px 28px var(--brass-glow);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-avatar .initials {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 36px; color: var(--steel); font-weight: 800;
}
.team-card h4 {
  font-family: var(--font-head);
  font-size: 17px; font-weight: 700;
  margin-bottom: 4px; color: var(--navy); letter-spacing: -0.3px;
}
.team-card .role {
  font-family: var(--font-head);
  font-size: 12px; color: var(--brass);
  font-weight: 600; margin-bottom: 8px; letter-spacing: 0.5px;
}
.team-card .bio {
  font-size: 13px; color: var(--text-muted);
  line-height: 1.5; max-width: 240px; margin: 0 auto;
}
.team-linkedin {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  font-family: var(--font-head); font-size: 12px; font-weight: 600;
  color: var(--steel); text-decoration: none;
  padding: 5px 12px; border-radius: 20px;
  border: 1px solid var(--border);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.team-linkedin:hover {
  color: #0a66c2; border-color: #0a66c2;
  background: rgba(10, 102, 194, 0.06);
}

/* ===== PROCESS / HOW WE WORK ===== */
.process-section {
  padding: 100px 80px;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.process-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; margin-bottom: 72px; align-items: end;
}
.process-header p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; }
.process-timeline {
  display: grid; grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.process-timeline::before {
  content: ''; position: absolute; top: 36px;
  left: 36px; right: 36px; height: 2px;
  background: var(--border); z-index: 0;
}
.process-timeline::after {
  content: ''; position: absolute; top: 36px;
  left: 36px; width: 0; height: 2px;
  background: var(--brass); z-index: 1;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.process-timeline.visible::after { width: calc(100% - 72px); }
.process-step {
  text-align: center; position: relative; z-index: 2; padding: 0 12px;
}
.step-dot {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--bg-card); border: 3px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; font-size: 24px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(27, 43, 58, 0.06);
}
.process-timeline.visible .step-dot {
  border-color: var(--brass); background: rgba(212, 168, 83, 0.08);
}
.process-step h4 {
  font-family: var(--font-head);
  font-size: 17px; font-weight: 700;
  color: var(--navy); margin-bottom: 8px;
}
.step-num {
  font-family: var(--font-head);
  font-size: 10px; font-weight: 700;
  color: var(--brass); letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 6px;
}
.process-step p {
  font-size: 13px; color: var(--text-secondary);
  line-height: 1.6; max-width: 220px; margin: 0 auto;
}
.track-record {
  margin-top: 72px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.track-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px;
  text-align: center; transition: all 0.3s;
}
.track-item:hover { box-shadow: 0 6px 24px rgba(27,43,58,0.06); transform: translateY(-2px); }
.track-item .track-number {
  font-family: var(--font-head);
  font-size: 40px; font-weight: 800; color: var(--navy);
}
.track-item .track-label {
  font-family: var(--font-head);
  font-size: 11px; color: var(--text-muted);
  font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
}

/* ===== CTA ===== */
.cta-section { padding: 80px; }
.cta-box {
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  border-radius: 20px; padding: 64px 80px;
  color: white; text-align: center;
  position: relative; overflow: hidden;
}
.cta-box .cta-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.cta-orb.co1 {
  top: -80px; right: -80px; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(184, 207, 222, 0.08) 0%, transparent 70%);
}
.cta-orb.co2 {
  bottom: -60px; left: -40px; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.06) 0%, transparent 70%);
}
.cta-box h2 {
  font-family: var(--font-head);
  font-size: 34px; font-weight: 800;
  margin-bottom: 16px; letter-spacing: -0.5px;
  position: relative; z-index: 2; color: #E8EDF2;
}
.cta-box p {
  font-size: 16px; color: var(--sky);
  margin-bottom: 32px; max-width: 480px;
  margin-left: auto; margin-right: auto;
  position: relative; z-index: 2;
}
.cta-btn {
  font-family: var(--font-head);
  font-size: 14px; font-weight: 600;
  padding: 16px 40px; background: var(--brass);
  color: var(--navy-deep); border: none;
  border-radius: 8px; cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 16px var(--brass-glow);
  position: relative; z-index: 2;
  overflow: hidden; letter-spacing: 0.5px;
  display: inline-block;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212, 168, 83, 0.4); background: #e0b762; }

/* ===== FOOTER ===== */
.site-footer {
  padding: 60px 80px;
  background: var(--navy);
  border-top: 1px solid rgba(184, 207, 222, 0.08);
  display: grid; grid-template-columns: 1fr auto;
  gap: 40px; align-items: start;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-copy { font-size: 13px; color: var(--sky); line-height: 1.6; opacity: 0.7; }
.footer-copy a { color: var(--brass); font-weight: 500; }
.footer-right { display: flex; gap: 48px; }
.footer-col h5 {
  font-family: var(--font-head);
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 2px; color: var(--silver);
  font-weight: 700; margin-bottom: 14px;
}
.footer-col a {
  display: block; font-size: 14px;
  color: var(--sky); font-weight: 500;
  margin-bottom: 8px; transition: color 0.3s, transform 0.3s;
  opacity: 0.7;
}
.footer-col a:hover { color: var(--brass); transform: translateX(3px); opacity: 1; }

/* ===== SERVICES PAGE ===== */
.svc-hero-grid {
  padding: 80px 80px 100px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  max-width: 1400px; margin: 0 auto;
}
.svc-hero-grid .svc-text h2 {
  font-family: var(--font-head);
  font-size: 32px; font-weight: 800;
  letter-spacing: -1px; margin-bottom: 20px;
  line-height: 1.2; color: var(--navy);
}
.svc-hero-grid .svc-text p {
  font-size: 16px; color: var(--text-secondary);
  line-height: 1.8; margin-bottom: 16px;
}
.svc-hero-grid .svc-text .entry-content h2 {
  font-family: var(--font-head);
  font-size: 32px; font-weight: 800;
  letter-spacing: -1px; margin-bottom: 20px;
  line-height: 1.2; color: var(--navy);
}
.svc-hero-grid .svc-text .entry-content p {
  font-size: 16px; color: var(--text-secondary);
  line-height: 1.8; margin-bottom: 16px;
}

.svc-detail-section {
  padding: 60px 80px 80px;
  max-width: 1400px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 28px;
}
.svc-detail {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 40px;
  display: grid; grid-template-columns: auto 1fr;
  gap: 32px; align-items: start;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-detail:hover {
  box-shadow: 0 12px 40px rgba(27, 43, 58, 0.08);
  transform: translateY(-4px);
  border-color: rgba(212, 168, 83, 0.2);
}
.svc-detail .svc-icon {
  width: 64px; height: 64px; border-radius: 12px;
  background: rgba(212, 168, 83, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; flex-shrink: 0;
  transition: transform 0.3s;
}
.svc-detail:hover .svc-icon { transform: scale(1.1) rotate(-3deg); }
.svc-detail h3 {
  font-family: var(--font-head);
  font-size: 22px; font-weight: 700;
  margin-bottom: 12px; color: var(--navy);
  letter-spacing: -0.5px;
}
.svc-detail p {
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.75; margin-bottom: 16px;
}
.svc-tags {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px;
}
.svc-tag {
  font-family: var(--font-head);
  font-size: 11px; font-weight: 600;
  padding: 6px 14px; border-radius: 6px;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  color: var(--text-muted);
  letter-spacing: 0.5px;
  transition: all 0.3s;
}
.svc-tag:hover {
  background: rgba(212, 168, 83, 0.1);
  border-color: var(--brass);
  color: var(--brass);
}

.infra-partner {
  padding: 80px 80px;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.infra-partner .ip-inner {
  max-width: 800px; margin: 0 auto;
  text-align: center;
  padding: 60px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.4s;
}
.infra-partner .ip-inner:hover {
  box-shadow: 0 16px 48px rgba(27, 43, 58, 0.1);
  transform: translateY(-4px);
  border-color: rgba(212, 168, 83, 0.2);
}
.infra-partner h2 {
  font-family: var(--font-head);
  font-size: 32px; font-weight: 800;
  letter-spacing: -1px; margin-bottom: 16px;
  color: var(--navy);
}
.infra-partner p {
  font-size: 16px; color: var(--text-secondary);
  line-height: 1.8; max-width: 580px;
  margin: 0 auto 32px;
}

/* ===== BLOG / ARCHIVE ===== */
.page-hero {
  padding: 140px 80px 80px;
  background: linear-gradient(165deg, var(--navy-deep), var(--navy), var(--steel));
  position: relative; overflow: hidden;
  text-align: center;
}
.page-hero > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.page-hero::before {
  content: ''; position: absolute;
  top: -100px; right: -100px; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(184, 207, 222, 0.05) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: 48px; font-weight: 800;
  letter-spacing: -2px; color: #E8EDF2;
  margin-bottom: 14px;
}
.page-hero h1 em { font-style: normal; color: var(--brass); }
.page-hero .hero-sub { font-size: 17px; color: var(--sky); max-width: 640px; margin: 0 auto; line-height: 1.7; }

.blog-grid-section { padding: 60px 80px 80px; }
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.blog-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-card:hover { box-shadow: 0 12px 36px rgba(27, 43, 58, 0.1); transform: translateY(-6px); }
.blog-card-image {
  height: 200px; overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg-warm);
  display: flex; align-items: center; justify-content: center;
}
.blog-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-image .card-icon {
  font-size: 40px; opacity: 0.1; transition: all 0.4s;
}
.blog-card:hover .blog-card-image .card-icon { opacity: 0.2; transform: scale(1.15); }
.blog-card-content { padding: 24px; }
.blog-card-meta {
  font-family: var(--font-head);
  font-size: 10px; color: var(--text-muted);
  margin-bottom: 8px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
}
.blog-card h3 {
  font-family: var(--font-head);
  font-size: 17px; font-weight: 700;
  line-height: 1.3; margin-bottom: 10px;
  letter-spacing: -0.3px; color: var(--navy);
  transition: color 0.3s;
}
.blog-card:hover h3 { color: var(--brass); }
.blog-card h3 a { color: inherit; }
.blog-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.read-more-link {
  font-family: var(--font-head);
  font-size: 13px; color: var(--brass); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; letter-spacing: 0.5px;
  transition: gap 0.3s;
}
.read-more-link:hover { gap: 12px; }
.read-more-link::after { content: '→'; }

/* Single post */
.single-content {
  max-width: 780px; margin: 0 auto;
  padding: 60px 24px 80px;
}
.single-content .entry-content {
  font-size: 16px; color: var(--text-secondary);
  line-height: 1.65;
}
.single-content .entry-content h2,
.single-content .entry-content h3,
.single-content .entry-content h4 {
  font-family: var(--font-head);
  color: var(--navy); margin: 40px 0 16px;
  letter-spacing: -0.5px;
}
.single-content .entry-content h2 { font-size: 28px; font-weight: 800; }
.single-content .entry-content h3 { font-size: 22px; font-weight: 700; }
.single-content .entry-content p { margin-bottom: 20px; }
.single-content .entry-content a { color: var(--brass); font-weight: 500; border-bottom: 1px solid var(--brass-glow); }
.single-content .entry-content a:hover { border-bottom-color: var(--brass); }
.single-content .entry-content img { border-radius: 12px; margin: 24px 0; }
.single-content .entry-content blockquote {
  border-left: 3px solid var(--brass);
  padding: 16px 24px; margin: 24px 0;
  background: var(--bg-warm); border-radius: 0 8px 8px 0;
  font-style: italic; color: var(--steel);
}
.single-content .entry-content ul,
.single-content .entry-content ol {
  padding-left: 24px; margin-bottom: 20px;
}
.single-content .entry-content li { margin-bottom: 8px; }

/* Pagination */
.pagination {
  display: flex; justify-content: center;
  gap: 8px; padding: 20px 0 60px;
}
.pagination a, .pagination span {
  font-family: var(--font-head);
  font-size: 14px; font-weight: 600;
  padding: 10px 18px; border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card); color: var(--text);
  transition: all 0.3s;
}
.pagination a:hover { border-color: var(--brass); color: var(--brass); }
.pagination .current {
  background: var(--brass); color: var(--navy-deep);
  border-color: var(--brass);
}

/* 404 */
.error-404 {
  min-height: 70vh; display: flex;
  align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px;
}
.error-404 h1 {
  font-family: var(--font-head);
  font-size: 120px; font-weight: 800;
  color: var(--border); line-height: 1;
}
.error-404 h2 {
  font-family: var(--font-head);
  font-size: 28px; font-weight: 700;
  color: var(--navy); margin: 16px 0 12px;
}
.error-404 p { color: var(--text-secondary); margin-bottom: 32px; }

/* ===== ABOUT PAGE (page-about.php) ===== */

/* Story — single-column centered */
.about-story-section {
  padding: 80px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.about-story-inner {
  max-width: 760px; margin: 0 auto;
}
.about-story-inner h2 {
  font-family: var(--font-head);
  font-size: 30px; font-weight: 800;
  letter-spacing: -0.8px; margin-bottom: 24px;
  color: var(--navy); line-height: 1.2;
}
.about-story-inner .entry-content p,
.about-story-inner > p {
  font-size: 16px; color: var(--text-secondary);
  line-height: 1.85; margin-bottom: 18px;
}
.about-story-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.story-stat {
  background: var(--bg-warm);
  padding: 28px 24px; text-align: center;
}
.story-stat .number {
  font-family: var(--font-head);
  font-size: 36px; font-weight: 800; color: var(--navy);
}
.story-stat .label {
  font-family: var(--font-head);
  font-size: 10px; color: var(--text-muted);
  font-weight: 600; margin-top: 4px;
  text-transform: uppercase; letter-spacing: 1.5px;
}

/* Why Yameveo — dark section */
.why-section {
  padding: 80px;
  background: var(--navy);
}
.why-header { margin-bottom: 48px; }
.why-section .section-title { color: #E0E8F0; }
.why-section .section-title em { color: var(--brass); }
.why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(184, 207, 222, 0.08);
  border-radius: 16px; padding: 36px;
  position: relative; overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.why-card:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-4px);
  border-color: rgba(212, 168, 83, 0.2);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}
.why-num {
  font-family: var(--font-head);
  font-size: 48px; font-weight: 800;
  color: rgba(184, 207, 222, 0.1); position: absolute;
  top: 20px; right: 24px; line-height: 1;
  letter-spacing: -2px;
}
.why-card h3 {
  font-family: var(--font-head);
  font-size: 18px; font-weight: 700;
  margin-bottom: 12px; color: #E0E8F0;
  letter-spacing: -0.3px;
}
.why-card p {
  font-size: 14px; color: var(--sky);
  line-height: 1.75; opacity: 0.8;
}

/* Competencies — two-column, light section */
.competencies-section {
  padding: 80px;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.competencies-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.competencies-header p {
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.75; margin-top: 16px;
}
.competencies-bars { display: flex; flex-direction: column; gap: 20px; }
.skill-bar-wrap { /* no extra margin needed — gap handles it */ }
.skill-bar-label {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 8px;
  font-family: var(--font-head);
  font-size: 13px; font-weight: 600; color: var(--navy);
}
.skill-pct { color: var(--brass); }
.skill-bar-track {
  height: 5px; background: var(--border);
  border-radius: 3px; overflow: hidden;
}
.skill-bar-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--steel), var(--brass));
  border-radius: 3px;
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .competencies-inner { grid-template-columns: 1fr; gap: 48px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { gap: 40px 32px; }
  .team-card { flex: 0 0 calc(50% - 16px); max-width: 260px; }
  .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-timeline::before, .process-timeline::after { display: none; }
  .track-record { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 60px 40px 80px; }
  .svc-detail-section { padding: 40px 40px 60px; }
}
@media (max-width: 900px) {
  .site-nav { padding: 0 24px; }
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--navy); padding: 24px;
    border-bottom: 1px solid rgba(184, 207, 222, 0.08);
    gap: 16px;
  }
  .menu-toggle { display: block; }

  .hero { padding: 120px 24px 80px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image-wrap { display: none; }
  .hero-shield-bg { display: none; }

  .about-section { grid-template-columns: 1fr; padding: 60px 24px; }
  .about-visual { height: 280px; }
  .services-section { padding: 60px 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .team-section { padding: 60px 24px; }
  .team-grid { gap: 36px 24px; }
  .team-card { flex: 0 0 calc(50% - 12px); max-width: 200px; }
  .team-card .bio { display: none; }
  .process-section { padding: 60px 24px; }
  .process-header { grid-template-columns: 1fr; gap: 20px; }
  .cta-section { padding: 40px 24px; }
  .cta-box { padding: 40px 24px; }
  .trust-strip { padding: 32px 24px; }
  .page-hero { padding: 120px 24px 60px; }
  .blog-grid-section { padding: 40px 24px 60px; }
  .blog-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 40px 24px; grid-template-columns: 1fr; }
  .footer-right { flex-direction: column; gap: 24px; }

  /* About page mobile */
  .about-story-section { padding: 60px 24px; }
  .about-story-stats { grid-template-columns: repeat(3, 1fr); }
  .why-section { padding: 60px 24px; }
  .why-grid { grid-template-columns: 1fr; }
  .competencies-section { padding: 60px 24px; }
  .competencies-inner { grid-template-columns: 1fr; gap: 40px; }

  /* Services page mobile */
  .svc-hero-grid { grid-template-columns: 1fr; padding: 40px 24px 60px; gap: 32px; }
  .svc-hero-grid > div[style*="grid"] { grid-template-columns: 1fr 1fr !important; }
  .svc-detail-section { padding: 40px 24px 60px; }
  .svc-detail { grid-template-columns: 1fr; padding: 28px 24px; gap: 20px; text-align: center; }
  .svc-detail .svc-icon { margin: 0 auto; }
  .infra-partner { padding: 40px 24px; }
  .infra-partner .ip-inner { padding: 40px 28px; }

  /* Projects mobile */
  .proj-grid { grid-template-columns: 1fr; }
  .proj-metrics { grid-template-columns: repeat(3, 1fr); }
  .proj-card-img { height: 180px; }
}

/* ===== PROJECTS PAGE ===== */
.proj-hero { text-align: center; }
.proj-hero-sub {
  max-width: 560px; margin: 16px auto 0;
  color: var(--text-muted); font-size: 17px; line-height: 1.6;
}

.proj-wrap {
  max-width: 1100px; margin: 0 auto;
  padding: 64px 32px 100px;
}

/* Group heading */
.proj-group { margin-bottom: 72px; }
.proj-group-label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 32px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
}

/* Animated pulse for active */
.proj-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: proj-pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes proj-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* Grid — single card for now, switches to 2-col when more projects added */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(520px, 1fr));
  gap: 32px;
}

/* Card */
.proj-card {
  background: var(--navy-deep);
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 3px solid var(--proj-accent, var(--brass));
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column;
}
.proj-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.proj-card-img {
  width: 100%; height: 220px; overflow: hidden;
}
.proj-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.proj-card:hover .proj-card-img img { transform: scale(1.03); }

.proj-card-body {
  padding: 32px; flex: 1; display: flex; flex-direction: column; gap: 16px;
}

/* Top row: status + period */
.proj-card-top { display: flex; align-items: center; gap: 12px; }

.proj-status {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 20px;
}
.proj-status--ongoing {
  background: rgba(34,197,94,0.12); color: #4ade80;
  border: 1px solid rgba(34,197,94,0.25);
}
.proj-status--completed {
  background: rgba(122,159,184,0.12); color: var(--sky);
  border: 1px solid rgba(122,159,184,0.25);
}
.proj-status--planning {
  background: rgba(212,168,83,0.12); color: var(--brass);
  border: 1px solid rgba(212,168,83,0.25);
}
.proj-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80; flex-shrink: 0;
  animation: proj-pulse 2s infinite;
}

.proj-period {
  font-family: var(--font-head); font-size: 12px;
  color: var(--text-muted); margin-left: auto;
}

/* Title */
.proj-card-title {
  font-family: var(--font-head); font-size: 26px; font-weight: 800;
  color: #fff; line-height: 1.2; letter-spacing: -0.5px;
  margin: 0;
}

/* EU / badge */
.proj-badge {
  display: inline-block;
  font-family: var(--font-head); font-size: 11px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--brass); background: rgba(212,168,83,0.1);
  border: 1px solid rgba(212,168,83,0.25);
  padding: 5px 12px; border-radius: 6px;
  align-self: flex-start;
}

/* Description text */
.proj-card-desc {
  font-size: 15px; line-height: 1.65; color: rgba(255,255,255,0.65);
  flex: 1;
}
.proj-card-desc p { margin-bottom: 10px; }
.proj-card-desc p:last-child { margin-bottom: 0; }

/* Metrics row */
.proj-metrics {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: rgba(255,255,255,0.06);
  border-radius: 10px; overflow: hidden;
  margin-top: 4px;
}
.proj-metric {
  display: flex; flex-direction: column; align-items: center;
  padding: 16px 8px; background: rgba(255,255,255,0.03);
  text-align: center;
}
.proj-metric-val {
  font-family: var(--font-head); font-size: 22px; font-weight: 800;
  color: #fff; line-height: 1;
}
.proj-metric-label {
  font-size: 11px; font-weight: 500;
  color: var(--text-muted); margin-top: 5px;
  text-transform: uppercase; letter-spacing: 1px;
}

/* Stack tags */
.proj-stack { display: flex; flex-wrap: wrap; gap: 8px; }
.proj-tag {
  font-family: var(--font-head); font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
  transition: background 0.2s, color 0.2s;
}
.proj-card:hover .proj-tag {
  background: rgba(var(--proj-accent, 27,108,168), 0.15);
}

/* External link */
.proj-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-size: 13px; font-weight: 700;
  color: var(--brass); margin-top: auto; padding-top: 8px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, gap 0.2s;
  align-self: flex-start;
}
.proj-link:hover { border-bottom-color: var(--brass); gap: 10px; }

/* Projects mobile — must come AFTER the base project styles above to win the cascade */
@media (max-width: 900px) {
  .proj-wrap { padding: 40px 16px 60px; }
  .proj-grid { grid-template-columns: 1fr; }
  .proj-card-body { padding: 24px; }
  .proj-card-img { height: 180px; }
  .proj-metrics { grid-template-columns: repeat(3, 1fr); }
}
