@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Caveat:wght@400;500;600&family=DM+Sans:wght@400;500&family=UnifrakturMaguntia&display=swap");
@import url("https://fonts.googleapis.com/css2?family=IM+Fell+English:ital@0;1&display=swap");

:root {
  --wine: #74192d;
  --ink: #201c1c;
  --line: #b6aaa4;
  --page-h: min(79vh, 860px);
  --page-w: calc(var(--page-h) * 0.745);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

.site-bar {
  height: 64px;
  padding: 20px 3.7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 3;
}

.site-bar>a {
  font:
    500 22px "Bodoni Moda",
    Georgia,
    serif;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 17px;
}

.site-bar>a>span {
  font:
    8px "DM Sans",
    sans-serif;
  letter-spacing: 2px;
  border-left: 1px solid #d7ceca;
  padding-left: 17px;
}

.site-bar a.site-brand {
  font-family: "IM Fell English", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: .01em;
  color: #fff;
  text-decoration: none;
}

.site-bar button {
  border: 0;
  background: none;
  font-size: 10px;
  letter-spacing: 0.7px;
  color: #71635e;
  padding: 8px;
  cursor: pointer;
}

.site-bar button span {
  margin-left: 10px;
}

main {
  min-height: calc(100svh - 64px);
}

#stage {
  height: var(--page-h);
  margin: 14px auto 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 2500px;
}

.book {
  position: relative;
  width: calc(var(--page-w) * 2);
  height: var(--page-h);
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  isolation: isolate;
}

.book.closed {
  transform: translateX(-25%);
}

.book.finished {
  transform: translateX(25%);
}

.sheet {
  position: absolute;
  left: 50%;
  top: 0;
  width: 50%;
  height: 100%;
  transform-origin: left center;
  transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.22, 0.65, 0.25, 1);
}

.sheet.flipped {
  transform: rotateY(-180deg);
}

.face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: #fff;
  box-shadow:
    0 2px 4px #2d20201a,
    3px 5px 14px #3d2e2e19;
  overflow: hidden;
  container-type: inline-size;
}

.face.back {
  transform: rotateY(180deg);
}

.face.front:after,
.face.back:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3%;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(90deg, #2010100a, transparent);
}

.face.front:after {
  left: 0;
}

.face.back:after {
  right: 0;
  transform: rotate(180deg);
}

.sheet.turning {
  z-index: 100 !important;
}

.page {
  height: 100%;
  width: 100%;
  position: relative;
  padding: 5.5% 6% 6.5%;
  background: #fff;
  overflow: hidden;
}

.page.cover-page {
  padding: 0;
  cursor: pointer;
}

.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cover-live {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 4% 4% 6%;
  color: var(--cover-text, #111);
}

.cover-live h1 {
  font:
    500 10cqw/0.95 "Bodoni Moda",
    serif;
  letter-spacing: -0.6cqw;
  margin: 0;
  width: 100%;
  text-align: center;
}

.cover-live .cover-sub {
  font:
    500 1.8cqw "Cormorant Garamond",
    serif;
  letter-spacing: 0.35cqw;
  margin-top: 2.5%;
}

.cover-live .cover-month {
  margin-top: auto;
  font:
    600 2.4cqw "Cormorant Garamond",
    serif;
  letter-spacing: 0.6cqw;
}

.cover-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.back-cover .cover-img {
  transform: scale(1.8);
  transform-origin: 50% 65%;
}

.back-cover:after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 70px #fff6;
}

.turn-control {
  position: absolute;
  top: 47%;
  width: 38px;
  height: 50px;
  border: 0;
  background: transparent;
  font:
    35px "Cormorant Garamond",
    serif;
  color: #8e7970;
  cursor: pointer;
  z-index: 4;
}

.turn-control:hover {
  color: var(--wine);
}

.turn-control:disabled {
  opacity: 0.15;
  cursor: default;
}

.prev {
  left: max(10px, calc(50% - var(--page-w) - 60px));
}

.next {
  right: max(10px, calc(50% - var(--page-w) - 60px));
}

.closed~.turn-control {
  display: none;
}

.folio {
  position: absolute;
  bottom: 2.3%;
  left: 6%;
  right: 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #b5aaa3;
  padding-top: 1.2%;
  font:
    1.35cqw "DM Sans",
    sans-serif;
  letter-spacing: 0.16cqw;
  color: #84756e;
}

.folio span:last-child {
  font-family: "Cormorant Garamond", serif;
  font-size: 2cqw;
  color: var(--wine);
}

