/* The Newspaper edition: black ink on cream newsprint. No other color anywhere: the logo and every
   photograph are printed in halftone. */
:root {
  --paper: #efe7d2;
  --paper-2: #e6dcc2;
  --desk: #cbc2aa;
  --ink: #17140f;
  --ink-2: #3b352d;
  --ink-3: #6a6155;
  --rule: rgba(23, 20, 15, .55);
  --hair: rgba(23, 20, 15, .28);
  --serif: Georgia, 'Times New Roman', Times, serif;
  --head: 'Old Standard TT', 'Bodoni 72', 'Bodoni MT', Didot, 'Times New Roman', Times, serif;
  --black: 'UnifrakturMaguntia', 'Old English Text MT', 'Engravers Old English BT', 'Goudy Text MT', 'Cloister Black', 'Bodoni 72', 'Times New Roman', serif;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .2 0 0 0 0 .12 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
.np-body { margin: 0; background: var(--desk) var(--noise); color: var(--ink); font-family: var(--serif); font-size: 16px; line-height: 1.5; }
.np-body a { color: inherit; text-decoration: none; }
.np-body a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.np-body img { max-width: 100%; }

/* the strip above the paper */
.np-bar { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 18px; background: var(--ink); color: var(--paper); font: 700 12px/1.2 var(--serif); letter-spacing: .14em; text-transform: uppercase; }
.np-bar a { color: var(--paper) !important; }
.np-bar > span { opacity: .8; }
.np-bar__r { display: flex; gap: 16px; opacity: 1 !important; }
.np-back { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border: 1px solid rgba(239, 231, 210, .6); border-radius: 3px; font-size: 13px; }
.np-back:hover { background: rgba(239, 231, 210, .12); text-decoration: none !important; }

/* the sheet itself */
.np-page { position: relative; max-width: 1260px; margin: 22px auto 40px; padding: 26px 36px 30px; background: var(--paper) var(--noise); box-shadow: 0 1px 0 #fff8 inset, 0 0 0 1px rgba(23, 20, 15, .12), 0 22px 60px rgba(40, 30, 15, .35); }
.np-page::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, transparent 60%, rgba(120, 95, 50, .18) 100%); }
@media (max-width: 900px) { .np-page::before { background: radial-gradient(120% 90% at 50% 40%, transparent 60%, rgba(120, 95, 50, .18) 100%); } }

/* nameplate */
.np-mast { display: grid; grid-template-columns: 190px 1fr 190px; align-items: center; gap: 18px; }
.np-mast--compact { grid-template-columns: 1fr; }
.np-ear { display: flex; flex-direction: column; gap: 3px; padding: 8px 10px; border: 1px solid var(--ink); text-align: center; font-size: 12px; line-height: 1.3; color: var(--ink-2); }
.np-ear b { font: 700 11px var(--serif); letter-spacing: .16em; color: var(--ink); }
.np-name { display: flex; align-items: center; justify-content: center; gap: 16px; min-width: 0; text-decoration: none !important; }
.np-name__text { font-family: var(--black); font-weight: 400; font-size: clamp(40px, 7.4vw, 100px); line-height: .95; letter-spacing: .005em; color: var(--ink); text-align: center; white-space: nowrap; }
.np-mast--compact .np-name__text { font-size: clamp(32px, 5vw, 62px); }
.np-name__art { display: block; width: min(100%, 760px); height: auto; filter: grayscale(1) contrast(1.35); mix-blend-mode: multiply; }
.np-mast--compact .np-name__art { width: min(100%, 520px); }
.np-seal { flex: none; width: 84px; height: 84px; object-fit: contain; filter: grayscale(1) contrast(1.4) brightness(.92); mix-blend-mode: multiply; }
.np-mast--compact .np-seal { width: 56px; height: 56px; }
.np-dateline { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 5px 2px; border-top: 1px solid var(--ink); border-bottom: 4px double var(--ink); font: 700 12px var(--serif); letter-spacing: .14em; text-transform: uppercase; }

