/* The illustrated opening: warm paper, confident ink, a quiet brass frame.
   Everything is scoped to the homepage; the rest of the reading room is intact. */
.illustrated-home .site-header {
  background: var(--paper);
  color: var(--ink);
  border-bottom-color: #ded5c5;
}
.illustrated-home .site-name:hover,
.illustrated-home .site-nav a:hover {
  color: #854d3c;
}
.illustrated-home .site-nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration-color: #a27b40;
}
.illustrated-home .opening {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(36px, 5.2vw, 88px);
  min-height: 0;
  padding: clamp(56px, 6vw, 92px) var(--gutter) clamp(62px, 6.5vw, 100px);
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.illustrated-home .hero-title {
  padding: 0;
  min-width: 0;
}
.illustrated-home .hero-title::before {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin-bottom: clamp(24px, 2.8vw, 40px);
  background: #a27b40;
}
.illustrated-home .opening h1 {
  font-size: clamp(42px, 4.7vw, 72px);
  line-height: 1.07;
  letter-spacing: -.058em;
  margin-bottom: clamp(30px, 3.3vw, 48px);
}
.illustrated-home .hero-emphasis {
  color: #854d3c;
}
.illustrated-home .hero-link {
  gap: 68px;
  min-height: 44px;
  border-color: #a28c6b;
}
.illustrated-home .hero-link:hover {
  color: #854d3c;
}
.illustrated-home .hero-portrait {
  position: relative;
  isolation: isolate;
  min-width: 0;
  width: 100%;
  margin: 0;
}
.illustrated-home .hero-portrait::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -14px 14px 14px -14px;
  border-top: 1px solid #b09a72;
  border-left: 1px solid #b09a72;
  pointer-events: none;
}
.illustrated-home .hero-portrait picture,
.illustrated-home .hero-portrait img {
  display: block;
  width: 100%;
}
.illustrated-home .hero-portrait img {
  height: auto;
  aspect-ratio: 4 / 3;
  border: 1px solid #d9c6a5;
}
@media (min-width: 1800px) {
  .illustrated-home .opening {
    padding-inline: max(var(--gutter), calc((100vw - 1624px) / 2));
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .illustrated-home .opening {
    gap: 32px;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  }
  .illustrated-home .opening h1 {
    font-size: clamp(34px, 4.6vw, 51px);
  }
}
@media (max-width: 760px) {
  .illustrated-home .opening {
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
    padding-top: 40px;
    padding-bottom: 44px;
  }
  .illustrated-home .hero-title::before {
    width: 34px;
    margin-bottom: 24px;
  }
  .illustrated-home .opening h1 {
    font-size: clamp(38px, 8.6vw, 58px);
    line-height: 1.06;
    margin-bottom: 24px;
  }
  .illustrated-home .hero-portrait {
    max-width: 620px;
    justify-self: center;
  }
  .illustrated-home .hero-portrait::before {
    inset: -10px 10px 10px -10px;
  }
}
@media print {
  .illustrated-home .opening {
    break-inside: avoid;
    padding-block: 28px;
  }
  .illustrated-home .hero-portrait::before {
    display: none;
  }
}
