:root {
  --paper: #f3f1ec;
  --ink: #171717;
  --muted: #686761;
  --line: #c4c1ba;
  --max-blue: #471aff;
  --max-dark: #0d001a;
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
}
a:focus-visible { outline: 3px solid var(--max-blue); outline-offset: 4px; }

.hero { width: min(calc(100% - 64px), 1400px); min-height: 100svh; margin: 0 auto; padding: 26px 0 34px; }

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.author { display: flex; align-items: center; gap: 22px; color: inherit; text-decoration: none; }
.author__monogram {
  width: 52px; height: 52px; display: grid; place-items: center;
  color: #fff; background: var(--ink); font-size: 16px; font-weight: 800;
}
.author > span:last-child { display: grid; gap: 1px; }
.author strong { font-size: 17px; }
.author small, .masthead > p { margin: 0; color: var(--muted); font-size: 14px; }
.masthead > p { display: none; }

.hero__body { display: grid; gap: 28px; padding-top: 52px; }
.hero__copy { width: 100%; max-width: 700px; }
.eyebrow {
  margin: 0 0 18px; color: var(--max-blue); font-size: 16px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
}
h1 {
  max-width: 100%; margin: 0; font-family: "PT Serif", Georgia, serif;
  font-size: clamp(42px, 6vw, 56px); font-weight: 400;
  letter-spacing: -0.045em; line-height: 1.02;
}
h1 span { display: inline; }
h1 span + span::before { content: " "; }
.intro { max-width: 55ch; margin: 22px 0 0; font-size: 17px; line-height: 1.45; }

.topics { margin-top: 28px; }
.topics h2 { margin: 0 0 10px; font-size: 18px; letter-spacing: 0; text-transform: none; }
.topics ol { margin: 0; padding: 0; list-style: none; }
.topics li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 9px 0 11px; border-bottom: 1px solid #d2cfc8; }
.topic__number { color: var(--max-blue); font-size: 16px; font-weight: 700; line-height: 1.35; }
.topics li strong { display: block; margin-bottom: 2px; font-size: 16px; line-height: 1.3; }
.topics li p { margin: 0; font-size: 14px; line-height: 1.42; }
.closing {
  margin: 24px 0 0; padding: 6px 0 6px 18px; border-top: 0; border-left: 2px solid var(--max-blue);
  font-size: 15px; line-height: 1.45;
}
.closing strong { font-family: inherit; font-size: inherit; font-weight: 800; }

.cta {
  min-height: 62px; width: min(100%, 390px); margin-top: 28px; padding: 12px 18px;
  display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 12px;
  color: #fff; background: var(--max-dark); text-decoration: none; font-size: 15px; font-weight: 800;
}
.cta img { display: block; width: 28px; height: 28px; }

.portrait { width: min(100%, 530px); margin: 0 auto; align-self: start; }
.portrait > img {
  width: 100%; aspect-ratio: 3 / 4; display: block; object-fit: cover; object-position: 50% 35%;
}
.portrait figcaption {
  display: flex; justify-content: space-between; gap: 12px; padding-top: 8px;
  margin-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.4;
}
.portrait figcaption span:last-child { text-align: right; }

@media (min-width: 900px) {
  .hero { min-height: 100svh; }
  .masthead > p { display: block; }
  .hero__body {
    grid-template-columns: minmax(0, 700px) minmax(360px, 530px);
    justify-content: space-between;
    align-items: start;
    gap: clamp(48px, 10vw, 170px);
    padding-top: 52px;
  }
  h1 { font-size: clamp(46px, 3.8vw, 56px); }
  h1 span { display: block; white-space: nowrap; }
  h1 span + span::before { content: none; }
  .portrait { width: 100%; max-width: 530px; }
  .portrait > img { max-height: 728px; }
}

@media (max-height: 800px) and (min-width: 900px) {
  .hero { min-height: 680px; padding-top: 14px; padding-bottom: 18px; }
  .hero__body { padding-top: 24px; gap: clamp(32px, 5vw, 72px); }
  h1 { font-size: 42px; line-height: 0.96; }
  .intro { margin-top: 10px; font-size: 14px; line-height: 1.32; }
  .topics { margin-top: 12px; }
  .topics h2 { margin-bottom: 5px; font-size: 14px; }
  .topics li { grid-template-columns: 38px 1fr; gap: 8px; padding: 4px 0 5px; }
  .topic__number { font-size: 12px; }
  .topics li strong { font-size: 12px; }
  .topics li p { font-size: 12px; line-height: 1.25; }
  .closing { margin-top: 10px; padding: 4px 0 4px 10px; font-size: 12px; line-height: 1.3; }
  .cta { min-height: 48px; margin-top: 12px; padding-top: 7px; padding-bottom: 7px; }
  .portrait { max-width: 370px; }
  .portrait > img { max-height: 500px; }
}

@media (max-width: 899px) {
  .hero { width: min(calc(100% - 32px), 680px); padding-bottom: 48px; }
  .hero__body { padding-top: 28px; }
  .author { gap: 12px; }
  .author__monogram { width: 42px; height: 42px; font-size: 13px; }
  .author strong { font-size: 14px; }
  .author small { font-size: 11px; }
  .portrait { width: 100%; margin: 28px auto 0; }
  .portrait > img {
    height: min(78vw, 300px);
    aspect-ratio: auto;
    object-position: 50% 35%;
  }
  .portrait figcaption { margin-top: 12px; font-size: 10px; }
}

@media (min-width: 900px) and (max-width: 1170px) {
  .hero__body { grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr); gap: 36px; }
  h1 span { white-space: normal; }
  .portrait { max-width: 420px; }
}
