/* ============================================================
   DRISS HOLDINGS — DESIGN SYSTEM
   Display: Fraunces (serif, editorial)  Body: Inter  Data: Space Mono
   ============================================================ */

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

:root {
  --ink: #0A0E27;
  --ink-2: #10163296;
  --panel: #111634;
  --line: rgba(240, 242, 255, 0.10);
  --blue: #1E90FF;
  --blue-deep: #0047AB;
  --emerald: #00D84D;
  --text: #F0F1F6;
  --ash: #A9AFC7;
  --ash-dim: #767c98;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'Space Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--ink);
  overflow-x: hidden;
  line-height: 1.65;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

p { color: var(--ash); }

/* ============ NAV PILL ============ */
.nav-pill {
  position: fixed;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(10, 14, 39, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.6rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 58px;
  text-decoration: none;
}

.nav-logo img {
  height: 100%;
  width: auto;
}

.nav-divider {
  width: 1px;
  height: 26px;
  background: var(--line);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 0.3rem;
  align-items: center;
}

nav a {
  color: var(--ash);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 0.95rem;
  border-radius: 20px;
  transition: color 0.25s ease, background 0.25s ease;
}

nav a:hover { color: #fff; background: rgba(255,255,255,0.06); }
nav a.active { color: #fff; }

.cta-pill {
  padding: 0.55rem 1.25rem !important;
  background: linear-gradient(135deg, var(--blue) 0%, var(--emerald) 100%);
  color: #fff !important;
  border-radius: 50px;
  font-weight: 600;
}
.cta-pill:hover { background: linear-gradient(135deg, var(--blue) 0%, var(--emerald) 100%); opacity: 0.9; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.4rem 0.3rem;
}

/* ============ BUTTONS ============ */
.btn-primary, .btn-ghost {
  display: inline-block;
  padding: 0.95rem 2.1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  box-shadow: 0 12px 30px rgba(30, 144, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(30, 144, 255, 0.5); }

.btn-ghost {
  border: 1.5px solid rgba(240,242,255,0.3);
  color: #fff;
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }

/* ============ HOME HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 160px 3rem 5rem;
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,14,39,0.55) 0%, rgba(10,14,39,0.75) 55%, var(--ink) 96%),
    linear-gradient(90deg, rgba(10,14,39,0.92) 0%, rgba(10,14,39,0.35) 65%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 4rem;
  align-items: end;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--emerald);
  margin-bottom: 1.4rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  font-weight: 500;
  color: #fff;
  max-width: 16ch;
  margin-bottom: 1.6rem;
}

.hero-lede {
  font-size: 1.1rem;
  color: #D3D6E6;
  max-width: 46ch;
  margin-bottom: 2.4rem;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  border-left: 1px solid var(--line);
  padding-left: 2.4rem;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: #fff;
  font-weight: 500;
}
.stat-label { font-size: 0.88rem; color: var(--ash); max-width: 22ch; }

/* ============ APPROACH ============ */
.approach { padding: 6.5rem 3rem; border-bottom: 1px solid var(--line); }
.approach-inner { max-width: 1300px; margin: 0 auto; }
.approach-inner > h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 3rem;
  max-width: 20ch;
}
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.approach-item i {
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 1.2rem;
  display: block;
}
.approach-item h3 { font-size: 1.25rem; margin-bottom: 0.7rem; font-weight: 500; }
.approach-item p { font-size: 0.98rem; }

/* ============ VENTURES (editorial rows) ============ */
.ventures { padding: 6.5rem 3rem 3rem; max-width: 1300px; margin: 0 auto; }
.ventures-head { max-width: 640px; margin-bottom: 4rem; }
.ventures-head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 1rem; }
.ventures-head p { font-size: 1.05rem; }

.venture-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 3.2rem 0;
  border-top: 1px solid var(--line);
}
.venture-row:last-child { border-bottom: 1px solid var(--line); }
.venture-row.reverse { grid-template-columns: 1.1fr 0.9fr; }
.venture-row.reverse .venture-media { order: 2; }
.venture-row.reverse .venture-copy { order: 1; }

.venture-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.venture-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.venture-row:hover .venture-media img { transform: scale(1.04); }

.venture-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(10,14,39,0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  font-size: 1.15rem;
}

.venture-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--blue);
  margin-bottom: 0.6rem;
}
.venture-copy h3 { font-size: 1.9rem; margin-bottom: 0.9rem; font-weight: 500; }
.venture-copy p { font-size: 1.02rem; max-width: 48ch; }

/* ============ CTA BAND ============ */
.cta-band {
  padding: 6rem 3rem;
  background: linear-gradient(135deg, var(--blue-deep) 0%, #062a63 100%);
  text-align: center;
}
.cta-band-inner { max-width: 720px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: #fff; margin-bottom: 2rem; font-weight: 500; }

/* ============ PAGE HERO (about/services/contact) ============ */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  padding: 150px 3rem 4rem;
  overflow: hidden;
}
.page-hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,39,0.6) 0%, rgba(10,14,39,0.8) 60%, var(--ink) 100%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; text-align: left; width: 100%; }
.page-hero-content .kicker { margin-bottom: 1.2rem; }
.page-hero-content h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  color: #fff;
  margin-bottom: 1.2rem;
  max-width: 18ch;
}
.page-hero-content p { font-size: 1.08rem; max-width: 55ch; color: #D3D6E6; }

/* ============ SECTION shell (reused across pages) ============ */
.section { padding: 6.5rem 3rem; max-width: 1300px; margin: 0 auto; }
.section-alt { background: var(--panel); }
.section-head { max-width: 640px; margin-bottom: 3.5rem; }
.section-head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 1rem; }
.section-head p { font-size: 1.05rem; }

/* ============ ABOUT: mission/vision ============ */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-bottom: 4.5rem; }
.mv-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 3rem;
}
.mv-card i { font-size: 1.5rem; color: var(--emerald); margin-bottom: 1.3rem; display: block; }
.mv-card h3 { font-size: 1.5rem; margin-bottom: 1rem; font-weight: 500; }
.mv-card p { font-size: 1rem; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.value-item { padding: 1.8rem 0; border-top: 1px solid var(--line); }
.value-item i { color: var(--blue); font-size: 1.15rem; margin-bottom: 0.9rem; display: block; }
.value-item h4 { font-size: 1.08rem; margin-bottom: 0.5rem; font-weight: 500; color: #fff; }
.value-item p { font-size: 0.92rem; }

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3rem;
  margin-top: 4.5rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(30,144,255,0.12) 0%, rgba(0,216,77,0.06) 100%);
  border: 1px solid var(--line);
}
.stat-band .stat-num { font-size: 2.6rem; }
.stat-band .stat-label { font-size: 0.85rem; }

/* ============ SERVICES: detail cards ============ */
.service-list { display: flex; flex-direction: column; }
.service-item {
  display: grid;
  grid-template-columns: 260px 1fr auto;
  gap: 2.2rem;
  align-items: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.25s ease;
}
.service-list .service-item:last-child { border-bottom: 1px solid var(--line); }
.service-item:hover { background: rgba(255,255,255,0.02); }

.service-thumb { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; }
.service-thumb img { width: 100%; height: 100%; object-fit: cover; }
.service-thumb .venture-badge { width: 38px; height: 38px; font-size: 0.95rem; bottom: 10px; left: 10px; }

