@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

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

:root {
  /* High-End Monochrome Palette (SpaceX Vibe) */
  --bg-dark: #000000;
  --text-main: #FFFFFF;
  --text-muted: #86868B;
  --border: #333333;
  --border-hover: #FFFFFF;
  
  /* Minimal UI System */
  --glass-bg: transparent;
  --glass-border: var(--border);
  --glass-highlight: transparent;
  
  /* Typography */
  --font-stardock: 'Stardock', 'TERBAANG', 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: var(--font-stardock);
  --font-heading: var(--font-stardock);
  --font-mono: 'Space Mono', monospace;
  
  /* Stark Shadows */
  --shadow-light: 0 0 10px rgba(255, 255, 255, 0.05);
  --shadow-glass: none;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
}

::selection {
  background: var(--accent-blue);
  color: var(--text-main);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.1;
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
  cursor: none;
}

button, input, select, textarea {
  font-family: inherit;
  cursor: none;
}

/* ==========================================================================
   CUSTOM CURSOR (Ultra-premium liquid feel)
   ========================================================================== */

.custom-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 12px;
  height: 12px;
  background: var(--text-main);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
  transform: translate(-50%, -50%);
}

.custom-cursor.hovered {
  transform: translate(-50%, -50%) scale(4);
  background: rgba(255,255,255,1);
  mix-blend-mode: color-dodge;
  filter: blur(2px);
}

.custom-cursor svg {
  display: none; /* Hide old star */
}

.custom-cursor.hovered svg {
  transform: scale(1.4);
  fill: var(--accent-blue-light);
}

/* ==========================================================================
   UTILITY & EFFECTS
   ========================================================================== */

/* Removed canvas style (kept html spacing) */

.section-inner {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

#pbar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--text-main);
  z-index: 9999;
  transition: width 0.1s ease-out;
}

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 auto;
}

.section-pad {
  padding: 12rem 4rem;
  width: 100%;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--text-muted);
}

.section-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 5rem;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 4rem;
  background: transparent;
  transition: padding 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.5s ease, border-bottom 0.5s ease;
}

.nav-inner {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#nav.scrolled {
  padding: 1rem 4rem;
  background: rgba(2, 2, 5, 0.7);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--glass-border);
}

.nav-left {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease, text-shadow 0.2s ease;
  position: relative;
  padding-bottom: 0.25rem;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
  border-radius: 2px;
}

/* ==========================================================================
   GALAXIES & DECOR
   ========================================================================== */

.galaxy-decor {
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

footer {
  padding: 3rem 4rem;
  text-align: center;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.42);
  font-family: var(--font-stardock);
}

footer .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

footer .footer-logo {
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--text-main);
  font-size: 0.95rem;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

footer .footer-links a,
footer .footer-social a,
footer .footer-social span {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  transition: color 0.2s ease, opacity 0.2s ease;
}

footer .footer-links a:hover,
footer .footer-social a:hover {
  color: var(--text-main);
  opacity: 0.95;
}

footer .footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

footer .footer-copy {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  footer {
    padding: 2rem 1.5rem;
  }
  footer .footer-top {
    flex-direction: column;
    align-items: center;
  }
  footer .footer-links {
    gap: 0.75rem;
  }
  footer .footer-social {
    flex-direction: column;
    gap: 0.5rem;
  }
}
.g-top-right { top: 5%; right: 10%; }
.g-bottom-right { bottom: 10%; right: 5%; }
.g-mid-left { top: 40%; left: 5%; }

.spin-slow {
  animation: spin 60s linear infinite;
}
.spin-slow-rev {
  animation: spin-rev 80s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes spin-rev { 100% { transform: rotate(-360deg); } }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Align bottom */
  align-items: flex-start; /* Left align horizontally */
  padding: 8rem 4rem 6rem 4rem; /* Bottom padding for the text */
  position: relative;
  text-align: left; /* Left align text */
}

.hero-content {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Left align items */
}

.hero-title {
  text-align: left; /* Ensure heading aligns left */
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100vh;
  overflow: hidden;
  z-index: -1;
  background: #000;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0.8;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 6rem); /* Adjusted for single line */
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
  position: relative;
  z-index: 10;
}

.video-play-hint {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  background: rgba(0, 0, 0, 0.35);
  z-index: 9999;
  cursor: pointer;
  user-select: none;
}

.hero-rocket {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  pointer-events: none;
  opacity: 1;
}

@keyframes rocketFly {
  0% { transform: translate(-100px, 100px) scale(0.5); opacity: 0; }
  100% { transform: translate(0, 0) scale(1); opacity: 1; }
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  padding-left: 1.5rem;
}
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.spec-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.spec-value {
  font-size: 1.25rem;
  color: #ffffff;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  font-weight: 600;
}

.hero-stats {
  display: flex;
  gap: 4rem;
  margin-bottom: 4rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1;
  text-shadow: var(--shadow-light);
}

.stat-top svg {
  color: var(--text-muted);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hero-cta-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 2rem;
}

.bg-scroll-hint {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 1;
}
.bg-scroll-hint .line {
  width: 50px;
  height: 1px;
  background: rgba(255,255,255,0.3);
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  z-index: 2;
  position: relative;
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 1.25rem 2.5rem;
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-solid:hover {
  background: #e0e0e0;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 1.25rem 2.5rem;
  border-radius: 0; /* Sharp edges */
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--text-main);
}

