:root {
  --bg: #071014;
  --panel: #0b171c;
  --panel-2: #0f2026;
  --text: #e7f1f3;
  --muted: #90a5aa;
  --line: rgba(255,255,255,.09);
  --cyan: #70d7df;
  --green: #8be2b1;
  --blue: #7da6ff;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(112, 215, 223, .10), transparent 32rem),
    radial-gradient(circle at 85% 18%, rgba(125, 166, 255, .08), transparent 28rem),
    linear-gradient(180deg, #061014 0%, #081419 55%, #071014 100%);
  line-height: 1.6;
}
a { color: inherit; }
.shell { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }
.site-header { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand {
  display: inline-flex; align-items: center; gap: .8rem;
  text-decoration: none; font-weight: 700; letter-spacing: .02em;
}
.brand-mark {
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.16);
  border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(112,215,223,.11), rgba(139,226,177,.05));
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .8rem; color: var(--green);
}
.nav-note {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .82rem;
}
.hero { padding: 6.5rem 0 4rem; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  gap: 4.5rem; align-items: center;
}
.eyebrow {
  margin: 0 0 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--cyan); text-transform: uppercase; letter-spacing: .16em;
  font-size: .76rem; font-weight: 700;
}
h1 { margin: 0; font-size: clamp(3.4rem, 8vw, 7rem); line-height: .95; letter-spacing: -.055em; }
.lede {
  margin: 1.6rem 0 0; max-width: 650px; color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}
.terminal {
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: rgba(7, 18, 22, .82); box-shadow: 0 34px 90px rgba(0,0,0,.28);
}
.terminal-bar {
  display: flex; align-items: center; gap: .45rem; padding: .85rem 1rem;
  border-bottom: 1px solid var(--line); background: rgba(255,255,255,.025);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.22); }
.terminal-title {
  margin-left: .5rem; color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .78rem;
}
.terminal-body {
  padding: 1.3rem 1.25rem 1.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9rem;
}
.prompt { color: var(--green); }
.command { color: var(--text); }
.output { color: var(--muted); margin: .35rem 0 1rem; }
.cursor {
  display: inline-block; width: .62em; height: 1.05em; vertical-align: -.15em;
  background: var(--cyan); opacity: .75;
}
.projects { padding: 3rem 0 6rem; }
.section-head {
  display: flex; justify-content: space-between; gap: 1rem;
  align-items: end; margin-bottom: 1.5rem;
}
.section-head h2 { margin: 0; font-size: clamp(1.7rem, 4vw, 2.8rem); letter-spacing: -.035em; }
.section-head p { margin: 0; color: var(--muted); font-size: .92rem; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card {
  min-height: 180px; padding: 1.4rem; border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.026), rgba(255,255,255,.012));
}
.card .tag {
  display: inline-block; margin-bottom: 1rem; color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .75rem; text-transform: uppercase; letter-spacing: .12em;
}
.card h3 { margin: 0 0 .5rem; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: .94rem; }
.about { padding: 1rem 0 6rem; }
.about-box {
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem;
}
.about-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--green); font-size: .82rem;
}
.about-text { margin: 0; color: var(--muted); max-width: 760px; font-size: 1.03rem; }
.site-footer { padding: 1.5rem 0 2.5rem; color: rgba(255,255,255,.38); font-size: .82rem; }
.footer-row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .grid { grid-template-columns: 1fr 1fr; }
  .about-box { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .shell { width: min(calc(100% - 1.2rem), var(--max)); }
  .nav-note { display: none; }
  .hero { padding-top: 4.5rem; }
  .grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(3.2rem, 18vw, 5.2rem); }
}
