/* ═══════════════════════════════════════════════════
   NVBGN — Design System
═══════════════════════════════════════════════════ */
:root {
  --bg-dark:       #050505;
  --bg-dark-2:     #0a0a0a;
  --bg-light:      #ffffff;
  --neon:          #FFFFFF;
  --neon-dim:      #E5E5E5;
  --neon-glow:     rgba(255,255,255,0.08);
  --text-white:    #ffffff;
  --text-muted:    #a0a0a0;
  --text-dark:     #1a1a1a;
  --text-mid:      #555555;
  --border-dark:   rgba(255,255,255,0.07);
  --border-light:  rgba(0,0,0,0.08);
  --radius:        5px;
  --transition:    0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  background: var(--bg-dark);
  color: var(--text-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* Film grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 9998;
}
img, svg { display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }

/* ── Scrollbar ───────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--neon); border-radius: 2px; }

/* ── Utility ─────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 20px;
}

/* ── Buttons ─────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--neon);
  color: #000;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn-primary:hover {
  background: #E8E8E8;
  box-shadow: 0 0 28px rgba(255,255,255,0.18);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-white);
  padding: 10px 20px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  transition: border-color var(--transition), color var(--transition);
}
.btn-outline:hover { border-color: var(--neon); color: var(--neon); }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  transition: color var(--transition);
}
.btn-text:hover { color: var(--text-white); }
.btn-text .arrow { transition: transform var(--transition); }
.btn-text:hover .arrow { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(5,5,5,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
  transition: background var(--transition);
}
.navbar.scrolled { background: rgba(5,5,5,0.95); }

.nav-container {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-white);
  white-space: nowrap;
}
.logo-dot {
  width: 8px; height: 8px;
  background: var(--neon);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0 auto;
}
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--neon);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--text-white); }
.nav-links a:hover::after { width: 100%; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text-white);
  transition: transform var(--transition), opacity var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════
   SECTION 1 — HERO
═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  padding: 120px 48px 80px;
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.55;
}

/* neon diagonal line */
.neon-line {
  position: absolute;
  top: -60px; right: 18%;
  width: 1px;
  height: 130%;
  background: linear-gradient(180deg, transparent 0%, var(--neon) 40%, transparent 100%);
  transform: rotate(18deg);
  opacity: 0.25;
  box-shadow: 0 0 12px var(--neon);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.hero-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--neon);
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--text-white);
  margin-bottom: 24px;
}
.hero-title span { color: var(--neon); }

.hero-sub {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 44px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.hero-scroll-hint span {
  display: block;
  width: 1px; height: 48px;
  background: linear-gradient(180deg, transparent, var(--neon));
  animation: scrollPulse 2s ease-in-out infinite;
}
.hero-scroll-hint p {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ═══════════════════════════════════════════════════
   SECTION 2 — SERVICES
═══════════════════════════════════════════════════ */
.services {
  background: var(--bg-light);
  padding: 120px 48px;
}

.services-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.services-left {}

.services-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.services-svg {
  width: 100%;
  max-width: 440px;
  height: auto;
}

/* ── SVG animation — services illustration ──────── */
.svc-flow {
  animation: svc-flow-anim 2.4s linear infinite;
}
.svc-flow--2 { animation-delay: -0.8s; }
.svc-flow--3 { animation-delay: -1.6s; }
@keyframes svc-flow-anim {
  to { stroke-dashoffset: -26; }
}

.svc-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: svc-ring-anim 3s ease-out infinite;
}
.svc-ring--2 { animation-delay: -1s; }
.svc-ring--3 { animation-delay: -2s; }
@keyframes svc-ring-anim {
  0%   { transform: scale(0.6); opacity: 0.2; }
  100% { transform: scale(1.5); opacity: 0;   }
}

.svc-node {
  transform-box: fill-box;
  transform-origin: center;
  animation: svc-node-pulse 4s ease-in-out infinite;
}
.svc-node--2 { animation-delay: -1.3s; }
.svc-node--3 { animation-delay: -2.6s; }
@keyframes svc-node-pulse {
  0%, 100% { transform: scale(1);    }
  50%       { transform: scale(1.06); }
}

.svc-center {
  transform-box: fill-box;
  transform-origin: center;
  animation: svc-center-pulse 2s ease-in-out infinite;
}
@keyframes svc-center-pulse {
  0%, 100% { transform: scale(1);   opacity: 0.8; }
  50%       { transform: scale(1.4); opacity: 0.4; }
}

.svc-dot {
  animation: svc-dot-float 3.5s ease-in-out infinite;
}
.svc-dot--b { animation-delay: -0.5s;  animation-duration: 4s;   }
.svc-dot--c { animation-delay: -1s;    animation-duration: 3.8s; }
.svc-dot--d { animation-delay: -1.5s; }
.svc-dot--e { animation-delay: -2s;    animation-duration: 4.2s; }
.svc-dot--f { animation-delay: -2.5s; }
.svc-dot--g { animation-delay: -3s;    animation-duration: 3.2s; }
@keyframes svc-dot-float {
  0%, 100% { transform: translateY(0px);  }
  50%       { transform: translateY(-7px); }
}

.services-title {
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.services-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-mid);
  margin-bottom: 40px;
}

