:root {
  color-scheme: dark;
  --background: #090b10;
  --surface: #10141c;
  --text: #f2f4f7;
  --muted: #9098a7;
  --accent: #77e2b4;
  --border: rgba(255, 255, 255, 0.1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(70, 113, 100, 0.16), transparent 32rem),
    var(--background);
}

.shell { width: min(90vw, 780px); padding: 5rem 0; }
.profile { transition: opacity 350ms ease, transform 350ms ease; }
.profile.is-hidden { position: absolute; opacity: 0; transform: translateY(-1rem); pointer-events: none; }

.logo {
  display: block;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 24px rgba(119, 226, 180, 0.12));
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font: 600 0.78rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 { margin: 0; font-size: clamp(2.6rem, 8vw, 5.8rem); line-height: 0.98; letter-spacing: -0.055em; }
.intro { margin: 2rem 0; color: #cbd0d8; font-size: clamp(1.05rem, 2.2vw, 1.35rem); line-height: 1.65; }

.interests { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
.interests li { padding: 0.48rem 0.7rem; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; font-size: 0.82rem; }
.terminal { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: rgba(8, 11, 15, 0.94); box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45); }
.terminal[hidden] { display: none; }
.terminal-bar { position: relative; display: flex; gap: 7px; align-items: center; height: 42px; padding: 0 14px; background: var(--surface); border-bottom: 1px solid var(--border); }
.terminal-bar span { width: 10px; height: 10px; border-radius: 50%; background: #ff665c; }
.terminal-bar span:nth-child(2) { background: #e7bd52; }
.terminal-bar span:nth-child(3) { background: #55c56a; }
.terminal-bar p { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--muted); font: 0.72rem ui-monospace, monospace; }
.terminal-screen { min-height: 430px; padding: clamp(1.25rem, 4vw, 2.2rem); color: #c9d1d9; font: 0.9rem/1.65 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; }
.terminal-line { margin: 0; }
.terminal-line.accent { color: var(--accent); }
.terminal-line.dim { color: var(--muted); }
.cursor::after { content: "█"; margin-left: 0.2em; color: var(--accent); animation: blink 1s steps(1) infinite; }
noscript { position: fixed; bottom: 1rem; color: var(--muted); font-size: 0.75rem; }

@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 520px) { .shell { padding: 2.5rem 0; } .logo { width: 68px; height: 68px; } .terminal-screen { min-height: 390px; font-size: 0.78rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } }
