/* ============================================
   ThinKuvate — Unified Stylesheet v3
   Institutional VC · Forest Green + Gold
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* Raw palette */
  --forest-deep:   #091A10;
  --forest-dark:   #143322;
  --forest-mid:    #1E4D36;
  --forest-light:  #266145;
  --gold:          #C09230;
  --gold-hover:    #A67A20;
  --gold-light:    #F7EDDB;
  --gold-pale:     #FBF6EC;
  --cream:         #FAFAF6;
  --warm-gray:     #F0EDE5;
  --warm-gray-2:   #E4E0D8;
  --text-dark:     #0F1A14;
  --text-mid:      #2D3B35;
  --text-muted:    #607060;
  --text-light:    #8FA38F;
  --white:         #FFFFFF;
  --border-warm:   #DDD9D0;

  /* Semantic tokens */
  --bg-primary:    var(--white);
  --bg-secondary:  var(--cream);
  --bg-tertiary:   var(--warm-gray);
  --bg-card:       var(--white);
  --bg-nav:        rgba(255,255,255,0.96);
  --text-primary:  var(--text-dark);
  --text-secondary: var(--text-mid);
  --text-tertiary: var(--text-muted);
  --border-color:  var(--border-warm);
  --accent:        var(--gold);
  --accent-hover:  var(--gold-hover);
  --accent-light:  var(--gold-light);
  --accent-color:  var(--gold);

  /* Hero */
  --hero-bg:    linear-gradient(140deg, #091A10 0%, #143322 50%, #0B2018 100%);
  --hero-text:  #FFFFFF;
  --hero-muted: rgba(255,255,255,0.68);

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(9,26,16,0.07);
  --shadow-md: 0 4px 20px rgba(9,26,16,0.09);
  --shadow-lg: 0 12px 44px rgba(9,26,16,0.13);

  /* Typography */
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  /* Layout */
  --max-width:  1220px;
  --nav-height: 72px;
  --radius-sm:  4px;
  --radius-md:  10px;
  --radius-lg:  16px;

  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: 0.01em;
  font-weight: 500;
}

/* Cormorant Garamond renders best at slightly larger sizes */
.hero__title      { font-weight: 600; letter-spacing: 0.02em; }
.section-title    { font-weight: 500; letter-spacing: 0.015em; }
.page-header h1   { font-weight: 600; letter-spacing: 0.02em; }

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}
@media (max-width: 768px) { .container { padding: 0 var(--space-lg); } }

.section {
  padding: var(--space-3xl) 0;
  background: var(--bg-primary);
}
.section--alt  { background: var(--bg-secondary); }
.section--dark {
  background: var(--forest-dark);
  color: var(--white);
}
.section--dark .section-label { color: rgba(192,146,48,0.85); }
.section--dark .section-title,
.section--dark h3,
.section--dark h4 { color: var(--white); }
.section--dark p  { color: rgba(255,255,255,0.72); }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: var(--space-lg);
  max-width: 680px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.75;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-md); }

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.nav__logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
}
.nav__links li a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav__links li a:hover { color: var(--forest-dark); background: var(--warm-gray); }
.nav__links li a.active { color: var(--gold); background: var(--gold-pale); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-left: auto;
}
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius-sm);
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-md) var(--space-xl) var(--space-xl);
  z-index: 99;
  flex-direction: column;
  gap: var(--space-sm);
  box-shadow: var(--shadow-lg);
}
.mobile-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: var(--space-sm) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--forest-dark); }
.mobile-menu.active { display: flex; }

