/* noska.net: dark, minimal, technical. These tokens are the base of the shared design system. */
:root {
  color-scheme: dark;
  --bg: #0A0C0F;
  --surface: #111419;
  --line: #1E232B;
  --ink: #E7EAEE;
  --muted: #8A93A0;
  --faint: #5B636F;
  --accent: #C4F135;          /* the one neon accent */
  --accent-ink: #0A0C0F;      /* text on accent */
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
/* Subtle dot grid that fades out downwards */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 0) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
}
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

a { color: inherit; text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }
.dim { color: var(--faint); }
.nw { white-space: nowrap; }

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: calc(28px + env(safe-area-inset-top, 0px)) 20px calc(40px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Top bar */
.bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 16px; font: 400 13px/1 var(--mono); }
.bar a { text-decoration: none; color: var(--muted); }
.bar a:hover { color: var(--ink); }
.bar .home { color: var(--ink); }
.bar nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }

/* Hero */
.hero { padding: clamp(64px, 14vh, 128px) 0 24px; }
h1 {
  margin: 0;
  font: 600 clamp(40px, 8vw, 64px)/1.02 var(--sans);
  letter-spacing: -0.035em;
}
.role { margin: 14px 0 0; font: 400 15px/1.5 var(--mono); color: var(--accent); }
.cursor {
  display: inline-block;
  width: 0.6em;
  height: 1.1em;
  margin-left: 4px;
  vertical-align: -0.2em;
  background: var(--accent);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.lead { margin: 22px 0 0; max-width: 56ch; font-size: 18px; color: var(--muted); }

/* Sections */
main { flex: 1; }
section + section { margin-top: 44px; }
h2 { margin: 0 0 12px; font: 500 13px/1 var(--mono); color: var(--muted); letter-spacing: 0.02em; }
.slash { color: var(--accent); }
section > p { margin: 0; max-width: 60ch; color: var(--muted); }
strong { color: var(--ink); font-weight: 600; }

.rows { margin: 0; border-top: 1px solid var(--line); }
.rows > div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.rows dt { font: 400 13px/1.7 var(--mono); color: var(--faint); }
.rows dd { margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font: 400 13px/1.4 var(--mono);
  color: var(--muted);
}

/* Footer */
.foot {
  display: flex;
  justify-content: space-between;
  margin-top: 72px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font: 400 12px/1 var(--mono);
  color: var(--muted);
}

@media (max-width: 520px) {
  .rows > div { grid-template-columns: 1fr; gap: 2px; }
  .lead { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor { animation: none; }
}
