
/* The current leaf keeps its own document flow. During a change only its visible sheet leaves. */
.edition-leaf { overflow-anchor: none; }
body[data-edition="home"] .about-leaf,
body[data-edition="about"] .home-leaf,
body:not([data-edition]) .about-leaf { display: none; }
@supports selector(body:has(:target)) {
  body:not([data-edition]):has(.about-leaf:target, .about-leaf :target) .home-leaf { display: none; }
  body:not([data-edition]):has(.about-leaf:target, .about-leaf :target) .about-leaf { display: block; }
}
.about-newspaper {
  background: var(--paper) url("../assets/paper-grain.png") repeat;
}
.about-folio .about-return-folio { font: 800 .91rem/1.25 var(--wood); text-transform: uppercase; letter-spacing: .07em; }
.about-return-foot { margin-top: clamp(22px, 4vw, 52px); }
.about-folio { margin-bottom: clamp(16px, 2vw, 34px); }

.folio-about {
  border-bottom: 1px solid currentColor;
  padding-bottom: .16em;
}
.folio .folio-about:hover { color: var(--orange); text-decoration: none; }
.edition-index-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 30px;
  background: transparent;
  border: 1px solid var(--ink);
  padding: .25em .55em;
  color: var(--ink);
  font: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
}
.edition-index-toggle i {
  display: block;
  width: 1.02em;
  height: .72em;
  border-block: 1px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 70% 1px no-repeat;
}
.edition-index-toggle:hover,
.edition-index-toggle[aria-expanded="true"] {
  color: var(--cream);
  background: var(--ink);
}

