:root {
  --bg: #0e0e0e;
  --panel: #161616;
  --ink: #d4d4d4;
  --muted: #737373;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #4ade80;
  --accent-dim: #166534;
  --soft: #262626;
  --mono: "SF Mono", "Fira Code", "Cascadia Code", "Consolas", monospace;
}

html {
  color-scheme: dark;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  min-height: 100vh;
  overflow: hidden;
}

h1, h2, h3 {
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
}

h2 {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: #fff;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: #86efac;
}

:focus-visible {
  outline-color: rgba(74, 222, 128, 0.4);
}

/* Shell / layout */
.shell {
  width: 95vw;
  min-height: 95vh;
  margin-inline: auto;
}

/* No topbar — hide any inherited header styles */
header { display: none; }

.terminal-intro {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 2.5vh 0;
  margin-bottom: 0;
}

.terminal-mount {
  height: 95vh;
  overflow: auto;
}

.terminal-mount .xterm {
  height: 100%;
  padding: 0;
}

.terminal-mount .xterm-viewport,
.terminal-mount .xterm-screen {
  background: transparent !important;
}

.terminal-mount .xterm-viewport {
  overflow-y: auto !important;
}

@media (max-width: 640px) {
  .shell {
    width: 100vw;
  }

  .terminal-intro {
    padding-inline: 0.75rem;
  }
}

/* Cards */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  box-shadow: none;
  margin-bottom: 1.5rem;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink);
}

.card p + p {
  margin-top: 0.9rem;
}

.section-sigil {
  color: var(--accent);
  margin-right: 0.5rem;
  font-weight: 400;
}

/* Projects */
.project-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--accent);
}

.project-link:hover {
  color: #86efac;
}

.project-desc {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.project-soon {
  cursor: default;
  color: var(--muted);
}

.soon-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent-dim);
  color: var(--accent);
}

.footer-space {
  display: none;
}
