:root {
  color-scheme: dark;
  --bg: #070806;
  --panel: rgba(10, 12, 10, 0.78);
  --line: rgba(224, 175, 104, 0.32);
  --text: #f4f1e8;
  --muted: #b7aa95;
  --accent: #e0af68;
  --green: #88c0a8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

#signal-field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background:
    linear-gradient(rgba(224, 175, 104, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 175, 104, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 70% 20%, rgba(65, 166, 181, 0.18), transparent 34%),
    #070806;
  background-size: 44px 44px, 44px 44px, auto, auto;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 56px;
}

.hero {
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 780px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  margin-top: 18px;
  font-size: clamp(56px, 9vw, 118px);
  line-height: 0.94;
  font-weight: 800;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  background: rgba(7, 8, 6, 0.64);
}

.actions a:first-child {
  background: var(--accent);
  color: #1b1308;
  border-color: var(--accent);
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.status-strip div {
  padding: 20px;
  background: rgba(7, 8, 6, 0.86);
}

.status-strip span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.status-strip strong {
  display: block;
  margin-top: 8px;
  color: var(--accent);
  font-size: 18px;
}

.section {
  padding-top: 72px;
}

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

.section h2 {
  color: var(--accent);
  font-size: 28px;
}

.section-head p {
  color: var(--muted);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.project-grid article {
  min-height: 188px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(12px);
}

.project-grid h3 {
  color: var(--text);
  font-size: 19px;
}

.project-grid p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.project-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  color: var(--accent);
  text-decoration: none;
  background: rgba(7, 8, 6, 0.72);
  font-family: "Cascadia Mono", "DejaVu Sans Mono", monospace;
  font-size: 14px;
}

@media (max-width: 900px) {
  .project-grid,
  .status-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 22px, 1120px);
    padding-top: 36px;
  }

  .hero {
    min-height: 62vh;
  }

  .hero p {
    font-size: 17px;
  }

  .status-strip,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 8px;
  }
}
