:root {
  --paper: #f5efe3;
  --paper-2: #ede5d4;
  --ink: #26211c;
  --ink-soft: #5a5148;
  --red: #b63a22; /* vermilion, AA on paper */
  --rule: #26211c;
  --measure: 34rem;
  --serif: "EB Garamond", Garamond, Georgia, serif;
  --display: "Cormorant Garamond", "EB Garamond", Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.1875rem/1.6 var(--serif);
  font-feature-settings: "kern", "liga", "onum";
  overflow-x: hidden;
  padding-bottom: 5rem; /* room for the switcher pill */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; background: var(--paper); padding: .5rem 1rem; z-index: 9; }
.nw { white-space: nowrap; }

.fade .cover > * { animation: rise 1.1s ease both; }
.fade .cover > *:nth-child(n+3) { animation-delay: .15s; }
.fade .cover > *:nth-child(n+5) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

/* Cover */
.cover {
  max-width: 44rem;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 4rem;
  text-align: center;
  border-bottom: 1px solid var(--rule);
}
.eyebrow, .num, .label, .sc, .colophon p, .btn {
  font-family: var(--serif);
  font-variant: small-caps;
  text-transform: lowercase;
  letter-spacing: .14em;
  font-feature-settings: "c2sc", "smcp";
}
.eyebrow { font-size: 1rem; margin: 0 0 2.25rem; color: var(--ink-soft); }
.dot { margin: 0 .3em; }
.sun { display: block; width: 18px; height: 18px; margin: 0 auto 1.75rem; border-radius: 50%; background: var(--red); }
.sun.small { width: 10px; height: 10px; margin-bottom: .75rem; }
.title {
  font: 500 clamp(2.6rem, 9vw, 4.75rem)/1.02 var(--display);
  letter-spacing: -.005em;
  margin: 0 0 1.75rem;
}
.title em { font-style: italic; font-weight: 500; }
.rule-double { width: 7rem; height: 5px; margin: 0 auto 1.75rem; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.headline { font: italic 500 clamp(1.6rem, 5vw, 2.25rem)/1.2 var(--display); color: var(--red); margin: 0 0 1.75rem; }
.lede { max-width: 31rem; margin: 0 auto 2.5rem; font-size: 1.25rem; line-height: 1.55; text-align: left; hyphens: manual; }
@media (min-width: 640px) { .lede { text-align: center; } }

.actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .5rem 1.6rem;
  font-size: 1.05rem; text-decoration: none;
  border: 1px solid var(--ink);
  transition: background .2s, color .2s;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--red); border-color: var(--red); }
.btn-secondary { background: transparent; }
.btn-secondary:hover, .btn-secondary.solo:hover { background: var(--ink); color: var(--paper); }
.btn-secondary.solo { background: var(--ink); color: var(--paper); }
.btn[hidden] { display: none; }

/* Sections */
main { padding: 0 1.5rem; }
.sec { max-width: var(--measure); margin: 0 auto; padding: 4.5rem 0 0; }
.sec.wide { max-width: 62rem; }
.sec.wide > .num, .sec.wide > h2, .sec.wide > .section-line, .sec.wide > .note { max-width: var(--measure); margin-left: auto; margin-right: auto; }
.num { font-size: .95rem; color: var(--red); margin: 0 0 .35rem; text-align: center; }
h2 {
  font: 500 clamp(1.85rem, 5.5vw, 2.4rem)/1.12 var(--display);
  text-align: center; margin: 0 0 1.75rem; text-wrap: balance;
}
h2::after { content: ""; display: block; width: 2.5rem; height: 1px; background: var(--rule); margin: 1.1rem auto 0; }
.h-small { font-size: clamp(1.5rem, 4.4vw, 1.85rem); }
p { margin: 0 0 1.1rem; text-wrap: pretty; }
.section-line { font-style: italic; text-align: center; color: var(--ink-soft); margin-bottom: 2.5rem; }

.dropcap .hang { float: left; font: 500 2.6em/1 var(--display); color: var(--red); margin: .02em .02em 0 -.05em; }
.dropcap::first-letter {
  float: left; font: 500 4.1em/.8 var(--display); color: var(--red);
  margin: .08em .08em 0 -.02em;
}
.pull { margin: 2.5rem 0 0; padding: 1.75rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-align: center; }
.pull p { font: italic 500 clamp(1.45rem, 4.5vw, 1.85rem)/1.3 var(--display); margin: 0; text-wrap: balance; }