/* the index of sections */
.np-index { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 0; margin: 6px 0 14px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); font: 12.5px var(--serif); letter-spacing: .06em; text-transform: uppercase; }
.np-index a { padding: 2px 10px; border-right: 1px solid var(--hair); white-space: nowrap; }
.np-index a:last-child { border-right: 0; }
.np-index a b { font-weight: 700; margin-right: 3px; }
.np-index a[aria-current] { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* headlines */
.np-banner { margin: 6px 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); font-family: var(--head); font-weight: 900; font-size: clamp(34px, 5.6vw, 76px); line-height: .98; letter-spacing: -.012em; text-transform: uppercase; text-align: center; }
.np-sechead { display: flex; flex-direction: column; align-items: center; margin: 4px 0 16px; padding-bottom: 10px; border-bottom: 4px double var(--ink); font-family: var(--head); font-weight: 900; font-size: clamp(34px, 5vw, 64px); line-height: 1; text-transform: uppercase; letter-spacing: .02em; }
.np-sechead span { font: 700 13px var(--serif); letter-spacing: .3em; margin-bottom: 6px; }
.np-hed { margin: 0 0 6px; font-family: var(--head); font-weight: 800; line-height: 1.04; letter-spacing: -.005em; }
.np-hed--xl { font-size: clamp(32px, 4.6vw, 62px); text-align: center; margin-bottom: 10px; }
.np-hed--l { font-size: clamp(26px, 3.2vw, 40px); }
.np-hed--m { font-size: clamp(21px, 2.2vw, 27px); }
.np-hed--s { font-size: 19px; }
.np-hed--xs { font-size: 16.5px; }
.np-deck { margin: 0 0 8px; font-style: italic; font-size: 16.5px; line-height: 1.35; color: var(--ink-2); }
.np-deck--lead { font-size: clamp(17px, 1.8vw, 21px); text-align: center; max-width: 900px; margin: 0 auto 10px; }
.np-by { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; margin: 0 0 8px; padding: 3px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); font: 700 11px var(--serif); letter-spacing: .12em; text-transform: uppercase; }
.np-by span { font-weight: 400; color: var(--ink-3); }
.np-by--story { justify-content: center; text-align: center; max-width: 900px; margin: 0 auto 14px; }
.np-kicker { margin: 4px 0 6px; text-align: center; font: 700 12px var(--serif); letter-spacing: .32em; text-transform: uppercase; }

/* text */
.np-body p { margin: 0 0 .7em; text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.np-dl { font-weight: 700; letter-spacing: .06em; font-size: .86em; }
.np-jump { font-style: italic; font-size: 14px; text-align: right !important; }
.np-jump a { text-decoration: underline; text-underline-offset: 3px; }
.np-cols--2 { column-count: 2; column-gap: 26px; column-rule: 1px solid var(--hair); }
.np-cols--story { column-count: 2; column-gap: 30px; column-rule: 1px solid var(--hair); font-size: 17px; line-height: 1.58; }
.np-cols p, .np-cols li { break-inside: avoid-column; orphans: 3; widows: 3; }
.np-drop::first-letter { float: left; margin: 6px 8px 0 0; font-family: var(--head); font-weight: 900; font-size: 4.2em; line-height: .78; }
.np-subhed { margin: 22px 0 10px; text-align: center; font-family: var(--head); font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: .04em; }
.np-subhed::before, .np-subhed::after { content: '—'; margin: 0 10px; font-weight: 400; }
.np-dash { margin: 18px 0 6px; text-align: center; letter-spacing: .6em; font-size: 13px; color: var(--ink-3); }
.np-list { margin: 0 0 .8em; padding-left: 1.2em; }
.np-list li { margin-bottom: .3em; }

/* photographs, printed in halftone */
.np-photo { position: relative; margin: 0 0 10px; border: 1px solid var(--ink); background: var(--paper-2); overflow: hidden; }
.np-photo img { display: block; width: 100%; height: auto; filter: grayscale(1) contrast(1.18) brightness(1.04); mix-blend-mode: multiply; }
.np-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(23, 20, 15, .55) .9px, transparent 1.25px); background-size: 3.4px 3.4px; mix-blend-mode: multiply; opacity: .32; }
.np-photo--lead { aspect-ratio: 16 / 9; }
.np-photo--lead img { height: 100%; object-fit: cover; }
.np-photo--side, .np-photo--row { aspect-ratio: 3 / 2; }
.np-photo--side img, .np-photo--row img { height: 100%; object-fit: cover; }
.np-photo--small { aspect-ratio: 1 / 1; margin: 0; }
.np-photo--small img { height: 100%; object-fit: cover; }
.np-photo--inset { max-width: 760px; margin: 14px auto 16px; aspect-ratio: 16 / 9; }
.np-photo--inset img { height: 100%; object-fit: cover; }
.np-cap { margin: -4px 0 14px !important; text-align: right !important; font: italic 12px var(--serif); color: var(--ink-3); }