.mini-brand {
  font:
    500 2.6cqw "Bodoni Moda",
    serif;
  letter-spacing: -0.1cqw;
  margin-bottom: 3%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mini-brand span {
  font:
    1.35cqw "DM Sans",
    sans-serif;
  letter-spacing: 0.2cqw;
  color: #8c7770;
}

.section-kicker {
  font:
    1.5cqw "DM Sans",
    sans-serif;
  letter-spacing: 0.35cqw;
  text-transform: uppercase;
  color: var(--wine);
  margin: 0 0 2%;
}

.section-title {
  font:
    500 8cqw/0.94 "Bodoni Moda",
    serif;
  letter-spacing: -0.3cqw;
  margin: 0 0 3%;
}

.editor-note {
  font:
    italic 2.4cqw/1.2 "Cormorant Garamond",
    serif;
  margin: 0 0 4%;
  color: #796c64;
}

.month-script {
  font:
    500 7cqw Caveat,
    cursive;
  color: #52647c;
  text-align: center;
  transform: rotate(-3deg);
  margin: 3% 0 5%;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-template-rows: 5% repeat(5, minmax(0, 1fr));
  height: 69%;
  border-left: 1px solid #c6bbb5;
  border-top: 1px solid #c6bbb5;
}

.model-grid .dow {
  text-align: center;
  font:
    italic 1.8cqw "Cormorant Garamond",
    serif;
  padding: 2%;
  border-right: 1px solid #c6bbb5;
  border-bottom: 1px solid #c6bbb5;
}

.model-day {
  border-right: 1px solid #c6bbb5;
  border-bottom: 1px solid #c6bbb5;
  padding: 4%;
  min-width: 0;
  position: relative;
}

.model-day>span {
  font:
    2cqw "Cormorant Garamond",
    serif;
  display: block;
  text-align: right;
  margin-bottom: 7%;
}

.model-day button {
  font:
    500 2.25cqw/1 Caveat,
    cursive;
  display: block;
  border: 0;
  background: none;
  text-align: left;
  padding: 4% 0;
  margin: 0;
  cursor: pointer;
  overflow-wrap: anywhere;
  width: 100%;
}

.model-day button:hover {
  text-decoration: underline;
}

.model-day .model-company {
  font:
    1.15cqw "DM Sans",
    sans-serif;
  display: block;
  margin-top: 4%;
  color: #806e66;
}

.model-day .circled {
  color: var(--wine);
}

.model-day .circled:after {
  content: "";
  position: absolute;
  right: 2%;
  top: 3%;
  width: 24%;
  height: 16%;
  border: 1px solid #8b6353;
  border-radius: 50%;
  transform: rotate(-14deg);
}

.model-day.empty {
  background: #faf8f70f;
}

.model-doodle {
  position: absolute;
  inset: 30% 0 0;
  text-align: center;
  font:
    6cqw "Cormorant Garamond",
    serif;
  color: #b3a097;
  pointer-events: none;
}

.calendar-note {
  font:
    2.6cqw Caveat,
    cursive;
  text-align: right;
  margin: 3% 0;
  color: var(--wine);
}

.agenda-rows {
  height: 76%;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  margin-top: 4%;
}

.agenda-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5%;
  align-items: center;
  border-top: 1px solid #b5a7a0;
  min-height: 0;
  text-align: left;
  width: 100%;
  background: none;
  border-inline: 0;
  border-bottom: 0;
  cursor: pointer;
  color: inherit;
  padding: 3% 0;
}

.agenda-row:nth-child(2) .agenda-art {
  order: 2;
}

.agenda-row h3 {
  font:
    600 5.4cqw/0.98 "Cormorant Garamond",
    serif;
  letter-spacing: -0.12cqw;
  margin: 4% 0;
}

.agenda-row small {
  font:
    1.35cqw "DM Sans",
    sans-serif;
  letter-spacing: 0.2cqw;
  color: var(--wine);
}

.agenda-row p {
  font:
    2.2cqw/1.2 "Cormorant Garamond",
    serif;
  margin: 4% 0;
}

.agenda-art {
  height: 100%;
  background-repeat: no-repeat;
  background-size: 220% 125%;
  background-position: right bottom;
  mix-blend-mode: multiply;
}

.newspaper .masthead {
  font:
    500 8.9cqw/0.95 "Bodoni Moda",
    serif;
  letter-spacing: -0.4cqw;
  border-block: double 4px #2c2323;
  padding: 2.3% 0;
  margin-bottom: 2%;
  text-align: center;
  white-space: nowrap;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  font:
    600 1.4cqw "Cormorant Garamond",
    serif;
  letter-spacing: 0.16cqw;
  border-bottom: 1px solid #463939;
  padding-bottom: 1.5%;
}

.news-section {
  font:
    600 3cqw "Cormorant Garamond",
    serif;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.2cqw;
  margin: 3% 0 2%;
}

.news-title {
  font:
    600 7.2cqw/0.95 "Cormorant Garamond",
    serif;
  text-align: center;
  margin: 0;
  padding: 2% 0 3%;
  border-bottom: double 3px #2c2323;
}

.news-deck {
  font:
    italic 2.5cqw/1.1 "Cormorant Garamond",
    serif;
  text-align: center;
  margin: 2.5% 0 4%;
}

.news-lead {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 5%;
  height: 37%;
  margin-bottom: 3%;
}

.news-art {
  background-repeat: no-repeat;
  background-size: 230% 120%;
  background-position: right bottom;
  mix-blend-mode: multiply;
}

.news-lead-text p,
.news-columns p {
  font:
    400 2.6cqw/1.22 "Cormorant Garamond",
    Georgia,
    serif;
  text-align: justify;
  margin: 0 0 4%;
}

.news-lead-text p:first-child:first-letter {
  float: left;
  font:
    5.8cqw/0.8 "Bodoni Moda",
    serif;
  color: var(--wine);
  padding-right: 3%;
}