/* Phases */
.phases { list-style: none; margin: 0; padding: 0; }
.phases li { padding: 1.25rem 0 .25rem; border-top: 1px solid rgba(38,33,28,.35); }
.phases li:first-child { border-top: 0; padding-top: 0; }
.phases h3 { font: italic 400 1.15rem/1.3 var(--serif); margin: 0 0 .5rem; color: var(--ink-soft); }
.phases .sc { font-style: normal; font-size: 1.05rem; color: var(--red); margin-right: .4em; }

/* Plates */
.plates { display: grid; gap: 2.75rem; justify-items: center; }
.plates.three { grid-template-columns: 1fr; }
@media (min-width: 900px) { .plates.three { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; align-items: start; } }
.plate { margin: 0; max-width: 270px; width: 72%; }
@media (min-width: 900px) { .plate { width: 100%; } }
.plate img {
  background: var(--paper-2);
  padding: 8px;
  border: 1px solid rgba(38,33,28,.28);
  box-shadow: 0 1px 0 rgba(38,33,28,.08);
}
.plate figcaption { font-style: italic; font-size: 1.02rem; line-height: 1.45; color: var(--ink-soft); margin-top: .9rem; text-align: center; }
.note { font-size: .95rem; font-style: italic; text-align: center; color: var(--ink-soft); margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid rgba(38,33,28,.3); }

/* Typeset leaf */
.leaf {
  max-width: 46rem; margin: 0 auto 4rem; padding: 2rem 1.4rem 1.5rem;
  background: #fbf7ee;
  border: 1px solid rgba(38,33,28,.4);
  outline: 1px solid rgba(38,33,28,.4); outline-offset: -7px;
}
@media (min-width: 700px) { .leaf { padding: 2.75rem 3rem 2rem; } }
.leaf-head { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 1.75rem; }
.leaf-head img { width: 72px; }
@media (min-width: 700px) { .leaf-head img { width: 96px; } .leaf-head { gap: 1.75rem; } }
.leaf-names { font: italic 500 1.5rem/1 var(--display); margin: 0; white-space: nowrap; }
.amp { color: var(--red); }
.label { font-size: .98rem; font-weight: 500; color: var(--red); margin: 0 0 .55rem; }
.label .area { color: var(--ink-soft); font-weight: 400; }
.common { margin: 0 0 1.75rem; padding: 0; list-style: none; counter-reset: c; }
.common li { counter-increment: c; position: relative; padding: .7rem 0 .7rem 2rem; border-top: 1px solid rgba(38,33,28,.25); font-size: 1.08rem; line-height: 1.5; }
.common li::before { content: counter(c, lower-roman) "."; position: absolute; left: 0; top: .7rem; font-style: italic; color: var(--ink-soft); }
.leaf-cols p { font-size: 1.05rem; line-height: 1.5; margin-bottom: 1.4rem; }
@media (min-width: 700px) { .leaf-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; border-top: 1px solid rgba(38,33,28,.25); padding-top: 1.25rem; } }
.q { font: italic 500 1.3rem/1.35 var(--display) !important; }

/* Lists */
.fleurons { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.fleurons li { position: relative; padding-left: 1.8rem; margin-bottom: .85rem; }
.fleurons li::before { content: "❧"; position: absolute; left: 0; top: .02em; color: var(--red); font-size: 1rem; }

.aside { font-size: 1.06rem; }
.aside .num { color: var(--ink-soft); }
.aside h2 { color: var(--ink-soft); }
.textlink { display: inline-block; padding: .55rem 0; min-height: 44px; font-style: italic; color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 4px; }

.signoff { text-align: center; padding-top: 5rem; }
.closing { font: italic 500 1.45rem/1.35 var(--display); margin: 0 0 2rem; text-wrap: balance; }
.sig { font: italic 500 2rem/1 var(--display); margin: 0 0 .6rem; }
.sig-role { font-size: 1rem; color: var(--ink-soft); max-width: 25rem; margin: 0 auto 2.5rem; }

.colophon { text-align: center; padding: 4rem 1.5rem 2rem; margin-top: 4.5rem; border-top: 1px solid var(--rule); max-width: 44rem; margin-left: auto; margin-right: auto; }
.colophon p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

@media (max-width: 420px) {
  body { font-size: 1.125rem; }
  .cover { padding-top: 3.25rem; }
  .eyebrow { font-size: .9rem; letter-spacing: .1em; }
}

.eyebrow { font-variant-numeric: oldstyle-nums; }
.mbr { display: none; }
@media (max-width: 520px) { .dot { display: none; } .mbr { display: inline; } }
.aside { max-width: 30rem; margin-top: 4.5rem; padding: 2rem 1.5rem 1rem; border: 1px solid rgba(38,33,28,.3); }
.aside h2::after { width: 1.5rem; }
