:root {
  color-scheme: dark;
  --ink: #f0eadf;
  --muted: #bdb2a2;
  --night: #10100f;
  --violet: #7c58a5;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

.portrait {
  min-height: calc(100vh - 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.8fr);
}

.portrait__image {
  min-height: 720px;
  margin: 0;
  overflow: hidden;
  background: #1a1917;
}

.portrait__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(0.92) contrast(1.03);
}

.portrait__words {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 112px);
  border-left: 1px solid rgba(240, 234, 223, 0.14);
  background:
    radial-gradient(circle at 20% 25%, rgba(124, 88, 165, 0.15), transparent 32rem),
    var(--night);
}

.eyebrow,
.role,
.note,
footer {
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--violet);
  font-size: 0.72rem;
  font-weight: 700;
}

.role {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 0.58rem;
  line-height: 1.5;
}

h1 {
  margin: 0;
  font-size: clamp(4.6rem, 9vw, 9.5rem);
  font-weight: 400;
  line-height: 0.76;
  letter-spacing: -0.065em;
}

.statement {
  margin: 56px 0 0;
  font-size: clamp(1.35rem, 2.5vw, 2.15rem);
  line-height: 1.25;
  font-style: italic;
}

.note {
  max-width: 35rem;
  margin: 48px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.65;
}

footer {
  min-height: 190px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 16px 24px;
  border-top: 1px solid rgba(240, 234, 223, 0.14);
  color: var(--muted);
  font-size: 0.62rem;
  text-align: center;
}

.footer__seal {
  width: 34px;
  height: auto;
  display: block;
}

.footer__words {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.footer__site {
  color: var(--ink);
  font-weight: 700;
}

.footer__mark {
  --mark-base: clamp(1.35rem, 2.25vw, 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--ink);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.055em;
}

.footer__mark-line {
  display: block;
  white-space: nowrap;
}

.footer__mark-line--primary {
  font-size: var(--mark-base);
}

.footer__mark-line--secondary {
  margin-top: 0.14em;
  font-size: calc(var(--mark-base) * 0.76);
}

.footer__mark-line--supporting {
  margin-top: 0.5em;
  color: var(--muted);
  font-size: calc(var(--mark-base) * 0.4);
  letter-spacing: 0.14em;
}

.footer__mark-line--last {
  margin-top: 0.2em;
}

.footer__mark sup {
  position: relative;
  top: -0.08em;
  margin-left: 0.15em;
  color: var(--ink);
  font-size: 0.72em;
}

@media (max-width: 820px) {
  .portrait {
    grid-template-columns: 1fr;
  }

  .portrait__image {
    min-height: 58vh;
  }

  .portrait__words {
    padding: 56px 28px 64px;
    border-left: 0;
    border-top: 1px solid rgba(240, 234, 223, 0.14);
  }

  h1 {
    font-size: clamp(4.5rem, 22vw, 7rem);
  }

  footer {
    flex-wrap: wrap;
    text-align: center;
  }

  .footer__words,
  .footer__mark {
    align-items: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .portrait__image img {
    animation: settle 1.3s ease-out both;
  }

  .portrait__words > * {
    animation: reveal 0.9s ease-out both;
  }

  .portrait__words > :nth-child(2) { animation-delay: 0.06s; }
  .portrait__words > :nth-child(3) { animation-delay: 0.12s; }
  .portrait__words > :nth-child(4) { animation-delay: 0.18s; }
  .portrait__words > :nth-child(5) { animation-delay: 0.24s; }
}

@keyframes settle {
  from { opacity: 0; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
