:root {
  color-scheme: light;
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #111;
  background: #fff;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
a { color: inherit; }

.site-header, .site-footer { background: #050505; color: #fff; }
.site-header { min-height: 72px; }
.header-inner {
  width: min(100% - 48px, 1310px);
  min-height: 72px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { font-size: 17px; font-weight: 700; white-space: nowrap; }
.back-link {
  color: #c9c9c9;
  font-size: 13px;
  line-height: 1.35;
  text-align: right;
  text-decoration: none;
}
.back-link:hover, .back-link:focus-visible { color: #fff; text-decoration: underline; }
.profile {
  min-height: calc(100svh - 112px);
  display: flex;
  align-items: center;
}
.profile-inner {
  width: min(100% - 64px, 1000px);
  margin: 0 auto;
  padding: 72px 0;
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(0, 380px);
  grid-template-areas: "identity portrait" "biography portrait";
  column-gap: 52px;
  align-items: center;
}
.identity { grid-area: identity; align-self: end; }
.eyebrow {
  margin: 0 0 26px;
  color: #777;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-size: clamp(42px, 4.2vw, 58px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0;
}
.other-name { margin: 10px 0 0; color: #777; font-size: 26px; line-height: 1.3; }
.biography { grid-area: biography; align-self: start; padding-top: 26px; }
.biography p { margin: 0 0 34px; color: #333; font-size: 19px; line-height: 1.72; }
.biography p:last-child { margin-bottom: 0; }
.biography a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.biography a:hover, .biography a:focus-visible { color: #000; }
.portrait {
  grid-area: portrait;
  align-self: center;
  display: flex;
  align-items: end;
  margin: 72px 0 0;
}
.portrait picture { display: block; width: 100%; }
.portrait img { display: block; width: 100%; height: auto; }
.site-footer { min-height: 40px; display: flex; align-items: center; justify-content: center; }
.site-footer a { color: #a9a9a9; font-size: 11px; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: #fff; text-decoration: underline; }

@media (max-width: 760px) {
  .site-header, .header-inner { min-height: 64px; }
  .header-inner { width: min(100% - 36px, 1310px); }
  .brand { font-size: 13px; }
  .back-link { max-width: 150px; font-size: 11px; }
  .profile { min-height: calc(100svh - 96px); }
  .profile-inner {
    width: min(100% - 40px, 560px);
    padding: 48px 0 56px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "identity" "portrait" "biography";
    gap: 0;
  }
  .eyebrow { margin-bottom: 18px; font-size: 12px; }
  h1 { font-size: clamp(36px, 9vw, 48px); }
  .other-name { font-size: 19px; }
  .portrait { width: min(74%, 310px); margin: 34px auto 0; }
  .biography { padding-top: 34px; }
  .biography p { margin-bottom: 22px; font-size: 16px; line-height: 1.75; }
  .site-footer { min-height: 32px; }
}
@media (max-width: 390px) {
  .brand span { display: block; }
  .back-link { max-width: 125px; }
}
