:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #333333;
  --muted: #777777;
  --line: #eeeeee;
  --accent: #222222;
  /* Minimal accent is just dark gray/black */
  --max-width: 720px;
  /* Narrower reading column */
}

[data-theme="dark"] {
  --bg: #111111;
  --surface: #111111;
  --ink: #eeeeee;
  --muted: #999999;
  --line: #333333;
  --accent: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

h1,
h2,
h3 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  font-size: 2rem;
  margin-top: 3rem;
}

h2 {
  font-size: 1.25rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.5rem;
}

h3 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 0.2rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
  background: var(--line);
  text-decoration: none;
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

header.site-header {
  padding: 1.5rem 0;
  margin-bottom: 2rem;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 600;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.utility-actions {
  display: flex;
  gap: 0.5rem;
}

.utility-actions button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
}

.intro-links a {
  margin-right: 0.5rem;
  font-weight: 500;
}

.section {
  margin: 3rem 0;
}

ul.clean-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.clean-list li {
  margin-bottom: 1.5rem;
}

/* Helper to hide mobile menu stuff that we simplified away */
.hamburger {
  display: none;
}

.mail-btn {
  display: none;
}

footer {
  margin-top: 4rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.75rem;
  }

  .page {
    padding: 0 1rem;
  }
}

.hero {
  padding: 4rem 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 2rem;
  align-items: start;
}

.hero-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.hero-image:hover {
  filter: grayscale(0%);
}

.hero h1 {
  font-size: 2.2rem;
  margin-top: 0;
}

@media (max-width: 600px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-image {
    width: 100px;
    height: 100px;
    margin-bottom: 0.5rem;
  }
}