:root {
  --bg: #101217;
  --text: #F5F4EF;
  --text-dim: rgba(245, 244, 239, 0.65);
  --text-faint: rgba(245, 244, 239, 0.4);
  --accent: #FF6B35;
  --panel-bg: rgba(21, 24, 30, 0.86);
  --card-bg: rgba(24, 27, 34, 0.9);
  --border: rgba(245, 244, 239, 0.1);
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* Aurora canvas sits fixed behind everything */
#aurora-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  display: block;
}

a { color: inherit; }

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  margin: 0;
}

.accent { color: var(--accent); }
.accent-text { color: var(--accent); font-weight: 700; }
.muted { color: var(--text-faint); font-size: 15px; }

/* NAV */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(16, 18, 23, 0.55);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 36px;
  font-weight: 600;
  font-size: 15px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dim);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  display: block;
}

/* HERO — fully transparent so aurora shows through richly */
.hero {
  padding: 120px 32px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-inner { max-width: 720px; display: flex; flex-direction: column; gap: 26px; }

.tag {
  width: fit-content;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255, 107, 53, 0.1);
  padding: 6px 14px;
  border-radius: 6px;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.08;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
  max-width: 560px;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--accent); color: #101217; }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid rgba(245, 244, 239, 0.3); }

/* Panels: solid-ish backgrounds so aurora is dimmed behind content but glows at the edges/gaps */
.panel {
  max-width: 1200px;
  margin: 0 auto 48px;
  padding: 56px 32px;
  background: var(--panel-bg);
  border-radius: 24px;
  backdrop-filter: blur(6px);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 8px;
}

.section-head h2 { font-size: 30px; }

.project-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.card {
  flex: 1 1 340px;
  max-width: 420px;
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.card.in-view { opacity: 1; transform: translateY(0); }
.muted-card { opacity: 0.55; }
.muted-card.in-view { opacity: 0.55; }

.shot {
  aspect-ratio: 16/10;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-body h3 { font-size: 20px; }
.card-body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
}

.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255, 107, 53, 0.08);
  padding: 5px 10px;
  border-radius: 6px;
}

.card-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  margin-top: 4px;
}
.card-link:hover { text-decoration: underline; }

/* ABOUT */
.about-section { display: flex; gap: 56px; flex-wrap: wrap; }
.about-section h2 { flex-shrink: 0; width: 200px; font-size: 28px; }
.about-section p { flex: 1; min-width: 280px; font-size: 17px; line-height: 1.75; color: var(--text-dim); margin: 0; }

/* CONTACT */
.contact-section { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.contact-section h2 { font-size: 32px; }
.contact-section p { font-size: 16px; color: var(--text-dim); margin: 0; }

/* FOOTER — transparent, aurora glows through */
.site-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-faint);
}

@media (max-width: 780px) {
  .nav-links {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    background: rgba(16, 18, 23, 0.97);
    flex-direction: column;
    padding: 24px 32px;
    gap: 20px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.2s ease, opacity 0.2s ease, visibility 0s linear 0.2s;
    border-bottom: 1px solid var(--border);
    z-index: 30;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 38px; }
  .about-section { flex-direction: column; gap: 20px; }
  .about-section h2 { width: auto; }
  .panel {
    margin-left: 14px;
    margin-right: 14px;
    padding: 36px 22px;
    border-radius: 18px;
  }
  .hero, .site-footer, .nav-wrap {
    padding-left: 22px;
    padding-right: 22px;
  }
}
