/* Readable type and fluid page geometry, shared by the journal and reader. */
:root {
  --page-width: 1920px;
  --page-gutter: clamp(18px, 4vw, 88px);
  --body-size: clamp(18px, 1.05vw, 22px);
  --small-size: clamp(13px, .72vw, 16px);
  --muted: #625f54;
}
body { padding: 0; font-size: var(--body-size); }
.edition-line, .masthead, main, footer {
  width: min(var(--page-width), calc(100% - 2 * var(--page-gutter)));
  max-width: none;
  margin-inline: auto;
}
.home-page main { width: 100%; }
.home-page main > section {
  width: min(var(--page-width), calc(100% - 2 * var(--page-gutter)));
  margin-inline: auto;
}
html:has(.home-page) { scroll-padding-top: var(--header-clearance, 240px); }
.wordmark { width: min(680px, 76%); margin: 24px auto; padding: 0; }
.wordmark img { display: block; width: 100%; height: auto; }
.opening-header {
  --intro-distance: 0px;
  --dock-height: 156px;
  position: sticky;
  top: calc(-1 * var(--intro-distance));
  z-index: 25;
  background: var(--paper);
}
.opening-header .logo-dock { height: var(--dock-height); }
.opening-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper);
  box-shadow: 0 0 0 100vmax var(--paper);
  clip-path: inset(0 -100vmax);
}
.opening-header .wordmark {
  width: var(--brand-width, var(--brand-end-width, min(600px, 78%)));
  max-width: none;
  margin: 0;
  transform: translateY(var(--brand-y, 0px));
  will-change: auto;
}
.has-intro .opening-header { --intro-distance: 86svh; }
.has-intro .wordmark { transform: translateY(var(--brand-y, 0px)); will-change: auto; }
.opening-header .masthead-bottom { background: var(--paper); }
.has-intro .opening-header .masthead-bottom { visibility: var(--nav-visibility, hidden); }
.masthead-bottom { padding-block: 18px; font-size: var(--small-size); gap: 24px; }
.masthead-bottom nav { font-size: 17px; gap: 36px; }
.masthead-bottom nav a { min-height: 32px; display: inline-flex; align-items: center; }
.edition-line { font-size: 13px; }
.intro-meta, .intro-scroll, .intro-folio { font-size: 13px; }
.intro-caption p { font-size: 17px; }
.intro-caption p span { font-size: 14px; }
.intro-caption { gap: 28px; }
.intro-rule { height: 52px; }
.home-cover { padding: 88px 32px 104px; gap: clamp(40px, 5vw, 104px); }
.home-cover h1 { font-size: clamp(64px, 5.6vw, 116px); letter-spacing: -.055em; }
.home-lead { font-size: clamp(22px, 1.45vw, 30px); line-height: 1.6; }
.cover-description { font-size: var(--body-size); line-height: 1.75; max-width: 35em; color: #555348; }
.home-collage { min-height: 0; aspect-ratio: 1.04; margin: 20px 32px 36px 0; }
.home-cover .eyebrow, .eyebrow, .small-label { font-size: var(--small-size); }
.read-button, .solid-button { font-size: 18px; padding: 20px 28px; min-height: 58px; }
.photo-caption { font-size: 11px; letter-spacing: 1px; line-height: 1.6; }
.collage-credit { font-size: 10px; line-height: 1.6; }
.round-stamp { width: 176px; height: 176px; font-size: 16px; }
.round-stamp strong { font-size: 30px; }
.round-stamp > span { font-size: 12px; }
.home-page .news-strip { margin: 0; width: 100%; transform: none; padding-block: 22px; }
.news-strip > div { max-width: var(--page-width); width: calc(100% - 2 * var(--page-gutter)); margin: auto; padding-inline: 32px; }
.news-strip span { font-size: 14px; }
.editorial { grid-template-columns: 160px 1fr; padding: 112px 32px 88px; gap: 48px; }
.editorial h2 { font-size: clamp(42px, 3.2vw, 66px); margin-bottom: 40px; }
.editorial-columns { gap: clamp(32px, 4vw, 80px); }
.editorial-columns p { font-size: var(--body-size); line-height: 1.8; max-width: 65ch; margin-bottom: 28px; }
.dropcap:first-letter { font-size: 92px; }
.themes { padding: 64px 32px; gap: 80px; }
.themes-heading h2 { font-size: clamp(34px, 2.6vw, 52px); }
.editorial-note { font-size: 14px; }
.theme-list article { grid-template-columns: minmax(0, 1fr) 44px; gap: 24px; padding-block: 32px; }
.theme-list h3 { font-size: clamp(23px, 1.4vw, 29px); }
.theme-list p { font-size: var(--body-size); line-height: 1.75; color: #555348; }
.theme-mark { font-size: 38px; }
.characters { padding: 96px 32px 112px; }
.characters .section-heading h2, .issues-section .section-heading h2 { font-size: clamp(36px, 2.8vw, 56px); }
.character-grid { gap: 48px; margin-top: 56px; }
.character-text { padding: 32px; }
.character-text h3 { font-size: clamp(28px, 2vw, 40px); }
.character-text p { font-size: var(--body-size); line-height: 1.8; }
.character-card { grid-template-columns: 40% 1fr; }
.issues-section { padding: 80px 32px; }
.issue-shelf-note { font-size: 13px; }
.shelf-filters { gap: 12px; margin-block: 36px; }
.shelf-filters button { font-size: 17px; min-height: 48px; padding: 12px 18px; }
.issue-shelf { gap: 40px; grid-template-columns: 1.35fr 1fr; }
.shelf-card-copy { padding: 32px; }
.shelf-card h3 { font-size: 56px; margin-block: 24px 16px; }
.shelf-card-copy p, .soon-card p { font-size: var(--body-size); line-height: 1.75; }
.shelf-meta, .status-label, .reading-storage-note, .issue-shelf-note { font-size: var(--small-size); }
.shelf-meta, .reading-storage-note { color: #625f54; }
.shelf-link { font-size: 18px; min-height: 44px; }
.soon-card { padding: 40px; }
.soon-card h3 { max-width: none; font-size: 40px; }
.soon-card p { max-width: 35ch; }
.shelf-empty { font-size: 18px; }
footer { font-size: 16px; padding-block: 32px; }
footer > span { font-size: 13px; }
.footer-logo { font-size: 40px; }
/* The same reading scale applies to the story itself. News remain in the panel flow. */
.reader-context { font-size: 15px; }
.reader-page .cover .intro { font-size: 22px; max-width: 32em; }
.issue-kicker, .cover-note p, .art-label, .cover-art-number, .ticker { font-size: 13px; }
.comic-grid { gap: 28px; }
.dialogues, #frame-large .dialogues { font-size: 20px; line-height: 1.7; padding: 20px 24px; }
.dialogues strong { font-size: 14px; }
.panel-number { font-size: 15px; padding: 10px 12px; }
.reading-tools { font-size: 16px; }
.reader-page .proof-note { font-size: 16px; line-height: 1.7; padding: 20px 24px; }
.reader-page .news-inset, .reader-page .panel:nth-child(2) .news-inset,
.reader-page #frame-large .news-inset {
  position: relative; inset: auto; max-width: none; margin: 0; box-shadow: none;
  padding: 20px; border-top: 2px solid var(--ink); font-size: 17px;
}
.reader-page .news-inset b, .reader-page .panel:nth-child(2) .news-inset b,
.reader-page #frame-large .news-inset b { font-size: 20px; }
.reader-page .news-inset .news-card span, .reader-page .news-inset small { font-size: 13px; }
.read-confirmation button, .end-actions, .end-actions button { font-size: 17px; }
.read-confirmation span, .first-issue, .next-issue, .upcoming span, .endnote > p { font-size: 14px; }
.issue-navigation { font-size: 18px; }
.frame-controls { font-size: 16px; gap: 16px; }
#frame-dialog { width: min(800px, calc(100% - 32px)); }
@media (max-width: 1400px) {
  .character-card { grid-template-columns: 1fr; }
  .character-image { aspect-ratio: 1.6; min-height: 0; border-right: 0; border-bottom: 2px solid var(--ink); }
  .issue-shelf { grid-template-columns: 1.2fr 1fr; }
  .shelf-card { grid-template-columns: 1fr; }
  .shelf-card .shelf-art { border-right: 0; border-bottom: 2px solid var(--ink); min-height: 0; }
  .shelf-card .shelf-art .sprite { min-height: 0; aspect-ratio: 1.6; }
  .editorial { grid-template-columns: 100px 1fr; gap: 32px; }
  .margin-doodle { margin-left: 0; }
  .news-strip span + span:before { margin-right: 16px; }
}
@media (min-width: 681px) and (max-width: 1200px) {
  .comic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .masthead-bottom > span { display: none; }
  .masthead-bottom nav { width: 100%; justify-content: space-between; }
  .home-cover { gap: 40px; padding: 64px 0 88px; }
  .home-cover h1 { font-size: 6.2vw; }
  .editorial { grid-template-columns: 1fr; padding: 80px 0 56px; }
  .themes, .characters, .issues-section { padding-inline: 0; }
  .themes { gap: 32px; grid-template-columns: 1fr 1.6fr; }
  .theme-list article { gap: 16px; grid-template-columns: minmax(0, 1fr); }
  .theme-mark { display: none; }
  .news-strip span { font-size: 12px; letter-spacing: 1px; }
  .news-strip > div { padding-inline: 0; }
  .character-grid { gap: 32px; }
}
@media (max-width: 900px) {
  .home-cover { grid-template-columns: 1fr; }
  .home-cover h1 { font-size: clamp(60px, 9vw, 90px); }
  .home-collage { width: min(640px, calc(100% - 40px)); margin: 24px auto 48px; }
  .cover-description { max-width: 37em; }
  .intro-caption p { font-size: 15px; }
  .intro-caption p span { font-size: 12px; }
  .editorial-columns { grid-template-columns: 1fr; gap: 0; }
  .reader-page .cover { grid-template-columns: 1fr; }
  .reader-page .cover .intro { max-width: 38em; }
  .reader-page .cover-art { max-width: 640px; width: calc(100% - 32px); margin: 24px auto; }
}
@media (max-width: 680px) {
  .opening-header { --dock-height: 80px; }
  .has-intro .opening-header { --intro-distance: 78svh; }
  .opening-header .wordmark { padding: 0; }
  .masthead-bottom { padding-block: 8px; }
  .masthead-bottom nav { font-size: 14px; gap: 8px; }
  .masthead-bottom nav a { min-height: 44px; }
  .intro-meta, .intro-scroll, .intro-folio { font-size: 10px; letter-spacing: 1px; }
  .intro-caption { gap: 20px; }
  .intro-caption p { font-size: 13px; letter-spacing: 1px; }
  .intro-caption p span { font-size: 11px; letter-spacing: .5px; }
  .intro-rule { height: 44px; }
  .home-cover { padding: 48px 0 64px; gap: 24px; }
  .home-cover h1 { font-size: clamp(42px, 12vw, 72px); }
  .home-cover .eyebrow, .eyebrow, .small-label { font-size: 12px; letter-spacing: 1px; }
  .home-lead { font-size: 22px; }
  .cover-description { font-size: 18px; }
  .read-button, .solid-button, .home-cover .read-button { padding: 16px 20px; font-size: 17px; gap: 28px; }
  .home-collage { width: calc(100% - 32px); margin: 24px auto 48px; }
  .collage-small { right: -16px; }
  .photo-caption { font-size: 9px; letter-spacing: .4px; }
  .collage-credit { font-size: 9px; letter-spacing: .3px; }
  .round-stamp { width: 110px; height: 110px; font-size: 12px; }
  .round-stamp strong { font-size: 20px; }
  .round-stamp > span { font-size: 10px; margin-top: 5px; }
  .news-strip > div { gap: 16px; }
  .news-strip span { font-size: 11px; letter-spacing: .8px; }
  .editorial { padding: 56px 0 40px; gap: 24px; }
  .editorial h2 { font-size: clamp(32px, 8vw, 44px); }
  .editorial-columns p, .theme-list p, .character-text p, .shelf-card-copy p, .soon-card p { font-size: 18px; }
  .dropcap:first-letter { font-size: 76px; }
  .themes { grid-template-columns: 1fr; gap: 24px; padding-block: 40px; }
  .themes-heading h2 { font-size: 34px; }
  .theme-list h3 { font-size: 24px; }
  .theme-list article { padding-block: 24px; }
  .characters { padding-block: 56px 72px; }
  .characters .section-heading h2, .issues-section .section-heading h2 { font-size: 34px; max-width: none; }
  .character-grid { grid-template-columns: 1fr; gap: 40px; margin-top: 36px; }
  .character-text { padding: 24px; }
  .character-text h3 { font-size: 32px; }
  .issues-section { padding-block: 48px; }
  .shelf-filters { gap: 8px; }
  .shelf-filters button { font-size: 15px; padding: 12px; }
  .issue-shelf { grid-template-columns: 1fr; gap: 32px; }
  .shelf-card-copy, .soon-card { padding: 24px; }
  .shelf-card h3 { font-size: 44px; }
  .soon-card h3 { font-size: 34px; }
  .shelf-meta, .status-label, .reading-storage-note { font-size: 13px; }
  footer > span { font-size: 11px; line-height: 1.7; }
  footer > a:last-child { font-size: 15px; }
  .reader-context { font-size: 13px; flex-direction: column; }
  .reader-context > span { text-align: left; max-width: none; }
  .reader-page .cover .intro { font-size: 20px; }
  .reader-page .proof-note { padding: 16px; font-size: 15px; }
  .dialogues, #frame-large .dialogues { padding: 16px; font-size: 18px; }
  .reader-page .news-inset, .reader-page .panel:nth-child(2) .news-inset, .reader-page #frame-large .news-inset { padding: 16px; }
  .reader-page .news-inset b, .reader-page .panel:nth-child(2) .news-inset b, .reader-page #frame-large .news-inset b { font-size: 18px; }
  .frame-controls { font-size: 14px; }
  .read-confirmation span { max-width: none; line-height: 1.7; }
  .edition-line { font-size: 11px; }
  .issue-kicker { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .has-intro .opening-header { --intro-distance: 0px; }
  .opening-header .wordmark { transform: none; }
}
