:root {
  --color-bg: #fdfcfb;
  --color-text: #26241f;
  --color-text-muted: #6b6860;
  --color-accent: #b0492f;
  --color-border: #e8e4dd;
  --font-serif: "Source Serif 4", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 680px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* Bio: photo + intro */
.bio {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
}

.profile {
  position: sticky;
  top: 3rem;
}

.avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-border);
  box-shadow: 0 6px 24px rgba(38, 36, 31, 0.1);
}

.intro h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  letter-spacing: -0.01em;
}

.tagline {
  margin: 0 0 0.35rem;
  color: var(--color-text-muted);
  font-size: 1rem;
}

.location {
  margin: 0 0 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.intro p {
  margin: 0 0 1rem;
}

.intro p:last-of-type {
  margin-bottom: 0;
}

.icon-links {
  list-style: none;
  display: flex;
  gap: 1.1rem;
  padding: 0;
  margin: 1.5rem 0 0;
}

.icon-links a {
  display: inline-flex;
  color: var(--color-text-muted);
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

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

/* Fade divider between bio and selected work */
.fade-rule {
  height: 1px;
  margin: 0 0 3rem;
  background: linear-gradient(to right, transparent, var(--color-border) 15%, var(--color-border) 85%, transparent);
}

/* Selected Work */
.work h2 {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
}

.work-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.work-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.work-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
}

.work-item p {
  margin: 0;
  color: var(--color-text-muted);
}

.work-item p + p {
  margin-top: 0.6rem;
}

.work-item ul {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  color: var(--color-text-muted);
}

.work-item li {
  margin-bottom: 0.35rem;
}

.work-item li:last-child {
  margin-bottom: 0;
}

.work-item a {
  color: var(--color-accent);
  text-decoration: none;
  white-space: nowrap;
}

.work-item a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer a {
  color: var(--color-text-muted);
}

.footer a.email-button {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  color: var(--color-accent);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.footer a.email-button:hover {
  background-color: var(--color-accent);
  color: #fff;
}

.footer p {
  margin: 0 0 0.3rem;
}

.copyright {
  margin-bottom: 0 !important;
}

/* Responsive */
@media (max-width: 560px) {
  .page {
    padding: 3rem 1.25rem 3rem;
  }

  .bio {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile {
    position: static;
    width: 120px;
    margin: 0 auto;
  }

  .intro h1 {
    font-size: 1.7rem;
  }

  .intro p {
    text-align: left;
  }

  .icon-links {
    justify-content: center;
  }
}
