:root {
  --bg: #0d0d0d;
  --sidebar-bg: #141414;
  --content-bg: #0d0d0d;
  --card-bg: #1e1e1e;
  --border: #2a2a2a;

  --text: #f3f3f3;
  --muted: #a0a0a0;
  --accent: #ff9f43;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #161616, #0d0d0d 65%);
  color: var(--text);
  line-height: 1.7;
}

body.light {
  --bg: #ffffff;
  --sidebar-bg: #f5f5f5;
  --content-bg: #ffffff;
  --card-bg: #f9f9f9;
  --border: #e0e0e0;
  --text: #111;
  --muted: #555;
}


/* ================= LAYOUT ================= */

.resume {
  max-width: 1100px;
  margin: 64px auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  grid-template-rows: 1fr;
  min-height: calc(100vh - 128px);
  background: var(--content-bg);
}


/* ================= SIDEBAR ================= */

.sidebar {
  background: linear-gradient(180deg, #171717, #121212);
  padding: 48px 32px;
position: relative;
  border-right: 1px solid var(--border);
  height: auto;
}

.name {
  font-size: 2.8rem;
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 6px;
}

.role {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.sidebar-section {
  margin-bottom: 40px;
}

.sidebar-section h2 {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.sidebar-section p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 6px;
}

/* Skills / Tools lists */

.skill-list {
  list-style: none;
}

.skill-list li {
  background: linear-gradient(180deg, #232323, #1b1b1b);
  border: 1px solid var(--border);
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 8px;
}

/* ================= CONTENT ================= */

.content {
  padding: 56px 56px;
}

.content-section {
  margin-bottom: 64px;
}

.content-section h2 {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

/* ================= BLOCKS ================= */

.block {
  background: linear-gradient(180deg, #1f1f1f, #191919);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 30px;
  margin-bottom: 28px;
}

.block h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.block span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.block p {
  font-size: 0.95rem;
  color: var(--muted);
}

.block ul {
  padding-left: 18px;
}

.block ul li {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 6px;
}

/* ================= FOOTER ================= */

.footer {
  text-align: center;
  margin: 40px 0 24px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ================= ACCESSIBILITY ================= */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .resume {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .content {
    padding: 48px 28px;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
  }

  .resume {
    grid-template-columns: 280px 1fr;
    margin: 0;
    min-height: auto;
  }

  .sidebar,
  .content,
  .block {
    background: #fff;
    border: none;
  }

  .footer {
    display: none;
  }
}