.services-right {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-card {
  background: #f7f7f7;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.12);
  border-color: rgba(0,0,0,0.2);
}

.card-icon {
  width: 48px; height: 48px;
  margin-bottom: 20px;
  transition: filter var(--transition);
}
.service-card:hover .card-icon { filter: drop-shadow(0 0 6px rgba(0,0,0,0.25)); }
.card-icon svg { width: 100%; height: 100%; }

.card-num {
  position: absolute;
  top: 28px; right: 28px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #ccc;
}

.service-card h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-mid);
}

/* ── Pole cards ──────────────────────────────────────── */
.pole-card { padding: 28px; }
.pole-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}
.pole-header .card-icon { margin-bottom: 0; }
.pole-header .card-num { position: static; color: #bbb; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; }
.pole-list {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
}
.pole-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--border-light);
}
.pole-list li:first-child { padding-top: 0; border-top: none; }
.entity-name {
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.entity-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  text-decoration: underline;
  text-decoration-color: #000;
  text-underline-offset: 3px;
  position: relative;
  width: fit-content;
  transition: color 0.25s ease;
}
.entity-link:hover { color: #000; }

.entity-arrow {
  font-size: 9px;
  font-style: normal;
  opacity: 0;
  transform: translate(-3px, 3px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  line-height: 1;
}
.entity-link:hover .entity-arrow {
  opacity: 1;
  transform: translate(0, 0);
}
.entity-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-mid);
}

/* ═══════════════════════════════════════════════════
   SECTION 3 — ABOUT
═══════════════════════════════════════════════════ */
.about {
  position: relative;
  background: var(--bg-dark);
  padding: 120px 48px;
  overflow: hidden;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.building-svg {
  width: 100%;
  max-width: 400px;
  height: auto;
  filter: drop-shadow(0 0 16px rgba(255,255,255,0.08));
}
.building-svg line,
.building-svg path,
.building-svg rect { stroke: #FFFFFF; }
.building-svg circle { stroke: #FFFFFF; fill: #FFFFFF; }

.building-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.about-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-white);
  margin-bottom: 24px;
}

.about-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
  padding: 32px 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.stat-num {
  display: block;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--neon);
  margin-bottom: 6px;
}
.stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════
   SECTION 4 — PROJECTS
═══════════════════════════════════════════════════ */
.projects {
  position: relative;
  background: var(--bg-dark-2);
  padding: 120px 48px;
  border-top: 1px solid var(--border-dark);
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 60px;
}
.section-header h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text-white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-item {
  background: #0f0f0f;
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 36px 32px;
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
  overflow: hidden;
}
.project-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.project-item:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-4px); }
.project-item:hover::before { opacity: 1; }

.project-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 20px;
}
.project-item h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 12px;
}
.project-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.project-year {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #444;
}

/* ═══════════════════════════════════════════════════
   SECTION 5 — TEAM
═══════════════════════════════════════════════════ */
.team {
  position: relative;
  background: var(--bg-dark);
  padding: 120px 48px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Solo card (unique membre) ── */
.team-solo {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.team-card {
  background: #0a0a0a;
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 36px 32px;
  transition: border-color var(--transition), transform var(--transition);
}
.team-card:hover { border-color: rgba(255,255,255,0.18); transform: translateY(-4px); }

.team-card--solo {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 640px;
  width: 100%;
  padding: 48px 52px;
  border-top: 2px solid var(--neon);
  background: linear-gradient(135deg, #0f0f0f 0%, #0a0a0a 100%);
}
.team-card--solo:hover { border-top-color: var(--neon); }

.team-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
  letter-spacing: 0.05em;
}

.team-avatar--lg {
  width: 80px; height: 80px;
  font-size: 18px;
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.07);
  margin-bottom: 0;
  box-shadow: 0 0 24px rgba(255,255,255,0.06);
}

.team-card-body {
  flex: 1;
}

.team-card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 4px;
}
.team-role {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 14px;
}
.team-bio {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ── Team FX — canvas bg & card hover effects ── */
#teamCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.team > .container { position: relative; z-index: 1; }

.team-card--solo {
  position: relative;
  overflow: hidden;
  will-change: transform;
  transition: box-shadow 0.4s ease;
}

/* Shimmer sweep on top border */
.team-card--solo::before {
  content: '';
  position: absolute;
  top: -1px; left: -80%;
  width: 55%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.95), transparent);
  pointer-events: none;
  z-index: 4;
}
.team-card--solo:hover::before {
  animation: soloTopSweep 0.7s ease-out forwards;
}
@keyframes soloTopSweep {
  to { left: 130%; }
}

/* Scanlines overlay */
.team-card--solo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(255,255,255,0.009) 3px,
    rgba(255,255,255,0.009) 4px
  );
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s;
}
.team-card--solo:hover::after { opacity: 1; }

/* Avatar ring pulse */
.team-avatar--lg { transition: box-shadow 0.4s ease, border-color 0.4s ease; }
.team-card--solo:hover .team-avatar--lg {
  box-shadow: 0 0 0 4px rgba(255,255,255,0.07), 0 0 30px rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.5);
}

