﻿:root {
  --bg: #000000;
  --surface: #0f0f0f;
  --surface-soft: #131313;
  --text: #ffffff;
  --muted: #c1c1c1;
  --border: rgba(255, 255, 255, 0.1);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #000000 0%, #050505 55%, #0c0c0c 100%);
  min-height: 100vh;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #ffffff;
  padding: 4px;
  border-radius: 12px;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  /* Prevent the nav items from wrapping and changing visual order */
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
  white-space: nowrap;
  flex: 0 0 auto;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
}

.hero {
  padding: 5rem 0 3rem;
}

.hero-text-wrapper {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  margin-top: 1.25rem;
  border-radius: 24px;
}

.hero-badge {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  border-radius: 24px;
  overflow: hidden;
  display: block;
  border: none;
  padding: 0;
  background: #0d0d0d;
  box-shadow: none;
}

.hero-badge img.hero-badge-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  background: #0d0d0d;
  filter: saturate(1.08) contrast(1.04);
}

.hero-copy-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 260px;
  padding: 2rem 2.25rem;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.18) 100%);
}

.hero-copy-overlay p {
  max-width: 32rem;
  margin: 0;
  color: #ffffff;
  font-size: 1.03rem;
  line-height: 1.7;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}

h1,
h2,
h3 {
  line-height: 1.1;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}

h2 {
  font-size: clamp(2rem, 3vw, 2.7rem);
}

h3 {
  font-size: 1.05rem;
}

p {
  margin: 0 0 1.2rem;
  color: var(--muted);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #ffffff;
  color: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.28);
  padding: 1.8rem;
}

.hero-card {
  padding: 2rem;
}

.section {
  padding: 3rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  gap: 1.35rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-box {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.stat-box strong {
  font-size: 2rem;
  color: var(--text);
  display: block;
  margin-bottom: 0.35rem;
}

.team-card {
  overflow: hidden;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.team-card img {
  border-radius: 16px;
}

.project-card {
  cursor: pointer;
}

.project-toggle {
  margin-top: 0.75rem;
}

.project-panel {
  display: none;
}

.project-panel.is-open {
  display: block;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.project-item {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.project-visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
}

.project-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.9rem;
}

.project-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.project-visual {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.project-link:hover .project-visual {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

.project-item h3 {
  margin-bottom: 0.45rem;
}

.list {
  padding-left: 1.3rem;
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  padding: 1.2rem 1.3rem;
  border-left: 4px solid rgba(255, 255, 255, 0.18);
  background: #0c0c0c;
  border-radius: 0 18px 18px 0;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blog-card .meta {
  color: var(--muted);
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  text-transform: uppercase;
}

label {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  background: #070707;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 0.95rem 1rem;
  border-radius: 14px;
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

footer {
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer .footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 650px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 0.85rem;
  }

  .menu-toggle {
    display: inline-block;
  }
}
