/* Minimalist resume styling */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  color: #1f2933;
  background: radial-gradient(circle at top left, #1d4ed8 0, #0f172a 40%, #020617 100%);
}

main {
  max-width: 900px;
  margin: 2.5rem auto;
  padding: 2rem 1.5rem;
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.45);
}

.resume-header {
  text-align: center;
  margin-bottom: 1.8rem;
}

.resume-header h1 {
  margin: 0;
  font-size: 2.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resume-header .summary {
  margin: 0.6rem auto 0;
  max-width: 36rem;
  font-size: 0.98rem;
  color: #374151;
}

.resume-header p {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: #4b5563;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

section {
  margin-top: 1.75rem;
}

.section-visitor {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.95rem;
  color: #4b5563;
}

.visitor-label {
  font-weight: 600;
  margin-right: 0.25rem;
}

section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0f172a;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}

section h2::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #22c55e);
}

article + article {
  margin-top: 1rem;
}

article > header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

article > header p {
  margin: 0.25rem 0 0.5rem;
  font-size: 0.9rem;
  color: #6b7280;
}

ul {
  margin: 0.25rem 0 0;
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.4rem;
}

strong {
  font-weight: 600;
}

.resume-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.85fr;
  gap: 2rem;
}

.column {
  display: flex;
  flex-direction: column;
}

article {
  padding: 0.5rem 0.25rem;
  border-radius: 4px;
  transition: transform 160ms ease-out, box-shadow 160ms ease-out, background-color 160ms ease-out;
}

article:hover {
  background-color: #f9fafb;
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
}

@media (max-width: 640px) {
  main {
    margin: 1rem;
    padding: 1.5rem 1.1rem;
  }

  .resume-header h1 {
    font-size: 1.6rem;
  }

  .resume-header p {
    font-size: 0.9rem;
  }

  .resume-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

