:root {
  color-scheme: light;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #f5f1f4;
  color: #171717;
}

* { box-sizing: border-box; }

body {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #171717;
  color: #fff;
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 3vw, 2.75rem) clamp(1.5rem, 6vw, 6rem);
}

.brand {
  display: block;
  flex: 0 0 auto;
  width: clamp(9rem, 15vw, 13rem);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
}

nav a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-button {
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  background: #171717;
  color: #fff;
}

.page-intro {
  padding: clamp(7rem, 14vw, 13rem) clamp(1.5rem, 8vw, 8rem);
  text-align: center;
}

.eyebrow {
  margin: 0 0 1.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.06em;
}

h1 {
  margin: 0;
  font-size: clamp(3.6rem, 9vw, 8.5rem);
  line-height: 0.92;
}

.profile-list {
  border-top: 1px solid rgba(23, 23, 23, 0.18);
}

.profile {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(3rem, 9vw, 9rem);
  padding: clamp(5rem, 10vw, 10rem) max(6vw, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(23, 23, 23, 0.18);
}

.profile--reverse .portrait-frame {
  grid-column: 2;
  grid-row: 1;
}

.profile--reverse .profile-copy {
  grid-column: 1;
  grid-row: 1;
}

.portrait-frame {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #ddd4d9;
  box-shadow: 0 2rem 5rem rgba(40, 27, 34, 0.16);
}

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

.profile-number {
  margin: 0 0 1.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.profile h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.94;
}

.role {
  margin: 1.5rem 0 1.25rem;
  font-weight: 800;
}

.profile-bio {
  max-width: 42rem;
  margin-bottom: 0;
  color: #555;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.75;
}

.profile-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.25rem;
  margin-top: 2rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid #53e4e8;
  border-radius: 999px;
  background: #53e4e8;
  color: #080a0f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.profile-action:hover,
.profile-action:focus-visible {
  background: #fff;
  color: #080a0f;
  transform: translateY(-2px);
}

nav a:focus-visible,
.brand:focus-visible,
.profile-action:focus-visible,
footer a:focus-visible {
  outline: 3px solid #171717;
  outline-offset: 6px;
}

.nav-button:focus-visible { outline-color: #6bdde1; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem clamp(1.5rem, 6vw, 6rem);
  color: #555;
  font-size: 0.82rem;
}

footer p { margin: 0; }

@media (max-width: 700px) {
  .site-header { align-items: flex-start; }
  nav { align-items: flex-end; flex-direction: column; gap: 0.85rem; }
  .profile { grid-template-columns: 1fr; gap: 3rem; }
  .profile--reverse .portrait-frame,
  .profile--reverse .profile-copy { grid-column: 1; }
  .profile--reverse .portrait-frame { grid-row: 1; }
  .profile--reverse .profile-copy { grid-row: 2; }
  .portrait-frame { width: min(100%, 28rem); margin: 0 auto; }
}

@media (max-width: 540px) {
  .brand { width: 8.5rem; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .skip-link { transition: none; }
  .profile-action { transition: none; }
}