@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__actions .btn { display: none; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.72rem 1.6rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn--primary {
  background: var(--gold);
  color: var(--white);
  border: 1.5px solid var(--gold);
}
.btn--primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(192,146,48,0.3);
}
.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-color);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}
.btn--ghost {
  background: transparent;
  color: var(--gold);
  border: none;
  padding-left: 0;
}
.btn--ghost:hover { color: var(--gold-hover); }
.btn--forest {
  background: var(--forest-dark);
  color: var(--white);
  border: 1.5px solid var(--forest-dark);
}
.btn--forest:hover {
  background: var(--forest-mid);
  border-color: var(--forest-mid);
  transform: translateY(-1px);
}
.arrow { transition: transform var(--transition); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--hero-bg);
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  position: relative;
  overflow: hidden;
}
.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 60%, rgba(38,97,69,0.25) 0%, transparent 55%),
    radial-gradient(circle at 75% 25%, rgba(192,146,48,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-lg);
  padding: 0.4rem 1rem;
  background: rgba(192,146,48,0.12);
  border: 1px solid rgba(192,146,48,0.25);
  border-radius: 2px;
}
.hero__title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--hero-text);
  line-height: 1.25;
  margin-bottom: var(--space-lg);
  font-weight: 600;
}
.hero__line {
  display: block;
  white-space: nowrap;
  overflow: visible;
  color: var(--hero-text);
}
.hero__gold { color: var(--gold); font-style: normal; }
.hero__description {
  font-size: 1.1rem;
  color: var(--hero-muted);
  max-width: 620px;
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}
.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 560px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.hero__stat {
  padding: var(--space-lg);
  background: rgba(255,255,255,0.04);
  text-align: center;
}
.hero__stat:not(:last-child) { border-right: 1px solid rgba(255,255,255,0.08); }
.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}
.hero__stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--hero-muted);
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .hero__stats { grid-template-columns: 1fr; max-width: 280px; }
  .hero__stat:not(:last-child) { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
}

/* ============================================
   POSITIONING STRIP
   ============================================ */
.strip {
  background: var(--forest-dark);
  padding: var(--space-xl) 0;
}
.strip__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}
.strip__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}
.strip__icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: rgba(192,146,48,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-top: 2px;
}
.strip__text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
  font-family: var(--font-body);
}
.strip__text span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}
@media (max-width: 900px) { .strip__inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .strip__inner { grid-template-columns: 1fr; } }

/* ============================================
   ABOUT / WHO WE ARE
   ============================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; gap: var(--space-2xl); } }

.about__text p {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  font-size: 1.02rem;
  line-height: 1.8;
}
.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
.about__stat {
  padding: var(--space-lg);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}
.about__stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.about__stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   APPROACH ITEMS
   ============================================ */
.approach-item {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border-color);
}
.approach-item:last-child { border-bottom: none; }
.approach-item__number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold);
  min-width: 2.5rem;
  line-height: 1.2;
}
.approach-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-family: var(--font-body);
}
.approach-item p { font-size: 0.92rem; color: var(--text-secondary); }

/* ============================================
   THESIS CARDS
   ============================================ */
.thesis-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}
@media (max-width: 900px) { .thesis-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .thesis-cards { grid-template-columns: 1fr; } }

.thesis-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.thesis-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(192,146,48,0.4);
  transform: translateY(-2px);
}
.thesis-card__icon {
  width: 44px;
  height: 44px;
  background: var(--gold-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: var(--space-lg);
}
.thesis-card h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 600;
}
.thesis-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }

/* Sector card variant */
.sector-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-xl) var(--space-2xl);
  transition: box-shadow var(--transition);
}
.sector-card:hover { box-shadow: var(--shadow-md); }
.sector-card__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}
.sector-card h3 {
  font-size: 1.45rem;
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
}
.sector-card p { font-size: 0.92rem; color: var(--text-secondary); margin-bottom: var(--space-lg); }
.sector-card ul { list-style: none; }
.sector-card ul li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 0.4rem 0 0.4rem 1.1rem;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}
.sector-card ul li:last-child { border-bottom: none; }
.sector-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* ============================================
   FOCUS AREAS
   ============================================ */
.focus-areas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg) var(--space-2xl);
  margin-top: var(--space-xl);
}
@media (max-width: 680px) { .focus-areas { grid-template-columns: 1fr; } }

.focus-area {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-color);
}
.focus-area__dot {
  width: 8px; height: 8px; min-width: 8px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 0.55rem;
}
.focus-area h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  font-family: var(--font-body);
}
.focus-area p { font-size: 0.88rem; color: var(--text-secondary); }

/* ============================================
   FEATURE CARDS
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: box-shadow var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-md); }
.feature-card__number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: var(--space-md);
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  margin-bottom: var(--space-sm);
}
.feature-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; }

/* ============================================
   QUOTE SECTION
   ============================================ */
