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

:root {
  --bg: #0b0f14;
  --bg-2: #0f1721;
  --card: rgba(255, 255, 255, 0.06);
  --text: #e8f0f2;
  --muted: #a8b3c1;
  --accent: #2dd4bf;
  --accent-2: #f59e0b;
  --stroke: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: radial-gradient(1400px 700px at 10% -10%, rgba(45, 212, 191, 0.25), transparent 60%),
              radial-gradient(1000px 600px at 90% 10%, rgba(245, 158, 11, 0.2), transparent 55%),
              var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Fraunces', serif;
  letter-spacing: 0.2px;
}

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

.bg-orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  z-index: -2;
}

.orb-1 {
  background: #2dd4bf;
  top: -140px;
  left: -120px;
}

.orb-2 {
  background: #f59e0b;
  right: -140px;
  bottom: -120px;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 0%, rgba(0,0,0,0.8), transparent 60%);
  z-index: -3;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 6vw;
  backdrop-filter: blur(10px);
  background: rgba(11, 15, 20, 0.75);
  border-bottom: 1px solid var(--stroke);
}

.brand {
  font-weight: 700;
  letter-spacing: 0.6px;
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

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

main {
  padding: 32px 6vw 80px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: 60px 0 30px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin: 12px 0 16px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #38bdf8);
  color: #04111f;
  border: none;
  font-weight: 600;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.04);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  padding: 22px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.card-title {
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

.card-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.section {
  margin-top: 60px;
}

.section h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.project-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.project-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 18px;
  transition: transform 0.3s ease, border 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 191, 0.6);
}

.project-meta {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-card ul {
  padding-left: 18px;
  color: var(--muted);
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-grid span {
  border: 1px solid var(--stroke);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: var(--card);
}

.time {
  color: var(--accent-2);
  font-weight: 600;
}

.detail .title {
  font-weight: 600;
}

.detail .place,
.detail .note {
  color: var(--muted);
  font-size: 14px;
}

.footer {
  display: flex;
  justify-content: space-between;
  padding: 18px 6vw 28px;
  color: var(--muted);
  border-top: 1px solid var(--stroke);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .project-card,
  .reveal {
    transition: none;
  }
}
