/* Eureka Endeavors — dark vacuum-tube aesthetic.
   Palette derived from the logo: near-black ground, silver/off-white line work,
   warm filament amber as the only saturated accent. */

:root {
  --ink: #0a0a0b;
  --ink-raised: #131316;
  --ink-card: #17171b;
  --silver: #e8e6e1;
  --silver-dim: #9a978f;
  --line: #2c2c31;
  --filament: #f0a84b;
  --filament-soft: rgba(240, 168, 75, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--silver);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.65;
}

h1, h2, h3, .brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
}

a { color: var(--filament); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- header ---- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 2rem;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(6px);
  z-index: 10;
}

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 38px; width: 38px; object-fit: cover; border-radius: 6px; }
.brand-name { color: var(--silver); font-size: 1.35rem; font-weight: 600; letter-spacing: 0.02em; }

.site-header nav { display: flex; gap: 1.6rem; }
.site-header nav a {
  color: var(--silver-dim);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-header nav a:hover { color: var(--filament); text-decoration: none; }

/* ---- hero ---- */

.hero {
  text-align: center;
  padding: 5rem 1.5rem 4.5rem;
  background:
    radial-gradient(ellipse 60% 45% at 50% 30%, var(--filament-soft), transparent 70%),
    var(--ink);
}

.hero-logo {
  width: min(320px, 70vw);
  filter: drop-shadow(0 0 35px rgba(240, 168, 75, 0.25));
}

.tagline {
  margin: 2.2rem auto 0;
  max-width: 34rem;
  font-size: 1.18rem;
  color: var(--silver-dim);
}

.hero-cta {
  display: inline-block;
  margin-top: 2.4rem;
  padding: 0.65rem 1.6rem;
  border: 1px solid var(--filament);
  border-radius: 2rem;
  color: var(--filament);
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
}
.hero-cta:hover { background: var(--filament); color: var(--ink); text-decoration: none; }
.cta-arrow { display: inline-block; transition: transform 0.2s; }
.hero-cta:hover .cta-arrow { transform: translateX(3px); }

/* ---- section headings ---- */

section h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  color: var(--silver);
}

.rule { flex: 0 1 110px; height: 1px; background: linear-gradient(90deg, transparent, var(--line)); }
section h2 .rule:last-child { background: linear-gradient(270deg, transparent, var(--line)); }

/* ---- projects ---- */

.projects { padding: 4rem 2rem; max-width: 1180px; margin: 0 auto; }

.provenance {
  text-align: center;
  color: var(--silver-dim);
  font-size: 0.9rem;
  font-style: italic;
  margin: -1.4rem auto 2.2rem;
  max-width: 36rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.4rem;
}

.card {
  background: var(--ink-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--filament); transform: translateY(-3px); }

.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.8rem; }
.card h3 { font-size: 1.45rem; font-weight: 600; color: var(--silver); }

.status {
  flex-shrink: 0;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.18rem 0.6rem;
  border-radius: 1rem;
  border: 1px solid;
}
.status.live      { color: #7ed8a0; border-color: #2e5c41; background: rgba(126, 216, 160, 0.08); }
.status.poc       { color: var(--filament); border-color: #6b4a1e; background: var(--filament-soft); }
.status.dev       { color: #8fb8e8; border-color: #2d4a66; background: rgba(143, 184, 232, 0.08); }
.status.research  { color: #c5a3e8; border-color: #4d3a66; background: rgba(197, 163, 232, 0.08); }
.status.preprod   { color: #e8a3c2; border-color: #663a4f; background: rgba(232, 163, 194, 0.08); }
.status.shelved   { color: #9a978f; border-color: #3d3c38; background: rgba(154, 151, 143, 0.08); }
.status.concept   { color: #c5a3e8; border-color: #4d3a66; background: rgba(197, 163, 232, 0.08); }

.blurb { margin: 0.9rem 0 1.2rem; color: var(--silver-dim); font-size: 0.95rem; flex: 1; }

.card-foot { display: flex; flex-direction: column; gap: 0.7rem; }

.tech { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tech li {
  font-size: 0.72rem;
  color: var(--silver-dim);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.12rem 0.5rem;
  background: var(--ink-raised);
}

.visit { font-size: 0.88rem; }

/* ---- about ---- */

.about {
  padding: 4rem 2rem 5rem;
  max-width: 46rem;
  margin: 0 auto;
}
.about p { color: var(--silver-dim); margin-bottom: 1.1rem; }
.about em { color: var(--silver); font-style: italic; }

.bio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  margin-top: 2.5rem;
}

.bio {
  background: var(--ink-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem;
}
.bio h3 { font-size: 1.5rem; font-weight: 600; color: var(--silver); }
.bio-role {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--filament);
  margin: 0.2rem 0 0.8rem !important;
}
.bio p { font-size: 0.93rem; margin-bottom: 0; }
.bio-pending { border-style: dashed; }

/* ---- footer ---- */

.site-footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 2rem 1.5rem 2.5rem;
  color: var(--silver-dim);
  font-size: 0.85rem;
}
.footer-fine { margin-top: 0.4rem; font-size: 0.75rem; color: #6a675f; }

/* ---- small screens ---- */

@media (max-width: 600px) {
  .site-header { flex-direction: column; gap: 0.7rem; }
  .hero { padding-top: 3.2rem; }
  section h2 { font-size: 1.5rem; }
}