.news-columns {
  column-count: 2;
  column-gap: 5%;
  column-rule: 1px solid #c4b7ae;
}

.news-quote {
  font:
    italic 3.2cqw/1.12 "Cormorant Garamond",
    serif;
  text-align: center;
  border-block: 1px solid #ac968b;
  padding: 2.5%;
  margin: 3% 0;
}

.source-link {
  font:
    1.4cqw "DM Sans",
    sans-serif;
  color: #806b61;
  text-decoration: none;
}

.source-link:hover {
  color: var(--wine);
  text-decoration: underline;
}

.dispatch-lead {
  border-bottom: double 3px #403030;
  padding-bottom: 5%;
  margin-top: 5%;
}

.dispatch-lead h3 {
  font:
    600 7.2cqw/0.95 "Cormorant Garamond",
    serif;
  letter-spacing: -0.2cqw;
  margin: 2% 0 4%;
}

.dispatch-lead p {
  font:
    2.9cqw/1.25 "Cormorant Garamond",
    serif;
  columns: 2;
  column-gap: 6%;
  column-rule: 1px solid #c4b7ae;
  text-align: justify;
}

.dispatch-rest {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6%;
  margin-top: 5%;
}

.dispatch-rest article+article {
  border-left: 1px solid #bca99e;
  padding-left: 10%;
}

.dispatch-rest h3 {
  font:
    600 5.4cqw/0.95 "Cormorant Garamond",
    serif;
  margin: 4% 0 7%;
}

.dispatch-rest p {
  font:
    2.7cqw/1.25 "Cormorant Garamond",
    serif;
  text-align: justify;
}

.news-date {
  font:
    600 1.8cqw "Cormorant Garamond",
    serif;
  color: var(--wine);
  letter-spacing: 0.2cqw;
}

.hardware-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 80%;
  margin-top: 4%;
}

.hardware-card {
  padding: 3% 7% 6%;
  min-width: 0;
}

.hardware-card:nth-child(odd) {
  border-right: 1px solid #c4b7ae;
}

.hardware-card:nth-child(-n + 2) {
  border-bottom: 1px solid #c4b7ae;
}

.hardware-art {
  height: 62%;
  background-repeat: no-repeat;
  background-size: 205% 405%;
  background-position: 0 13%;
  mix-blend-mode: multiply;
}

.hardware-art.sprite-1 {
  background-position: 100% 13%;
}

.hardware-art.sprite-2 {
  background-position: 0 73%;
}

.hardware-art.sprite-3 {
  background-position: 100% 73%;
}

.hardware-card h3 {
  font:
    600 4.3cqw/1 "Cormorant Garamond",
    serif;
  letter-spacing: -0.1cqw;
  margin: 4% 0;
}

.hardware-card p {
  font:
    2.3cqw/1.18 "Cormorant Garamond",
    serif;
  margin: 0;
}

.hardware-card a {
  font:
    1.35cqw "DM Sans",
    sans-serif;
  color: var(--wine);
  display: inline-block;
  margin-top: 5%;
  text-decoration: none;
}

.column-page {
  border: 1px solid #8d7c73;
  padding: 5% 7% 7%;
}

.column-cameo {
  display: block;
  width: 14%;
  height: 12%;
  object-fit: contain;
  margin: 0 auto 2%;
  mix-blend-mode: multiply;
}

.column-label {
  text-align: center;
  font:
    italic 3.8cqw "Cormorant Garamond",
    serif;
  color: var(--wine);
  margin: 0 0 3%;
}

.column-title {
  font:
    500 8cqw/0.95 "Bodoni Moda",
    serif;
  letter-spacing: -0.3cqw;
  text-align: center;
  margin: 0 0 2%;
}

.column-sub {
  text-align: center;
  font:
    2.6cqw "Cormorant Garamond",
    serif;
  margin: 0 0 4%;
  padding-bottom: 4%;
  border-bottom: 1px solid #aa988d;
}

.column-body {
  columns: 2;
  column-gap: 6%;
  column-rule: 1px solid #c0aea1;
}

.column-body p {
  font:
    2.6cqw/1.25 "Cormorant Garamond",
    serif;
  margin: 0 0 5%;
  text-align: justify;
}

.column-body p:first-child:first-letter {
  font-size: 5cqw;
  float: left;
  line-height: 0.9;
  color: var(--wine);
  padding-right: 4%;
}

.column-pull {
  font:
    italic 3.6cqw/1.1 "Cormorant Garamond",
    serif;
  text-align: center;
  margin: 4% 0 0;
}

.column-continuation {
  font:
    600 1.5cqw "DM Sans",
    sans-serif;
  letter-spacing: 0.2cqw;
  color: var(--wine);
  text-align: center;
  margin: 5% 0;
}

.column-sign {
  font:
    4.5cqw Caveat,
    cursive;
  text-align: right;
  color: var(--wine);
  margin-top: 4%;
}

#open-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font:
    15px Caveat,
    cursive;
  color: #87746a;
  margin: 23px auto 15px;
}

.hint-line {
  height: 1px;
  width: 32px;
  background: #c7b8ae;
}

#reader-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(650px, 87vw);
  margin: 25px auto 10px;
  gap: 28px;
}