.quote-section {
  background: var(--gold-pale);
  border-top: 1px solid var(--warm-gray-2);
  border-bottom: 1px solid var(--warm-gray-2);
  padding: var(--space-2xl) 0;
  text-align: center;
}
.quote-section blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: var(--forest-dark);
  max-width: 780px;
  margin: 0 auto var(--space-md);
  line-height: 1.5;
}
.quote-section cite {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ============================================
   DUAL CTA
   ============================================ */
.dual-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (max-width: 768px) { .dual-cta { grid-template-columns: 1fr; } }

.dual-cta__panel {
  padding: var(--space-3xl) var(--space-2xl);
}
.dual-cta__panel--dark { background: var(--forest-deep); color: var(--white); }
.dual-cta__panel--light { background: var(--forest-dark); color: var(--white); }
.dual-cta__panel .section-label { color: var(--gold); }
.dual-cta__panel h2 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  color: var(--white);
  margin-bottom: var(--space-md);
}
.dual-cta__panel p {
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--space-xl);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 440px;
}
.dual-cta__panel ul { list-style: none; margin-bottom: var(--space-xl); }
.dual-cta__panel ul li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.68);
  padding: 0.4rem 0 0.4rem 1.2rem;
  position: relative;
}
.dual-cta__panel ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* ============================================
   PORTFOLIO GRID (homepage)
   ============================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
@media (max-width: 1000px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.portfolio-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.portfolio-card__logo {
  width: 100%;
  height: 80px;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  padding: var(--space-sm);
}
.portfolio-card__name { font-size: 0.9rem; font-weight: 600; }
.portfolio-card__tags { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.portfolio-card__tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold);
  background: var(--gold-pale);
  border: 1px solid rgba(192,146,48,0.25);
  padding: 0.15rem 0.6rem;
  border-radius: 2px;
  text-transform: uppercase;
}

/* ============================================
   TEAM
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.team-card__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--space-lg);
  border: 2px solid var(--gold-light);
}
.team-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card__name { font-weight: 600; font-size: 1rem; margin-bottom: 0.3rem; }
.team-card__role {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: var(--space-md);
  line-height: 1.4;
}
.team-card__bio {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}
.team-card__links { display: flex; justify-content: center; gap: var(--space-sm); }
.team-card__links a { color: var(--text-muted); transition: color var(--transition); display: flex; align-items: center; }
.team-card__links a:hover { color: var(--gold); }

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
  background: var(--hero-bg);
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 60%, rgba(38,97,69,0.3) 0%, transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(192,146,48,0.07) 0%, transparent 50%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: var(--space-md);
  max-width: 720px;
}
.page-header p {
  font-size: 1.05rem;
  color: var(--hero-muted);
  max-width: 580px;
  line-height: 1.8;
}
.page-header__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
  display: block;
}

/* ============================================
   STATS ROW
   ============================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
@media (max-width: 900px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .stats-row { grid-template-columns: 1fr; } }

.stat-box {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition);
}
.stat-box:hover { box-shadow: var(--shadow-md); }
.stat-box__number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.4rem;
  line-height: 1.1;
}
.stat-box__label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   VEHICLE CARDS (Platform page)
   ============================================ */
.vehicle-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}
@media (max-width: 700px) { .vehicle-cards { grid-template-columns: 1fr; } }

.vehicle-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.vehicle-card__head {
  background: var(--forest-dark);
  padding: var(--space-xl);
}
.vehicle-card__head .badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(192,146,48,0.15);
  border: 1px solid rgba(192,146,48,0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  margin-bottom: var(--space-md);
}
.vehicle-card__head h3 {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: var(--space-sm);
}
.vehicle-card__head p { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.65; }
.vehicle-card__body {
  background: var(--bg-card);
  padding: var(--space-xl);
}
.vehicle-card__body ul { list-style: none; }
.vehicle-card__body ul li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 0.45rem 0 0.45rem 1.2rem;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}
.vehicle-card__body ul li:last-child { border-bottom: none; }
.vehicle-card__body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* ============================================
   PILLAR CARDS
   ============================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