/* Outer glow on hover */
.team-card--solo:hover {
  box-shadow: 0 0 55px rgba(255,255,255,0.07), 0 20px 60px rgba(0,0,0,0.55);
}

/* Corner accent lines */
.team-corner {
  position: absolute;
  width: 14px; height: 14px;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 5;
}
.team-card--solo:hover .team-corner { opacity: 1; }
.team-corner--tl { top: 10px;    left: 10px;  border-top:    1px solid rgba(255,255,255,0.55); border-left:  1px solid rgba(255,255,255,0.55); }
.team-corner--tr { top: 10px;    right: 10px; border-top:    1px solid rgba(255,255,255,0.55); border-right: 1px solid rgba(255,255,255,0.55); }
.team-corner--bl { bottom: 10px; left: 10px;  border-bottom: 1px solid rgba(255,255,255,0.55); border-left:  1px solid rgba(255,255,255,0.55); }
.team-corner--br { bottom: 10px; right: 10px; border-bottom: 1px solid rgba(255,255,255,0.55); border-right: 1px solid rgba(255,255,255,0.55); }

/* ═══════════════════════════════════════════════════
   SECTION 6 — CONTACT
═══════════════════════════════════════════════════ */
.contact {
  position: relative;
  background: var(--bg-dark-2);
  padding: 120px 48px;
  border-top: 1px solid var(--border-dark);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contact-title {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--text-white);
  margin-top: 12px;
}
.contact-title span { color: var(--neon); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-white);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #444; }
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.02);
}

/* ═══════════════════════════════════════════════════
   ENTITIES SECTION
═══════════════════════════════════════════════════ */
.entities-section {
  background: var(--bg-light);
  padding: 80px 48px;
  border-top: 1px solid var(--border-light);
}
.entities-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.entities-inner .section-label {
  margin-bottom: 32px;
}
.entities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .entities-grid { grid-template-columns: 1fr; }
  .entities-section { padding: 60px 24px; }
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: 48px;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-white);
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.footer-brand .logo-dot { margin-right: 4px; }
.footer-brand p {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--text-white); }

.footer-copy {
  font-size: 12px;
  color: #444;
  letter-spacing: 0.04em;
}
.footer-end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.footer-values {
  font-size: 11px;
  color: #2e2e2e;
  letter-spacing: 0.14em;
}

/* ═══════════════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════════════ */
.reveal,
.reveal-card,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition:
    opacity   0.9s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    filter    0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal       { transform: translateY(36px) scale(0.98); filter: blur(4px); }
.reveal-card  { transform: translateY(28px) scale(0.99); filter: blur(2px); }
.reveal-left  { transform: translateX(-48px) scale(0.98); filter: blur(4px); }
.reveal-right { transform: translateX(48px)  scale(0.98); filter: blur(4px); }

.reveal.visible,
.reveal-card.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0) scale(1);
  filter: blur(0);
}

/* stagger for cards */
.reveal-card:nth-child(2) { transition-delay: 0.10s; }
.reveal-card:nth-child(3) { transition-delay: 0.20s; }
.reveal-card:nth-child(4) { transition-delay: 0.30s; }

/* ── Services section overrides (light bg) ──────── */
.services {
  position: relative;
}
.services .section-label { color: #888; }
.services .btn-primary { background: #111; color: #fff; }
.services .btn-primary:hover { background: #2a2a2a; box-shadow: none; }
.services-inner { position: relative; z-index: 1; }

/* ── Dot grid texture — dark sections ───────────── */
.about::before,
.projects::before,
.team::before,
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.038) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
.about-inner,
.projects .container,
.team .container,
.contact-inner { position: relative; z-index: 1; }

/* ── Dot grid texture — light section ───────────── */
.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

/* ── Card SVG icon colors on light bg ───────────── */
.card-icon svg line,
.card-icon svg rect,
.card-icon svg path,
.card-icon svg circle { stroke: #2a2a2a; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-inner { grid-template-columns: 1fr; gap: 48px; }
  .services-left { position: static; }
  .services-visual { max-width: 320px; margin: 0 auto; }
  .about-inner { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { order: -1; }
  .building-svg { max-width: 320px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .projects-grid, .team-grid { grid-template-columns: 1fr 1fr; }
  .team-card--solo { padding: 40px 40px; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 24px; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: rgba(5,5,5,0.98); padding: 24px; gap: 20px; border-bottom: 1px solid var(--border-dark); }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 16px; }
  .btn-outline { display: none; }
  .burger { display: flex; }

  .hero { padding: 100px 24px 80px; }
  .services { padding: 80px 24px; }
  .services-right { grid-template-columns: 1fr; }
  .about { padding: 80px 24px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .projects { padding: 80px 24px; }
  .projects-grid { grid-template-columns: 1fr; }
  .team { padding: 80px 24px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card--solo { flex-direction: column; text-align: center; padding: 36px 28px; gap: 24px; }
  .contact { padding: 80px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer { padding: 40px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 32px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 42px; }
  .about-stats { grid-template-columns: 1fr; }
}