#reader-tools button {
  background: none;
  border: 0;
  font:
    10px "DM Sans",
    sans-serif;
  color: #79665e;
  padding: 8px 0;
  cursor: pointer;
  white-space: nowrap;
}

.position {
  flex: 1;
  text-align: center;
  font-size: 9px;
  color: #8a756a;
}

#progress {
  height: 2px;
  margin: 8px 0 0;
  background: linear-gradient(to right,
      var(--wine) var(--progress, 0%),
      #e5ddd8 var(--progress, 0%));
}

#loading {
  text-align: center;
  margin-top: 30vh;
  font-size: 10px;
  color: #937b6d;
  letter-spacing: 2px;
}

#loading span {
  display: block;
  font:
    48px "Bodoni Moda",
    serif;
  color: #2b2321;
  margin-top: 18px;
  letter-spacing: -2px;
}

#error {
  text-align: center;
  margin: 25vh 20px;
}

#error h1 {
  font:
    40px "Cormorant Garamond",
    serif;
}

#error p {
  font:
    20px "Cormorant Garamond",
    serif;
  color: #8c7265;
}

#error a {
  color: var(--wine);
  font-size: 12px;
}

dialog {
  border: 1px solid #d5c4b8;
  width: min(660px, calc(100vw - 28px));
  max-height: 87svh;
  padding: 40px;
  background: white;
  color: var(--ink);
  box-shadow: 0 25px 100px #38221e33;
}

dialog::backdrop {
  background: #34282488;
  backdrop-filter: blur(5px);
}

.close-dialog {
  position: absolute;
  right: 12px;
  top: 8px;
  background: none;
  border: 0;
  font:
    30px "Cormorant Garamond",
    serif;
  color: var(--wine);
  cursor: pointer;
  padding: 0 8px;
}

dialog h2 {
  font:
    500 42px/1 "Cormorant Garamond",
    serif;
  margin: 18px 0;
}

dialog h3 {
  font:
    600 26px "Cormorant Garamond",
    serif;
}

dialog .dialog-kicker {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--wine);
  text-transform: uppercase;
}

dialog p {
  font:
    21px/1.5 "Cormorant Garamond",
    serif;
}

dialog a {
  color: var(--wine);
  font-size: 12px;
  text-underline-offset: 4px;
}

.contents-item {
  display: flex;
  width: 100%;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid #e0d3c9;
  background: white;
  text-align: left;
  padding: 17px 0;
  font:
    24px "Cormorant Garamond",
    serif;
  cursor: pointer;
}

.contents-item small {
  font:
    11px "DM Sans",
    sans-serif;
  color: #947e6c;
  align-self: center;
}

.archive-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 25px;
  align-items: center;
  margin-top: 25px;
  text-decoration: none;
}

.archive-item img {
  width: 100px;
  border: 1px solid #ded1c9;
}

.archive-item strong {
  display: block;
  font:
    30px "Cormorant Garamond",
    serif;
  color: var(--ink);
}

.archive-item span {
  font-size: 10px;
  color: #9b8273;
  display: block;
  margin-top: 9px;
}

.reading-view h1 {
  font:
    42px/0.98 "Bodoni Moda",
    serif;
}

.reading-view p {
  font:
    22px/1.5 "Cormorant Garamond",
    serif;
}

.reading-view a {
  font:
    14px "DM Sans",
    sans-serif;
}

.reading-view figure {
  margin: 0;
}

.reading-view .source-link {
  font-size: 12px;
}

.reading-view .read-model {
  border-bottom: 1px solid #d7c6b9;
  padding: 14px 0;
}

.reading-view .read-model h3 {
  margin: 0;
}

.mobile-page {
  position: absolute;
  inset: 0;
  background: white;
  container-type: inline-size;
  box-shadow: 2px 5px 20px #40302a25;
  transform-origin: left;
  backface-visibility: hidden;
}

.mobile-page.leaving {
  animation: mobileTurn 0.65s both;
  z-index: 50;
}

.mobile-page.entering {
  animation: pageAppear 0.6s both;
}

@keyframes mobileTurn {
  to {
    transform: perspective(1500px) rotateY(-100deg);
    opacity: 0.5;
  }
}

@keyframes pageAppear {
  from {
    opacity: 0.35;
  }

  to {
    opacity: 1;
  }
}

[hidden] {
  display: none !important;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  :root {
    --page-h: min(76vh, calc(92vw / 1.49));
  }

  .prev {
    left: 4px;
  }

  .next {
    right: 4px;
  }
}

