:root {
  --bg: #050505;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --red: #dc2626;
  --red-hover: #ef4444;
  --gold: #d4af37;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(220, 38, 38, 0.16), transparent 28%),
    radial-gradient(circle at right center, rgba(212, 175, 55, 0.10), transparent 30%),
    radial-gradient(circle at bottom center, rgba(255, 255, 255, 0.04), transparent 22%),
    linear-gradient(180deg, #080808 0%, #050505 100%);
  color: var(--text);
  overflow-x: hidden;
}

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

.bg-orb, .bg-grid, .bg-vignette {
  position: fixed;
  pointer-events: none;
  z-index: -1;
}

.bg-orb {
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.55;
  animation: floatOrb 14s ease-in-out infinite;
}

.orb-1 { width: 380px; height: 380px; left: -90px; top: 60px; background: rgba(212, 175, 55, 0.16); }
.orb-2 { width: 420px; height: 420px; right: -120px; top: 220px; background: rgba(220, 38, 38, 0.16); animation-delay: 2s; }
.orb-3 { width: 320px; height: 320px; left: 35%; bottom: -120px; background: rgba(255, 255, 255, 0.07); animation-delay: 4s; }

.bg-grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
  opacity: 0.3;
}

.bg-vignette {
  inset: 0;
  background: radial-gradient(circle at center, transparent 38%, rgba(0,0,0,0.22) 72%, rgba(0,0,0,0.7) 100%);
}

.container { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}

.brand p {
  margin: 0 0 4px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: #71717a;
}

.brand h1 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.18em;
}

nav { display: flex; align-items: center; gap: 22px; }
nav a { font-size: 14px; color: #d4d4d8; }
nav a:hover, nav a.active { color: white; }

.menu-toggle {
  display: none;
  background: var(--panel);
  border: 1px solid var(--border);
  color: white;
  font-size: 20px;
  padding: 10px 12px;
  border-radius: 14px;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  padding: 80px 0;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30px;
  background:
    radial-gradient(circle at 20% 20%, rgba(212,175,55,0.10), transparent 22%),
    radial-gradient(circle at 82% 34%, rgba(220,38,38,0.12), transparent 24%),
    radial-gradient(circle at 50% 78%, rgba(255,255,255,0.04), transparent 20%);
  z-index: -1;
  filter: blur(20px);
}

.eyebrow {
  color: #f0c85d;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 12px;
  margin-bottom: 14px;
}

.hero h2, .page-hero h2 {
  margin: 0;
  font-size: clamp(44px, 8vw, 86px);
  line-height: 0.95;
  font-weight: 900;
}

.hero h2 span, .page-hero h2 span {
  display: block;
  color: var(--red-hover);
  text-shadow: 0 0 24px rgba(212, 175, 55, 0.16);
}

.hero-text, .page-hero p {
  max-width: 700px;
  margin-top: 24px;
  color: #d4d4d8;
  line-height: 1.8;
  font-size: 18px;
}

.hero-buttons, .button-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 18px;
  font-weight: 700;
  transition: 0.2s ease;
  border: 1px solid var(--border);
}

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

.btn-red {
  background: linear-gradient(180deg, #dc2626 0%, #b91c1c 100%);
  border-color: rgba(239, 68, 68, 0.45);
  color: white;
  box-shadow: 0 14px 34px rgba(127, 29, 29, 0.35);
}

.btn-red:hover { background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%); }

.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: white;
  backdrop-filter: blur(8px);
}

.btn-ghost:hover { background: var(--panel-2); }
.btn.small { padding: 10px 16px; border-radius: 14px; }

.tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.tags span, .badge {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: #d4d4d8;
  font-size: 14px;
}

.hero-card, .card, .wide-card, .contact-box, .page-panel, .timeline-card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04));
  border-radius: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-card { padding: 20px; }

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 16px;
}

.status {
  color: #f8d77b;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.10);
  letter-spacing: normal;
  text-transform: none;
}

.project-box {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(220, 38, 38, 0.10), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top, rgba(212,175,55,0.06), transparent 50%);
}

.project-box .mini-title {
  font-size: 12px;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

.project-box h3, .card h4, .timeline-card h4, .page-panel h3 { margin: 10px 0 14px; }

.project-box p, .section-head p, .split p, .wide-card p, .contact-box p, .card p, .page-panel p, .timeline-card p, .list-clean li {
  color: #d4d4d8;
  line-height: 1.8;
}

.stats, .grid-2, .grid-3, .grid-4, .info-grid { display: grid; gap: 18px; }
.stats { grid-template-columns: 1fr 1fr; margin-top: 24px; }

.stats div, .contact-card {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
}

.stats small, .card small, .contact-card small {
  display: block;
  color: #71717a;
  margin-bottom: 8px;
}

.stats strong, .contact-card strong { color: white; }

.section, .page-section { padding: 36px 0 72px; }

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head.single { align-items: start; }

.section-head h3, .split h3, .wide-card h3, .contact-box h3, .page-hero h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin: 0;
}

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

.card {
  padding: 24px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,175,55,0.18);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.05));
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.wide-card {
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.wide-card::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.12), transparent 70%);
  filter: blur(10px);
}

.contact-box {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  padding: 30px;
}

.contact-cards { display: grid; gap: 14px; }
.page-hero { padding: 72px 0 30px; }
.page-title-wrap { max-width: 860px; }
.page-panel { padding: 28px; }
.info-grid { grid-template-columns: repeat(3, 1fr); }
.timeline { display: grid; gap: 18px; }
.timeline-card { padding: 24px; }
.footer { padding: 0 0 40px; color: #8d8d95; }

@keyframes floatOrb {
  0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
  50% { transform: translateY(-24px) translateX(10px) scale(1.04); }
}

@media (max-width: 900px) {
  .hero, .split, .contact-box, .grid-3, .grid-4, .grid-2, .info-grid, .stats {
    grid-template-columns: 1fr;
  }

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

  nav {
    display: none;
    position: absolute;
    right: 16px;
    top: 72px;
    flex-direction: column;
    align-items: stretch;
    width: min(280px, calc(100vw - 32px));
    background: rgba(0, 0, 0, 0.92);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 14px;
  }

  nav.show { display: flex; }
  .menu-toggle { display: block; }
}
