:root {
  --v2-ink: #f4f2ed;
  --v2-muted: #a9aca3;
  --v2-canvas: #131512;
  --v2-surface: #1b1e1a;
  --v2-surface-strong: #222620;
  --v2-line: #343a32;
  --v2-accent: #d9f75f;
  --v2-accent-muted: #7f9141;
  --v2-display: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --v2-body: Inter, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--v2-canvas);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--v2-ink);
  background: var(--v2-canvas);
  font-family: var(--v2-body);
}

a {
  color: inherit;
}

.v2-page {
  min-height: 100vh;
}

.v2-hero,
.v2-directory,
.v2-footer,
.v2-detail-header,
.v2-detail-shell {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding-right: 28px;
  padding-left: 28px;
}

.v2-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.v2-masthead {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 68px;
  border-bottom: 1px solid var(--v2-line);
  color: var(--v2-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.v2-masthead a {
  color: var(--v2-ink);
  text-decoration: none;
}

.v2-masthead__meta {
  display: flex;
  gap: 14px;
  align-items: center;
}

.v2-masthead__meta span:last-child {
  color: var(--v2-accent);
}

.v2-hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 32px;
  align-items: end;
  padding: 66px 0 46px;
}

.v2-kicker {
  margin: 0 0 16px;
  color: var(--v2-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.v2-hero h1 {
  max-width: 760px;
  margin: 0;
  font: 500 5.25rem / 0.9 var(--v2-display);
  letter-spacing: 0;
}

.v2-hero__lede {
  max-width: 390px;
  margin: 0 0 10px;
  color: var(--v2-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.v2-directory {
  padding-bottom: 60px;
}

.v2-controls {
  position: sticky;
  z-index: 5;
  top: 0;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--v2-line);
  border-bottom: 1px solid var(--v2-line);
  background: rgba(19, 21, 18, 0.95);
  backdrop-filter: blur(14px);
}

.v2-search input {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid #4a5147;
  border-radius: 999px;
  color: var(--v2-ink);
  background: var(--v2-surface);
  font: inherit;
}

.v2-search input::placeholder {
  color: #7e837a;
}

.v2-search input:focus-visible,
.v2-filters button:focus-visible,
.v2-card__link:focus-visible,
.v2-back-link:focus-visible,
.v2-detail__links a:focus-visible {
  outline: 2px solid var(--v2-accent);
  outline-offset: 3px;
}

.v2-filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.v2-filters button {
  min-height: 35px;
  padding: 0 11px;
  border: 1px solid #444b41;
  border-radius: 999px;
  color: var(--v2-muted);
  background: transparent;
  cursor: pointer;
  font: 700 0.72rem var(--v2-body);
}

.v2-filters button[aria-pressed="true"] {
  color: #192116;
  border-color: var(--v2-accent);
  background: var(--v2-accent);
}

.v2-visible-count {
  margin: 0;
  color: var(--v2-muted);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.v2-profile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 168px;
  gap: 8px;
  padding-top: 22px;
}

.v2-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #2f352e;
  border-radius: 8px;
  background: var(--v2-surface-strong);
}

.v2-card--tall {
  grid-row: span 2;
}

.v2-card__link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
}

.v2-card__link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  filter: grayscale(1) contrast(1.1);
  transform: scale(1.001);
  transition: filter 180ms ease, transform 180ms ease;
}

.v2-card__link:hover img {
  filter: grayscale(0.2) contrast(1.04);
  transform: scale(1.035);
}

.v2-card__overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  min-height: 72px;
  flex-direction: column;
  justify-content: end;
  padding: 30px 14px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 11, 10, 0.9) 68%, rgba(10, 11, 10, 0.98) 100%);
}

.v2-card__field {
  margin: 0 0 4px;
  color: #d6dcc9;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.v2-card__name {
  margin: 0;
  color: #ffffff;
  font: 600 1.35rem / 1 var(--v2-display);
  letter-spacing: 0;
}

.v2-card__link:hover .v2-card__name {
  color: var(--v2-accent);
}

.v2-empty-state {
  padding: 78px 0;
  color: var(--v2-muted);
  text-align: center;
}

.v2-footer {
  padding-bottom: 42px;
  color: #7f857b;
  font-size: 0.75rem;
  line-height: 1.55;
}

.v2-footer p {
  max-width: 760px;
  margin: 0;
}

.v2-detail-header {
  padding-bottom: 10px;
}

.v2-detail-shell {
  padding-top: 22px;
  padding-bottom: 72px;
}

.v2-back-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--v2-accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.v2-detail-profile {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(340px, 1.05fr);
  gap: 42px;
  margin-top: 24px;
  align-items: start;
}

.v2-detail-profile__image {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid #30362f;
  border-radius: 8px;
  background: var(--v2-surface);
}

.v2-detail-profile__image img {
  display: block;
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(1) contrast(1.08);
}

.v2-detail-profile__image figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 8px;
  border-radius: 999px;
  color: #dce2d4;
  background: rgba(13, 15, 13, 0.86);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.v2-detail__field {
  margin: 0 0 12px;
  color: var(--v2-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.v2-detail__title {
  margin: 0;
  color: var(--v2-ink);
  font: 500 4.5rem / 0.92 var(--v2-display);
  letter-spacing: 0;
}

.v2-detail__lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: #f0eee8;
  font: 500 1.45rem / 1.35 var(--v2-display);
}

.v2-detail__bio {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--v2-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.v2-detail__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.v2-detail__links a {
  color: var(--v2-accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.v2-detail__links a:hover {
  text-decoration: underline;
}

.v2-detail__note {
  max-width: 660px;
  margin: 34px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--v2-line);
  color: #858b82;
  font-size: 0.76rem;
  line-height: 1.55;
}

.v2-not-found {
  max-width: 600px;
  padding-top: 56px;
}

.v2-not-found h1 {
  margin: 0 0 14px;
  font: 500 3.2rem / 0.95 var(--v2-display);
}

.v2-not-found p {
  margin: 0 0 20px;
  color: var(--v2-muted);
  line-height: 1.6;
}

@media (max-width: 1000px) {
  .v2-hero__content {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 52px;
  }

  .v2-controls {
    grid-template-columns: 1fr;
  }

  .v2-filters {
    justify-content: start;
  }

  .v2-profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v2-detail-profile {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 680px) {
  .v2-hero,
  .v2-directory,
  .v2-footer,
  .v2-detail-header,
  .v2-detail-shell {
    padding-right: 18px;
    padding-left: 18px;
  }

  .v2-masthead {
    min-height: 58px;
    font-size: 0.68rem;
  }

  .v2-masthead__meta {
    gap: 9px;
  }

  .v2-hero__content {
    padding: 44px 0 34px;
  }

  .v2-hero h1 {
    font-size: 3.4rem;
    line-height: 0.94;
  }

  .v2-profile-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
    gap: 7px;
    padding-top: 16px;
  }

  .v2-card--tall {
    grid-row: span 1;
  }

  .v2-card__name {
    font-size: 1.45rem;
  }

  .v2-detail__title {
    font-size: 3.3rem;
  }

  .v2-detail__lead {
    font-size: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v2-card__link img {
    transition: none;
  }

  .v2-card__link:hover img {
    transform: none;
  }
}
