/* The Daily Spread front page: a living newspaper cover.
   Pure CSS art direction plus one small script. No external assets. */

body.front-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(185, 135, 47, 0.22), transparent 30rem),
    radial-gradient(circle at 88% 92%, rgba(140, 47, 36, 0.16), transparent 30rem),
    linear-gradient(140deg, #232d27, #2e3a32 52%, #20281f);
}

.front-shell {
  width: min(1240px, calc(100% - 2rem));
  margin: clamp(0.75rem, 3vw, 2.5rem) auto;
  background:
    radial-gradient(rgba(25, 24, 19, 0.055) 1px, transparent 1.4px),
    linear-gradient(rgba(25, 24, 19, 0.02), rgba(25, 24, 19, 0.02)),
    var(--paper);
  background-size: 22px 22px, auto, auto;
  border: 1px solid rgba(25, 24, 19, 0.5);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

/* Header */

.front-header {
  padding: clamp(1.25rem, 4vw, 3rem) clamp(1.25rem, 4vw, 3.5rem) 0;
  text-align: center;
}

.front-topline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.55rem 0;
  border-top: 4px double var(--rule);
  border-bottom: 1px solid var(--rule);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.masthead-wrap {
  position: relative;
  padding: 1.4rem 0 0.4rem;
}

.masthead-kicker {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.55em;
  text-transform: uppercase;
}

.front-masthead {
  margin: 0;
  font-size: clamp(4rem, 13.5vw, 10.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.front-masthead .masthead-spread {
  color: var(--accent);
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 0.045em;
  text-underline-offset: 0.09em;
}

.seal {
  position: absolute;
  top: 0.6rem;
  right: 0.5rem;
  width: clamp(92px, 12vw, 138px);
  transform: rotate(10deg);
}

.seal svg {
  width: 100%;
  height: auto;
  animation: seal-spin 26s linear infinite;
}

.seal-outer {
  fill: var(--paper-bright);
  stroke: var(--accent);
  stroke-width: 2;
}

.seal-inner {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}

.seal-text {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  fill: var(--accent-dark);
}

.seal-center {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 700;
  fill: var(--ink);
}

@keyframes seal-spin {
  to { transform: rotate(360deg); }
}

.seal svg {
  transform-origin: 50% 50%;
}

.front-tagline {
  max-width: 46rem;
  margin: 0.6rem auto 1.2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-style: italic;
}

.front-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 2rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 4px double var(--rule);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.front-nav a {
  text-decoration: none;
}

/* Ticker */

.ticker {
  margin-top: 1.1rem;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
  padding: 0.55rem 1rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  animation: ticker-move 36s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-track i {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
}

@keyframes ticker-move {
  to { transform: translateX(-50%); }
}

/* Sections */

.front-kicker {
  margin: 0 0 0.7rem;
  color: var(--accent-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-intro h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.section-intro h2 span {
  color: var(--accent);
  font-style: italic;
}

.section-intro p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-intro.light h2,
.section-intro.light p {
  color: var(--paper);
}

.section-intro.light .front-kicker {
  color: var(--gold);
}

/* Cover stage */

.cover-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3.5rem);
}

.issue-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.issue-pill,
.classification-pill {
  padding: 0.4rem 0.8rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.classification-pill {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper-bright);
  transform: rotate(-2deg);
}

.cover-eyebrow {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  font-style: italic;
}

.cover-copy h2 {
  margin: 0;
  font-size: clamp(2.7rem, 6.2vw, 4.9rem);
  font-weight: 700;
  line-height: 0.99;
  letter-spacing: -0.035em;
}

.headline-accent {
  color: var(--accent);
  font-style: italic;
  background: linear-gradient(transparent 62%, rgba(185, 135, 47, 0.4) 62%, rgba(185, 135, 47, 0.4) 94%, transparent 94%);
}

.cover-deck {
  margin: 1.1rem 0 0;
  font-size: clamp(1.18rem, 2.4vw, 1.5rem);
  line-height: 1.38;
}

.cover-intro {
  margin-top: 1rem;
  color: #373329;
}

.cover-intro p {
  margin: 0 0 0.6rem;
}

.cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.cover-button {
  display: inline-block;
  padding: 0.78rem 1.15rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.cover-button:hover {
  transform: translateY(-2px);
  color: var(--ink);
}

.cover-button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper-bright);
  box-shadow: 0 10px 24px rgba(140, 47, 36, 0.32);
}

.cover-button.primary:hover {
  background: var(--accent-dark);
  color: var(--paper-bright);
}

.cover-button.light-button {
  border-color: var(--paper);
  color: var(--paper);
}

.cover-button.light-button:hover {
  background: var(--paper);
  color: var(--ink);
}

.cover-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
}

.cover-facts dt {
  color: var(--accent-dark);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.cover-facts dd {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  line-height: 1.45;
}

/* Jar art */

.cover-art {
  position: relative;
}

.art-halo {
  position: absolute;
  inset: 4% 2% auto;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(185, 135, 47, 0.2) 0deg 9deg, transparent 9deg 18deg);
  -webkit-mask-image: radial-gradient(circle, #000 58%, transparent 72%);
  mask-image: radial-gradient(circle, #000 58%, transparent 72%);
  animation: halo-spin 60s linear infinite;
}

@keyframes halo-spin {
  to { transform: rotate(360deg); }
}

.jar-stage {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  transition: transform 0.35s ease;
}

.jar-art {
  position: relative;
  width: 100%;
  height: auto;
}

.jar-shadow {
  fill: rgba(25, 24, 19, 0.22);
}

.pig-art {
  position: relative;
  width: 100%;
  height: auto;
}

.puddle-level {
  transition: transform 0.85s cubic-bezier(0.34, 1.3, 0.5, 1), opacity 0.5s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.jar-stage.mode-thin .puddle-level {
  transform: translateY(16px) scale(0.78);
  opacity: 0.85;
}

.jar-stage.mode-thick .puddle-level {
  transform: translateY(7px) scale(0.93);
}

.jar-stage.mode-whip .puddle-level {
  transform: translateY(0) scale(1.05);
}

.puddle-splashes {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.jar-stage.mode-whip .puddle-splashes {
  opacity: 1;
}

.sparkles path {
  fill: var(--gold);
  animation: sparkle-pulse 2.8s ease-in-out infinite;
}

.sparkles path:nth-child(2) {
  animation-delay: 0.7s;
}

.sparkles path:nth-child(3) {
  animation-delay: 1.3s;
}

@keyframes sparkle-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.jar-glass {
  fill: url(#glass);
}

.jar-outline {
  fill: none;
  stroke: var(--ink);
  stroke-width: 5;
  stroke-linejoin: round;
}

.mayo-fill {
  fill: url(#mayo);
}

.whip-peaks {
  fill: url(#mayo);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.mayo-level {
  transition: transform 0.85s cubic-bezier(0.34, 1.3, 0.5, 1);
}

.jar-stage.mode-thin .mayo-level {
  transform: translateY(118px);
}

.jar-stage.mode-thick .mayo-level {
  transform: translateY(52px);
}

.jar-stage.mode-whip .mayo-level {
  transform: translateY(0);
}

.jar-stage.mode-whip .whip-peaks {
  opacity: 1;
}

.glass-shine {
  fill: rgba(255, 255, 255, 0.5);
}

.jar-label rect {
  fill: var(--paper-bright);
  stroke: var(--ink);
  stroke-width: 3;
}

.label-small {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.3em;
  fill: var(--muted);
}

.label-spread {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 41px;
  font-weight: 700;
  letter-spacing: 0.04em;
  fill: var(--ink);
}

.label-rule {
  stroke: var(--accent);
  stroke-width: 3;
}

.label-kind {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-style: italic;
  fill: #373329;
}

.label-number-bg {
  fill: var(--accent);
}

.label-number {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px;
  font-weight: 800;
  fill: var(--paper-bright);
}

.jar-lid rect {
  fill: url(#lid);
  stroke: var(--ink);
  stroke-width: 4;
}

.jar-lid path {
  stroke: rgba(25, 24, 19, 0.4);
  stroke-width: 5;
}

.float-chip {
  position: absolute;
  padding: 0.45rem 0.75rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--paper-bright);
  box-shadow: 0 8px 20px rgba(25, 24, 19, 0.18);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: chip-float 5.5s ease-in-out infinite;
}

.chip-a {
  top: 9%;
  left: -4%;
  transform: rotate(-6deg);
}

.chip-b {
  top: 34%;
  right: -6%;
  background: #f2d492;
  transform: rotate(4deg);
  animation-delay: 1.2s;
}

.chip-c {
  bottom: 7%;
  left: -3%;
  transform: rotate(3deg);
  animation-delay: 2.1s;
}

@keyframes chip-float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -9px; }
}

/* Spread selector */

.spread-control {
  max-width: 430px;
  margin: 1.6rem auto 0;
}

.spread-control fieldset {
  margin: 0;
  padding: 1rem 1.1rem 1.1rem;
  border: 1.5px dashed rgba(25, 24, 19, 0.55);
  border-radius: 14px;
  background: rgba(255, 250, 240, 0.72);
}

.spread-control legend {
  padding: 0 0.4rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.spread-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.spread-options button {
  padding: 0.55rem 1rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.spread-options button:hover {
  transform: translateY(-2px);
}

.spread-options button.is-active {
  background: var(--ink);
  color: var(--paper-bright);
}

.spread-options button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.spread-status {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-style: italic;
}

/* Inside the issue */

.inside-section {
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3.5rem);
  border-top: 1px solid var(--rule);
}

.clipping-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.clipping {
  position: relative;
  padding: 1.5rem 1.35rem 1.35rem;
  border: 1px solid rgba(25, 24, 19, 0.55);
  background: var(--paper-bright);
  box-shadow: 0 14px 30px rgba(25, 24, 19, 0.13);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.clipping::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 92px;
  height: 24px;
  background: rgba(185, 135, 47, 0.45);
  transform: translateX(-50%) rotate(-2deg);
}

.clipping:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 22px 38px rgba(25, 24, 19, 0.18);
}

.tilt-left {
  transform: rotate(-1.1deg);
}

.tilt-right {
  transform: rotate(1.1deg);
}

.featured-clipping {
  border: 2px solid var(--accent);
}

.clipping-number {
  margin: 0;
  color: rgba(25, 24, 19, 0.14);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
}

.clipping-label {
  margin: 0.4rem 0 0.5rem;
  color: var(--accent-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.clipping h3 {
  margin: 0 0 0.6rem;
  font-size: 1.5rem;
  line-height: 1.14;
}

.clipping h3 a {
  text-decoration: none;
}

.clipping p {
  color: #373329;
}

.clipping-link {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 0.14em;
  text-underline-offset: 0.22em;
}

/* Record board */

.record-board {
  padding: clamp(2.2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3.5rem);
  background:
    radial-gradient(rgba(246, 240, 228, 0.07) 1px, transparent 1.4px),
    var(--ink);
  background-size: 22px 22px, auto;
  color: var(--paper);
}

.note-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.record-note {
  position: relative;
  padding: 1.6rem 1.35rem 1.35rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

.record-note.checked {
  transform: rotate(-1deg);
}

.record-note.interpreted {
  transform: rotate(0.8deg);
}

.record-note.not-claimed {
  transform: rotate(-0.6deg);
}

.record-note .tape {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 96px;
  height: 25px;
  background: rgba(185, 135, 47, 0.55);
  transform: translateX(-50%) rotate(2deg);
}

.note-stamp {
  display: inline-block;
  margin: 0 0 0.8rem;
  padding: 0.3rem 0.6rem;
  border: 2px solid var(--accent);
  border-radius: 4px;
  color: var(--accent-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}

.record-note h3 {
  margin: 0 0 0.55rem;
  font-size: 1.45rem;
  line-height: 1.15;
}

.record-note p {
  color: #373329;
}

.record-button-wrap {
  margin: 2rem 0 0;
  text-align: center;
}

/* Label lab */

.label-lab {
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3.5rem);
  border-top: 1px solid var(--rule);
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.lab-card {
  position: relative;
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(25, 24, 19, 0.5);
  background: rgba(255, 250, 240, 0.66);
  transition: transform 0.25s ease;
}

.lab-card:hover {
  transform: translateY(-6px);
}

.lab-card.thick {
  border: 2px solid var(--accent);
  background: var(--paper-bright);
  box-shadow: 0 16px 34px rgba(140, 47, 36, 0.16);
}

.lab-symbol {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 0 1rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper-bright);
  font-size: 1.5rem;
  font-weight: 700;
}

.lab-card.thick .lab-symbol {
  background: var(--accent);
}

.lab-card.whip .lab-symbol {
  background: var(--gold);
  color: var(--ink);
}

.lab-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.55rem;
}

.lab-line {
  margin: 0 0 0.7rem;
  color: var(--accent-dark);
  font-size: 1.08rem;
  font-style: italic;
}

.current-label {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--paper-bright);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* Pantry archive */

.pantry {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3.5rem);
  border-top: 1px solid var(--rule);
  background: rgba(255, 250, 240, 0.5);
}

.pantry-copy h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.pantry-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.shelf {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(1rem, 4vw, 2.2rem);
  padding: 1rem 1rem 30px;
}

.shelf-board {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(#a9743f, #7d5228);
  box-shadow: 0 10px 18px rgba(25, 24, 19, 0.25);
}

.shelf-jar {
  position: relative;
  z-index: 1;
  width: 132px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.22s ease;
}

a.shelf-jar:hover {
  transform: translateY(-7px) rotate(-1.5deg);
}

.shelf-lid {
  display: block;
  width: 78%;
  height: 20px;
  margin: 0 auto;
  border: 2.5px solid var(--ink);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  background: var(--accent);
}

.shelf-jar.reserved .shelf-lid {
  background: #b9b0a0;
}

.shelf-jar-body {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 0.5rem 1rem;
  border: 2.5px solid var(--ink);
  border-radius: 12px 12px 18px 18px;
  background: linear-gradient(rgba(255, 255, 255, 0.65), rgba(244, 223, 174, 0.85));
}

.shelf-jar-body small {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.shelf-jar-body strong {
  font-size: 2rem;
  line-height: 1;
}

.shelf-jar-body span {
  font-size: 0.86rem;
  font-style: italic;
}

.shelf-jar.reserved {
  opacity: 0.55;
}

.shelf-jar.reserved .shelf-jar-body {
  border-style: dashed;
  background: rgba(255, 250, 240, 0.5);
}

/* Manifesto and footer */

.manifesto {
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3.5rem);
  border-top: 4px double var(--rule);
  text-align: center;
}

.manifesto h2 {
  max-width: 820px;
  margin: 0 auto 1rem;
  font-size: clamp(2.1rem, 5.4vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.manifesto p {
  max-width: 700px;
  margin: 0 auto;
  color: #373329;
  font-size: 1.12rem;
}

.manifesto .manifesto-signoff {
  margin-top: 1.4rem;
  color: var(--accent-dark);
  font-size: 1.25rem;
  font-style: italic;
}

.front-footer {
  padding: 2rem 1.5rem 2.4rem;
  border-top: 1px solid var(--rule);
  text-align: center;
  color: var(--muted);
}

.footer-masthead {
  margin: 0 0 0.4rem;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.front-footer p {
  margin: 0.3rem 0;
}

/* Reveal on scroll */

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .clipping.reveal.tilt-left.is-visible {
  transform: rotate(-1.1deg);
}

.js .clipping.reveal.tilt-right.is-visible {
  transform: rotate(1.1deg);
}

.js .record-note.reveal.is-visible {
  transform: rotate(-1deg);
}

.js .record-note.interpreted.reveal.is-visible {
  transform: rotate(0.8deg);
}

.js .record-note.not-claimed.reveal.is-visible {
  transform: rotate(-0.6deg);
}

/* Responsive */

@media (max-width: 900px) {
  .cover-stage,
  .pantry {
    grid-template-columns: 1fr;
  }

  .clipping-grid,
  .note-board,
  .lab-grid {
    grid-template-columns: 1fr;
  }

  .clipping,
  .record-note {
    transform: none;
  }

  .js .clipping.reveal.is-visible,
  .js .record-note.reveal.is-visible {
    transform: none;
  }

  .cover-art {
    margin-top: 0.5rem;
  }
}

@media (max-width: 560px) {
  body.front-page {
    background: var(--paper);
  }

  .front-shell {
    width: 100%;
    margin: 0;
    border-right: 0;
    border-left: 0;
    box-shadow: none;
  }

  .front-topline {
    justify-content: center;
    text-align: center;
  }

  .front-topline .topline-center {
    order: 3;
    width: 100%;
  }

  .seal {
    position: static;
    margin: 0.8rem auto 0;
    transform: rotate(6deg);
  }

  .masthead-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cover-facts {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .float-chip {
    font-size: 0.64rem;
  }

  .chip-a {
    left: 0;
  }

  .chip-b {
    right: 0;
  }

  .chip-c {
    left: 0;
  }

  .shelf {
    flex-wrap: wrap;
  }

  .ticker-track {
    animation-duration: 26s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track,
  .seal svg,
  .art-halo,
  .sparkles path,
  .float-chip {
    animation: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .jar-stage,
  .mayo-level,
  .clipping,
  .lab-card,
  .cover-button,
  .shelf-jar {
    transition: none;
  }
}

@media print {
  .ticker,
  .spread-control,
  .front-nav {
    display: none;
  }

  .front-shell {
    width: 100%;
    margin: 0;
    border: 0;
    box-shadow: none;
  }
}
