:root {
  /* --bg: #f5f2ed;
  --text: #282723;
  --muted: #6b6a66;
  --accent: #f77e0d; */
  /* winter */
/* --bg: #1B2431;
  --text: #C9D6DF;
  --muted: #5B8FB9;
  --accent: #00C2D1; */
  /* frost neutral */
  /* --bg: #F2F4F5;
  --text: #1E1E1E;
  --muted: #8A929B;
  --accent: #4CB8B8; */
  /* main flow */
  --bg: #000;
  --text: #D6D9DC;
  --muted: #444B53;
  --accent: #5b8fb9;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Inter, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  background: transparent;
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  opacity: .9;
}
.nav a:hover,
.nav a[aria-current="page"] {
  opacity: 1;
}

.brand { font-weight: 700; }
.spacer { flex: 1; }

/* sections */
.section { margin: 28px 0; }

h1, h2, h3 { margin: .2em 0; }

/* project cards — flattened / retro look */
.card-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  justify-items: start;
}

.card {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.card h3 {
  display: inline-block;
  margin: 0 0 4px;
  border-bottom: 1px solid currentColor;
  line-height: 1.2;
}

.card a {
  color: var(--accent);
  text-decoration: underline;
}
.card a:hover { text-decoration: none; }

.desc {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.9em;
}

.site-footer {
  text-align: center;
  color: var(--muted);
  padding: 16px;
  margin-top: 40px;
}

#app {
  opacity: 1;
  transition: opacity .15s;
}
#app.is-loading { opacity: .35; }

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* collapsible stack section */
details > summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 20px;
  list-style: none;
  margin-bottom: 8px;
}
details > summary::-webkit-details-marker { display: none; }
details[open] > summary { opacity: 0.9; }
details h3 { margin: 16px 0 6px; font-size: 16px; }
details p { margin: 0 0 8px; }

.giffy {
  display: block;
  margin: 0 auto 24px;
  max-width: 100%;
  height: auto;
}

#app:focus { outline: none; }