/* front page grid, with column rules */
.np-front { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0; }
.np-lead { padding-right: 22px; }
.np-side { padding-left: 22px; border-left: 1px solid var(--rule); }
.np-rule-top { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule); }
.np-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; padding-top: 14px; border-top: 4px double var(--ink); }
.np-row > * { padding: 0 18px; border-left: 1px solid var(--rule); }
.np-row > *:first-child { padding-left: 0; border-left: 0; }
.np-row > *:last-child { padding-right: 0; }
.np-lower { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); margin-top: 18px; padding-top: 14px; border-top: 4px double var(--ink); }
.np-lower__stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; padding-right: 22px; }
.np-story--h { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: start; }
.np-rail { padding-left: 22px; border-left: 1px solid var(--rule); display: flex; flex-direction: column; gap: 16px; }
.np-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 0; margin-top: 18px; padding-top: 14px; border-top: 4px double var(--ink); }
.np-grid4 > * { padding: 0 16px; border-left: 1px solid var(--hair); }
.np-grid4 > *:nth-child(4n + 1) { padding-left: 0; border-left: 0; }

/* boxes: news in brief, markets, weather */
.np-box { border-top: 3px solid var(--ink); padding-top: 6px; }
.np-box__h { margin: 0 0 8px; padding-bottom: 4px; border-bottom: 1px solid var(--ink); font: 800 15px var(--head); letter-spacing: .18em; text-transform: uppercase; text-align: center; }
.np-briefs { list-style: none; margin: 0; padding: 0; }
.np-briefs li { padding: 6px 0; border-bottom: 1px dotted var(--hair); font-size: 14px; line-height: 1.38; }
.np-briefs b { font-family: var(--head); font-size: 15px; }
.np-agate { width: 100%; border-collapse: collapse; font: 12.5px/1.3 var(--serif); font-variant-numeric: tabular-nums; }
.np-agate th { text-align: left; font-weight: 700; }
.np-agate td { text-align: right; }
.np-agate th, .np-agate td { padding: 2px 3px; border-bottom: 1px dotted var(--hair); white-space: nowrap; }
.np-agate td:last-child { white-space: normal; }
.np-fine { margin: 4px 0 0 !important; font: italic 11px var(--serif); color: var(--ink-3); text-align: left !important; }

/* a story page */
.np-article { max-width: 1040px; margin: 0 auto; }
.np-text { margin-top: 6px; }
.np-sources { margin-top: 18px; padding-top: 8px; border-top: 1px solid var(--ink); font-size: 13px; }
.np-sources h3 { margin: 0 0 6px; font: 800 13px var(--head); letter-spacing: .2em; text-transform: uppercase; }
.np-sources ol { margin: 0; padding-left: 1.4em; columns: 2; column-gap: 26px; }
.np-sources a { text-decoration: underline; }
.np-end { margin: 16px 0 4px !important; text-align: center !important; font: 700 14px var(--serif); letter-spacing: .4em; }
.np-online { text-align: center !important; font-style: italic; }
.np-online a { text-decoration: underline; text-underline-offset: 3px; }
.np-also { margin-top: 22px; }
.np-empty { padding: 40px 0; text-align: center !important; font-style: italic; }

