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

:root {
  --bg: #0e0e0e;
  --surface: #161616;
  --border: #2a2a2a;
  --text: #e8e8e8;
  --muted: #888;
  --accent: #c8f0d0;
  --font: 'Inter', system-ui, sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 24px 80px;
  flex: 1;
}

/* Hero */
.hero {
  margin-bottom: 72px;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.portrait {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

h1 {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.role {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* About */
.about {
  margin-bottom: 72px;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}

.about p {
  font-size: 1rem;
  color: #c0c0c0;
  margin-bottom: 1.4em;
}

.about p:last-child {
  margin-bottom: 0;
}

/* Contact */
.contact {
  border-top: 1px solid var(--border);
  padding-top: 48px;
}

h2 {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}

.field {
  margin-bottom: 24px;
}

label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

input,
textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 300;
  padding: 12px 14px;
  transition: border-color 0.15s;
  outline: none;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: #444;
}

button {
  background: var(--accent);
  border: none;
  border-radius: 4px;
  color: #0e0e0e;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 12px 28px;
  transition: opacity 0.15s;
}

button:hover {
  opacity: 0.85;
}

/* Footer */
footer {
  text-align: center;
  padding: 32px 24px;
  font-size: 0.8rem;
  color: var(--border);
  border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 480px) {
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  h1 {
    font-size: 1.6rem;
  }
}
