@font-face {
  font-family: DM Sans;
  src: url("./assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: Instrument Serif;
  src: url("./assets/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Instrument Serif;
  src: url("./assets/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
:root {
  --paper: #faf6ed;
  --ink: #352b23;
  --quiet: #60574e;
  --rust: #a5482e;
  --line: #dbd2c3;
  --serif: "Instrument Serif", Georgia, serif;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body,
h1,
h2,
h3,
p,
figure,
fieldset {
  margin: 0;
}
body {
  min-width: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
p {
  line-height: 1.65;
}
svg {
  flex-shrink: 0;
}
::selection {
  background: #ead0b9;
  color: #352b23;
}
:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 5px;
}
.wrap {
  width: min(86%, 76rem);
  margin-inline: auto;
}
.sr-only,
.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  inset: 0.5rem auto auto 1rem;
  z-index: 10;
  padding: 0.7rem 1rem;
  background: white;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}
.masthead {
  border-bottom: 1px solid var(--line);
}
.masthead-inner,
.top-nav,
.brand,
.contact-link,
.primary-button,
.footer-inner,
.footer nav {
  display: flex;
  align-items: center;
}
.masthead-inner {
  min-height: 5.25rem;
  justify-content: space-between;
}
.brand {
  gap: 0.14rem;
  width: fit-content;
  line-height: 1;
  font-size: 2.38rem;
  font-weight: 700;
  letter-spacing: -0.087em;
}
.brand-symbol {
  display: grid;
  color: var(--rust);
  margin-right: 0.12rem;
}
.brand-symbol svg {
  width: 0.86em;
  height: 0.86em;
}
.top-nav {
  font-size: 0.94rem;
  font-weight: 500;
}
.footer a:not(.brand) {
  text-underline-offset: 0.35em;
}
.footer a:not(.brand):hover,
.footer a[aria-current] {
  text-decoration: underline;
}
.contact-link {
  gap: 0.65rem;
  border: 1px solid #887966;
  border-radius: 2rem;
  padding: 0.62rem 1.2rem;
  transition: background 0.2s;
}
.contact-link svg {
  width: 1.05rem;
  height: 1.05rem;
}
.contact-link:hover,
.contact-link[aria-current] {
  background: #eee5d7;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(4rem, 6.6vw, 6.8rem) clamp(3.2rem, 4.7vw, 4.8rem);
}
.hero-copy {
  padding-bottom: 1.8rem;
  animation: arrive 0.72s ease-out both;
}
.eyebrow,
.item-label small,
.choices-label,
.folio,
.page-date {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--rust);
}
.eyebrow > span {
  display: block;
  width: 1.85rem;
  height: 1px;
  background: currentColor;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
}
h1,
h2 {
  letter-spacing: -0.04em;
}
h1 em,
h2 em {
  color: var(--rust);
  font-weight: 400;
}
.hero h1 {
  font-size: clamp(5rem, 7.65vw, 7.6rem);
  line-height: 0.94;
  margin: 1.35rem 0 1.55rem;
}
.intro {
  max-width: 24rem;
  font-size: clamp(1rem, 1.23vw, 1.14rem);
  color: var(--quiet);
}
.primary-button {
  width: fit-content;
  gap: 0.65rem;
  margin-top: 1.85rem;
  border-radius: 2rem;
  padding: 0.92rem 1.55rem;
  color: #fff9ee;
  background: var(--rust);
  font-weight: 600;
  transition:
    background 0.2s,
    transform 0.2s;
}
.primary-button svg {
  width: 1.15rem;
  height: 1.15rem;
}
.primary-button:hover {
  background: #863921;
  transform: translateY(-2px);
}
.category-band {
  background: #983f28;
  color: #fff1d9;
}
.categories {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-block: 1.18rem;
}
.categories span {
  font: italic clamp(1.35rem, 2.2vw, 2rem) / 1.2 var(--serif);
}
.categories svg {
  width: 1.1rem;
  height: 1.1rem;
  color: #e2a77f;
}
.about,
.contact-page,
.reading-layout {
  display: grid;
  gap: clamp(3rem, 8vw, 7.5rem);
  padding-block: clamp(4.2rem, 7vw, 7rem);
}
.about {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
.about h2 {
  font-size: clamp(3rem, 4.7vw, 4.8rem);
  line-height: 1.05;
  margin-top: 1rem;
  max-width: 10em;
}
.about h2 em {
  display: block;
}
.about-title .intro {
  margin-top: 1.25rem;
}
.steps article {
  display: flex;
  gap: 1.25rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
}
.steps article:last-child {
  border-bottom: 1px solid var(--line);
}
.steps article > svg {
  color: var(--rust);
  margin-top: 0.3rem;
}
.steps h3 {
  font-size: 1.8rem;
}
.steps p {
  margin-top: 0.22rem;
  color: var(--quiet);
}
.footer {
  border-top: 1px solid var(--line);
}
.footer-inner {
  gap: 2.5rem;
  padding-block: 1.75rem;
}
.footer .brand {
  font-size: 1.85rem;
}
.footer nav {
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  margin-left: auto;
}
.footer nav,
.footer small {
  color: var(--quiet);
  font-size: 0.875rem;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 85rem) {
  .hero {
    min-height: 39rem;
  }
}
@media (max-width: 54rem) {
  .wrap {
    width: 89%;
  }
  .hero {
    gap: 1.75rem;
  }
  .hero h1 {
    font-size: clamp(4rem, 8.8vw, 5rem);
  }
  .gallery {
    width: 92%;
  }
  .seal {
    width: 3.4rem;
    right: -1.3rem;
  }
  .footer-inner {
    flex-wrap: wrap;
    gap: 1rem 2rem;
  }
  .footer small {
    width: 100%;
  }
}
@media (max-width: 42rem) {
  .masthead-inner {
    min-height: 4.25rem;
  }
  .brand {
    font-size: 2rem;
  }
  .top-nav {
    font-size: 0.875rem;
  }
  .contact-link {
    padding: 0.5rem 0.8rem;
    gap: 0.35rem;
  }
  .contact-link svg {
    width: 0.95rem;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 3.6rem;
    padding-block: 2.85rem 1.3rem;
  }
  .hero-copy {
    padding: 0;
  }
  .hero h1 {
    font-size: clamp(4.4rem, 16vw, 6.5rem);
    margin-block: 1rem 1.15rem;
  }
  .intro {
    max-width: 26rem;
  }
  .primary-button {
    margin-top: 1.3rem;
  }
  .gallery {
    width: min(87%, 26rem);
  }
  .print {
    padding: 0.48rem 0.48rem 0;
  }
  .print figcaption {
    padding: 0.65rem 0.35rem 0.7rem;
  }
  .item-label strong {
    font-size: 1.35rem;
  }
  .choices {
    margin-top: 1.05rem;
  }
  .categories {
    flex-wrap: wrap;
    justify-content: center;
    column-gap: clamp(0.5rem, 2vw, 1rem);
  }
  .categories span {
    font-size: clamp(1.02rem, 4vw, 1.5rem);
  }
  .categories svg {
    width: 0.65rem;
    height: 0.65rem;
  }
  .about,
  .contact-page,
  .reading-layout {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .about h2 em {
    display: inline;
  }
  .footer-inner {
    align-items: flex-start;
  }
  .footer nav {
    flex: 1;
    justify-content: end;
    gap: 0.7rem 1rem;
  }
  .page-title {
    font-size: clamp(3.5rem, 13vw, 5rem);
  }
  .reading-layout h1 {
    max-width: 100%;
  }
}
@media (max-width: 23rem) {
  .categories {
    column-gap: 0.35rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-copy,
  .gallery,
  .print,
  .primary-button,
  .contact-link,
  .choice span {
    animation: none;
    transition: none;
  }
}
