:root {
  --bg: #0B0A09;
  --panel: #141821;
  --text: #e6e6e6;
  --muted: #a8b0bf;
  --accent: #f5f5f7;
  --pill-bg: rgba(138, 129, 124, 0.5);
  --pill-br: #8A817C;
  --link: #c6d3ff;
  --focus: #6ea8ff;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  background:
    radial-gradient(1500px 1100px at 100% -10%, #303635 0%, transparent 60%),
    radial-gradient(1100px 600px at 0% 100%, #303635 0%, transparent 60%),
    var(--bg);
  color: var(--text);
  font: 500 16px/1.6 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px);
  flex: 1;                          
  display: flex;
  align-items: center;              
  justify-content: center;          
}

.hero {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  object-fit: cover;
  border: 1px solid #222835;
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
}

.hi {
  font-size: clamp(18px, 3.2vw, 22px);
  color: var(--muted);
}

.title {
  font-size: clamp(36px, 6.2vw, 64px);
  line-height: 1.05;
  font-weight: 800;
  margin: 8px 0 18px 0;
  letter-spacing: -0.02em;
}

.lead {
  color: var(--muted);
  font-size: clamp(16px, 2.6vw, 20px);
  max-width: 800px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-weight: 650;
  letter-spacing: .01em;
  color: #d7def1;
}

.pill .em {
  font-size: 14px;
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
}
.pill:hover {
  border-color: #0077c8;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.contacts {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.contact {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
}

.contact a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dotted transparent;
}

.contact a:hover {
  color: var(--link);
  border-bottom-color: var(--link);
}

.ic {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  background: var(--pill-bg);
  border: 1px solid var(--pill-br);
  font-size: 12px;
  color: var(--muted);
}

.copy {
  margin-left: 6px;
  cursor: pointer;
  opacity: .75;
  border: 1px solid var(--pill-br);
  background: transparent;
  color: var(--muted);
  border-radius: 6px;
  padding: 2px 8px;
  line-height: 1.2;
  font: inherit;
}

.copy:hover { opacity: 1; }
.copy:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.spacer { height: 30vh; }

@media (max-width: 820px) {
  .hero { flex-direction: column; align-items: flex-start; }
  .avatar { width: 84px; height: 84px; border-radius: 16px; }
}

.pill-button {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 10px; /* pill shape */
  padding: 4px 10px;
  margin: 0 4px;
  transition: all 0.2s ease;
}

.pill-button:hover {
  border-color: #0077c8;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.pill-button img {
  height: 20px; /* adjust to match line height */
  width: auto;
}