:root {
  --bg: #0b0d10;
  --panel: #15181c;
  --panel-2: #1b1f24;
  --line: #2a2e33;
  --text: #c9cdd3;
  --text-dim: #7a828c;
  --amber: #ffb454;
  --green: #5fd97a;

  --display: "Oswald", sans-serif;
  --body: "Inter", sans-serif;
  --mono: "JetBrains Mono", monospace;
}

* { box-sizing: border-box; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(ellipse 80% 40% at 50% -10%, rgba(255, 180, 84, 0.07), transparent);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

/* ---- Header ---- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-full {
  height: 44px;
  width: auto;
  display: block;
  border-radius: 6px;
  filter: drop-shadow(0 4px 12px rgba(255, 180, 84, 0.3));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
}

.brand:hover .brand-logo-full,
.brand:focus-visible .brand-logo-full {
  transform: scale(1.04);
  filter: drop-shadow(0 6px 18px rgba(255, 180, 84, 0.55));
}

/* ---- Hero ---- */

.hero {
  padding: 4.5rem 0 5rem;
  max-width: 720px;
}

.hero-eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: 0.005em;
  color: var(--text);
  margin: 0 0 1.5rem;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
  max-width: 56ch;
}

/* ---- Categories ---- */

.category {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.category-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: var(--text);
  margin: 0 0 1.75rem;
}

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

/* ---- Cards ---- */

.card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.card:hover {
  background: var(--panel-2);
  border-color: rgba(255, 180, 84, 0.3);
  transform: translateY(-2px);
}

.card-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--text);
  margin: 0;
}

.card-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0;
  flex: 1;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}

.card-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.card-status--pilot .dot {
  background: var(--amber);
}

.card-visit {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

.card:hover .card-visit,
.card-visit:focus-visible {
  color: var(--amber);
}

.card-visit:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

/* ---- Footer ---- */

.site-footer {
  margin-top: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.site-footer a {
  color: var(--text-dim);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--amber);
}

/* ---- Responsive ---- */

@media (max-width: 640px) {
  .site-header { padding: 1.5rem 0; }
  .hero { padding: 3rem 0 3rem; }
  .category { padding: 2.25rem 0; }
  .grid { grid-template-columns: 1fr; }
}