.cover-desk { display: flow-root; position: relative; }
.cover-window {
  display: grid;
  gap: 0;
  overflow-x: clip;
  touch-action: pan-y;
}
.cover-window > .front-index {
  grid-area: 1 / 1;
  min-width: 0;
}
.cover-window.is-sliding { user-select: none; }
.cover-window .teaser { -webkit-user-drag: none; }
.cover-window .teaser:focus-visible { outline-offset: -3px; }
.cover-extra .teaser-place img { object-position: center 52%; }
.cover-extra .teaser-ian img { max-width: none; width: auto; height: 100%; object-fit: cover; }
.cover-extra .teaser-ian .issue-index-image {
  aspect-ratio: 4 / 5;
  max-height: clamp(82px, 9vw, 133px);
  border-color: var(--rule);
  rotate: 0deg;
}
.cover-extra .teaser-press img { object-position: center 53%; }
.cover-browse {
  display: flex;
  align-items: center;
  gap: 0;
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  color: var(--quiet);
  font: 800 .66rem/1 var(--wood);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.cover-label { padding-right: .7em; }
.cover-browse button {
  display: block;
  width: 29px;
  height: 22px;
  padding: 0 0 2px;
  border: 0;
  border-inline-start: 1px solid #6c635363;
  background: transparent;
  color: var(--ink);
  font: 700 1.08rem/1 Georgia, serif;
}
.cover-browse button:hover { color: var(--orange); background: #24211b10; }
.cover-browse button:focus-visible { outline-offset: -3px; }

.edition-story-link {
  display: inline-flex;
  align-items: baseline;
  gap: .7em;
  margin-top: .85em;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .055em;
  font: 800 .93rem/1.4 var(--wood);
}
.edition-story-link span { color: var(--orange); }
.edition-story-link:hover { color: var(--orange); }
.proof-story-link { margin-top: 1rem; }
.edition-oval {
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  min-height: 2.6em;
  min-width: 11.5em;
  padding: .41em 1.25em;
  border: 1px solid var(--rule);
  border-radius: 50%;
}
.edition-oval .oval-label { color: inherit; }
.edition-oval .oval-arrow {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform: translateY(135%);
  font: 700 1.54em/1 Georgia, serif;
}
.edition-oval .oval-label, .edition-oval .oval-arrow {
  transition: transform .32s cubic-bezier(.23,.68,.19,1);
}
.edition-oval:is(:hover,:focus-visible) .oval-label { transform: translateY(-155%); }
.edition-oval:is(:hover,:focus-visible) .oval-arrow { transform: translateY(0); }
.colophon-about { margin-inline-start: auto; margin-inline-end: 1.7em; }

.edition-index-lock { background: #22201b; overflow: hidden; overscroll-behavior: none; }
#edition-index {
  --index-ink: #22201b;
  --index-light: #f0e9d8;
  --index-rule: #a0988066;
  --index-orange: #e88960;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--index-light);
  border: 0;
  box-shadow: none;
  overflow: hidden;
}
#edition-index[open] { display: block; }
#edition-index::backdrop { background: #22201b8c; }
#edition-index[open] .edition-index-sheet {
  animation: edition-index-open .31s cubic-bezier(.2,.8,.25,1) both;
}
@keyframes edition-index-open {
  from { transform: translateY(4.4vh); opacity: .78; }
  to { transform: translateY(0); opacity: 1; }
}
.edition-index-sheet {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #a09880 var(--index-ink);
  padding: clamp(22px, 4vh, 49px) clamp(22px, 7vw, 130px);
  background: var(--index-ink) url("../assets/paper-grain.png") repeat;
}
.edition-index-sheet :focus-visible { outline-color: var(--index-orange); outline-offset: 3px; }
.edition-index-folio, .edition-index-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  width: min(100%, 1360px);
  margin-inline: auto;
  font: 800 .9rem/1.3 var(--wood);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.edition-index-folio { border-bottom: 1px solid var(--index-rule); padding-bottom: .8em; }
.edition-index-folio h2 { font: inherit; }
.edition-index-folio h2 span { color: #cec2a8; }
.edition-index-folio button {
  border: 1px solid var(--index-rule);
  background: transparent;
  color: inherit;
  padding: .44em .65em;
  white-space: nowrap;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}
.edition-index-folio button span { margin-left: .3em; }
.edition-index-folio button:hover { color: var(--index-ink); background: var(--index-light); }
.edition-index-sheet nav {
  width: min(100%, 1180px);
  margin: auto;
  padding-block: clamp(16px, 3.2vh, 42px);
}
.edition-index-sheet nav a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(11em, .32fr) auto;
  align-items: center;
  gap: 1.35rem;
  border-bottom: 1px solid var(--index-rule);
  padding: clamp(5px, .9vh, 13px) 0;
  text-decoration: none;
}
.edition-index-sheet nav a > span {
  position: relative;
  width: fit-content;
  font: 800 clamp(2.5rem, min(9vw, 13vh), 8.5rem)/.8 var(--wood);
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.edition-index-sheet nav a > span::after {
  position: absolute;
  right: -.035em;
  left: -.03em;
  top: .47em;
  height: max(3px, .035em);
  background: var(--index-orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s cubic-bezier(.2,.8,.3,1);
  content: "";
}
.edition-index-sheet nav a:hover > span::after,
.edition-index-sheet nav a:focus-visible > span::after,
.edition-index-sheet nav a[aria-current] > span::after { transform: scaleX(1); }
.edition-index-sheet nav small { color: #d4c9b3; font: 620 .97rem/1.15 var(--serif); }
.edition-index-sheet nav b {
  color: var(--index-orange);
  font: 700 clamp(1.05rem, 2.2vw, 2.1rem)/1 Georgia, serif;
}
.edition-index-foot { padding-top: .7em; }
.edition-index-foot a:hover { color: var(--index-orange); }

:root {
  --edge-overscan: 10vh;
  --torn-sheet: polygon(
    0 0, 100% 0, 100% 91.8%, 98.9% 92.2%, 97.4% 91.6%, 96.1% 92.2%, 95.5% 92%, 94.3% 93%,
    92.5% 93.4%, 91.2% 92.8%, 90% 93.5%, 88.3% 94.8%, 87.2% 94.6%, 86.6% 95.1%, 85.7% 94.8%,
    84.5% 95.8%, 82.8% 95.7%, 81.5% 96.6%, 80.6% 96.4%, 79.2% 97.3%, 77.8% 97.2%, 77% 98.2%,
    75% 98.8%, 74% 98.1%, 73.2% 98.9%, 72.4% 98.5%, 71.1% 99.3%, 69.3% 99.2%, 68.4% 98.6%,
    67.5% 98.9%, 66.1% 97.5%, 65.5% 97.6%, 64.1% 97%, 62.8% 96.9%, 61.4% 96%, 60.2% 96.1%,
    59% 95.1%, 57.4% 94.9%, 56.2% 94.1%, 55.3% 94.4%, 53.9% 93.4%, 51% 93.9%, 50.4% 93.5%,
    49.1% 94.1%, 47.7% 93.7%, 46.6% 94.1%, 44.4% 93.2%, 43.1% 93.3%, 42.5% 92.7%, 40.6% 92.5%,
    39.8% 92%, 38.3% 92.2%, 36.7% 91.3%, 35.9% 91.7%, 34.7% 91.2%, 33.3% 91.6%, 31.5% 90.9%,
    30.6% 91.8%, 29.3% 91.3%, 28% 91.6%, 26.1% 91.4%, 24.9% 92.1%, 24% 91.9%, 22.6% 92.6%,
    20.8% 92.4%, 20% 93.1%, 18.3% 93%, 17.1% 93.7%, 15.3% 93.4%, 14% 94.4%, 12.5% 94.8%,
    11.5% 95.9%, 10.1% 95.7%, 8.6% 96.6%, 7.5% 96.5%, 6.2% 97.3%, 4% 97.3%, 3.7% 97.6%,
    2.6% 97.4%, 1.5% 98%, 0 97.7%
  );
}
body[data-edition] .edition-leaf.is-erasing,
#edition-index.is-erasing,
.edition-fray {
  display: block;
  position: fixed;
  inset: calc(-1 * var(--edge-overscan)) 0 0;
  height: calc(100% + var(--edge-overscan));
  overflow: clip;
  pointer-events: none;
  will-change: transform;
}
body[data-edition] .edition-leaf.is-erasing, #edition-index.is-erasing {
  z-index: 12;
  clip-path: var(--torn-sheet);
}
.is-erasing .edition-leaf-pose {
  position: absolute;
  inset-inline: 0;
  top: calc(var(--edition-outgoing-top, 0px) + var(--edge-overscan));
  will-change: transform;
}
#edition-index.is-erasing .edition-index-sheet { min-height: 0; height: 100dvh; }
.edition-fray { z-index: 13; }
.edition-fray:not([hidden]) {
  background: url("../assets/ink-fray.png") bottom center / 100% 14% no-repeat;
}

.edition-contact {
  margin-top: clamp(28px, 5vw, 86px);
  padding-bottom: clamp(15px, 2.3vw, 37px);
}
.home-leaf .edition-contact { margin-top: 0; }
.stage.bounded-opening .home-leaf .edition-contact { display: none; }
.edition-contact-rule {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1em;
  min-height: 35px;
  border-block: 1px solid var(--rule);
  font: 800 .78rem/1.15 var(--wood);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.edition-contact-rule > :last-child { grid-column: 3; justify-self: end; text-align: right; }
.edition-contact-rule button {
  min-height: 29px;
  border: 0;
  background: none;
  text-transform: inherit;
  font: inherit;
  letter-spacing: inherit;
  color: var(--quiet);
}
.edition-contact-rule button:hover,
.edition-contact-rule button[aria-pressed="true"] { color: var(--orange); }
.edition-contact-link {
  display: block;
  position: relative;
  overflow: clip;
  border-bottom: 2px solid var(--ink);
  padding-block: clamp(9px, 1.25vw, 20px);
  text-decoration: none;
}
.edition-contact-link:focus-visible { outline-offset: -3px; }
.edition-contact-track {
  display: flex;
  width: 100%;
  font: 800 clamp(1.4rem, 8.3vw, 9.5rem)/.82 var(--wood);
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.edition-contact-set {
  display: flex;
  flex: none;
  gap: .19em;
  align-items: stretch;
  justify-content: space-between;
  min-width: 0;
  width: 100%;
  white-space: nowrap;
}
.edition-contact-set + .edition-contact-set { display: none; }
.edition-contact-address {
  display: grid;
  align-content: center;
  gap: .18em;
  padding: .17em .54em .18em;
  color: var(--cream);
  background: var(--ink);
  align-self: stretch;
  font: 800 .28em/.89 var(--wood);
  letter-spacing: -.01em;
}
.edition-contact-address b { font: inherit; }
.edition-contact-address b span { color: #e88c60; margin-left: .2em; font: 700 .75em/1 Georgia, serif; }
.edition-contact-address small {
  font: 620 .46em/1.16 var(--serif);
  text-transform: none;
  letter-spacing: .02em;
}
.edition-contact-link:hover .edition-contact-address { background: #652d19; }

@keyframes contact-trade-line { to { transform: translateX(-50%); } }

@media (max-width: 800px) {
  .folio-right { gap: .6em; }
  .cover-window > .front-index { margin-bottom: 21px; }
}
@media (max-width: 565px) {
  .folio-right { gap: .38em; font-size: .72rem; }
  .folio-location { font-size: .73rem; }
  .edition-index-toggle { padding: .26em .42em; min-height: 26px; }
  .edition-index-toggle i { display: none; }
  .cover-extra .teaser-ian .issue-index-image { width: 47px; max-height: 60px; }
  .cover-browse button { width: 27px; height: 21px; }
  .colophon > .running-rule:has(.colophon-about) { font-size: .63rem; gap: .5em; }
  .colophon-about { margin-inline-end: 0; }
  .edition-index-sheet { padding: 20px max(16px, 4vw); }
  .edition-index-sheet nav a { gap: .42rem; grid-template-columns: minmax(0, 1fr) 7.1em auto; }
  .edition-index-sheet nav a > span { font-size: clamp(1.7rem, 9vw, 3.15rem); line-height: .94; }
  .edition-index-sheet nav small { font-size: .72rem; }
  .edition-index-foot, .edition-index-folio { font-size: .76rem; }
  .edition-contact-rule { font-size: .62rem; gap: .3em; }
  .edition-contact-set { display: grid; gap: .3em; }
  .edition-contact-address {
    align-items: baseline;
    justify-content: space-between;
    grid-auto-flow: column;
    font-size: .52em;
    padding: .34em .56em;
  }
  .edition-contact-address br { display: none; }
  .edition-contact-address small { font-size: max(.58em, 11px); }
}
@media (prefers-reduced-motion: no-preference) {
  .edition-contact.has-motion .edition-contact-track {
    width: max-content;
    font-size: clamp(3rem, 9.35vw, 9.7rem);
  }
  .edition-contact.has-motion .edition-contact-set {
    display: flex;
    justify-content: initial;
    width: auto;
    min-width: calc(min(100vw, 1760px) - 2 * var(--margin));
    padding-inline: .018em .19em;
  }
  .edition-contact.has-motion .edition-contact-address {
    align-items: initial;
    justify-content: initial;
    grid-auto-flow: row;
    padding: .17em .54em .18em;
    font-size: .28em;
  }
  .edition-contact.has-motion .edition-contact-address br { display: initial; }
  .edition-contact.has-motion .edition-contact-address small { font-size: .46em; }
  .edition-contact.is-in-view .edition-contact-track { animation: contact-trade-line 16s linear infinite; }
  .edition-contact:hover .edition-contact-track,
  .edition-contact:focus-within .edition-contact-track,
  .edition-contact.is-paused .edition-contact-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  #edition-index[open] .edition-index-sheet { animation: none; }
  .edition-oval:is(:hover,:focus-visible) .oval-label { transform: none; }
  .edition-oval:is(:hover,:focus-visible) .oval-arrow { transform: translateY(135%); }
  .edition-contact [data-pause-contact] { display: none; }
}
