@font-face {
  font-family: Fraunces;
  src: url("/fonts/fraunces-variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Space;
  src: url("/fonts/space-grotesk-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 5px;
}
button {
  touch-action: manipulation;
}
button:disabled {
  cursor: default;
}
button:not(:disabled) {
  cursor: pointer;
}
::selection {
  background: var(--ink);
  color: var(--paper);
}
[hidden] {
  display: none !important;
}
.poetry-page {
  --paper: #f5eddc;
  --ink: #482958;
  --accent: #f16b45;
  --lime: #dbe46d;
  --rule: #48295830;
  --sheet: #fffaf0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: Space, Arial, sans-serif;
  transition:
    background-color 0.35s,
    color 0.35s;
}
html[data-ink="blue"] .poetry-page {
  --paper: #e9efed;
  --ink: #163d70;
  --accent: #e39fb6;
  --lime: #f4d76f;
  --rule: #163d7030;
  --sheet: #fffdf2;
}
html[data-ink="ember"] .poetry-page {
  --paper: #f5e6d4;
  --ink: #782b24;
  --accent: #dfbeee;
  --lime: #ecbf62;
  --rule: #782b2430;
  --sheet: #fff5e7;
}
.poetry-page:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' opacity='.22' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
  opacity: 0.19;
  z-index: 5;
}
.zine {
  max-width: 1500px;
  margin: auto;
  padding: 0 5.2%;
  overflow: clip;
}
.zine-header {
  min-height: 110px;
  border-bottom: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  font-size: 13px;
}
.back-to-kai {
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.back-to-kai:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.header-aside {
  font-size: 12px;
  letter-spacing: 0.02em;
}
.ink-controls {
  display: flex;
  align-items: center;
  gap: 1px;
}
.ink-controls > span {
  font-size: 11px;
  letter-spacing: 0.14em;
  margin-right: 12px;
}
.ink-choice {
  width: 44px;
  height: 44px;
  border: 1px solid transparent;
  background: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.ink-choice span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #482958;
  border: 1px solid #482958;
}
.ink-choice[data-ink-choice="blue"] span {
  background: #163d70;
  border-color: #163d70;
}
.ink-choice[data-ink-choice="ember"] span {
  background: #782b24;
  border-color: #782b24;
}
.ink-choice[aria-pressed="true"] {
  border-color: var(--ink);
}
.ink-choice:hover {
  transform: translateY(-2px);
}
.poetry-cover {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 45px;
  padding: 70px 0 80px;
  align-items: center;
}
.little-label {
  font-size: 11px;
  letter-spacing: 0.11em;
  font-weight: 400;
  margin: 0 0 24px;
}
.poetry-cover h1 {
  font-family: Fraunces, Georgia, serif;
  font-variation-settings:
    "SOFT" 100,
    "WONK" 1,
    "opsz" 100;
  font-weight: 800;
  margin: 0;
  line-height: 0.86;
  letter-spacing: -0.075em;
}
.title-poetry {
  display: block;
  font-size: clamp(100px, 13.5vw, 190px);
  transform: rotate(-3deg);
  transform-origin: left center;
  position: relative;
}
.title-repository {
  display: block;
  font-size: clamp(56px, 7.8vw, 110px);
  margin-top: 20px;
  letter-spacing: -0.065em;
}
.title-star {
  color: var(--accent);
  display: inline-block;
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 0.52em;
  vertical-align: top;
  line-height: 1.3;
  letter-spacing: -0.1em;
  transform: rotate(12deg);
  margin-left: 18px;
}
.cover-bottom {
  display: flex;
  gap: 35px;
  align-items: center;
  margin-top: 34px;
}
.cover-bottom p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
  margin: 0;
}
.wander-line {
  width: 170px;
  height: 64px;
  flex-shrink: 0;
}
.wander-line path {
  stroke: var(--accent);
  stroke-width: 4;
  stroke-linecap: round;
}
.reminder-pocket {
  position: relative;
  transform: rotate(7deg);
  padding: 19px 18px 18px;
  background: var(--lime);
  border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  text-align: center;
  margin-top: 32px;
}
.reminder-pocket:before {
  content: "";
  position: absolute;
  width: 75px;
  height: 26px;
  background: var(--sheet);
  opacity: 0.7;
  left: 50%;
  top: -13px;
  transform: translateX(-50%) rotate(-6deg);
  border-inline: 1px dashed var(--rule);
}
.pocket-caption {
  font-family: Fraunces, Georgia, serif;
  font-size: 17px;
  font-weight: 650;
}
.flower-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}
.flower-rotor {
  display: block;
  width: 100%;
  height: auto;
  margin: 16px auto 12px;
  transform: translateY(var(--flower-lift, 0px)) rotate(var(--flower-turn, 0deg));
  transition: transform 1.2s cubic-bezier(0.18, 0.8, 0.24, 1);
}
.reminder-pocket.is-open {
  --flower-lift: -9px;
}
.flower-petal {
  fill: var(--accent);
  stroke: var(--ink);
  stroke-width: 2.1;
}
.flower-center {
  fill: var(--sheet);
  stroke: var(--ink);
  stroke-width: 2.1;
}
.flower-face {
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linecap: round;
}
.flower-instruction {
  display: block;
  font-size: 11px;
  line-height: 1.6;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 6px 0;
}
.little-reminder {
  font-family: Fraunces, Georgia, serif;
  font-weight: 750;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -0.05em;
  background: var(--sheet);
  border-top: 1.5px dashed var(--ink);
  padding: 18px 4px 3px;
  margin: 12px -8px 0;
}
.cover-margin {
  position: absolute;
  right: -44px;
  top: 100px;
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 0.15em;
}
.collection {
  position: relative;
  padding: 0 10px 55px;
}
.folder-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 360px;
  max-width: 90%;
  font-size: 11px;
  letter-spacing: 0.12em;
  background: var(--ink);
  color: var(--paper);
  padding: 17px 25px 19px;
  border-radius: 18px 18px 0 0;
  margin-left: 7px;
  transform: rotate(-1deg) translateY(7px);
}
.folder-body {
  position: relative;
  padding: 26px;
  background: var(--accent);
  border: 1.5px solid var(--ink);
  border-radius: 4px 22px 8px 4px;
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(-1deg);
}
.poem-sheet {
  position: relative;
  transform: rotate(1.6deg);
  background: var(--sheet);
  border: 1.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--rule);
  padding: 32px 40px 23px;
}
.paperclip {
  position: absolute;
  z-index: 2;
  right: 70px;
  top: -20px;
  width: 22px;
  height: 70px;
  border: 3px solid var(--ink);
  border-radius: 15px;
  transform: rotate(12deg);
  background: none;
}
.paperclip:after {
  content: "";
  position: absolute;
  inset: 5px 3px 7px;
  border: 2px solid var(--ink);
  border-top: 0;
  border-radius: 0 0 7px 7px;
}
.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 23px;
}
.sheet-header .little-label {
  margin-bottom: 11px;
  font-size: 11px;
}
.sheet-header h2 {
  font:
    650 clamp(25px, 3vw, 40px) / 1.15 Fraunces,
    Georgia,
    serif;
  letter-spacing: -0.045em;
  margin: 0;
}
.sheet-number {
  font-family: Fraunces, Georgia, serif;
  font-size: 30px;
  white-space: nowrap;
}
.collection-content {
  position: relative;
}
.poem-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.poem-list.is-empty {
  min-height: 250px;
  background: repeating-linear-gradient(
    transparent 0,
    transparent 61px,
    var(--rule) 61px,
    var(--rule) 62px
  );
}
.empty-note {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  pointer-events: none;
}
.empty-note p {
  font:
    500 30px/1.08 Fraunces,
    Georgia,
    serif;
  letter-spacing: -0.035em;
  margin: 8px 0 11px;
  background: var(--sheet);
  padding: 4px 18px;
}
.empty-note > span:last-child {
  font-size: 11px;
  background: var(--sheet);
  padding: 3px 10px;
}
.empty-asterisk {
  font:
    44px/1 Georgia,
    serif;
  display: block;
  color: var(--accent);
  background: var(--sheet);
  padding-inline: 8px;
}
.poem-list li {
  border-bottom: 1px solid var(--rule);
}
.poem-list a {
  display: grid;
  grid-template-columns: 40px 1fr 24px;
  gap: 14px;
  text-decoration: none;
  padding: 25px 0;
  align-items: baseline;
  font:
    550 clamp(21px, 3vw, 32px) / 1.25 Fraunces,
    Georgia,
    serif;
}
.poem-list a:hover {
  color: var(--ink);
  background: var(--paper);
}
.entry-number {
  font:
    12px Space,
    sans-serif;
}
.sheet-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1.5px solid var(--ink);
  padding-top: 17px;
  font-size: 11px;
}
.sheet-footer span:last-child {
  font-family: Fraunces, Georgia, serif;
  font-size: 14px;
  font-style: italic;
}
.zine-footer {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 30px 0 40px;
  font-size: 11px;
}
.zine-footer:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0,
    var(--ink) 6px,
    transparent 6px,
    transparent 13px
  );
}
.zine-footer a {
  padding: 13px 0;
  text-underline-offset: 4px;
}
.footer-love {
  font:
    550 19px Fraunces,
    Georgia,
    serif;
  transform: rotate(-4deg);
}
.poem-reading {
  max-width: 820px;
  margin: 65px auto 90px;
}
.collection-back {
  display: inline-block;
  min-height: 44px;
  text-underline-offset: 5px;
  font-size: 13px;
  margin-bottom: 35px;
}
.poem-reading h1 {
  font:
    750 clamp(42px, 6vw, 84px) / 1.05 Fraunces,
    Georgia,
    serif;
  letter-spacing: -0.05em;
  margin: 0 0 50px;
  overflow-wrap: anywhere;
}
.poem-body {
  font:
    400 clamp(18px, 2vw, 23px) / 1.9 Fraunces,
    Georgia,
    serif;
  margin-bottom: 60px;
}
.poem-body p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  /* One blank line between stanza blocks, matching the source documents. */
  margin: 0 0 1.9em;
}
.poem-body p:last-child {
  margin-bottom: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--ink);
  color: var(--paper);
  padding: 14px;
  z-index: 20;
}
.skip-link:focus {
  top: 15px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 1600px) {
  .poetry-cover {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 70px;
  }
  .title-poetry {
    font-size: 195px;
  }
}
@media (max-width: 1050px) {
  .poetry-cover {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 25px;
    padding-top: 55px;
  }
  .title-poetry {
    font-size: 13.5vw;
  }
  .title-repository {
    font-size: 8.1vw;
  }
  .title-star {
    margin-left: 7px;
  }
  .reminder-pocket {
    padding: 16px 13px;
  }
  .wander-line {
    width: 130px;
  }
  .cover-bottom {
    gap: 22px;
  }
  .cover-bottom p {
    font-size: 14px;
  }
  .poem-sheet {
    padding: 30px;
  }
  .cover-margin {
    right: -30px;
  }
}
@media (max-width: 700px) {
  .zine {
    padding: 0 6%;
  }
  .zine-header {
    min-height: 84px;
    gap: 10px;
  }
  .header-aside {
    display: none;
  }
  .ink-controls > span {
    margin-right: 2px;
    font-size: 11px;
  }
  .ink-choice {
    width: 38px;
    height: 44px;
  }
  .ink-choice[aria-pressed="true"] {
    border-radius: 18px;
  }
  .poetry-cover {
    display: block;
    padding: 45px 0 45px;
  }
  .little-label {
    font-size: 11px;
    margin-bottom: 23px;
  }
  .title-poetry {
    font-size: 22.8vw;
  }
  .title-repository {
    font-size: 13.4vw;
    margin-top: 15px;
  }
  .title-star {
    margin-left: 8px;
  }
  .cover-bottom {
    margin-top: 24px;
    gap: 15px;
  }
  .cover-bottom p {
    font-size: 14px;
  }
  .wander-line {
    width: 26%;
    height: 50px;
  }
  .reminder-pocket {
    width: 210px;
    margin: 40px 22px 0 auto;
    transform: rotate(6deg);
    padding: 13px 14px;
  }
  .flower-rotor {
    width: 155px;
    margin: 10px auto;
  }
  .pocket-caption {
    font-size: 15px;
  }
  .little-reminder {
    font-size: 25px;
  }
  .cover-margin {
    right: auto;
    left: 12px;
    top: auto;
    bottom: 98px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }
  .collection {
    padding: 0 4px 35px;
  }
  .folder-tab {
    width: 265px;
    font-size: 11px;
    padding: 15px 18px;
    gap: 12px;
  }
  .folder-tab span:last-child {
    white-space: nowrap;
  }
  .folder-body {
    padding: 15px 12px;
    box-shadow: 5px 5px 0 var(--ink);
  }
  .poem-sheet {
    padding: 24px 18px 18px;
  }
  .sheet-header {
    gap: 10px;
    align-items: start;
    padding-bottom: 20px;
  }
  .sheet-header h2 {
    font-size: 28px;
  }
  .sheet-header .little-label {
    font-size: 11px;
    line-height: 1.7;
    margin-bottom: 12px;
  }
  .sheet-number {
    font-size: 19px;
  }
  .paperclip {
    right: 35px;
    top: -4px;
    width: 18px;
    height: 44px;
  }
  .paperclip:after {
    inset: 4px 2px 5px;
  }
  .empty-note p {
    font-size: clamp(23px, 6.5vw, 28px);
  }
  .poem-list.is-empty {
    min-height: 240px;
  }
  .sheet-footer {
    font-size: 11px;
    line-height: 1.6;
    gap: 14px;
  }
  .sheet-footer span:last-child {
    font-size: 12px;
    white-space: nowrap;
  }
  .zine-footer {
    flex-wrap: wrap;
    font-size: 11px;
    padding: 25px 0 30px;
    gap: 8px 20px;
  }
  .footer-love {
    width: 100%;
    margin-top: 12px;
    font-size: 20px;
  }
  .poem-list a {
    grid-template-columns: 24px 1fr 20px;
    gap: 8px;
  }
  .poem-reading {
    margin-top: 40px;
  }
  .poem-body {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
