:root {
  color-scheme: dark;
  --ink: #171714;
  --paper: #eee9de;
  --rust: #a34427;
  --muted: #b8b3aa;
  --line: rgba(255, 255, 255, 0.22);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

main {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 47vw) 1fr;
}

.portrait {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #0d0d0c;
}

.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 62%, rgba(23, 23, 20, 0.35)),
    linear-gradient(0deg, rgba(23, 23, 20, 0.42), transparent 40%);
  pointer-events: none;
}

.portrait img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center 26%;
  filter: contrast(1.03);
}

.portrait > p {
  position: absolute;
  z-index: 1;
  left: 28px;
  bottom: 22px;
  margin: 0;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 7vw, 110px);
}

.eyebrow {
  margin: 0 0 22px;
  color: #d98566;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(70px, 8.2vw, 132px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.78;
}

.roles {
  margin: 42px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.roles.en {
  margin-top: 5px;
  color: var(--muted);
  font-weight: 400;
}

.status {
  margin: 42px 0 30px;
  padding: 22px 0;
  display: flex;
  gap: 14px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.status > span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--rust);
  box-shadow: 0 0 0 6px rgba(163, 68, 39, 0.16);
}

.status h2,
.status p {
  margin: 0;
}

.status h2 {
  font: 400 clamp(21px, 2vw, 30px) / 1.15 Georgia, "Times New Roman", serif;
}

.status p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.intro {
  max-width: 670px;
  margin: 0;
  color: #ded9cf;
  font: 18px/1.5 Georgia, "Times New Roman", serif;
}

.intro.en {
  margin-top: 7px;
  color: var(--muted);
  font-size: 16px;
}

nav {
  margin-top: 35px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

nav a {
  min-height: 77px;
  padding: 17px 16px 15px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

nav a:nth-child(odd) {
  border-right: 1px solid var(--line);
}

nav a:nth-child(even) {
  padding-left: 18px;
}

nav a:hover,
nav a:focus-visible {
  color: #e58a68;
}

nav a:focus-visible {
  outline: 2px solid #e58a68;
  outline-offset: 4px;
}

nav strong {
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

nav small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

footer {
  margin-top: 35px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

footer p {
  margin: 0;
}

footer strong {
  color: white;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer a {
  display: inline-block;
  min-height: 24px;
  line-height: 24px;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  main {
    grid-template-columns: 1fr;
  }

  .portrait {
    min-height: 62vh;
  }

  .content {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .content {
    padding: 52px 24px 64px;
  }

  h1 {
    font-size: clamp(62px, 23vw, 94px);
  }

  nav {
    grid-template-columns: 1fr;
  }

  nav a:nth-child(odd) {
    border-right: 0;
  }

  nav a:nth-child(even) {
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