.service-item h3 { font-size: 1.4rem; margin-bottom: 0.4rem; font-weight: 500; }
.service-tagline { font-family: var(--font-mono); font-size: 0.76rem; color: var(--blue); margin-bottom: 0.6rem; }
.service-item p.service-desc { font-size: 0.98rem; max-width: 52ch; }
.service-arrow { color: var(--ash); font-size: 1.3rem; transition: transform 0.25s ease, color 0.25s ease; }
.service-item:hover .service-arrow { transform: translateX(6px); color: #fff; }

/* Modal */
.modal {
  display: none;
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(10, 14, 39, 0.92);
  backdrop-filter: blur(10px);
  overflow-y: auto;
}
.modal.active { display: flex; align-items: center; justify-content: center; padding: 2rem; }
.modal-content {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 3.2rem;
  max-width: 760px;
  width: 100%;
  position: relative;
}
.close-modal {
  position: absolute; top: 1.4rem; right: 1.4rem;
  font-size: 1.6rem; color: var(--ash);
  cursor: pointer; width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: all 0.25s ease;
}
.close-modal:hover { background: rgba(255,255,255,0.08); color: #fff; }
.modal-header { display: flex; align-items: center; gap: 1.4rem; margin-bottom: 1.8rem; }
.modal-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--emerald) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff; flex-shrink: 0;
}
.modal-title-group h2 { font-size: 1.7rem; margin-bottom: 0.3rem; font-weight: 500; }
.modal-title-group p { font-family: var(--font-mono); font-size: 0.76rem; color: var(--blue); }
.modal-body h3 { font-size: 1.05rem; color: #fff; margin: 1.6rem 0 0.8rem; font-weight: 500; }
.modal-body ul { list-style: none; }
.modal-body li { margin-bottom: 0.6rem; padding-left: 1.3rem; position: relative; font-size: 0.96rem; color: var(--ash); }
.modal-body li::before { content: '—'; position: absolute; left: 0; color: var(--blue); }
.modal-body > p { font-size: 1rem; margin-bottom: 0.5rem; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3.5rem; }
.contact-methods { display: flex; flex-direction: column; gap: 1.6rem; }
.contact-method {
  display: grid; grid-template-columns: 52px 1fr; gap: 1.3rem;
  padding: 1.8rem 0; border-top: 1px solid var(--line);
}
.contact-methods .contact-method:last-child { border-bottom: 1px solid var(--line); }
.contact-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--emerald); font-size: 1.15rem; }
.contact-info h3 { font-size: 1.08rem; margin-bottom: 0.35rem; font-weight: 500; color: #fff; }
.contact-info p { font-size: 0.92rem; margin-bottom: 0.25rem; }
.contact-info a { color: var(--blue); text-decoration: none; font-weight: 600; }
.contact-info a:hover { color: var(--emerald); }

.contact-form-wrapper {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2.8rem;
}
.contact-form-wrapper h2 { font-size: 1.6rem; margin-bottom: 1.8rem; font-weight: 500; }
.form-group { margin-bottom: 1.3rem; }
.form-group label { display: block; margin-bottom: 0.55rem; color: var(--ash); font-weight: 500; font-size: 0.88rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.9rem 1rem;
  border: 1px solid var(--line); border-radius: 10px;
  background: rgba(10,14,39,0.5); color: #fff;
  font-family: var(--font-body); font-size: 0.98rem;
  transition: border-color 0.25s ease;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--ash-dim); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--blue);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.btn-submit {
  width: 100%; padding: 1rem;
  background: linear-gradient(135deg, var(--blue) 0%, var(--emerald) 100%);
  color: #fff; border: none; border-radius: 10px;
  font-size: 0.98rem; font-weight: 600; cursor: pointer;
  transition: transform 0.25s ease;
}
.btn-submit:hover { transform: translateY(-2px); }
.form-message { margin-top: 1.2rem; padding: 1rem; border-radius: 10px; text-align: center; display: none; font-weight: 500; font-size: 0.92rem; }
.form-message.success { background: rgba(0,216,77,0.14); color: var(--emerald); border: 1px solid rgba(0,216,77,0.4); }
.form-message.error { background: rgba(255,80,80,0.14); color: #ff6b6b; border: 1px solid rgba(255,80,80,0.4); }

/* ============ FOOTER ============ */
footer { background: linear-gradient(180deg, var(--ink) 0%, #050714 100%); border-top: 1px solid var(--line); }
.footer-top { max-width: 1300px; margin: 0 auto; padding: 5.5rem 3rem 3.5rem; display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; }
.footer-statement h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 400; line-height: 1.15; }
.footer-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col h4 { font-size: 0.82rem; text-transform: none; color: var(--ash-dim); margin-bottom: 1.1rem; font-weight: 500; font-family: var(--font-body); }
.footer-col a, .footer-col p { display: block; color: var(--ash); text-decoration: none; font-size: 0.95rem; margin-bottom: 0.7rem; }
.footer-col a:hover { color: #fff; }
.footer-note { color: var(--ash-dim) !important; font-size: 0.88rem !important; }

.footer-bottom {
  max-width: 1300px; margin: 0 auto; padding: 2rem 3rem 2.5rem;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.85rem; color: var(--ash-dim); }
.footer-social { display: flex; gap: 0.8rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ash); text-decoration: none; font-size: 0.95rem;
  transition: all 0.25s ease;
}
.footer-social a:hover { border-color: var(--blue); color: #fff; background: rgba(30,144,255,0.12); }

/* ============ MOBILE NAV OVERLAY (PREMIUM SMOOTH ANIMATION) ============ */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: linear-gradient(165deg, #0A0E27 0%, #060915 55%, #0A0E27 100%);
  padding: 1.6rem 1.8rem 2rem;
  
  /* CRITICAL: Use visibility instead of display for smooth animation */
  visibility: hidden;
  display: flex;
  opacity: 0;
  pointer-events: none;
  
  /* Premium easing: cubic-bezier for refined feel */
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              backdrop-filter 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}

.nav-overlay::before, .nav-overlay::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.nav-overlay::before {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(30,144,255,0.16) 0%, transparent 70%);
  top: -160px; right: -140px;
}
.nav-overlay::after {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,216,77,0.12) 0%, transparent 70%);
  bottom: -140px; left: -120px;
}

