:root {
  --bg: #f6f2ed;
  --ink: #1c1b1a;
  --muted: #6b635d;
  --accent: #0033a0;
  --card: #ffffff;
  --border: #e6ded6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #fbf7f2 0%, var(--bg) 55%, #efe6df 100%);
  line-height: 1.55;
}

.container {
  width: min(960px, 92%);
  margin: 0 auto;
}

.site-header {
  padding: 72px 0 40px;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 16px 30px rgba(0, 51, 160, 0.2);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin: 0 0 8px;
}

.title {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.icon {
  width: 14px;
  height: 14px;
  background-color: var(--accent);
  display: inline-block;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.icon-email {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 5h18a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2zm0 2v.5l9 5.5 9-5.5V7H3zm18 10V9.2l-8.5 5.2a1 1 0 0 1-1 0L3 9.2V17h18z'/></svg>");
}

.icon-linkedin {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.94 8.5H4.18V20h2.76V8.5zM5.56 4a1.6 1.6 0 1 0 0 3.2A1.6 1.6 0 0 0 5.56 4zM20 13.1c0-2.4-1.28-4.3-3.74-4.3-1.8 0-2.9 1-3.4 1.9h-.04V8.5H10.1c.04 1.4 0 11.5 0 11.5h2.76v-6.4c0-.34.02-.68.12-.92.26-.68.86-1.4 1.86-1.4 1.32 0 1.86 1 1.86 2.5V20H20v-6.9z'/></svg>");
}

.icon-github {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 .5a11.5 11.5 0 0 0-3.64 22.4c.58.1.8-.24.8-.54v-2c-3.25.72-3.94-1.4-3.94-1.4-.54-1.36-1.3-1.72-1.3-1.72-1.06-.72.08-.7.08-.7 1.18.08 1.8 1.2 1.8 1.2 1.04 1.8 2.74 1.28 3.4.98.1-.76.4-1.28.72-1.58-2.6-.3-5.34-1.3-5.34-5.8 0-1.28.46-2.34 1.2-3.16-.12-.3-.52-1.52.12-3.16 0 0 1-.32 3.3 1.2a11.5 11.5 0 0 1 6 0c2.3-1.52 3.3-1.2 3.3-1.2.64 1.64.24 2.86.12 3.16.76.82 1.2 1.88 1.2 3.16 0 4.52-2.74 5.5-5.36 5.78.42.36.78 1.06.78 2.14v3.16c0 .3.2.66.8.54A11.5 11.5 0 0 0 12 .5z'/></svg>");
}

.actions {
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(156, 59, 47, 0.25);
}

.btn:hover {
  filter: brightness(1.05);
}

.contact a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.contact span {
  color: var(--muted);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 26px;
  margin: 18px 0;
  box-shadow: 0 20px 40px rgba(60, 40, 20, 0.08);
}

h2 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.item {
  padding: 8px 0 4px;
}

.item + .item {
  border-top: 1px solid var(--border);
  margin-top: 14px;
  padding-top: 16px;
}

.item-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}

.item-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

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

ul {
  margin: 10px 0 0 18px;
  padding: 0;
}

.site-footer {
  padding: 32px 0 60px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 600px) {
  .site-header {
    padding: 56px 0 32px;
  }

  .card {
    padding: 20px;
  }

  .item-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
