:root {
  --bg: #ffffff;
  --text: #0a0a0a;
  --muted: #666666;
  --faint: #eeeeee;
  --soft: #f7f7f7;
  --border: #e5e5e5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    "Space Grotesk",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  width: min(100%, 448px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 32px 20px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.brand,
.identity-name,
.role-company {
  font-weight: 600;
  letter-spacing: -0.01em;
}

nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

nav a,
.muted,
.role-title,
.role-period,
footer {
  color: var(--muted);
}

nav a,
.muted,
.role-title,
.role-period,
.social-links a,
footer,
.brand,
.identity-name {
  font-size: 14px;
}

nav a,
.role-company,
.social-links a {
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

nav a:hover,
.role-company:hover {
  color: var(--text);
}

.hero {
  display: grid;
  gap: 40px;
  padding: 64px 0;
}

.identity {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.avatar,
.role-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--soft);
}

.avatar {
  object-fit: cover;
}

.identity p,
.stats p,
.role p,
footer p,
.section-heading p,
.focus-copy p {
  margin: 0;
}

h1 {
  max-width: 672px;
  margin: 0;
  font-size: 48px;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.hero-copy {
  max-width: 576px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  height: 40px;
  align-items: center;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 500;
}

.primary-button {
  background: var(--text);
  color: white;
}

.primary-button:hover {
  background: #262626;
}

.secondary-button {
  border: 1px solid var(--border);
  color: #404040;
}

.secondary-button:hover,
.social-links a:hover {
  border-color: #d4d4d4;
  background: #fafafa;
  color: var(--text);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--border);
}

.stats > div {
  background: white;
  padding: 16px;
}

.stat-value {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.stat-label,
h2 {
  color: #737373;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.stat-label {
  margin-top: 4px;
}

.section-band {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-grid,
.links-section {
  display: grid;
  gap: 32px;
}

h2 {
  margin: 0;
}

.focus-copy {
  display: grid;
  gap: 20px;
}

.focus-copy > p {
  color: #171717;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.principles {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.principles li {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.work {
  padding: 40px 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-heading p {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.role-list {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.role {
  display: grid;
  gap: 16px;
  padding: 20px 0;
}

.role + .role {
  border-top: 1px solid var(--border);
}

.role-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  object-fit: contain;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.role-company::after {
  content: "↗";
  margin-left: 4px;
  color: #a3a3a3;
  font-size: 12px;
}

.role-title {
  margin-top: 4px;
}

.links-section {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-links a {
  display: inline-flex;
  height: 36px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 16px;
  color: #404040;
  font-weight: 500;
}

footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 0;
}
