:root {
  --bg: #0c0c0e;
  --surface: #141418;
  --text: #e8e6e3;
  --text-muted: #8a8884;
  --accent: #c4a574;
  --border: rgba(255, 255, 255, 0.08);
  --max-width: 720px;
  --font-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-sans: "IBM Plex Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.65;
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4rem;
}

.site-header {
  margin-bottom: 3rem;
}

.wordmark {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.section {
  margin: 0;
}

.section + .rule {
  margin-top: 2.5rem;
}

.rule {
  margin: 2.5rem 0;
  border: none;
  border-top: 1px solid var(--border);
}

.section-label {
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.lead {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.55;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.muted {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.portfolio-item {
  padding: 1.25rem 0 0;
}

.portfolio-name {
  margin: 0 0 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
}

.principal-name {
  margin: 0 0 0.4rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.site-footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .page {
    padding: 2.5rem 1.25rem 3rem;
  }

  .wordmark {
    font-size: 1.2rem;
  }

  .lead {
    font-size: 1.1rem;
  }
}
