:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #575a61;
  --border: #e5e7eb;
  --accent: #2563eb;
  --site-font: "Segoe UI", "Segoe UI Variable", "Segoe UI Variable Text", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body,
button {
  font-family: var(--site-font);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

h1,
h2 {
  margin: 0 0 12px;
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
}

h2 {
  font-size: 1.3rem;
  margin-top: 36px;
}

.profile-photo-frame {
  width: 180px;
  height: 180px;
  border-radius: 10px;
  overflow: hidden;
  margin: 14px 0 14px 0;
  background: transparent;
}

.profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 0;
}

p {
  margin: 0;
  color: var(--muted);
  max-width: 65ch;
  font-weight: 400;
}

.project-item,
.skill-item,
.contact-item {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
}

.projects-list,
.skills-list,
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.project-title,
.skill-title,
.contact-title {
  font-weight: 600;
  color: var(--text);
}

.project-desc,
.skill-desc,
.contact-desc {
  display: block;
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 4px;
}

.mobile-break {
  display: none;
}

.desktop-break {
  display: inline;
}

.email-link {
  color: inherit;
  text-decoration: none;
}

.email-link:hover,
.email-link:focus {
  text-decoration: underline;
}

.email-reveal-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
}

.site-footer {
  padding-top: 42px;
  font-size: 0.50rem;
  color: var(--muted);
  text-align: center;
}

.highlight {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 600px) {
  .desktop-break {
    display: none;
  }

  .mobile-break {
    display: inline;
  }
}