/* OPEN STATE: All values animate smoothly */
.nav-overlay.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Top section (logo + close) entrance */
.nav-overlay-top {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.05s,
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.05s;
}

.nav-overlay.open .nav-overlay-top {
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay-logo { display: flex; align-items: center; height: 38px; }
.nav-overlay-logo img { height: 100%; width: auto; }

.nav-overlay-close {
  width: 44px; height: 44px; border-radius: 50%;
  background: none; border: 1px solid var(--line);
  color: #fff; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; 
  transition: border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.2s ease;
}
.nav-overlay-close:hover { 
  border-color: rgba(255,255,255,0.4); 
  background: rgba(255,255,255,0.06);
  transform: scale(1.05);
}
.nav-overlay-close:active { transform: scale(0.98); }

.nav-overlay-links { position: relative; z-index: 2; }
.nav-overlay-links ol { list-style: none; counter-reset: navcount; }

/* Individual nav items with staggered entrance */
.nav-overlay-links li {
  counter-increment: navcount;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-overlay-links li:last-child { border-bottom: 1px solid var(--line); }

.nav-overlay.open .nav-overlay-links li { 
  opacity: 1; 
  transform: translateY(0);
}
/* Cascading delay for premium staggered effect */
.nav-overlay.open .nav-overlay-links li:nth-child(1) { transition-delay: 0.12s; }
.nav-overlay.open .nav-overlay-links li:nth-child(2) { transition-delay: 0.20s; }
.nav-overlay.open .nav-overlay-links li:nth-child(3) { transition-delay: 0.28s; }
.nav-overlay.open .nav-overlay-links li:nth-child(4) { transition-delay: 0.36s; }

.nav-overlay-links a {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  padding: 1.35rem 0.2rem;
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-overlay-links a::before {
  content: counter(navcount, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--emerald);
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-overlay-links a:active { 
  transform: scale(0.98);
  opacity: 0.8;
}
.nav-overlay-links a.active { color: var(--blue); }

/* Footer entrance (after links) */
.nav-overlay-footer {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.32s,
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.32s;
}

.nav-overlay.open .nav-overlay-footer {
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay-footer a[href^="mailto"] { 
  color: var(--ash); 
  text-decoration: none; 
  font-size: 0.92rem;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-overlay-footer a[href^="mailto"]:hover { color: #fff; }

.nav-overlay-social { display: flex; gap: 0.7rem; }
.nav-overlay-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ash); text-decoration: none; font-size: 0.85rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-overlay-social a:hover { 
  border-color: var(--blue); 
  color: #fff;
  transform: translateY(-2px);
}
.nav-overlay-social a:active { transform: scale(0.95); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: row; border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 1.6rem; gap: 2.4rem; flex-wrap: wrap; }
  .approach-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .venture-row, .venture-row.reverse { grid-template-columns: 1fr; }
  .venture-row .venture-media, .venture-row.reverse .venture-media { order: 1; }
  .venture-row .venture-copy, .venture-row.reverse .venture-copy { order: 2; }
  .mv-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .service-item { grid-template-columns: 140px 1fr; }
  .service-arrow { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-columns { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-pill { width: auto; padding: 0.55rem 0.6rem 0.55rem 1.1rem; gap: 0.7rem; }
  .nav-logo { height: 42px; }
  .nav-divider { display: none; }
  nav ul { display: none; }
  .nav-toggle { display: block; }

  .hero, .page-hero { padding-left: 1.5rem; padding-right: 1.5rem; }
  .approach, .ventures, .cta-band, .section, .footer-top, .footer-bottom { padding-left: 1.5rem; padding-right: 1.5rem; }
  .values-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; padding: 2rem; }
  .footer-columns { grid-template-columns: 1fr 1fr; }
  .service-item { grid-template-columns: 100px 1fr; gap: 1.2rem; padding: 1.6rem 0.5rem; }
}

@media (max-width: 480px) {
  .nav-pill { padding: 0.5rem 0.5rem 0.5rem 1rem; }
  .nav-logo { height: 36px; }
  .nav-overlay-links a { font-size: 1.65rem; padding: 1.1rem 0.1rem; gap: 0.85rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; width: 100%; }
  .footer-columns { grid-template-columns: 1fr; }
  .service-item { grid-template-columns: 1fr; }
  .service-thumb { aspect-ratio: 16/9; }
}