:root {
  --panel: #141414;
  --panel-text: #d5f8c4;
  --text: #1f1d1a;
  --muted: #53504a;
  --accent: #0a6f4b;
  --link: #9b2d30;
  --line: #cdbfa9;
  --daily-bg-image: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  background: #f3efe7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: var(--daily-bg-image);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(244, 239, 232, 0.78)),
    repeating-linear-gradient(45deg, rgba(243, 239, 231, 0.42) 0 14px, rgba(230, 221, 208, 0.32) 14px 28px);
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(7px);
  background: rgba(243, 239, 231, 0.88);
  border-bottom: 1px solid var(--line);
}

.terminal-banner {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 0.98rem;
  background: var(--panel);
  color: var(--panel-text);
  padding: 0.65rem 1rem;
  white-space: nowrap;
  overflow-x: auto;
}

.cursor {
  display: inline-block;
  width: 0.6ch;
  height: 1.1em;
  vertical-align: -0.1em;
  background: var(--panel-text);
  animation: blink 1s steps(1, end) infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

.menu {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.8rem 1rem;
}

.menu a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.menu a:hover,
.menu a.active { color: var(--accent); }

main {
  max-width: 950px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.panel {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem;
}

h1 { margin-top: 0; line-height: 1.2; }

.project-list { display: grid; gap: 1rem; }
.project-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.85);
}

a { color: var(--link); }