@media (max-width: 700px) {
  :root {
    --page-h: min(77svh, calc(90vw / 0.745));
    --page-w: calc(var(--page-h) * 0.745);
  }

  .site-bar {
    height: 55px;
    padding: 15px 5%;
  }

  .site-bar>a {
    font-size: 20px;
  }

  .site-bar>a>span {
    font-size: 7px;
    padding-left: 10px;
    letter-spacing: 1px;
  }

  .site-bar button {
    font-size: 10px;
  }

  #stage {
    margin-top: 12px;
  }

  .book,
  .book.closed,
  .book.finished {
    width: var(--page-w);
    transform: none;
    height: var(--page-h);
  }

  .prev {
    left: 0;
  }

  .next {
    right: 0;
  }

  .turn-control {
    width: 22px;
    font-size: 30px;
    top: 44%;
  }

  #reader-tools {
    margin-top: 24px;
    width: 86vw;
    gap: 20px;
  }

  #open-hint {
    margin-top: 22px;
  }

  .page {
    padding: 5.5% 6% 6.5%;
  }

  dialog {
    padding: 32px 25px;
  }

  .news-lead-text p,
  .news-columns p {
    font-size: 2.7cqw;
  }

  .column-body p {
    font-size: 2.7cqw;
  }

  .site-bar a span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  .sheet,
  .book {
    transition: none;
  }

  .mobile-page {
    animation: none !important;
  }
}

.calendar-page,
.agenda-page,
.hardware-page {
  display: flex;
  flex-direction: column;
  padding-bottom: 8%;
}

.calendar-page .mini-brand,
.agenda-page .mini-brand,
.hardware-page .mini-brand {
  flex-shrink: 0;
  margin-bottom: 2%;
}

.calendar-page .section-title,
.agenda-page .section-title {
  font-size: 6.5cqw;
  margin-bottom: 2%;
  flex-shrink: 0;
}

.calendar-page .month-script {
  font-size: 5.5cqw;
  margin: 0 0 3%;
  flex-shrink: 0;
}

.calendar-page .model-grid {
  flex: 1;
  height: auto;
  min-height: 0;
}

.calendar-page .calendar-note {
  font-size: 2.2cqw;
  margin: 2% 0 0;
  flex-shrink: 0;
}

.agenda-page .agenda-rows {
  flex: 1;
  height: auto;
  min-height: 0;
  margin-top: 2%;
}

.hardware-page .section-title {
  font-size: 7cqw;
  margin-bottom: 2%;
}

.hardware-page .hardware-grid {
  flex: 1;
  min-height: 0;
  height: auto;
  margin-top: 2%;
}

.news-lead-text p,
.news-columns p {
  font-size: 2.35cqw;
  line-height: 1.17;
}

.news-lead {
  height: 35%;
}

.column-cameo {
  height: 9%;
  margin-bottom: 2%;
}

.column-title {
  font-size: 6.5cqw;
}

.column-label {
  font-size: 3.4cqw;
  margin-bottom: 2%;
}

.column-sub {
  font-size: 2.3cqw;
  margin-bottom: 3%;
  padding-bottom: 3%;
}

.column-body p {
  font-size: 2.35cqw;
  line-height: 1.22;
}

.column-pull {
  font-size: 3cqw;
  margin-top: 3%;
}

.column-sign {
  font-size: 3.6cqw;
  margin-top: 2%;
}

body {
  --chrome: #f8f6fa;
  --chrome-muted: #dedde8;
  --arrow: #26344f;
  --outer-bg: #fff;
  background: var(--outer-bg);
  background-attachment: fixed;
  background-size: 100vw 100svh;
  min-height: 100svh;
  transition: background-color 0.35s ease;
}

body[data-theme="navy-mirror"] {
  --outer-bg: linear-gradient(180deg,
      #15213d 0%,
      #536581 22%,
      #dbe4ef 42%,
      #edf2f8 50%,
      #dbe4ef 58%,
      #536581 80%,
      #15213d 100%);
}

.site-bar .logo-slot {
  display: flex;
  min-width: 125px;
  height: 34px;
  border: 0;
  padding: 0;
  gap: 0;
}

.logo-slot img {
  max-width: 185px;
  max-height: 38px;
  object-fit: contain;
}

.site-bar button,
#reader-tools button,
#open-hint,
.position {
  color: var(--chrome);
}

.site-bar button:hover,
#reader-tools button:hover {
  opacity: 0.75;
}

.hint-line {
  background: var(--chrome-muted);
  opacity: 0.55;
}

.turn-control,
.turn-control:hover {
  color: var(--arrow);
}

#loading {
  color: var(--chrome-muted);
}

#loading span,
#error {
  color: var(--chrome);
}

#error a {
  color: inherit;
}

#progress {
  background: linear-gradient(to right,
      var(--chrome) var(--progress, 0%),
      #ffffff33 var(--progress, 0%));
}

.face {
  box-shadow:
    0 1px 3px #14203a33,
    3px 12px 28px #0c152f3d;
}

.mobile-page {
  box-shadow:
    2px 8px 16px #13203a30,
    10px 25px 40px #0d172c40;
}

#stage::before {
  content: "";
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(var(--page-w) * 1.2);
  height: 45px;
  pointer-events: none;
  background: radial-gradient(ellipse,
      #10182c55 0%,
      #10182c20 40%,
      transparent 70%);
  filter: blur(9px);
  transition: width 0.8s ease;
}

body.reader-open #stage::before {
  width: calc(var(--page-w) * 2.1);
}

@media (max-width: 700px) {
  body.reader-open #stage::before {
    width: calc(var(--page-w) * 1.2);
  }

  .site-bar .logo-slot {
    min-width: 75px;
  }

  .logo-slot img {
    max-width: 145px;
    max-height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {

  body,
  #stage::before {
    transition: none;
  }
}

