:root {
  --bg: #000;
  --fg: #fff;
  --dim: #888;
  --line: #333;
  --accent: #00ff66;
  --display: 'Anton', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.6;
  padding: 4rem 2rem;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 720px;
  margin: 0 auto;
}

/* ─── typography ────────────────────────────────────────────────── */

h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: normal;
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: normal;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: 5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

p {
  margin-bottom: 1.25rem;
  max-width: 60ch;
}

a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent);
}

strong {
  font-weight: 700;
}

hr {
  border: none;
  border-top: 1px solid var(--fg);
  width: 4rem;
  margin: 2rem 0;
}

/* ─── hero ──────────────────────────────────────────────────────── */

.hero .tagline {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.dot {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

.contact-row {
  margin-top: 2rem;
}

/* ─── credits grid ──────────────────────────────────────────────── */

.credits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.credits-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.credit-placeholder {
  aspect-ratio: 1;
  background: #111;
  border: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dim);
  font-size: 0.8rem;
  text-align: center;
  padding: 0.5rem;
}

/* ─── demos grid ────────────────────────────────────────────────── */

.demos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.demos-grid iframe {
  width: 100%;
  height: 166px;
  border: none;
  display: block;
}

.demo-placeholder {
  aspect-ratio: 16/9;
  background: #111;
  border: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dim);
  font-size: 0.8rem;
  text-align: center;
  padding: 0.5rem;
}

/* ─── projects list ─────────────────────────────────────────────── */

.projects {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.projects li {
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: #0a0a0a;
}

.projects li:hover {
  border-color: var(--fg);
}

.projects li strong {
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  display: inline-block;
  margin-right: 0.75rem;
}

.proj-status {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dim);
  border: 1px solid var(--line);
  padding: 0.15rem 0.5rem;
  vertical-align: middle;
}

.projects li p {
  margin: 0.75rem 0;
  color: #ccc;
}

.projects li a {
  font-size: 0.9rem;
}

/* ─── footer ────────────────────────────────────────────────────── */

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

/* ─── mobile ────────────────────────────────────────────────────── */

@media (max-width: 600px) {
  body { padding: 2rem 1.25rem; }
  h2 { margin-top: 3.5rem; }
  .credits-grid { grid-template-columns: repeat(3, 1fr); }
  .demos-grid { grid-template-columns: 1fr; }
  .projects li strong { display: block; margin-bottom: 0.5rem; }
  .proj-status { margin-bottom: 0.5rem; }
}
