:root {
  --people-line: color-mix(in srgb, currentColor 18%, transparent);
  --people-soft: color-mix(in srgb, currentColor 5%, transparent);
  --people-accent: #f43f50;
}

.people-index,
.person-detail {
  padding: clamp(5rem, 10vw, 10rem) clamp(1.5rem, 8vw, 11rem);
}

.people-index > header {
  max-width: 72rem;
  margin-bottom: clamp(3rem, 7vw, 7rem);
}

.people-index > header h1,
.person-detail h1 {
  font-family: var(--premium-serif, Georgia, serif);
  font-size: clamp(5rem, 12vw, 12rem);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .78;
  margin: 1.2rem 0 2.4rem;
}

.people-index > header > p:last-child,
.person-detail header > div > p:last-child {
  color: var(--premium-muted, #777168);
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 1.35;
  max-width: 48rem;
}

.people-filter {
  align-items: end;
  border-block: 1px solid var(--people-line);
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto auto;
  margin-inline: calc(clamp(1.5rem, 8vw, 11rem) * -1);
  padding: 1.5rem clamp(1.5rem, 8vw, 11rem);
}

.people-filter label,
.people-form-grid label,
.people-admin-translations label,
.people-import label {
  color: var(--premium-muted, #777168);
  display: grid;
  font-size: .72rem;
  font-weight: 800;
  gap: .55rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.people-filter select,
.people-filter button,
.people-filter a,
.people-form-grid input,
.people-form-grid select,
.people-form-grid textarea,
.people-admin-translations input,
.people-admin-translations textarea,
.people-import input,
.people-import select,
.people-import textarea {
  background: transparent;
  border: 1px solid var(--people-line);
  border-radius: 0;
  color: inherit;
  min-height: 3.5rem;
  padding: .85rem 1rem;
}

.people-filter button,
.people-filter a,
.people-primary,
.people-consent-card form > button,
.people-publish button,
.people-publish a,
.people-import button {
  align-items: center;
  background: var(--premium-ink, #1d1c19);
  border: 1px solid var(--premium-ink, #1d1c19);
  color: var(--premium-paper, #f5f0e8);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 3.5rem;
  padding: .85rem 1.35rem;
  text-decoration: none;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.people-filter a {
  background: transparent;
  color: inherit;
}

.people-filter button:hover,
.people-primary:hover,
.people-publish button:hover:not(:disabled),
.people-publish a:hover {
  transform: translateY(-2px);
}

.people-archive-heading { align-items: end; border-bottom: 1px solid var(--people-line); display: flex; gap: 2rem; justify-content: space-between; padding: clamp(3rem, 6vw, 6rem) 0 2rem; }
.people-archive-heading h2 { font-family: var(--premium-serif, Georgia, serif); font-size: clamp(2.8rem, 6vw, 6rem); font-weight: 400; letter-spacing: -.045em; line-height: .95; margin: .5rem 0 0; }
.people-archive-heading nav { display: flex; flex-wrap: wrap; gap: .5rem; }
.people-archive-heading nav a { border: 1px solid var(--people-line); color: inherit; font-weight: 800; min-width: 4rem; padding: .7rem 1rem; text-align: center; text-decoration: none; }
.people-archive-heading nav a.is-active { background: var(--premium-ink, #1d1c19); color: var(--premium-paper, #f5f0e8); }

.people-feature {
  align-items: stretch;
  border-bottom: 1px solid var(--people-line);
  color: inherit;
  display: grid;
  grid-template-columns: minmax(18rem, .82fr) minmax(20rem, 1.18fr);
  min-height: min(70vh, 52rem);
  text-decoration: none;
}

.people-feature .people-portrait {
  min-height: 34rem;
}

.people-portrait {
  background: var(--people-soft);
  margin: 0;
  overflow: hidden;
}

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

.people-portrait-empty {
  align-items: center;
  display: flex;
  justify-content: center;
}

.people-portrait-empty span {
  color: color-mix(in srgb, currentColor 24%, transparent);
  font-family: var(--premium-serif, Georgia, serif);
  font-size: clamp(5rem, 14vw, 13rem);
}

.people-feature > div {
  align-self: center;
  padding: clamp(2.5rem, 7vw, 8rem);
}

.people-feature h2,
.people-row h2 {
  font-family: var(--premium-serif, Georgia, serif);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .92;
  margin: .8rem 0 2rem;
}

.people-feature > div > p:not(.premium-kicker) {
  color: var(--premium-muted, #777168);
  font-size: 1.2rem;
  line-height: 1.55;
  max-width: 40rem;
}

.people-feature > div > span {
  border-bottom: 1px solid currentColor;
  display: inline-block;
  font-weight: 800;
  margin-top: 2rem;
  padding-bottom: .5rem;
}

.people-list { margin-top: 0; }

.people-row {
  align-items: center;
  border-bottom: 1px solid var(--people-line);
  color: inherit;
  display: grid;
  gap: 2rem;
  grid-template-columns: 4rem minmax(0, 1fr) 9rem 2rem;
  min-height: 13rem;
  padding-block: 2rem;
  text-decoration: none;
}

.people-row > span,
.people-row > div > p {
  color: var(--people-accent);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.people-row h2 { font-size: clamp(2.3rem, 5vw, 5rem); margin: .45rem 0; }
.people-row small { color: var(--premium-muted, #777168); font-size: 1rem; }
.people-row img,
.people-row > b { height: 8rem; object-fit: cover; width: 8rem; }
.people-row > b { align-items: center; background: var(--people-soft); display: flex; font-family: var(--premium-serif, Georgia, serif); font-size: 2.5rem; font-weight: 400; justify-content: center; }
.people-row > i { font-size: 1.4rem; font-style: normal; transition: transform .25s ease; }
.people-row:hover > i { transform: translate(4px, -4px); }

.person-detail > .premium-back { display: inline-block; margin-bottom: clamp(4rem, 8vw, 8rem); }
.person-detail > header { align-items: center; display: grid; gap: clamp(3rem, 8vw, 9rem); grid-template-columns: minmax(18rem, .75fr) minmax(20rem, 1.25fr); }
.person-detail > header .people-portrait { aspect-ratio: 4 / 5; }
.person-detail h1 { font-size: clamp(4.5rem, 10vw, 10rem); }
.person-detail-grid { border-top: 1px solid var(--people-line); display: grid; gap: clamp(3rem, 8vw, 10rem); grid-template-columns: minmax(0, 1.35fr) minmax(17rem, .65fr); margin-top: clamp(4rem, 9vw, 9rem); padding-top: clamp(3rem, 6vw, 6rem); }
.person-prose { font-family: var(--premium-serif, Georgia, serif); font-size: clamp(1.5rem, 2.6vw, 2.4rem); line-height: 1.45; }
.person-prose p:first-child { margin-top: 0; }
.person-detail blockquote { border-left: 2px solid var(--people-accent); margin: 5rem 0 0; padding-left: 2rem; }
.person-detail blockquote p { font-family: var(--premium-serif, Georgia, serif); font-size: clamp(2rem, 4vw, 4rem); line-height: 1.08; }
.person-detail blockquote cite { color: var(--premium-muted, #777168); }
.person-detail aside > a { border-bottom: 1px solid var(--people-line); color: inherit; display: grid; gap: .4rem; padding: 1.25rem 0; text-decoration: none; }
.person-detail aside > a span { color: var(--people-accent); font-family: var(--premium-serif, Georgia, serif); font-size: 2.2rem; }
.person-detail aside > a small { color: var(--premium-muted, #777168); }

.people-admin { padding-bottom: 6rem; }
.people-admin-heading { align-items: end; }
.people-new-action {
  align-items: center;
  background: var(--premium-ink);
  border: 1px solid var(--premium-line);
  border-radius: 0;
  color: var(--premium-paper);
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 800;
  justify-content: center;
  min-height: 52px;
  min-width: 218px;
  padding: 0 24px;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.people-new-action:hover { background: var(--people-accent); border-color: var(--people-accent); color: #fff; transform: none; }
.people-new-action[aria-expanded="true"] { background: var(--people-accent); border-color: var(--people-accent); color: #fff; }
.people-create-panel {
  background: var(--people-soft);
  border: 1px solid var(--people-line);
  margin: 1.5rem 0;
  overflow: clip;
  padding: clamp(1.2rem, 2.5vw, 2rem);
}
.people-create-panel[hidden] { display: none; }
.people-create-panel > header { align-items: start; display: flex; gap: 2rem; justify-content: space-between; }
.people-create-panel > header h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); margin: .25rem 0 .45rem; }
.people-create-panel > header p:last-child { color: var(--premium-muted, #777168); margin: 0; max-width: 62ch; }
.people-create-panel > header button { align-items: center; background: transparent; border: 1px solid var(--people-line); color: inherit; display: flex; flex: 0 0 auto; font-size: 1.65rem; height: 2.75rem; justify-content: center; width: 2.75rem; }
.people-create-panel > form { align-items: end; border-top: 1px solid var(--people-line); display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; margin-top: 1.4rem; padding-top: 1.4rem; }
.people-create-panel > form label { display: grid; gap: .45rem; }
.people-create-panel > form .people-primary { margin: 0; min-height: 3.35rem; padding-inline: 1.25rem; width: auto; }
.people-admin-filter {
  align-items: end;
  border-block: 1px solid var(--people-line);
  display: grid;
  gap: .8rem;
  grid-template-columns: minmax(12rem, 1.2fr) repeat(2, minmax(10rem, 1fr)) auto auto;
  margin-top: 2rem;
  padding-block: 1rem;
}
.people-admin-filter label { color: var(--premium-muted, #777168); display: grid; font-size: .68rem; font-weight: 800; gap: .45rem; letter-spacing: .1em; text-transform: uppercase; }
.people-admin-filter select { background: transparent; border: 1px solid var(--people-line); border-radius: 0; color: inherit; min-height: 3rem; padding: .7rem .85rem; width: 100%; }
.people-admin-filter button,
.people-admin-filter a { align-items: center; border: 1px solid var(--premium-ink, #1d1c19); display: inline-flex; font-weight: 800; justify-content: center; min-height: 3rem; padding: .7rem 1rem; text-decoration: none; }
.people-admin-filter button { background: var(--premium-ink, #1d1c19); color: var(--premium-paper, #f5f0e8); }
.people-admin-filter a { color: inherit; }
.people-admin-workspace { align-items: start; display: grid; gap: 1.5rem; grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr); margin-top: 2rem; }
.people-admin-list { border: 1px solid var(--people-line); position: sticky; top: 6.5rem; }
.people-admin-list a { border-bottom: 1px solid var(--people-line); color: inherit; display: grid; gap: .3rem; padding: 1rem 1.15rem; text-decoration: none; transition: background .2s ease, padding .2s ease; }
.people-admin-list a:last-child { border-bottom: 0; }
.people-admin-list a:hover,
.people-admin-list a.is-active { background: var(--people-soft); padding-left: 1.5rem; }
.people-admin-list span { color: var(--people-accent); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.people-admin-list small { color: var(--premium-muted, #777168); }
.people-admin-no-results { color: var(--premium-muted, #777168) !important; display: block; padding: 1.5rem; text-transform: none !important; }
.people-admin-editor { min-width: 0; }
.people-editor-heading { align-items: center; border-bottom: 1px solid var(--people-line); display: flex; justify-content: space-between; margin-bottom: 1rem; padding: 0 .25rem 1rem; }
.people-editor-heading h2 { font-size: clamp(2rem, 4vw, 4rem); margin: .25rem 0 0; }
.people-editor-close { align-items: center; border: 1px solid var(--people-line); color: inherit; display: flex; font-size: 2rem; height: 3rem; justify-content: center; text-decoration: none; width: 3rem; }
.people-admin-card { border: 1px solid var(--people-line); margin-bottom: 1rem; padding: clamp(1.15rem, 2.6vw, 2.4rem); }
.people-admin-card > h3,
.people-admin-card > header h3 { font-size: 1.25rem; margin: 0 0 1.5rem; }
.people-relations ul { list-style: none; margin: 0; padding: 0; }
.people-relations li { align-items: center; border-top: 1px solid var(--people-line); display: grid; gap: 1rem; grid-template-columns: 4rem 1fr; padding: 1rem 0; }
.people-relations li > span { color: var(--people-accent); font-family: var(--premium-serif, Georgia, serif); font-size: 1.8rem; }
.people-relations li > div { display: grid; gap: .25rem; }
.people-relations small,
.people-relations > p { color: var(--premium-muted, #777168); }
.people-form-grid,
.people-admin-translations fieldset { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.people-span-2 { grid-column: 1 / -1; }
.people-check { align-items: center; display: flex !important; grid-template-columns: auto 1fr; padding-top: 1.8rem; }
.people-check input { min-height: auto; }
.people-admin-translations > header { align-items: center; display: flex; justify-content: space-between; }
.people-admin-translations [role="tablist"] { display: flex; }
.people-admin-translations [role="tab"] { background: transparent; border: 1px solid var(--people-line); color: inherit; min-width: 3.1rem; padding: .7rem; }
.people-admin-translations [role="tab"].is-active { background: var(--premium-ink, #1d1c19); color: var(--premium-paper, #f5f0e8); }
.people-admin-translations fieldset { border: 0; margin: 1.5rem 0 0; padding: 0; }
.people-admin-translations legend { position: absolute; visibility: hidden; }
.people-admin-portrait { align-items: center; border-top: 1px solid var(--people-line); display: flex; gap: 1rem; margin: 1.5rem 0 0; padding-top: 1.5rem; }
.people-admin-portrait img { height: 6rem; object-fit: cover; width: 5rem; }
.people-primary { margin-bottom: 1rem; width: 100%; }
.people-consent-card > header p { color: var(--premium-muted, #777168); margin: -.8rem 0 1.5rem; }
.people-scope-grid { display: grid; gap: .5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 1.5rem; }
.people-scope-grid label { align-items: center; border: 1px solid var(--people-line); display: flex; gap: .6rem; padding: .7rem; }
.people-consent-card form > button { margin-top: 1rem; }
.people-consent-card details { border-top: 1px solid var(--people-line); margin-top: 2rem; padding-top: 1.5rem; }
.people-consent-card summary,
.people-import summary { cursor: pointer; font-weight: 800; }
.people-consent-row { align-items: start; border-bottom: 1px solid var(--people-line); display: flex; gap: 1rem; justify-content: space-between; padding: 1.2rem 0; }
.people-consent-row div { display: grid; gap: .35rem; }
.people-consent-row span,
.people-consent-row small,
.people-consent-row p { color: var(--premium-muted, #777168); }
.people-consent-row p { font-size: .85rem; margin: .4rem 0 0; }
.people-danger { background: transparent !important; border-color: var(--people-accent) !important; color: var(--people-accent) !important; min-height: 2.5rem !important; }
.people-publish { align-items: start; display: flex; gap: 2rem; justify-content: space-between; }
.people-publish ul { color: var(--people-accent); font-size: .85rem; margin: 1rem 0 0; padding-left: 1.2rem; }
.people-publish > div:last-child { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.people-publish form { margin: 0; }
.people-publish button:disabled { cursor: not-allowed; opacity: .35; }
.people-ready { color: #2e7d52; font-weight: 800; }
.people-admin-empty { align-items: center; border: 1px solid var(--people-line); color: var(--premium-muted, #777168); display: flex; justify-content: center; min-height: 25rem; padding: 3rem; }
.people-import { border: 1px solid var(--people-line); margin: 1.5rem 0 0 calc(22rem + 1.5rem); padding: 1.5rem; }
.people-import form { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.5rem; }
.people-import form label:nth-of-type(3),
.people-import form label:nth-of-type(4) { grid-column: 1 / -1; }
.people-import ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.people-import li { border-top: 1px solid var(--people-line); display: grid; gap: .2rem; padding: 1rem 0; }
.people-import li span,
.people-import li small { color: var(--premium-muted, #777168); }

@media (max-width: 900px) {
  .people-feature,
  .person-detail > header,
  .person-detail-grid { grid-template-columns: 1fr; }
  .people-feature .people-portrait { min-height: 28rem; }
  .people-row { grid-template-columns: 3rem minmax(0, 1fr) 5rem; }
  .people-row > i { display: none; }
  .people-row img,
  .people-row > b { height: 5rem; width: 5rem; }
  .people-admin-workspace { grid-template-columns: 1fr; }
  .people-admin-heading { align-items: stretch; }
  .people-new-action { width: 100%; }
  .people-create-panel > form { grid-template-columns: 1fr 1fr; }
  .people-create-panel > form .people-primary { grid-column: 1 / -1; width: 100%; }
  .people-admin-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people-admin-list { display: flex; overflow-x: auto; position: static; }
  .people-admin-list a { border-bottom: 0; border-right: 1px solid var(--people-line); flex: 0 0 14rem; }
  .people-import { margin-left: 0; }
}

@media (max-width: 620px) {
  .people-create-panel > form { grid-template-columns: 1fr; }
  .people-create-panel > header { gap: 1rem; }
  .premium-admin-page.people-admin {
    max-width: 100%;
    overflow: hidden;
    padding: 3rem 1.25rem 5rem;
    width: 100%;
  }
  .people-admin,
  .people-admin * { min-width: 0; }
  .people-admin .premium-admin-heading,
  .people-admin .premium-admin-heading > div { display: block; max-width: 100%; width: 100%; }
  .people-admin .premium-admin-heading h1 {
    font-size: clamp(2.6rem, 13vw, 3.25rem);
    line-height: 1;
    overflow-wrap: anywhere;
  }
  .people-admin .premium-admin-heading p { overflow-wrap: anywhere; }
  .people-admin-filter > *,
  .people-admin-filter button,
  .people-admin-filter a { max-width: 100%; width: 100%; }
  .people-index,
  .person-detail { padding: 5rem 1.1rem; }
  .people-index > header h1,
  .person-detail h1 {
    font-size: clamp(4rem, 20vw, 5.5rem);
    overflow-wrap: anywhere;
  }
  .people-filter { grid-template-columns: 1fr; margin-inline: -1.1rem; padding-inline: 1.1rem; }
  .people-admin-filter { grid-template-columns: 1fr; }
  .people-feature { display: block; min-height: 0; }
  .people-archive-heading { align-items: start; display: grid; }
  .people-feature .people-portrait { aspect-ratio: 4 / 5; min-height: 0; }
  .people-feature > div { padding: 2.2rem 0 3.5rem; }
  .people-row { gap: 1rem; grid-template-columns: 2.2rem minmax(0, 1fr); min-height: 0; padding: 1.6rem 0; }
  .people-row img,
  .people-row > b { display: none; }
  .people-form-grid,
  .people-admin-translations fieldset,
  .people-import form { grid-template-columns: 1fr; }
  .people-span-2,
  .people-import form label:nth-of-type(3),
  .people-import form label:nth-of-type(4) { grid-column: auto; }
  .people-scope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people-publish { display: block; }
  .people-publish > div:last-child { justify-content: stretch; margin-top: 1.5rem; }
  .people-publish a,
  .people-publish form,
  .people-publish button { width: 100%; }
}

[data-theme="dark"] .people-filter button,
[data-theme="dark"] .people-admin-filter button,
[data-theme="dark"] .people-primary,
[data-theme="dark"] .people-consent-card form > button,
[data-theme="dark"] .people-publish button,
[data-theme="dark"] .people-publish a,
[data-theme="dark"] .people-import button,
[data-theme="dark"] .people-admin-translations [role="tab"].is-active {
  background: #f3efe7;
  border-color: #f3efe7;
  color: #171614;
}

@media (prefers-reduced-motion: reduce) {
  .people-row > i,
  .people-filter button,
  .people-primary,
  .people-publish button,
  .people-publish a { transition: none; }
}