.cover-live {
  padding: 3% 3.5% 4.5%;
  background: linear-gradient(180deg,
      #ffffff45,
      transparent 21%,
      transparent 88%,
      #ffffff25);
  pointer-events: none;
}

.cover-live h1 {
  font-size: 11.3cqw;
  line-height: 0.97;
  letter-spacing: -0.65cqw;
  white-space: nowrap;
}

.cover-live .cover-sub {
  font-size: 1.7cqw;
  letter-spacing: 0.22cqw;
  margin-top: 1.8%;
}

.cover-live .cover-month {
  font-size: 2.5cqw;
  letter-spacing: 0.45cqw;
  text-transform: uppercase;
}

.back-cover .cover-img {
  transform: none;
  transform-origin: center;
}

.back-cover:after {
  box-shadow: none;
}

.restart-cover {
  position: absolute;
  left: 50%;
  bottom: 4%;
  transform: translateX(-50%);
  border: 1px solid #ffffffd9;
  border-radius: 30px;
  padding: 2.2% 5%;
  background: #fffffff2;
  color: #493039;
  box-shadow: 0 2px 15px #131b2822;
  font:
    1.9cqw "DM Sans",
    sans-serif;
  white-space: nowrap;
  cursor: pointer;
  z-index: 8;
}

.restart-cover:hover {
  background: white;
}

.section-title,
.calendar-page .section-title,
.agenda-page .section-title,
.hardware-page .section-title {
  white-space: nowrap;
  font-size: 6.2cqw !important;
  letter-spacing: -0.2cqw;
  line-height: 1.05;
}

.mini-brand {
  font-size: 2.25cqw;
}

.calendar-page .month-script {
  margin-top: 2%;
  margin-bottom: 4%;
}

.newspaper .masthead {
  font-size: 5.3cqw;
  letter-spacing: -0.1cqw;
  border-width: 3px;
  padding: 1.7% 0;
}

.news-title {
  font-size: 7.7cqw;
}

.news-section {
  font-size: 2.6cqw;
  margin-top: 3%;
}

.news-meta {
  font-size: 1.25cqw;
}

.folio {
  font-size: 1.25cqw;
  letter-spacing: 0.05cqw;
  gap: 8px;
  white-space: nowrap;
}

.folio span:last-child {
  font-size: 1.7cqw;
}

.column-page {
  display: flex;
  flex-direction: column;
  padding: 3.5% 7% 8%;
  border-color: #9a8982;
}

.column-icon-clip {
  position: relative;
  width: 14cqw;
  height: 16cqw;
  flex-shrink: 0;
  margin: 0 auto 1%;
  overflow: hidden;
}

.column-icon-clip img {
  position: absolute;
  max-width: none;
  width: 219%;
  height: auto;
  left: -61.5%;
  top: -1%;
  mix-blend-mode: multiply;
}

.column-label {
  font:
    italic 600 4.6cqw/1.05 "Times New Roman",
    serif;
  color: #3b3034;
  margin: 0 0 1%;
  text-align: center;
  flex-shrink: 0;
}

.column-date {
  font:
    2.7cqw/1.1 UnifrakturMaguntia,
    "Old English Text MT",
    serif;
  text-align: center;
  margin: 1% 0 2%;
  flex-shrink: 0;
}

.column-title {
  font-size: 5.8cqw;
  line-height: 1;
  white-space: nowrap;
  margin-bottom: 1.5%;
  flex-shrink: 0;
}

.column-sub {
  font-size: 2.1cqw;
  margin-bottom: 3%;
  padding-bottom: 2%;
  flex-shrink: 0;
}

.column-text-frame {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
  min-height: 0;
  --column-copy: 2.5cqw;
  gap: 0;
}

.column-text-frame>div {
  min-height: 0;
  overflow: hidden;
  padding-right: 7%;
}

.column-text-frame>div+div {
  border-left: 1px solid #a18c80;
  padding-left: 7%;
  padding-right: 0;
}

.column-text-frame p {
  font:
    400 var(--column-copy)/1.22 "Times New Roman",
    Georgia,
    serif;
  text-align: justify;
  margin: 0 0 5%;
}

.column-text-left p:first-child:first-letter {
  float: left;
  font:
    4.5cqw/0.85 "Bodoni Moda",
    serif;
  color: var(--wine);
  padding-right: 3%;
}

.column-text-frame .column-pull {
  font:
    italic 2.6cqw/1.13 "Times New Roman",
    serif;
  margin: 7% 0 0;
  text-align: left;
}

.column-text-frame .column-text-right {
  height: 100%;
}

[data-fit="news"] .news-lead-text p,
[data-fit="news"] .news-columns p {
  font-size: var(--news-copy, 2.4cqw);
}

.industry-page .dispatch-lead p,
.industry-page .dispatch-rest p {
  font-size: var(--dispatch-copy, 2.8cqw);
}

.dispatch-art {
  width: 38%;
  height: 17cqw;
  float: right;
  background-repeat: no-repeat;
  background-size: 220% 120%;
  background-position: right bottom;
  margin: 0 0 3% 4%;
}

@font-face {
  font-family: "Graveur Display";
  src: local("Graveur Display Bold"), local("GraveurDisplay-Bold");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Didot LP";
  src: local("Didot LP"), local("DidotLP-Roman");
  font-weight: 400;
  font-display: swap;
}

.cover-live h1 {
  font-family: "Graveur Display", "Bodoni Moda", Didot, serif;
  font-weight: 700;
  letter-spacing: -0.5cqw;
  font-size: 11cqw;
}

.cover-live .cover-month {
  font-family: "Didot LP", Didot, "Bodoni Moda", serif;
  font-size: 3.6cqw;
  letter-spacing: 0.45cqw;
  font-weight: 400;
}

.cover-live .cover-sub {
  font-size: 1.65cqw;
}

.calendar-page .mini-brand,
.agenda-page .mini-brand,
.cards-page .mini-brand {
  margin-bottom: 3%;
  flex-shrink: 0;
}

.calendar-page .section-title,
.agenda-page .section-title,
.cards-page .section-title {
  margin: 0 0 3% !important;
  line-height: 1.05;
  flex-shrink: 0;
}

.agenda-page .agenda-rows {
  margin-top: 2%;
}

.folio {
  justify-content: center;
  font-size: 1.5cqw;
  letter-spacing: 0.08cqw;
}

.folio span:last-child {
  display: none;
}

.cards-page {
  display: flex;
  flex-direction: column;
  padding-bottom: 8%;
}

.cards-page .section-title {
  font-size: 6cqw !important;
}

.industry-grid {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  flex: 1;
  min-height: 0;
  margin-top: 3%;
  border-top: 1px solid #c4b7ae;
}

.industry-card {
  display: grid;
  grid-template-columns: 37% minmax(0, 1fr);
  gap: 5%;
  align-items: stretch;
  padding: 5% 0;
  border-bottom: 1px solid #c4b7ae;
  min-height: 0;
  overflow: hidden;
}

.industry-card:last-child {
  border-bottom: 0;
}

.media-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid #ebe5e1;
  background: #fff;
  isolation: isolate;
  color: #fff;
  text-decoration: none;
}

