@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Share+Tech+Mono&family=Inter:wght@300;400;500&display=swap");

:root {
  --cyan: #4dffff;
  --teal: #127475;
  --orange: #ff5a13;
  --cream: #f5dfbb;
  --dark: #562c2c;
  --black: #0a0604;
  --char: #1a0e0e;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--cream);
  font-family: "Inter", sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  /* leave room for the fixed fire bar at the bottom */
  padding-bottom: 150px;
}

/* ── SPLASH ──────────────────────────────────────────── */
#splash {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#splash-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 40% at 50% 80%,
      rgba(255, 90, 19, 0.18) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 80% 60% at 50% 100%,
      rgba(86, 44, 44, 0.5) 0%,
      transparent 70%
    ),
    var(--black);
}

#poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.55;
  mix-blend-mode: screen;
}

#splash::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 100% 100% at 50% 50%,
    transparent 30%,
    rgba(10, 6, 4, 0.75) 100%
  );
  pointer-events: none;
}

.ground-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--orange),
    var(--cyan),
    var(--orange),
    transparent
  );
  box-shadow:
    0 0 40px 8px rgba(255, 90, 19, 0.6),
    0 0 80px 20px rgba(255, 90, 19, 0.2);
  animation: glowPulse 3s ease-in-out infinite;
  z-index: 3;
}
@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

.splash-content {
  position: relative;
  z-index: 5;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.eyebrow {
  font-family: "Share Tech Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: var(--cyan);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s ease forwards;
}

.splash-logo {
  width: clamp(280px, 70vw, 820px);
  height: auto;
  mix-blend-mode: screen;
  opacity: 0;
  filter: drop-shadow(0 0 40px rgba(255, 90, 19, 0.4));
  animation: fadeUp 0.9s 0.4s ease forwards;
}

.splash-sub {
  font-family: "Share Tech Mono", monospace;
  font-size: 0.8rem;
  color: var(--teal);
  letter-spacing: 0.2em;
  opacity: 0;
  animation: fadeUp 0.9s 0.6s ease forwards;
}

.splash-divider {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0;
  animation: fadeUp 0.9s 0.7s ease forwards;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.9s 0.9s ease forwards;
}

.btn {
  display: inline-block;
  padding: 0.85rem 0;
  width: 220px;
  text-align: center;
  font-family: "Orbitron", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.25s;
}
.btn:hover::before {
  opacity: 0.12;
}

.btn-primary {
  color: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 0 20px rgba(255, 90, 19, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 0 40px rgba(255, 90, 19, 0.6);
}
.btn-secondary {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(77, 255, 255, 0.2);
}
.btn-secondary:hover {
  box-shadow: 0 0 40px rgba(77, 255, 255, 0.4);
}
.btn-ghost {
  color: var(--cream);
  border-color: rgba(245, 223, 187, 0.3);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0;
  animation: fadeUp 1s 1.4s ease forwards;
}
.scroll-hint span {
  font-family: "Share Tech Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--teal);
}
.scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--orange), transparent);
  animation: scrollDrop 1.5s ease-in-out infinite;
}
@keyframes scrollDrop {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 1;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 0;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── MAIN CONTENT ────────────────────────────────────── */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
}

.section-label {
  font-family: "Share Tech Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

h2 {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(245, 223, 187, 0.1);
}
h2 .accent {
  color: var(--cyan);
}

section {
  margin-bottom: 5rem;
}

/* ── ILLUSTRATION + THEME ────────────────────────────── */
.full-img {
  width: 100%;
  display: block;
  height: auto;
  border-top: 1px solid rgba(255, 90, 19, 0.2);
  border-bottom: 1px solid rgba(255, 90, 19, 0.2);
  margin-bottom: 2.5rem;
}

.theme-text p {
  color: rgba(245, 223, 187, 0.8);
  font-size: 1rem;
  line-height: 1.8;
  margin-top: 1rem;
}

/* ── DESCRIPTION ─────────────────────────────────────── */
.description-block {
  background: rgba(18, 116, 117, 0.06);
  border: 1px solid rgba(18, 116, 117, 0.25);

  padding: 2rem 2.5rem;
}
.description-block p {
  color: rgba(245, 223, 187, 0.85);
  line-height: 1.85;
}

/* ── OBJECTIVES ──────────────────────────────────────── */
.obj-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.obj-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  color: rgba(245, 223, 187, 0.85);
  font-size: 0.95rem;
}
.obj-list li::before {
  content: "–";
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ── CONTEXT ─────────────────────────────────────────── */
.context-block {
  color: rgba(245, 223, 187, 0.85);
  line-height: 1.85;
}
.context-block a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(77, 255, 255, 0.3);
}
.context-block a:hover {
  border-color: var(--cyan);
}

/* ── TOOLS ───────────────────────────────────────────── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(245, 223, 187, 0.07);
  border: 1px solid rgba(245, 223, 187, 0.07);
}
.tool-item {
  background: var(--char);
  padding: 1.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.tool-cat {
  font-family: "Share Tech Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--teal);
  text-transform: uppercase;
}
.tool-name {
  font-size: 0.9rem;
  color: var(--cream);
  font-weight: 500;
}

/* ── TEAM — 16:9 rectangular cards ──────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
@media (max-width: 700px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.member-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.member-link {
  display: block;
  text-decoration: none;
  width: 100%;
}

.member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(15%) contrast(1.05);
  transition: filter 0.3s ease;
}
.team-card:hover .member-photo {
  filter: grayscale(0%) contrast(1.1);
}

.corner {
  position: absolute;
  width: 16px;
  height: 16px;
  z-index: 2;
  pointer-events: none;
}
.corner.tl {
  top: -3px;
  left: -3px;
  border-top: 2px solid var(--orange);
  border-left: 2px solid var(--orange);
}
.corner.tr {
  top: -3px;
  right: -3px;
  border-top: 2px solid var(--orange);
  border-right: 2px solid var(--orange);
}
.corner.bl {
  bottom: -3px;
  left: -3px;
  border-bottom: 2px solid var(--teal);
  border-left: 2px solid var(--teal);
}
.corner.br {
  bottom: -3px;
  right: -3px;
  border-bottom: 2px solid var(--teal);
  border-right: 2px solid var(--teal);
}

.team-card:hover .member-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 90, 19, 0.4);
  pointer-events: none;
}

.team-name {
  font-family: "Orbitron", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.05em;
  line-height: 1.4;
}
.team-role {
  font-family: "Share Tech Mono", monospace;
  font-size: 0.62rem;
  color: var(--cyan);
  letter-spacing: 0.2em;
}

/* ── FILES ───────────────────────────────────────────── */
.files-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.file-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 1.5rem;
  background: rgba(86, 44, 44, 0.2);
  border: 1px solid rgba(255, 90, 19, 0.15);
  text-decoration: none;
  color: var(--cream);
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.file-item:hover {
  background: rgba(255, 90, 19, 0.1);
  border-color: var(--orange);
}
.file-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.file-label {
  font-family: "Orbitron", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  border-top: 1px solid rgba(245, 223, 187, 0.07);
  padding: 2rem;
  text-align: center;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.65rem;
  color: rgba(245, 223, 187, 0.25);
  letter-spacing: 0.2em;
}

/* ── TERMINAL SEPARATOR ──────────────────────────────── */
.terminal-sep {
  font-family: "Share Tech Mono", monospace;
  font-size: 0.65rem;
  color: rgba(77, 255, 255, 0.2);
  letter-spacing: 0.15em;
  text-align: center;
  margin: -3rem 0 4rem;
}