.pillar {
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold);
}
.pillar__icon {
  width: 40px; height: 40px;
  background: var(--gold-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  margin-bottom: var(--space-md);
}
.pillar h4 { font-size: 0.95rem; font-weight: 600; font-family: var(--font-body); margin-bottom: 0.4rem; }
.pillar p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--hero-bg);
  padding: var(--space-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 60%, rgba(38,97,69,0.3) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: var(--space-lg);
  max-width: 680px;
  margin-left: auto; margin-right: auto;
}
.cta-section p {
  color: var(--hero-muted);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto var(--space-xl);
  line-height: 1.8;
}
.cta-section__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}
.form-group { margin-bottom: var(--space-lg); }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(192,146,48,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.contact-info__item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  margin-bottom: var(--space-xl);
}
.contact-info__icon {
  width: 40px; height: 40px; min-width: 40px;
  background: var(--gold-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.contact-info__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.contact-info__value { font-size: 0.95rem; font-weight: 500; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--forest-deep);
  color: rgba(255,255,255,0.55);
  padding: var(--space-3xl) 0 var(--space-xl);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__brand img {
  height: 32px; width: auto;
  margin-bottom: var(--space-lg);
  filter: brightness(0) invert(1);
  opacity: 0.8;
}
.footer__brand p { font-size: 0.85rem; line-height: 1.7; max-width: 280px; }
.footer__col h5 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--space-md);
  font-family: var(--font-body);
}
.footer__col ul li { margin-bottom: 0.6rem; }
.footer__col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.52);
  transition: color var(--transition);
}
.footer__col ul li a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.footer__bottom p { font-size: 0.8rem; }
.footer__badges { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================
   PORTFOLIO PAGE
   ============================================ */
.portfolio { padding-top: var(--nav-height); }
.portfolio__header {
  background: var(--hero-bg);
  padding: var(--space-3xl) 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
}
.portfolio__header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 60%, rgba(38,97,69,0.3) 0%, transparent 55%);
}
.portfolio__header .container { position: relative; z-index: 1; }
.portfolio__header h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--white); margin-bottom: var(--space-md); }
.portfolio__header p { font-size: 1.05rem; color: var(--hero-muted); max-width: 560px; }

.portfolio__controls {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: var(--nav-height);
  z-index: 90;
  padding: var(--space-md) 0;
}
.portfolio-filter {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.portfolio-filter__btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  border: 1.5px solid var(--border-color);
  color: var(--text-secondary);
  background: var(--bg-card);
  cursor: pointer;
  transition: all var(--transition);
}
.portfolio-filter__btn:hover { border-color: var(--gold); color: var(--gold); }
.portfolio-filter__btn.active { background: var(--gold); border-color: var(--gold); color: var(--white); }

.alpha-strip {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
}
.alpha-strip__letter {
  font-size: 0.72rem;
  font-weight: 700;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-muted);
}
.alpha-strip__letter:not(.disabled):hover { background: var(--gold-pale); color: var(--gold); }
.alpha-strip__letter.active { background: var(--gold); color: var(--white); }
.alpha-strip__letter.disabled { opacity: 0.3; cursor: default; }

.portfolio-tiles {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-xl);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}
.portfolio-tile {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.portfolio-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.portfolio-tile__tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: flex-start;
}
.portfolio-tile__tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-pale);
  border: 1px solid rgba(192,146,48,0.2);
  padding: 0.15rem 0.55rem;
  border-radius: 2px;
  white-space: nowrap;
}
.portfolio-tile__body {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.portfolio-tile__logo {
  width: 72px; height: 72px; min-width: 72px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  padding: 0;
  overflow: hidden;
}
.portfolio-tile__info { flex: 1; min-width: 0; }
.portfolio-tile__name { font-size: 0.92rem; font-weight: 600; margin-bottom: 0.25rem; display: block; }
.portfolio-tile__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: block;
  line-height: 1.45;
}
.portfolio-tile.hidden { display: none; }

/* ============================================
   BLOG
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card__img { height: 200px; background: var(--bg-tertiary); overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card__img img { transform: scale(1.03); }
.blog-card__content { padding: var(--space-lg); }
.blog-card__tag {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: var(--space-sm); display: block;
}
.blog-card__title { font-size: 1rem; font-weight: 600; font-family: var(--font-heading); margin-bottom: var(--space-sm); line-height: 1.4; }
.blog-card__excerpt { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: var(--space-md); line-height: 1.65; }
.blog-card__meta { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in:nth-child(1) { transition-delay: 0s; }
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }
.fade-in:nth-child(6) { transition-delay: 0.5s; }

@media (max-width: 768px) {
  .section { padding: var(--space-2xl) 0; }
  .dual-cta { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
