/* MatthewAcuff.com — modernized 2026, preserving the original look:
   black background, warm off-white text, Helvetica, understated links. */

:root {
  --bg: #000;
  --ink: #fffbf0;
  --ink-dim: #999;
  --ink-faint: #a6a6a1;
  --quote: #ffff99;
  --rule: #444;
  --table-rule: #222;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

.page {
  max-width: 60rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 3rem;
}

a { color: var(--ink); font-weight: bold; text-decoration: none; }
a:visited { color: #ccc; }
a:hover, a:focus-visible { color: #fff; text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--ink-dim); outline-offset: 2px; }

/* ---------- shared header / nav ---------- */

.site-header .wordmark {
  font-size: 1.4rem;
  margin: 0 0 0.75rem;
}
.site-header .wordmark a { font-weight: bold; }
.site-header .wordmark .subtitle {
  color: var(--ink-dim);
  font-weight: bold;
  font-size: 1rem;
  margin-left: 0.5rem;
  white-space: nowrap;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 2.5rem;
}
.site-nav a[aria-current="page"] {
  color: var(--ink-dim);
  pointer-events: none;
}
.site-header hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0.75rem 0 1.5rem;
}

/* ---------- home (poster layout, after the original) ---------- */

.home {
  min-height: 100svh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 2rem 1.25rem;
}
.home .name {
  font-size: 1.6rem;
  margin: 0 0 1.25rem;
  letter-spacing: 0.02em;
}
.home .portrait-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 3rem;
}
.home img {
  max-width: min(309px, 70vw);
  height: auto;
  display: block;
}
.home nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  text-align: center;
  font-size: 1.1rem;
}
.home .subtitle {
  color: var(--ink-dim);
  font-weight: bold;
  margin-top: 1.25rem;
}
@media (max-width: 540px) {
  .home .portrait-row { flex-direction: column; gap: 1.5rem; align-items: center; }
  .home nav ul { flex-direction: row; flex-wrap: wrap; gap: 1rem 2rem; justify-content: center; }
}

/* ---------- content ---------- */

main h1 { font-size: 1.35rem; margin: 0 0 1rem; }
main h2 { font-size: 1.1rem; margin: 2rem 0 0.5rem; }

.lede { font-size: 1.15rem; }

blockquote.review {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: var(--quote);
  max-width: 34rem;
  margin: 2rem auto;
  padding: 0;
  text-align: center;
}
blockquote.review footer {
  font-style: normal;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* roles table */
.table-scroll { overflow-x: auto; }
table.roles {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0;
}
table.roles th, table.roles td {
  border: 1px solid var(--table-rule);
  padding: 0.4rem 0.6rem;
  text-align: left;
  vertical-align: top;
}
table.roles th {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: bold;
}

/* bio */
.bio-layout { display: flex; gap: 2rem; align-items: flex-start; }
.bio-layout .bio-text { flex: 1 1 30rem; min-width: 0; }
.bio-layout aside {
  flex: 0 0 auto;
  width: min(310px, 38vw);
  text-align: center;
}
.bio-layout aside img { max-width: 100%; height: auto; }
.bio-layout aside figure { margin: 0 0 2rem; }
@media (max-width: 700px) {
  .bio-layout { flex-direction: column; }
  .bio-layout aside { width: 100%; max-width: 340px; align-self: center; }
}
.bio-text ul { padding-left: 1.25rem; }
.bio-text li { margin-bottom: 0.35rem; }

/* galleries */
figure.still {
  margin: 0 auto 3rem;
  text-align: center;
}
figure.still img {
  max-width: 100%;
  height: auto;
}
figcaption, .caption {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-top: 0.5rem;
}
.headshot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}
.headshot-grid img { max-width: min(310px, 44vw); height: auto; }

.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center;
  margin: 3rem 0 2rem;
}

/* listen */
ul.recordings { list-style: none; padding: 0; }
ul.recordings li { margin-bottom: 2rem; }
ul.recordings .title { display: block; margin-bottom: 0.4rem; }
ul.recordings audio { width: 100%; max-width: 34rem; display: block; }
ul.recordings .download { font-size: 0.85rem; font-weight: normal; color: var(--ink-faint); }

/* contact */
.contact-card {
  text-align: center;
  margin: 4rem auto;
  font-size: 1.15rem;
}
.contact-card p { margin: 1.25rem 0; }

/* pacelli archive */
.thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 0.5rem;
}
.thumb-grid a { display: block; line-height: 0; }
.thumb-grid img { width: 100%; height: 96px; object-fit: cover; }
.thumb-caption {
  grid-column: 1 / -1;
  font-size: 0.9rem;
  color: var(--ink-faint);
  margin: 1.5rem 0 0.25rem;
}

footer.site-footer {
  margin-top: 4rem;
  font-size: 0.8rem;
  color: var(--ink-dim);
  text-align: center;
}
