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

:root {
  --surface: #0a0a0a;
  --surface-light: #141414;
  --text-primary: #e5e5e5;
  --text-secondary: #737373;
  --text-muted: #525252;
  --border: #1a1a1a;
}

html {
  background-color: var(--surface);
  color: var(--text-primary);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  max-width: 640px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}

/* --- Header --- */

.header {
  margin-bottom: 64px;
}

.header__identity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.header__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  filter: grayscale(100%);
  object-position: -12px center;
}

.header__name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.header__title {
  font-size: 14px;
  color: var(--text-secondary);
}

.header__bio {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.header__bio p + p {
  margin-top: 16px;
}

.header__bio em {
  color: var(--text-primary);
  font-style: italic;
}

/* --- Links --- */

a {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: var(--text-muted);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

a:hover {
  text-decoration-color: var(--text-primary);
}


/* --- Section --- */

.section {
  margin-bottom: 80px;
}

.section__heading {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* --- Experience list --- */

.experience-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.experience-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.experience-item__role {
  font-size: 14px;
  color: var(--text-primary);
  white-space: nowrap;
}

.experience-item__line {
  flex: 1;
  border-bottom: 1px dashed var(--text-muted);
  position: relative;
  top: -4px;
  min-width: 20px;
}

.experience-item__date {
  font-size: 14px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* --- Skills --- */

.skills-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  font-size: 14px;
  color: var(--text-primary);
}

/* --- Now --- */

.now-text {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.7;
}

.now-text + .now-text {
  margin-top: 16px;
}

/* --- Connect --- */

.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.connect-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.connect-link {
  font-size: 14px;
}

.connect-link .arrow {
  color: var(--text-muted);
  text-decoration: none;
  display: inline-block;
}

/* --- Responsive --- */

@media (max-width: 480px) {
  body {
    padding: 48px 20px 80px;
  }

  .connect-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .skills-list {
    grid-template-columns: 1fr;
  }

  .experience-item {
    flex-wrap: wrap;
    gap: 4px;
  }

  .experience-item__line {
    display: none;
  }

  .experience-item__date {
    width: 100%;
    font-size: 13px;
  }
}
