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

body { font-family: Inter, system-ui, sans-serif; }
.font-display { font-family: 'Space Grotesk', Inter, sans-serif; }
.nav-active { color: #34d399; font-weight: 600; }
.project-card { transition: transform .2s ease, box-shadow .2s ease; }
.project-card:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgb(0 0 0 / .25); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .25rem .7rem;
  border-radius: 999px;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid rgb(39 39 42);
  color: #a1a1aa;
}
.chip-go { color: #34d399; border-color: rgb(6 78 59 / .6); background: rgb(6 78 59 / .2); }
.chip-wip { color: #fb923c; border-color: rgb(154 52 18 / .6); background: rgb(154 52 18 / .15); }

.media {
  width: 100%;
  border-radius: 1.5rem;
  border: 1px solid rgb(39 39 42);
  object-fit: cover;
  background: #09090b;
}
.media-lg { max-height: 640px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgb(39 39 42);
  background: #18181b;
}
.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-grid a:hover img { transform: scale(1.05); }
.gallery-grid figcaption {
  padding: .75rem 1rem 1rem;
  font-size: .75rem;
  color: #a1a1aa;
  line-height: 1.35;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .85rem;
}
.shot-grid figure { margin: 0; }
.shot-grid img,
.shot-grid video {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 1rem;
  border: 1px solid rgb(39 39 42);
  background: #09090b;
}
.shot-grid video { height: 200px; }
.shot-grid figcaption { margin-top: .45rem; font-size: .7rem; color: #71717a; }

.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.spec th, .spec td {
  text-align: left;
  padding: .7rem 0;
  border-bottom: 1px solid rgb(39 39 42);
  vertical-align: top;
}
.spec th { color: #a1a1aa; font-weight: 500; width: 38%; }

.file-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgb(39 39 42);
  border-radius: 1.25rem;
  background: #18181b;
}
.file-card:hover { border-color: rgb(63 63 70); }

#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgb(9 9 11 / .94);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: min(1200px, 96vw); max-height: 88vh; border-radius: 1rem; }
#lightbox .lb-cap {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: #d4d4d8;
  font-size: .8rem;
}
#lightbox .lb-x {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 2rem;
  color: #a1a1aa;
}

.viewer-wrap {
  height: 420px;
  border-radius: 1.5rem;
  border: 1px solid rgb(39 39 42);
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, #27272a, #09090b 70%);
}
.viewer-wrap canvas { width: 100% !important; height: 100% !important; }

.prose-eng p { margin-top: 1rem; color: #d4d4d8; line-height: 1.7; }
.prose-eng li { color: #d4d4d8; line-height: 1.6; }

.stat-num { font-family: 'Space Grotesk', Inter, sans-serif; font-weight: 700; letter-spacing: -.04em; }

.contact-icon {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  background: rgb(24 24 27);
  border: 1px solid rgb(63 63 70);
  color: #34d399;
  font-size: 1.15rem;
}