.media-link>img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.industry-media {
  align-self: center;
  width: 100%;
  max-height: 100%;
}

.media-link-label {
  position: absolute;
  right: 4%;
  bottom: 5%;
  font:
    1.25cqw "DM Sans",
    sans-serif;
  background: #49313be6;
  color: #fff;
  border-radius: 2px;
  padding: 4% 6%;
  z-index: 2;
  white-space: nowrap;
  box-shadow: 0 1px 5px #0001;
}

.media-link:hover .media-link-label {
  background: #74192d;
}

.media-link:focus-visible {
  outline-offset: -3px;
}

.card-copy {
  min-height: 0;
  overflow: hidden;
  --card-copy: 2.6cqw;
}

.card-copy h3 {
  font:
    600 4.3cqw/1.02 "Cormorant Garamond",
    serif;
  margin: 3% 0 5%;
  letter-spacing: -0.08cqw;
}

.card-copy p {
  font:
    400 var(--card-copy)/1.2 "Cormorant Garamond",
    serif;
  margin: 0;
}

.industry-card .news-date {
  font-size: 1.5cqw;
}

.hardware-grid {
  gap: 0;
}

.hardware-card {
  display: flex;
  flex-direction: column;
  gap: 4%;
  padding: 5% 6%;
  overflow: hidden;
  min-height: 0;
}

.hardware-media {
  width: 100%;
  max-height: 50%;
  flex-shrink: 0;
}

.hardware-media .hardware-art {
  height: 100%;
  width: 100%;
  background-size: 205% 405%;
}

.hardware-card .card-copy {
  flex: 1;
}

.hardware-card .card-copy h3 {
  font-size: 4cqw;
  margin-top: 3%;
  margin-bottom: 4%;
}

.hardware-card .card-copy .news-date {
  font-size: 1.5cqw;
}

.hardware-card .media-link {
  margin: 0;
}

.hardware-card a {
  margin: 0;
}

.hardware-card .media-link-label {
  font-size: 1.3cqw;
}

.hardware-card .card-copy p {
  font-size: var(--card-copy);
  line-height: 1.17;
}

.story-page {
  display: flex;
  flex-direction: column;
  padding-bottom: 8%;
}

.story-page .masthead,
.story-page .news-meta,
.story-page .news-title,
.story-page .news-quote,
.story-page .story-sources {
  flex-shrink: 0;
}

.story-page .news-title {
  font-size: 7.8cqw;
  line-height: 0.98;
  padding: 4% 0;
  margin-bottom: 4%;
}

.story-content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 4%;
  overflow: hidden;
}

.story-page .news-lead {
  display: grid;
  grid-template-columns: 38% minmax(0, 1fr);
  gap: 5%;
  height: auto;
  min-height: 0;
  margin: 0;
  flex: 0 0 54%;
}

.story-page .news-lead-text {
  min-height: 0;
  overflow: hidden;
}

