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

:root {
  --bg: #0a0a0b;
  --bg-secondary: #111113;
  --text: #e8e6e3;
  --text-muted: #9a9691;
  --accent: #d4a574;
  --accent-hover: #e8c9a0;
  --font-serif: 'Iowan Old Style', 'Palatino Linotype', 'URW Palladio L', P052, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

::selection {
  background-color: var(--accent);
  color: var(--bg);
}

main {
  flex: 1;
  max-width: 42rem;
  margin: 0 auto;
  padding: 10rem 2rem 6rem;
  width: 100%;
}

.name {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 6vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-left: -0.05em;
  margin-bottom: 0.25em;
}

.handle {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 3.5rem;
}

.main-line {
  font-size: 1.25rem;
  line-height: 1.5;
  max-width: 34rem;
  margin-bottom: 0.5rem;
}

.sub-line {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 4rem;
}

.creative {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 30rem;
  margin-bottom: 4rem;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: 4rem;
}

.links a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(212, 165, 116, 0.25);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.links a:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
}

footer {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem;
  width: 100%;
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  main {
    padding: 5rem 1.5rem 4rem;
  }

  .links {
    flex-direction: column;
    gap: 0.75rem;
  }

  footer {
    padding: 1.5rem;
  }
}
