:root {
  --ink: #171613;
  --ink-soft: #4a463d;
  --paper: #eee4cd;
  --paper-deep: #ded0b2;
  --paper-light: #f8f1df;
  --red: #7f211f;
  --red-dark: #571311;
  --rule: rgba(23, 22, 19, 0.42);
  --rule-light: rgba(23, 22, 19, 0.18);
  --shadow: rgba(28, 20, 10, 0.24);
  --serif: Iowan Old Style, Baskerville, "Times New Roman", Times, serif;
  --sans: Arial Narrow, Franklin Gothic Medium, Helvetica Neue, Arial, sans-serif;
  --max-paper: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #27241f;
  color: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 244, 216, 0.055) 0 1px, transparent 1.5px),
    radial-gradient(circle at 78% 66%, rgba(255, 244, 216, 0.04) 0 1px, transparent 1.4px),
    linear-gradient(135deg, #25221e, #353028 52%, #201e1a);
  background-size: 19px 23px, 31px 29px, auto;
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid #f2b84b;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-180%);
  background: var(--ink);
  color: var(--paper-light);
  font-family: var(--sans);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.edition-rail {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 0.65rem max(1rem, calc((100vw - var(--max-paper)) / 2));
  border-bottom: 1px solid rgba(246, 237, 214, 0.24);
  background: rgba(23, 21, 18, 0.95);
  color: #f5ecd8;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.rail-brand,
.rail-tools button,
.rail-tools a {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.rail-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.75rem;
  padding: 0.2rem;
  text-align: left;
  text-decoration: none;
}

.rail-brand strong,
.rail-brand small {
  display: block;
}

.rail-brand strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.rail-brand small,
.rail-delivery,
.rail-tools {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rail-brand small {
  margin-top: 0.15rem;
  color: #bdb39d;
}

.rail-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #e9dcc0;
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.rail-delivery {
  justify-self: center;
  margin: 0;
  color: #daceb5;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: #b8493e;
  box-shadow: 0 0 0 4px rgba(184, 73, 62, 0.14);
}

.rail-tools {
  display: flex;
  justify-self: end;
  gap: 1.15rem;
}

.rail-tools button,
.rail-tools a {
  display: inline-flex;
  min-height: 44px;
  padding: 0 0.2rem;
  align-items: center;
  border-bottom: 1px solid transparent;
  font-family: inherit;
  letter-spacing: inherit;
  text-decoration: none;
  text-transform: inherit;
}

.rail-tools button:hover,
.rail-tools a:hover {
  border-bottom-color: #f5ecd8;
}

.reader {
  --drag-offset: 0px;
  width: min(calc(100% - 2rem), var(--max-paper));
  margin: 0 auto;
  padding: 1.15rem 0 2.5rem;
  touch-action: pan-y pinch-zoom;
}

.offline-notice,
.install-banner,
.new-edition-banner {
  width: min(100%, 860px);
  margin: 0 auto 0.85rem;
  border: 1px solid rgba(245, 236, 216, 0.34);
  color: #f5ecd8;
  font-family: var(--sans);
}

.edition-unavailable {
  width: min(100%, 860px);
  margin: 2rem auto;
  padding: clamp(1.4rem, 4vw, 2.6rem);
  border: 1px solid var(--rule-light);
  background: var(--paper-light);
  box-shadow: 0 18px 55px var(--shadow);
  color: var(--ink);
  text-align: center;
}

.edition-unavailable[hidden] {
  display: none !important;
}

.edition-controls[hidden],
.keyboard-hint[hidden],
.demo-ribbon[hidden] {
  display: none !important;
}

.edition-unavailable h2 {
  margin: 0.35rem 0 0.65rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 0.95;
}

.edition-unavailable > p:not(.section-label) {
  max-width: 50ch;
  margin: 0 auto 1.25rem;
  line-height: 1.55;
}

.edition-unavailable .ink-button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.offline-notice[hidden],
.install-banner[hidden],
.new-edition-banner[hidden] {
  display: none !important;
}

.offline-notice {
  padding: 0.75rem 0.9rem;
  background: rgba(127, 33, 31, 0.62);
  font-size: 0.75rem;
  line-height: 1.4;
  text-align: center;
}

.offline-notice strong {
  margin-right: 0.3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.install-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.75rem 0.7rem 1rem;
  background: rgba(23, 21, 18, 0.78);
}

.install-banner strong,
.install-banner span {
  display: block;
}

.install-banner strong {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.install-banner span {
  margin-top: 0.2rem;
  color: #cfc2aa;
  font-size: 0.7rem;
  line-height: 1.3;
}

.install-button {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 0.65rem 0.85rem;
  border: 1px solid #f5ecd8;
  background: #f5ecd8;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.install-button:hover {
  background: #ffffff;
}

.new-edition-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.75rem 0.7rem 1rem;
  border-left: 4px solid #b8493e;
  background: rgba(23, 21, 18, 0.88);
}

.new-edition-banner p {
  margin: 0;
  line-height: 1.35;
}

.new-edition-banner strong,
.new-edition-banner span {
  display: block;
}

.new-edition-banner strong {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.new-edition-banner p span {
  margin-top: 0.2rem;
  color: #cfc2aa;
  font-size: 0.7rem;
}

.new-edition-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.4rem;
}

.new-edition-actions a,
.new-edition-actions button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0.55rem 0.7rem;
  border: 1px solid #f5ecd8;
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.new-edition-actions a {
  gap: 0.45rem;
  background: #f5ecd8;
  color: var(--ink);
}

.new-edition-actions button {
  background: transparent;
  color: #f5ecd8;
  cursor: pointer;
}

.new-edition-actions a:hover {
  background: #ffffff;
}

.new-edition-actions button:hover {
  background: rgba(245, 236, 216, 0.12);
}

.demo-ribbon {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 0.85rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(242, 231, 205, 0.3);
  color: #cfc2aa;
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.demo-ribbon[data-publication-status="draft"] {
  border-color: rgba(242, 184, 75, 0.72);
  background: rgba(73, 47, 10, 0.55);
  color: #f6d99e;
}

.demo-ribbon[data-publication-status="candidate"] {
  border-color: rgba(242, 184, 75, 0.9);
  background: #4c300c;
  color: #ffe3aa;
  box-shadow: inset 4px 0 0 #f2b84b;
}

.demo-ribbon[data-publication-status="validated"] {
  border-color: rgba(218, 206, 181, 0.55);
  background: rgba(68, 62, 51, 0.72);
  color: #ede1c8;
}

.demo-ribbon[data-publication-status="published"] {
  border-color: rgba(242, 231, 205, 0.3);
  background: transparent;
  color: #cfc2aa;
}

.paper-stack {
  position: relative;
  perspective: 1800px;
  touch-action: pan-y pinch-zoom;
}

.paper-stack::before,
.paper-stack::after {
  position: absolute;
  z-index: -1;
  content: "";
  inset: 9px 8px -8px;
  border: 1px solid rgba(245, 235, 209, 0.2);
  background: #cbbb9d;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
}

.paper-stack::after {
  inset: 17px 16px -16px;
  background: #ae9c7d;
}

.paper-page {
  position: relative;
  min-height: min(780px, calc(100vh - 185px));
  overflow: hidden;
  border: 1px solid rgba(42, 34, 22, 0.5);
  background:
    radial-gradient(circle at 19% 17%, rgba(70, 48, 20, 0.045) 0 0.7px, transparent 1.1px),
    radial-gradient(circle at 77% 61%, rgba(70, 48, 20, 0.035) 0 0.8px, transparent 1.15px),
    repeating-linear-gradient(89deg, transparent 0 3px, rgba(68, 48, 22, 0.012) 3px 4px),
    var(--paper);
  background-size: 17px 19px, 23px 29px, auto, auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  transform-origin: left center;
}

.paper-page::before {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  content: "";
  background: linear-gradient(transparent 3%, rgba(65, 47, 26, 0.08) 12%, rgba(65, 47, 26, 0.12) 50%, rgba(65, 47, 26, 0.06) 88%, transparent 97%);
  box-shadow: -8px 0 16px rgba(78, 52, 24, 0.04), 8px 0 16px rgba(255, 251, 236, 0.14);
  pointer-events: none;
}

.paper-page[hidden] {
  display: none;
}

.paper-page.is-turning-forward {
  animation: page-in-forward 420ms cubic-bezier(0.2, 0.78, 0.24, 1);
}

.paper-page.is-turning-back {
  animation: page-in-back 420ms cubic-bezier(0.2, 0.78, 0.24, 1);
}

.paper-page.is-turning-out-forward {
  animation: page-out-forward 420ms cubic-bezier(0.45, 0, 0.7, 0.24);
  pointer-events: none;
  transform-origin: left center;
}

.paper-page.is-turning-out-back {
  animation: page-out-back 420ms cubic-bezier(0.45, 0, 0.7, 0.24);
  pointer-events: none;
  transform-origin: right center;
}

.reader.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.reader.is-dragging .paper-page.is-active {
  animation: none;
  transition: none;
  will-change: transform;
}

.reader.is-dragging[data-drag-direction="forward"] .paper-page.is-active {
  box-shadow: 18px 30px 86px rgba(0, 0, 0, 0.4);
  transform: translateX(clamp(-32px, var(--drag-offset), 0px)) rotateY(-1deg);
}

.reader.is-dragging[data-drag-direction="back"] .paper-page.is-active {
  box-shadow: -18px 30px 86px rgba(0, 0, 0, 0.4);
  transform: translateX(clamp(0px, var(--drag-offset), 32px)) rotateY(1deg);
}

@keyframes page-in-forward {
  from { opacity: 0.3; transform: rotateY(-6deg) translateX(14px); }
  to { opacity: 1; transform: rotateY(0) translateX(0); }
}

@keyframes page-in-back {
  from { opacity: 0.3; transform: rotateY(6deg) translateX(-14px); }
  to { opacity: 1; transform: rotateY(0) translateX(0); }
}

@keyframes page-out-forward {
  from { opacity: 1; transform: rotateY(0) translateX(0); }
  to { opacity: 0; transform: rotateY(-8deg) translateX(-26px); }
}

@keyframes page-out-back {
  from { opacity: 1; transform: rotateY(0) translateX(0); }
  to { opacity: 0; transform: rotateY(8deg) translateX(26px); }
}

.paper-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: inherit;
  flex-direction: column;
  padding: clamp(1.2rem, 3.6vw, 3.35rem) clamp(1.2rem, 4.4vw, 4.5rem) 1.25rem;
}

.masthead-block {
  border-top: 3px double var(--ink);
  border-bottom: 5px double var(--ink);
  text-align: center;
}

.edition-line,
.story-rule {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: clamp(0.58rem, 1vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.masthead-kicker,
.masthead-tagline {
  font-family: var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.masthead-kicker {
  margin: 0.65rem 0 -0.4rem;
  font-size: 0.62rem;
  font-weight: 800;
}

.masthead {
  margin: 0;
  font-size: clamp(4rem, 10vw, 8.4rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.masthead-tagline {
  margin: 0.45rem 0 0.7rem;
  font-size: clamp(0.6rem, 1vw, 0.78rem);
  font-weight: 700;
}

.cover-grid {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1.65fr) minmax(220px, 0.7fr);
  grid-template-areas:
    "lead note"
    "ai work"
    "cyber quiet";
  gap: 0;
  border-bottom: 1px solid var(--ink);
}

.cover-lead {
  grid-area: lead;
  padding: clamp(1.35rem, 3vw, 2.65rem) clamp(1rem, 3vw, 2.5rem) 1.7rem 0;
  border-right: 1px solid var(--ink);
}

.section-label {
  margin: 0 0 0.65rem;
  color: var(--red);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.cover-lead h2 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(2.4rem, 5.6vw, 5.15rem);
  letter-spacing: -0.045em;
  line-height: 0.91;
}

.cover-standfirst {
  max-width: 760px;
  margin: 1.1rem 0 1.4rem;
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  line-height: 1.42;
}

.ink-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper-light);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease;
}

.ink-button:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.cover-note {
  grid-area: note;
  padding: clamp(1rem, 2vw, 1.6rem);
  border-bottom: 1px solid var(--ink);
  font-size: 1rem;
  line-height: 1.45;
}

.cover-note p {
  margin: 0.35rem 0;
}

.drop-cap {
  float: left;
  margin: -0.1rem 0.55rem 0 0;
  color: var(--red);
  font-size: 4rem;
  font-weight: 700;
  line-height: 0.9;
}

.cover-note .byline {
  margin-top: 1rem;
  font-style: italic;
}

.front-story {
  position: relative;
  border-bottom: 1px solid var(--ink);
}

.front-story.is-edition-lead::after {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.2rem 0.35rem;
  border: 1px solid var(--red);
  color: var(--red);
  content: "Lead";
  font-family: var(--sans);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  pointer-events: none;
  text-transform: uppercase;
}

.front-story:nth-of-type(2) { grid-area: ai; border-right: 1px solid var(--ink); }
.front-story:nth-of-type(3) { grid-area: work; }
.front-story:nth-of-type(4) { grid-area: cyber; border-right: 1px solid var(--ink); border-bottom: 0; }
.front-story:nth-of-type(5) { grid-area: quiet; border-bottom: 0; }

.front-story button {
  display: flex;
  width: 100%;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.front-story button:hover {
  background: rgba(115, 30, 27, 0.065);
}

.front-story .story-folio {
  margin-bottom: 0.5rem;
  color: var(--red);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.front-story strong {
  font-size: clamp(1.18rem, 2vw, 1.65rem);
  line-height: 1.05;
}

.front-story button > span:last-child {
  margin-top: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.35;
}

.front-story-quiet button {
  background: rgba(62, 53, 39, 0.035);
}

.front-story.is-edition-lead button {
  box-shadow: inset 4px 0 0 var(--red);
  background: rgba(127, 33, 31, 0.055);
}

.paper-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.7rem;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.paper-footer button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem 0.85rem;
}

.footer-links a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.story-header {
  padding-bottom: 1.25rem;
  border-bottom: 5px double var(--ink);
}

.story-rule {
  margin-bottom: clamp(1.5rem, 4vw, 3.4rem);
  border-top: 2px solid var(--ink);
}

.story-header h2 {
  max-width: 960px;
  margin: 0;
  font-size: clamp(2.65rem, 6.5vw, 6rem);
  letter-spacing: -0.05em;
  line-height: 0.91;
}

.story-deck {
  max-width: 880px;
  margin: 1rem 0;
  font-size: clamp(1.1rem, 2.1vw, 1.55rem);
  font-style: italic;
  line-height: 1.35;
}

.story-meta {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.alert-label {
  display: inline-block;
  padding: 0.25rem 0.4rem;
  background: var(--red);
  color: var(--paper-light);
}

.story-layout {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1.65fr) minmax(250px, 0.72fr);
  gap: clamp(1.4rem, 4vw, 4rem);
  padding: clamp(1.35rem, 3vw, 2.8rem) 0;
}

.story-copy {
  columns: 2;
  column-gap: clamp(1.2rem, 3vw, 2.8rem);
  column-rule: 1px solid var(--rule-light);
}

.story-copy section {
  break-inside: avoid;
  margin-bottom: 1.15rem;
}

.story-copy h3 {
  margin: 0 0 0.45rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.story-copy p {
  margin: 0;
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  line-height: 1.56;
}

.story-copy section:first-child p::first-letter {
  float: left;
  margin: 0.02rem 0.35rem 0 0;
  color: var(--red);
  font-size: 3.7rem;
  font-weight: 700;
  line-height: 0.78;
}

.story-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-left: clamp(1rem, 2vw, 1.8rem);
  border-left: 1px solid var(--ink);
}

.short-version,
.action-box {
  padding: 1.25rem;
  border-top: 5px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.short-version p,
.action-box p {
  margin: 0 0 0.65rem;
  color: var(--red);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.short-version strong,
.action-box strong {
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.04;
}

.action-box {
  border-color: var(--red);
  background: rgba(127, 33, 31, 0.08);
}

.action-box span {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.92rem;
  line-height: 1.4;
}

.editor-note {
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule-light);
}

.editor-note p:last-child {
  margin: 0;
  line-height: 1.45;
}

.source-button {
  min-height: 48px;
  margin-top: auto;
  padding: 0.75rem;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.quiet-center {
  display: flex;
  max-width: 760px;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 3rem 0;
  text-align: center;
}

.quiet-mark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.quiet-mark span {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
}

.quiet-mark span:nth-child(2) { width: 64px; height: 1px; border-radius: 0; background: var(--ink); }

.quiet-center h2 {
  margin: 0;
  font-size: clamp(3rem, 7.5vw, 7rem);
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.quiet-center > p:not(.section-label) {
  max-width: 650px;
  margin: 1.3rem auto;
  font-size: 1.15rem;
  line-height: 1.5;
}

.quiet-center blockquote {
  margin: 1rem 0 2rem;
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  font-style: italic;
}

.quiet-details {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.quiet-details div {
  padding: 1rem;
}

.quiet-details div + div {
  border-left: 1px solid var(--ink);
}

.quiet-details span,
.quiet-details strong {
  display: block;
}

.quiet-details span {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quiet-details strong {
  margin-top: 0.25rem;
  color: var(--red);
  font-size: 2rem;
}

.back-grid {
  display: grid;
  flex: 1;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-areas:
    "finish tomorrow"
    "watch watch"
    "delivery principles";
  align-content: center;
  margin: clamp(1rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.back-grid > * {
  padding: clamp(1.25rem, 3.2vw, 3rem);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.back-finish { grid-area: finish; }
.tomorrow-box { grid-area: tomorrow; background: rgba(127, 33, 31, 0.07); }
.watch-next-card { grid-area: watch; }
.delivery-card { grid-area: delivery; }
.principles-card { grid-area: principles; }

.back-finish h2 {
  margin: 0;
  font-size: clamp(3.8rem, 8vw, 7.5rem);
  letter-spacing: -0.06em;
  line-height: 0.86;
}

.back-finish > p:not(.section-label) {
  margin: 1rem 0 1.5rem;
  font-size: 1.25rem;
}

.back-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.back-actions .ink-button {
  min-height: 44px;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.64rem;
  text-decoration: none;
}

.back-actions .ink-button:disabled {
  cursor: wait;
  opacity: 0.45;
  transform: none;
}

.back-actions .back-action-secondary {
  background: transparent;
  color: var(--ink);
}

.back-actions .back-action-secondary:hover {
  background: rgba(127, 33, 31, 0.08);
}

.share-status {
  width: 100%;
  min-height: 1.2em;
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tomorrow-box h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
}

.tomorrow-box p:last-child,
.principles-card li {
  line-height: 1.5;
}

.watch-next-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.36fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding-block: clamp(1.25rem, 2.3vw, 2rem);
}

.watch-next-heading h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
}

.watch-next-heading > p:last-child {
  margin: 0.65rem 0 0;
  color: var(--ink-soft);
  line-height: 1.4;
}

.watch-next-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.watch-next-list li {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  padding-left: 1rem;
  border-left: 3px solid var(--red);
}

.watch-next-list strong {
  font-size: 1.12rem;
  line-height: 1.1;
}

.watch-next-list span {
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.4;
}

.watch-next-list b {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.delivery-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: center;
  column-gap: 1.25rem;
}

.delivery-card p,
.delivery-card strong,
.delivery-card span {
  grid-column: 2;
  margin: 0;
}

.delivery-card p,
.delivery-card span {
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.delivery-card strong {
  margin: 0.15rem 0;
  color: var(--red);
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 0.95;
}

.sunrise-mark {
  position: relative;
  grid-row: 1 / span 3;
  width: 74px;
  height: 74px;
  align-self: center;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.sunrise-mark::before {
  position: absolute;
  right: 14px;
  bottom: -16px;
  left: 14px;
  height: 44px;
  content: "";
  border: 2px solid var(--red);
  border-radius: 50% 50% 0 0;
  background: rgba(127, 33, 31, 0.1);
}

.sunrise-mark::after {
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--ink);
}

.principles-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.edition-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  margin-top: 1.8rem;
  color: #f5ecd8;
}

.turn-button,
.page-tabs button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(245, 236, 216, 0.4);
  background: rgba(15, 14, 12, 0.35);
  color: inherit;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.turn-button {
  padding: 0.7rem 0.9rem;
}

.turn-button:disabled {
  cursor: default;
  opacity: 0.32;
}

.page-tabs {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.page-tabs button {
  border-radius: 50%;
}

.page-tabs button[aria-current="page"] {
  border-color: var(--paper-light);
  background: var(--paper-light);
  color: var(--ink);
}

.page-status {
  display: none;
  margin: 0;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.keyboard-hint {
  margin: 0.85rem 0 0;
  color: #bdb19a;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.paper-dialog {
  width: min(calc(100% - 2rem), 760px);
  max-height: min(84vh, 820px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--ink);
  background:
    radial-gradient(circle at 19% 17%, rgba(70, 48, 20, 0.05) 0 0.8px, transparent 1.1px),
    var(--paper-light);
  background-size: 18px 21px, auto;
  color: var(--ink);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.55);
}

.paper-dialog::backdrop {
  background: rgba(14, 13, 11, 0.78);
  backdrop-filter: blur(3px);
}

.dialog-header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem 1rem;
  border-bottom: 4px double var(--ink);
  background: var(--paper-light);
}

.dialog-header h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.dialog-close {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 1.4rem;
}

.dialog-close:hover {
  background: var(--ink);
  color: var(--paper-light);
}

.dialog-intro,
.source-footer {
  margin: 0;
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

.desk-charters {
  margin: 0 1.5rem 1.5rem;
  padding: 1rem;
  border: 1px solid var(--ink);
  background: rgba(127, 33, 31, 0.045);
}

.desk-charters h3 {
  margin: 0;
  font-size: 1.45rem;
}

.desk-charters dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1rem 0 0;
  border-top: 1px solid var(--rule-light);
  border-left: 1px solid var(--rule-light);
}

.desk-charters dl > div {
  padding: 0.8rem;
  border-right: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
}

.desk-charters dt {
  color: var(--red);
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.install-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0 1.5rem;
  list-style: none;
}

.install-steps li {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--rule-light);
}

.install-steps li > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--paper-light);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 800;
}

.install-steps p {
  margin: 0;
  line-height: 1.45;
}

.install-footnote {
  margin: 1rem 1.5rem 1.5rem;
  padding: 1rem;
  border: 1px solid var(--ink);
  background: rgba(127, 33, 31, 0.06);
  font-size: 0.85rem;
  line-height: 1.45;
}

.desk-charters dd {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  line-height: 1.4;
}

.contents-list,
.method-steps {
  margin: 0;
  padding: 0 1.5rem 1.5rem;
  list-style: none;
}

.contents-list li {
  border-top: 1px solid var(--rule-light);
}

.contents-list button {
  display: grid;
  width: 100%;
  grid-template-columns: 48px 1fr;
  padding: 1rem 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.contents-list button:hover strong {
  color: var(--red);
}

.contents-list span {
  grid-row: 1 / span 2;
  color: var(--red);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
}

.contents-list strong {
  font-size: 1.3rem;
}

.contents-list small {
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.method-steps {
  counter-reset: method;
}

.method-steps li {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--rule-light);
}

.method-steps li > span {
  color: var(--red);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 800;
}

.method-steps strong {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.method-steps p {
  margin: 0.25rem 0 0;
  line-height: 1.45;
}

.method-principles {
  margin: 0 1.5rem 1.5rem;
  padding: 1rem;
  border: 1px solid var(--ink);
  background: rgba(127, 33, 31, 0.07);
  line-height: 1.45;
}

.method-principles p {
  margin: 0;
}

[data-method-status] {
  overflow-wrap: anywhere;
}

.source-list {
  padding: 0 1.5rem;
}

.source-item {
  padding: 1rem 0 1.15rem;
  border-top: 1px solid var(--rule-light);
}

.source-badge {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.22rem 0.35rem;
  background: var(--red);
  color: var(--paper-light);
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.source-item h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.15;
}

.source-item p {
  margin: 0.35rem 0 0.75rem;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.source-item a {
  color: var(--red-dark);
  font-family: var(--sans);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.source-footer {
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Archive and press-desk surfaces reuse the reader's paper system. */
.utility-shell {
  width: min(calc(100% - 2rem), var(--max-paper));
  margin: 0 auto;
  padding: 1.25rem 0 3rem;
}

.utility-paper {
  border: 1px solid rgba(42, 34, 22, 0.5);
  background:
    radial-gradient(circle at 19% 17%, rgba(70, 48, 20, 0.045) 0 0.7px, transparent 1.1px),
    repeating-linear-gradient(89deg, transparent 0 3px, rgba(68, 48, 22, 0.012) 3px 4px),
    var(--paper);
  background-size: 17px 19px, auto, auto;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.archive-hero,
.press-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(270px, 0.7fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: end;
  padding: clamp(1.5rem, 5vw, 4.5rem);
  border-top: 6px double var(--ink);
}

.archive-hero h1,
.press-hero h1 {
  margin: 0;
  font-size: clamp(3.6rem, 9vw, 8rem);
  letter-spacing: -0.065em;
  line-height: 0.84;
}

.archive-intro,
.press-lede {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.5;
}

.archive-intro > p,
.press-lede {
  margin: 0 0 1.5rem;
}

.archive-intro dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.archive-intro dl div {
  padding: 0.8rem 0.65rem;
}

.archive-intro dl div + div {
  border-left: 1px solid var(--ink);
}

.archive-intro dt,
.archive-intro dd,
.utility-section-header > p,
.archive-folio,
.archive-stats,
.prototype-banner,
.press-status-card > p,
.press-status-card > span,
.press-desk-card > div,
.press-desk-meta,
.press-source-list {
  font-family: var(--sans);
}

.archive-intro dt {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.archive-intro dd {
  margin: 0.25rem 0 0;
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 800;
}

.archive-section,
.press-section {
  margin-top: 1rem;
  padding: clamp(1.35rem, 4vw, 3.5rem);
}

.utility-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1rem;
  border-bottom: 5px double var(--ink);
}

.utility-section-header h2 {
  margin: 0;
  font-size: clamp(2.15rem, 5vw, 4.5rem);
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.utility-section-header > p {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.archive-list {
  display: grid;
}

.archive-card {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr) auto;
  gap: 0.65rem 2rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
}

.archive-card.is-unpublished {
  border-color: rgba(127, 33, 31, 0.48);
  background: rgba(127, 33, 31, 0.055);
  box-shadow: inset 4px 0 0 var(--red);
}

.archive-card-fallback:only-child {
  opacity: 0.72;
}

.archive-folio,
.archive-stats {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-folio {
  grid-row: 1 / span 3;
}

.archive-card h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1;
}

.archive-card h3 a,
.archive-action {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.archive-summary {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.45;
}

.archive-stats {
  grid-column: 2;
}

.archive-action {
  grid-column: 3;
  grid-row: 1 / span 3;
  align-self: center;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.utility-empty {
  padding: 1.5rem 0;
  color: var(--ink-soft);
  font-style: italic;
}

.prototype-banner {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 0.85rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(242, 231, 205, 0.3);
  color: #cfc2aa;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.press-hero {
  align-items: center;
}

.press-lede {
  max-width: 650px;
  margin-top: 1.5rem;
}

.press-status-card {
  padding: 1.4rem;
  border: 1px solid var(--ink);
  border-top: 6px solid var(--red);
  background: rgba(127, 33, 31, 0.055);
}

.press-status-card > p,
.press-status-card > span {
  display: block;
  margin: 0;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.press-review-record {
  display: grid;
  gap: 0;
  margin: 1rem 0 0;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
}

.press-review-record > div {
  display: grid;
  grid-template-columns: minmax(7.5rem, 0.42fr) minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule-light);
}

.press-review-record dt,
.press-review-record dd {
  margin: 0;
}

.press-review-record dt {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.press-review-record dd {
  min-width: 0;
}

.press-review-record dd > strong,
.press-review-record dd > span,
.press-review-record dd > a,
.press-review-record dd > code {
  display: block;
}

.press-review-record dd > strong,
.press-review-record dd > code {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
}

.press-review-record dd > code {
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.35;
}

.press-review-record dd > span,
.press-review-record dd > a {
  margin-top: 0.22rem;
  color: var(--ink-soft);
  font-size: 0.62rem;
  line-height: 1.4;
}

.press-review-record dd > a {
  width: max-content;
  max-width: 100%;
  color: var(--red-dark);
  font-weight: 800;
  text-underline-offset: 0.18rem;
}

.press-review-record > div[data-state="failed"] dd > strong,
.press-review-record > div[data-state="missing"] dd > strong,
.press-review-record > div[data-state="not-run"] dd > strong,
.press-review-record > div[data-state="pending"] dd > code {
  color: var(--red);
}

.press-status-card > strong {
  display: block;
  margin: 0.45rem 0;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1;
}

.press-status-card > span {
  color: var(--ink-soft);
  font-weight: 600;
  line-height: 1.5;
  text-transform: none;
}

.press-status-card .ink-button {
  width: 100%;
  justify-content: center;
  margin-top: 1.25rem;
}

.validation-section .utility-section-header > p small {
  display: block;
  margin-top: 0.25rem;
  color: var(--ink-soft);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: none;
}

.press-status-card .ink-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.press-pipeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.pipeline-step {
  display: grid;
  min-height: 105px;
  align-content: start;
  gap: 0.25rem;
  padding: 1rem;
  border: 1px solid var(--rule);
  border-right: 0;
  font-family: var(--sans);
}

.pipeline-step:last-child {
  border-right: 1px solid var(--rule);
}

.pipeline-step::before {
  width: 9px;
  height: 9px;
  margin-bottom: 0.6rem;
  content: "";
  border-radius: 50%;
  background: var(--red);
}

.pipeline-step > span,
.pipeline-step > small {
  color: var(--ink-soft);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pipeline-step > strong {
  font-size: 0.76rem;
}

.press-desk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.5rem;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.press-desk-card {
  padding: 1.4rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.press-desk-card.is-quiet {
  background: rgba(62, 53, 39, 0.04);
}

.press-desk-card > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--red);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.press-desk-card > div p {
  margin: 0;
}

.press-desk-card > div span {
  white-space: nowrap;
}

.press-desk-card h3 {
  margin: 0.8rem 0 0.55rem;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1;
}

.press-desk-card > p:not(.press-desk-meta) {
  margin: 0;
  line-height: 1.45;
}

.press-desk-meta {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.press-source-list {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0 0;
  padding: 0.9rem 0 0 1rem;
  border-top: 1px solid var(--rule-light);
  font-size: 0.66rem;
  line-height: 1.35;
}

.press-source-list a {
  color: var(--red-dark);
  text-underline-offset: 0.18rem;
}

.validation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.validation-grid li {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 0.75rem;
  min-height: 78px;
  padding: 0.8rem;
  border: 1px solid var(--rule);
}

.validation-grid li > span:first-child {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--paper-light);
  font-family: var(--sans);
  font-weight: 800;
}

.validation-grid li[data-passed="false"] {
  border-color: var(--red);
  background: rgba(127, 33, 31, 0.08);
}

.validation-grid strong,
.validation-grid small {
  display: block;
}

.validation-grid small {
  margin-top: 0.2rem;
  color: var(--ink-soft);
  line-height: 1.35;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 820px) {
  .edition-rail {
    grid-template-columns: 1fr auto;
  }

  .rail-delivery {
    display: none;
  }

  .reader {
    width: min(calc(100% - 1rem), var(--max-paper));
    padding: 0.75rem 0 calc(5.5rem + env(safe-area-inset-bottom));
  }

  .paper-page::before {
    display: none;
  }

  .cover-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "lead" "note" "ai" "work" "cyber" "quiet";
  }

  .cover-lead,
  .front-story:nth-of-type(2),
  .front-story:nth-of-type(4) {
    border-right: 0;
  }

  .cover-note,
  .front-story:nth-of-type(4) {
    border-bottom: 1px solid var(--ink);
  }

  .cover-lead {
    padding-right: 0;
  }

  .story-layout {
    grid-template-columns: 1fr;
  }

  .story-copy {
    columns: 1;
  }

  .story-aside {
    padding: 1.25rem 0 0;
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .back-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "finish" "tomorrow" "watch" "delivery" "principles";
  }

  .new-edition-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .new-edition-actions {
    width: 100%;
  }

  .new-edition-actions a {
    flex: 1 1 auto;
    justify-content: center;
  }

  .watch-next-card {
    grid-template-columns: 1fr;
  }

  .page-tabs {
    display: none;
  }

  .edition-controls {
    position: sticky;
    z-index: 20;
    bottom: max(0.45rem, env(safe-area-inset-bottom));
    grid-template-columns: 1fr auto 1fr;
    margin-inline: 0.35rem;
    padding: 0.45rem;
    border: 1px solid rgba(245, 236, 216, 0.24);
    border-radius: 0.35rem;
    background: rgba(23, 21, 18, 0.94);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(12px);
  }

  .page-status {
    display: block;
  }

  .turn-button:first-child {
    justify-self: start;
  }

  .turn-button:last-child {
    justify-self: end;
  }

  .utility-shell {
    width: min(calc(100% - 1rem), var(--max-paper));
  }

  .archive-hero,
  .press-hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .archive-card {
    grid-template-columns: 7.5rem minmax(0, 1fr);
  }

  .archive-action {
    grid-column: 2;
    grid-row: auto;
    justify-self: start;
  }

  .press-pipeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pipeline-step:nth-child(3) {
    border-right: 1px solid var(--rule);
  }

  .validation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .edition-rail {
    min-height: 62px;
    padding: 0.45rem 0.7rem;
  }

  .rail-mark {
    width: 34px;
    height: 34px;
  }

  .rail-tools {
    gap: 0.55rem;
  }

  .rail-tools button,
  .rail-tools a {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .paper-inner {
    padding: 1rem 1rem 0.8rem;
  }

  .install-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .install-button {
    width: 100%;
  }

  .edition-line span:nth-child(2) {
    display: none;
  }

  .masthead {
    font-size: clamp(3.45rem, 18vw, 5.5rem);
  }

  .cover-lead h2,
  .story-header h2,
  .quiet-center h2 {
    overflow-wrap: anywhere;
  }

  .paper-footer {
    flex-direction: column;
    gap: 0.3rem;
  }

  .quiet-details {
    grid-template-columns: 1fr;
  }

  .quiet-details div + div {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .delivery-card {
    grid-template-columns: 1fr;
  }

  .delivery-card p,
  .delivery-card strong,
  .delivery-card span {
    grid-column: 1;
  }

  .sunrise-mark {
    display: none;
  }

  .turn-button {
    min-width: 86px;
    padding-inline: 0.55rem;
    font-size: 0.58rem;
  }

  .keyboard-hint {
    display: none;
  }

  .dialog-header,
  .dialog-intro,
  .source-footer {
    padding-inline: 1rem;
  }

  .contents-list,
  .method-steps,
  .source-list,
  .install-steps {
    padding-inline: 1rem;
  }

  .install-footnote {
    margin-inline: 1rem;
  }

  .method-principles {
    margin-inline: 1rem;
  }

  .desk-charters {
    margin-inline: 1rem;
  }

  .desk-charters dl {
    grid-template-columns: 1fr;
  }

  .archive-hero,
  .press-hero,
  .archive-section,
  .press-section {
    padding: 1.15rem;
  }

  .archive-intro dl,
  .press-desk-grid,
  .validation-grid {
    grid-template-columns: 1fr;
  }

  .archive-intro dl div + div {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .utility-section-header {
    display: block;
  }

  .utility-section-header > p {
    margin-top: 0.75rem;
  }

  .press-review-record > div {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .archive-card {
    display: block;
  }

  .archive-card > * + * {
    margin-top: 0.65rem;
  }

  .press-pipeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pipeline-step:nth-child(2),
  .pipeline-step:nth-child(4) {
    border-right: 1px solid var(--rule);
  }

  .pipeline-step:nth-child(3) {
    border-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body {
    background: white;
  }

  .edition-rail,
  .demo-ribbon,
  .offline-notice,
  .new-edition-banner,
  .edition-unavailable,
  .install-banner,
  .back-actions,
  .edition-controls,
  .keyboard-hint,
  dialog {
    display: none !important;
  }

  .reader {
    width: 100%;
  }

  .paper-page,
  .paper-page[hidden] {
    display: block;
    min-height: 0;
    break-after: page;
    box-shadow: none;
  }
}
