:root {
  --cream: #F8F4EE;
  --ink: #111111;
  --plumcocoa: #6A4E57;
  --sage: #6C8B74;
  --content-max: 1200px; /* updated */
}

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  line-height: 1.6;
  position: relative;
}

/* Desktop: plum side bands only (top/bottom cream) */
@media (min-width: 900px) {
  body::before,
  body::after {
    content: "";
    position: fixed;
    top: 0; bottom: 0;
    width: max(0px, calc((100vw - var(--content-max)) / 2));
    background: var(--plumcocoa);
    pointer-events: none;
  }
  body::before { left: 0; }
  body::after  { right: 0; }
}

/* Header */
.site-header {
  margin-top: clamp(32px, 7vh, 80px);
  padding: 12px 20px 0;
  text-align: center;
  background: var(--cream);
}

@media (max-width: 899.98px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid #00000010;
  }
}

.site-header h1 {
  font-family: "Didot", "Bodoni 72", "Didot LT STD", "Bodoni MT", "Libre Bodoni", serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: clamp(2rem, 6vw, 3.2rem);
  margin: 0;
  color: var(--ink);
}

.tagline {
  margin: 6px auto 10px;
  color: #2b2b2b;
  font-size: 1rem;
}

/* Main content */
.content {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 20px 40px;
  text-align: center;
  background: var(--cream);
}

.subtle-rule {
  width: 72px;
  height: 2px;
  background: var(--plumcocoa);
  margin: 16px auto 20px;
  border-radius: 2px;
}

/* Social icons */
.social ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.social-link {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 50%;
  background: var(--plumcocoa);
  box-shadow: 0 0 0 1px #00000010;
  position: relative;
  transition: transform 120ms ease, box-shadow 120ms ease, outline-color 120ms ease;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.social-link svg { width: 28px; height: 28px; fill: var(--cream); }
.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px #00000014;
  outline-color: var(--sage);
}

/* About section (image left, text right) */
.about { margin-top: 28px; }
.about-inner {
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.headshot {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #d6d6d6; /* fallback if image hasn’t loaded */
  border: 4px solid var(--plumcocoa); /* new plum ring */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.summary {
  margin: 0;
  max-width: 65ch;
  text-align: left;
  color: #2a2323;
  font-size: 1.05rem;
  line-height: 1.6;
}

.reviews {
  margin-top: 48px;
  text-align: center;
}

h2 {
  font-family: "Didot", "Bodoni 72", "Libre Bodoni", serif;
  font-size: 1.8rem;
  margin-bottom: 24px;
  color: var(--ink);
}

.review {
  margin: 0 auto 24px;
  max-width: 700px;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #2a2323;
}

.credits {
  margin-top: 48px;
}

.credits-list {
  margin: 0 auto;          /* centers the column */
  max-width: 65ch;         /* same readable width as summary */
  padding-left: 1.25rem;   /* keeps bullets aligned with the column */
  text-align: left;        /* left-align text within the centered column */
  list-style: disc;
}

.credits-list li {
  margin: 0.4rem 0;
}

/* Stack nicely on smaller screens */
@media (max-width: 640px) {
  .about-inner { flex-direction: column; }
  .summary { text-align: center; max-width: 90%;}
}

/* Screen-reader-only utility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