.btn-outline:hover {
  background: var(--text-main);
  color: var(--bg-dark);
}

.btn-small {
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
}

/* ==========================================================================
   DOWN ARROW ANIMATION
   ========================================================================== */

.hero-down-arrow {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: bounce 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0) translateX(-50%); opacity: 0.6; }
  50% { transform: translateY(10px) translateX(-50%); opacity: 1; }
}

.corner-star {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  color: var(--text-muted);
  opacity: 0.5;
}

/* ==========================================================================
   MISSION
   ========================================================================== */

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.mission-card {
  padding: 5rem 4rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glass);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, var(--glass-highlight) 0%, transparent 100%);
  pointer-events: none;
  border-radius: inherit;
}

.mission-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.15);
}

.card-type {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
}

.card-title {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
  line-height: 1.2;
}

.card-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ==========================================================================
   TIMELINE
   ========================================================================== */

.timeline-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: 4rem;
  align-items: start;
}

.timeline-intro {
  position: sticky;
  top: 7rem;
}

.timeline-kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.timeline-summary {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 28rem;
}

.timeline-track {
  position: relative;
  padding-left: 4rem;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.15) 100%);
}

.timeline-card {
  position: relative;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 2rem;
}

.timeline-marker {
  position: relative;
}

.timeline-dot {
  position: absolute;
  top: 1.25rem;
  left: 0;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--text-main);
  background: var(--bg-dark);
  display: block;
}

.timeline-dot::after {
  content: '';
  position: absolute;
  inset: 0.4rem;
  background: var(--text-main);
}

.timeline-content {
  border: 1px solid var(--border);
  padding: 3rem;
  background: rgba(255, 255, 255, 0.02);
}

.timeline-phase-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.timeline-phase,
.timeline-duration {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.timeline-phase {
  color: var(--text-main);
}

.timeline-duration {
  color: var(--text-muted);
}

.timeline-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}

.timeline-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 2.5rem;
}

.timeline-block + .timeline-block {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.timeline-heading {
  font-size: 0.95rem;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.timeline-text {
  color: var(--text-muted);
  line-height: 1.9;
  font-size: 1rem;
}

.timeline-list {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.timeline-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.timeline-list li::before {
  content: '';
  position: absolute;
  top: 0.8rem;
  left: 0;
  width: 0.55rem;
  height: 1px;
  background: var(--text-main);
}

/* ==========================================================================
   PROJECTS
   ========================================================================== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.project-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-bg {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
}

.project-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.project-card:hover .project-bg img {
  transform: scale(1.05);
}

.project-content {
  padding: 2.5rem 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.project-name {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

.project-status {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--border);
}

.status-active {
  color: var(--text-main);
  border-color: var(--text-main);
}

.status-dev {
  color: var(--text-muted);
}

.project-desc {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
  max-width: 90%;
}

.project-specs {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.spec {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.spec-key {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.spec-val {
  font-weight: 500;
  font-size: 1.1rem;
}

/* ==========================================================================
   TEAM
   ========================================================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.team-card {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 3rem 2rem;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--text-main);
}

.team-avatar {
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: var(--border);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 2rem auto;
}

.team-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.team-dept {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   GALLERY
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  border: 1px solid var(--border);
  transition: border-color 0.3s ease;
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:hover {
  border-color: var(--text-main);
}

.gallery-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.gallery-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.gallery-icon {
  font-size: 2.5rem;
  opacity: 0.2;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-main);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
}

.contact-info-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.contact-info-title span {
  color: var(--text-muted);
}

.contact-info-sub {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 5rem;
  max-width: 450px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.contact-icon {
  color: var(--text-muted);
}

.contact-form {
  background: transparent;
  border: 1px solid var(--border);
  padding: 4rem;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.form-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 0;
  transition: all 0.3s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--text-main);
  background: rgba(255,255,255,0.05);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-select option {
  background: #111;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
  border-top: 1px solid var(--border);
  padding: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  background: var(--bg-dark);
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.footer-links {
  display: flex;
  gap: 3rem;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }

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

@keyframes freeFall {
  0% { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(100vh) scale(0.8) rotate(5deg); 
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1100px) {
  .section-pad, footer, #nav { padding: 4rem 2rem; }
  #hero { padding: 0 2rem; }
  .mission-grid, .timeline-layout, .projects-grid, .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 1; grid-row: span 1; }
  footer { flex-direction: column; gap: 2rem; text-align: center; }
  .nav-center { display: none; }
  .timeline-intro { position: static; }
}

@media (max-width: 768px) {
  .hero-stats { flex-direction: column; gap: 2rem; text-align: center; }
  .stat { align-items: center; }
  .team-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-title { padding-top: 100px; }
  .nav-links { display: none; /* In a real app, add a hamburger menu */ }
  .timeline-track { padding-left: 2.5rem; }
  .timeline-card { grid-template-columns: 1.5rem 1fr; gap: 1.25rem; }
  .timeline-track::before { left: 0.75rem; }
  .timeline-dot { width: 1.5rem; height: 1.5rem; }
  .timeline-content { padding: 2rem 1.5rem; }
}
