:root {
  --bg: #0f1115;
  --fg: #e7e9ee;
  --muted: #9aa3b2;
  --accent: #7aa2f7;
  --border: #232733;
  --max-width: 72ch;
  --radius: 10px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #fafafa;
    --fg: #1a1a1a;
    --muted: #555;
    --accent: #2240c4;
    --border: #e5e5e5;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 0;
}

.brand {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--fg);
}

.site-header nav a {
  margin-left: 1rem;
  color: var(--muted);
}
.site-header nav a:hover { color: var(--fg); text-decoration: none; }

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.hero {
  padding: 2rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}

.hero-image {
  margin: 0 0 2rem;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 3 / 2;
  background: var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (prefers-color-scheme: light) {
  .hero-image {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 0.5rem;
  line-height: 1.1;
}

.hero .tagline {
  color: var(--muted);
  font-size: 1.125rem;
  margin: 0;
}

.section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.section:last-of-type {
  border-bottom: 0;
}

.section h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.section-lede {
  color: var(--muted);
  margin: -0.5rem 0 1.25rem;
}

.dogs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.dogs-grid figure {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  background: var(--border);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.dogs-grid img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (prefers-color-scheme: light) {
  .dogs-grid figure {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 480px) {
  .dogs-grid {
    grid-template-columns: 1fr;
  }
}

.project-list, .contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-list li {
  padding: 0.6rem 0;
  line-height: 1.55;
}

.project-list li + li {
  border-top: 1px dashed var(--border);
}

.project-list a {
  font-weight: 600;
}

.project-wip {
  color: var(--fg);
  font-weight: 600;
  font-style: italic;
}

.contact-list li {
  display: grid;
  grid-template-columns: 6rem 1fr;
  padding: 0.4rem 0;
}

.contact-list .label {
  color: var(--muted);
  font-variant: all-small-caps;
  letter-spacing: 0.08em;
}

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}

.dot { margin: 0 0.5rem; }
