@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&family=DM+Mono:wght@400;500&display=swap');

:root {
  --bg: #0d1117;
  --surface: #161b22;
  --surface-2: #1c2330;
  --border: #21262d;
  --accent: #f78166;
  --accent-2: #79c0ff;
  --text: #e6edf3;
  --text-muted: #7d8590;
  --text-subtle: #484f58;
  --max-w: 980px;
  --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  font-family: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-size: 15px;
}

/* Subtle grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(247,129,102,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,129,102,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 36px auto;
  padding: 0 24px 48px;
}

/* ── HEADER ── */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

/* Accent bar on left edge */
.site-header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

.name {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--text);
  line-height: 1.2;
}

.title {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.02em;
  font-family: 'DM Mono', monospace;
}

.contact {
  text-align: right;
  flex-shrink: 0;
}

.contact p {
  margin: 4px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.contact a {
  color: var(--accent-2);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
}

.contact a:hover { color: var(--text); }

/* ── SUMMARY ── */
.summary {
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 14.5px;
  color: #c9d1d9;
  line-height: 1.7;
}

.summary h2 {
  font-size: 11px;
  font-family: 'DM Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 10px;
}

/* ── TWO COL LAYOUT ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 820px) {
  .two-col {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}

.left-col, .right-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── CARDS ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: var(--text-subtle);
}

.card h3 {
  font-size: 11px;
  font-family: 'DM Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.card ul {
  padding-left: 1.1rem;
  list-style: none;
}

.card ul li {
  position: relative;
  font-size: 13.5px;
  color: #c9d1d9;
  margin-bottom: 6px;
  line-height: 1.6;
  padding-left: 0.1rem;
}

.card ul li::before {
  content: '–';
  position: absolute;
  left: -1rem;
  color: var(--text-subtle);
}

/* ── EDUCATION ── */
.education p {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.5;
}

.education strong {
  color: var(--text);
  font-weight: 600;
}

/* ── CERTIFICATIONS ── */
.certifications li {
  font-size: 13.5px;
  color: #c9d1d9;
}

/* ── EXPERIENCE ── */
.experience h4 {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.experience p em {
  font-size: 12px;
  font-family: 'DM Mono', monospace;
  color: var(--accent-2);
  font-style: normal;
}

/* ── PROJECTS ── */
.project {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.project:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.project h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.project p {
  font-size: 11.5px;
  font-family: 'DM Mono', monospace;
  color: var(--accent-2);
  margin-bottom: 8px;
}

/* ── SKILLS ── */
.skill-list {
  list-style: none;
  padding: 0;
}

.skill-list li {
  font-size: 13px;
  color: #c9d1d9;
  margin-bottom: 8px;
  line-height: 1.6;
  padding: 0;
}

.skill-list li::before {
  display: none;
}

.skill-list strong {
  color: var(--text);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  font-family: 'DM Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

/* ── FOOTER ── */
.site-footer {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  font-family: 'DM Mono', monospace;
  color: var(--text-subtle);
}

#counter {
  color: var(--accent);
  font-weight: 500;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-subtle); }