.story-page .news-columns {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.story-page .news-lead-text p,
.story-page .news-columns p,
.story-page .news-intro p {
  font:
    400 var(--news-copy, 2.45cqw)/1.22 "Cormorant Garamond",
    serif;
  text-align: justify;
  margin: 0 0 4%;
}

.story-page .news-intro {
  flex-shrink: 0;
}

.story-page .news-intro p {
  margin: 0;
}

.story-page .news-quote {
  font-size: 3cqw;
  line-height: 1.14;
  padding: 2%;
  margin: 3% 0;
}

.story-sources {
  margin-top: 1%;
  line-height: 1;
}

.story-page .source-link {
  font-size: 1.3cqw;
}

.layout-image-right .news-lead {
  grid-template-columns: minmax(0, 1fr) 38%;
}

.layout-image-right .news-art {
  order: 2;
}

.layout-intro-image-right .news-lead,
.layout-intro-image-left .news-lead {
  flex: 1;
  min-height: 0;
}

.layout-intro-image-right .news-lead {
  grid-template-columns: minmax(0, 1fr) 38%;
}

.layout-intro-image-right .news-art {
  order: 2;
}

.layout-intro-image-left .news-lead {
  grid-template-columns: 38% minmax(0, 1fr);
}

.news-art {
  min-height: 0;
}

.column-title {
  font-size: 4.8cqw;
  white-space: normal;
  line-height: 1.05;
  letter-spacing: -0.12cqw;
}

:root {
  --magazine-masthead: "Bodoni Moda", Didot, Georgia, serif;
  --magazine-headline: "Cormorant Garamond", Georgia, serif;
}

.mini-brand,
.newspaper .masthead {
  font-family: var(--magazine-masthead);
  font-weight: 500;
  letter-spacing: -0.1cqw;
}

.mini-brand {
  font-size: 3.4cqw;
  line-height: 1;
  text-transform: uppercase;
  align-items: center;
}

.mini-brand span {
  text-transform: none;
  letter-spacing: 0.2cqw;
  font-size: 1.25cqw;
  margin-left: 4%;
}

.section-title,
.calendar-page .section-title,
.agenda-page .section-title,
.cards-page .section-title,
.news-title,
.story-page .news-title,
.column-title {
  font-family: var(--magazine-headline);
  font-weight: 600;
}

.column-cover-page {
  background: #fff;
}

.column-cover-page .cover-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
  max-width: 100%;
  max-height: 100%;
}

.column-page .column-title {
  margin-bottom: 4%;
  padding-bottom: 3%;
  border-bottom: 1px solid #aa988d;
}

.mini-brand {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 2.6cqw;
  font-weight: 500;
  letter-spacing: -0.1cqw;
  text-transform: none;
}

.mini-brand span {
  font-size: 1.35cqw;
  letter-spacing: 0.2cqw;
}

.newspaper .masthead {
  font-family: var(--magazine-masthead);
  font-size: 5.3cqw;
  font-weight: 500;
}

.agenda-cards-page .agenda-grid {
  margin-top: 2%;
}

.agenda-media {
  padding: 0;
  cursor: pointer;
  line-height: normal;
  font: inherit;
  text-align: left;
}

.agenda-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.agenda-card .news-date {
  font-size: 1.4cqw;
}

.agenda-card .card-copy h3 {
  font-size: 4cqw;
}

.agenda-card .media-link-label {
  font-size: 1.3cqw;
}

.story-page .news-art {
  margin: 0;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  overflow: hidden;
}

.story-page .news-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  max-width: 100%;
  max-height: 100%;
}

.column-cover-page .cover-img {
  object-fit: contain;
  object-position: center top;
  transform: scale(1.035);
  transform-origin: 50% 0;
}

.column-cover-brand {
  position: absolute;
  right: 3.5%;
  top: 2.8%;
  font:
    500 4.9cqw/1 "Bodoni Moda",
    Didot,
    serif;
  letter-spacing: -0.18cqw;
  color: #171212;
  white-space: nowrap;
  max-width: 64%;
  z-index: 2;
}

.agenda-cards-page .agenda-grid {
  flex: 1;
  min-height: 0;
  height: auto;
}

@media (max-width: 700px) {
  :root {
    --page-h: min(calc(100svh - 119px), calc((100vw - 46px) / 0.745));
    --page-w: calc(var(--page-h) * 0.745);
  }

  html {
    height: 100%;
    overflow: hidden;
  }

  body {
    height: 100svh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
    overscroll-behavior: none;
  }

  .site-bar {
    height: 52px;
    flex-shrink: 0;
    padding: 12px 5%;
  }

  main {
    height: calc(100svh - 52px);
    height: calc(100dvh - 52px);
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) 57px;
    position: relative;
    overflow: hidden;
  }

  #stage {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .book,
  .book.closed,
  .book.finished {
    height: var(--page-h);
    width: var(--page-w);
    flex-shrink: 0;
  }

  #reader-tools,
  #open-hint {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    margin: 0 auto;
    max-height: 48px;
  }

  #reader-tools {
    width: calc(100% - 100px);
    gap: 13px;
  }

  #open-hint {
    font-size: 14px;
  }

  #stage::before {
    bottom: max(1px, calc((100% - var(--page-h)) / 2 - 24px));
  }

  .turn-control {
    top: calc(50% - 25px);
  }

  #loading,
  #error {
    grid-column: 1;
    grid-row: 1;
    margin: auto 20px;
    text-align: center;
  }

  dialog {
    max-height: calc(100svh - 28px);
    overflow: auto;
    overscroll-behavior: contain;
  }
}