.np-foot { margin-top: 22px; padding-top: 8px; border-top: 4px double var(--ink); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font: 12px var(--serif); letter-spacing: .1em; text-transform: uppercase; }
.np-foot p { margin: 0 !important; text-align: left !important; }
.np-foot a { text-decoration: underline; }

/* phones and small tablets */
@media (max-width: 1000px) {
  .np-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .np-grid4 > * { padding: 0 12px; border-left: 1px solid var(--hair); }
  .np-grid4 > *:nth-child(2n + 1) { padding-left: 0; border-left: 0; }
}
@media (max-width: 900px) {
  .np-page { margin: 0; padding: 16px 16px 24px; box-shadow: none; }
  .np-mast { grid-template-columns: 1fr; gap: 8px; }
  .np-ear { display: none; }
  .np-name { gap: 10px; }
  .np-seal { width: 52px; height: 52px; }
  .np-name__text { font-size: clamp(30px, 10vw, 58px); white-space: normal; }
  .np-dateline { flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; text-align: center; }
  .np-index { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .np-index::-webkit-scrollbar { display: none; }
  .np-front, .np-lower { grid-template-columns: 1fr; }
  .np-lead { padding-right: 0; }
  .np-side, .np-rail { padding-left: 0; border-left: 0; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule); }
  .np-row { grid-template-columns: 1fr; }
  .np-row > * { padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--hair); margin-top: 12px; }
  .np-row > *:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
  .np-lower__stories { grid-template-columns: 1fr; padding-right: 0; }
  .np-cols--2, .np-cols--story { column-count: 1; }
  .np-sources ol { columns: 1; }
  .np-body p { text-align: left; }
}
@media (max-width: 560px) {
  .np-grid4 { grid-template-columns: 1fr; }
  .np-grid4 > * { padding: 12px 0 0 !important; border-left: 0 !important; border-top: 1px solid var(--hair); }
  .np-story--h { grid-template-columns: 88px minmax(0, 1fr); }
  .np-bar { font-size: 10.5px; padding: 7px 12px; }
  .np-bar > span:not(.np-bar__r) { display: none; }
  .np-bar__r a:first-child { display: none; }
}
@media print {
  .np-bar { display: none; }
  .np-body { background: #fff; }
  .np-page { box-shadow: none; margin: 0; max-width: none; }
}
/* the way back out: a clear button at the top right of every newspaper page */
.np-bar .np-modern { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 3px; background: var(--paper); color: var(--ink) !important; font-size: 12px; }
.np-bar .np-modern:hover { background: #fff8e6; text-decoration: none !important; }
@media (max-width: 560px) { .np-bar .np-modern { padding: 4px 9px; font-size: 10.5px; } }

/* =====================================================================
   Turning the pages (and folding the paper). Backup of the version before this:
   newspaper-before-pageturn.css / newspaper-before-pageturn.js
   ===================================================================== */
/* period photographs behind the paper on desktop */
/* The photograph sits on its own fixed layer (no background-attachment: fixed, which flickers while scrolling)
   and fades in behind the paper; the paper gets a double rule border and a warm lamplight glow. */
@media (min-width: 1100px) {
  .np-body[style*="--np-bg"] { background: #16120b; }
  .np-body[style*="--np-bg"]::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(70% 80% at 50% 45%, rgba(30, 24, 14, .35), rgba(20, 16, 9, .78)), var(--np-bg) center / cover no-repeat; opacity: 0; transform: translateZ(0) scale(1.04); will-change: opacity, transform; backface-visibility: hidden; animation: np-bg-in 2.2s ease .1s forwards; }
  .np-body[style*="--np-bg"] .np-page { border: 3px double rgba(120, 90, 40, .6); box-shadow: 0 0 0 1px rgba(255, 240, 205, .35), 0 0 0 9px rgba(250, 236, 205, .1), 0 0 50px rgba(255, 212, 140, .38), 0 0 120px rgba(255, 196, 110, .18), 0 34px 90px rgba(0, 0, 0, .65); animation: np-glow 6s ease-in-out infinite alternate; }
}
@keyframes np-bg-in { to { opacity: 1; transform: translateZ(0) scale(1); } }
@keyframes np-glow { from { box-shadow: 0 0 0 1px rgba(255, 240, 205, .35), 0 0 0 9px rgba(250, 236, 205, .1), 0 0 44px rgba(255, 212, 140, .32), 0 0 110px rgba(255, 196, 110, .14), 0 34px 90px rgba(0, 0, 0, .65); } to { box-shadow: 0 0 0 1px rgba(255, 240, 205, .45), 0 0 0 9px rgba(250, 236, 205, .14), 0 0 60px rgba(255, 212, 140, .45), 0 0 140px rgba(255, 196, 110, .22), 0 34px 90px rgba(0, 0, 0, .65); } }
@media (prefers-reduced-motion: reduce) { .np-body[style*="--np-bg"]::before { animation: none; opacity: 1; transform: none; } .np-body[style*="--np-bg"] .np-page { animation: none; } }
/* Read with Oldies */
.np-music { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border: 1px solid currentColor; border-radius: 999px; background: none; color: inherit; font: inherit; font-size: 13px; letter-spacing: .04em; cursor: pointer; }
.np-music[aria-pressed="true"] { background: #2b2418; color: #f4ead2; border-color: #2b2418; }
.np-music.is-wait { animation: np-pulse 1.4s ease-in-out infinite; background: #8b1a1a; color: #fff; border-color: #8b1a1a; }
.np-music__eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.np-music__eq i { width: 3px; background: currentColor; animation: np-eq 1s ease-in-out infinite; }
.np-music__eq i:nth-child(2) { animation-delay: .2s; } .np-music__eq i:nth-child(3) { animation-delay: .4s; }
.np-music[aria-pressed="false"] .np-music__eq i { animation: none; height: 4px; }
@keyframes np-eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }
@keyframes np-pulse { 50% { box-shadow: 0 0 0 6px rgba(139, 26, 26, .25); } }
.np-page { transform-origin: left center; transform-style: preserve-3d; backface-visibility: hidden; }
/* a page leaving: it lifts at the edge and swings over the spine, like a broadsheet */
.np-page.np-out-next { animation: np-out-next .62s cubic-bezier(.55, .05, .7, .2) forwards; transform-origin: left center; }
.np-page.np-out-prev { animation: np-out-prev .62s cubic-bezier(.55, .05, .7, .2) forwards; transform-origin: right center; }
.np-page.np-in-next { animation: np-in-next .55s cubic-bezier(.2, .7, .3, 1) both; transform-origin: right center; }
.np-page.np-in-prev { animation: np-in-prev .55s cubic-bezier(.2, .7, .3, 1) both; transform-origin: left center; }
@keyframes np-out-next { 0% { transform: perspective(2400px) rotateY(0); filter: brightness(1); } 100% { transform: perspective(2400px) rotateY(-88deg) translateX(-30px); filter: brightness(.55); } }
@keyframes np-out-prev { 0% { transform: perspective(2400px) rotateY(0); filter: brightness(1); } 100% { transform: perspective(2400px) rotateY(88deg) translateX(30px); filter: brightness(.55); } }
@keyframes np-in-next { 0% { transform: perspective(2400px) rotateY(28deg); filter: brightness(.75); opacity: .3; } 100% { transform: none; filter: none; opacity: 1; } }
@keyframes np-in-prev { 0% { transform: perspective(2400px) rotateY(-28deg); filter: brightness(.75); opacity: .3; } 100% { transform: none; filter: none; opacity: 1; } }
.np-page::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: linear-gradient(90deg, rgba(0, 0, 0, .25), transparent 18%, transparent 82%, rgba(0, 0, 0, .25)); }
.np-page.np-out-next::after, .np-page.np-out-prev::after { opacity: 1; }
/* desktop: page-turn tabs on the left and right edges */
.np-turn { position: fixed; top: 50%; z-index: 30; display: flex; align-items: center; gap: 8px; transform: translateY(-50%); padding: 18px 10px; background: rgba(239, 231, 210, .92); color: var(--ink); box-shadow: 0 8px 26px rgba(0, 0, 0, .35); transition: padding .2s, background .2s; text-decoration: none !important; }
.np-turn--prev { left: 0; border-radius: 0 10px 10px 0; flex-direction: row; }
.np-turn--next { right: 0; border-radius: 10px 0 0 10px; flex-direction: row-reverse; }
.np-turn__arrow { font: 700 34px/1 var(--serif); }
.np-turn__txt { display: flex; flex-direction: column; max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .25s; font-family: var(--serif); }
.np-turn__txt b { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.np-turn__txt small { font-size: 13px; font-style: italic; }
.np-turn:hover { background: #fff8e6; padding-left: 16px; padding-right: 16px; }
.np-turn:hover .np-turn__txt { max-width: 240px; }
/* a curled corner on the "next" tab, like the corner of a paper page */
.np-turn--next::before { content: ''; position: absolute; right: 0; bottom: -22px; width: 22px; height: 22px; background: linear-gradient(225deg, transparent 50%, rgba(0, 0, 0, .25) 50%, #d8cdb2 60%); }
/* the bottom of every page: turn it */
.np-pager { max-width: 1260px; margin: -24px auto 40px; padding: 0 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.np-pager a { font-family: var(--serif); color: #efe7d2 !important; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.np-pager__next { position: relative; display: flex; flex-direction: column; align-items: flex-end; padding: 16px 64px 16px 20px; background: var(--paper) var(--noise); color: var(--ink) !important; text-shadow: none !important; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); clip-path: polygon(0 0, 100% 0, 100% 62%, 78% 100%, 0 100%); transition: transform .2s; }
.np-pager__next span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.np-pager__next b { font-size: 20px; font-family: var(--head, var(--serif)); }
.np-pager__next::after { content: ''; position: absolute; right: 0; bottom: 0; width: 22%; height: 38%; background: linear-gradient(315deg, transparent 48%, rgba(0, 0, 0, .28) 50%, #d6caad 56%, #efe7d2 100%); }
.np-pager__next:hover { transform: translateY(-2px) rotate(-.6deg); text-decoration: none !important; }
/* phones: arrows along the bottom */
.np-mbar { display: none; }
@media (max-width: 1099px) {
  .np-turn { display: none; }
  .np-pager { display: none; }
  .np-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--paper); font-family: var(--serif); box-shadow: 0 -6px 20px rgba(0, 0, 0, .3); }
  .np-mbar a, .np-mbar__off { display: grid; place-items: center; height: 46px; border-radius: 8px; background: var(--paper); color: var(--ink) !important; font: 700 30px/1 var(--serif); text-decoration: none !important; }
  .np-mbar__off { opacity: .25; }
  .np-mbar__at { text-align: center; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 8px; }
  .np-has-turn .np-page { margin-bottom: 90px; }
}
/* folding the paper: the lower half folds up behind the top, leaving what's "above the fold" */
.np-foldbtn { padding: 3px 10px; border: 1px solid rgba(239, 231, 210, .6); border-radius: 3px; background: none; color: var(--paper); font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.np-foldbtn:hover { background: rgba(239, 231, 210, .12); }
.np-folded .np-page { max-height: calc(100vh - 80px); overflow: hidden; }
.np-folded .np-page::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: 5; transform-origin: top center; animation: np-fold .7s cubic-bezier(.3, .7, .3, 1) both;
  background: linear-gradient(180deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, .05) 8%, transparent 20%), var(--paper) var(--noise); box-shadow: 0 -2px 0 rgba(0, 0, 0, .15), 0 -14px 26px rgba(0, 0, 0, .18); }
.np-folded .np-page::after { opacity: 1; background: linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, .18) 54%, transparent 58%); }
@keyframes np-fold { 0% { transform: perspective(1600px) rotateX(90deg); opacity: .4; } 100% { transform: perspective(1600px) rotateX(0); opacity: 1; } }
.np-folded .np-foldbtn { background: var(--paper); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .np-page.np-out-next, .np-page.np-out-prev, .np-page.np-in-next, .np-page.np-in-prev, .np-folded .np-page::before { animation-duration: .01s; } }
@media print { .np-turn, .np-pager, .np-mbar { display: none !important; } }
