@font-face {
  font-family: AutomaticLatin;
  src: url("../../fonts/E.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: AutomaticSong;
  src: url("assets/text.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: AutomaticMono;
  src: url("../news-thoughts-mobile/fonts/dm-mono-regular.woff2")
    format("woff2");
  font-display: swap;
}
:root {
  --paper: #f3f0e8;
  --ink: #20251d;
  --muted: #5f6357;
  --rule: #cacbbe;
  --accent: #414c35;
  --mono: AutomaticMono, monospace;
  --song: AutomaticSong, "Songti SC", "STSong", serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 34px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.8 var(--song);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
figure,
p,
h1,
h2,
h3 {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
.skip {
  position: fixed;
  left: 20px;
  top: -100px;
  background: var(--paper);
  z-index: 10;
  padding: 8px 16px;
}
.skip:focus {
  top: 10px;
}
.topbar {
  display: flex;
  justify-content: space-between;
  padding: 25px 3.5vw;
  font: 14px/1 var(--mono);
  letter-spacing: 0.05em;
}
main {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 3.5vw;
}
.hero {
  padding: 42px 0 34px;
}
.eyebrow,
.section-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
}
.eyebrow {
  font-size: 14px;
  color: var(--muted);
}
.eyebrow [lang="en"],
.section-line > span {
  font: 11px/1.6 var(--mono);
  letter-spacing: 0.07em;
}
h1 {
  padding: 26px 0 30px;
  border-bottom: 1px solid var(--ink);
}
.title-en {
  display: block;
  font:
    clamp(64px, 12.5vw, 180px)/0.9 AutomaticLatin,
    Arial,
    sans-serif;
  letter-spacing: -0.055em;
  margin-left: -0.025em;
}
.title-zh {
  display: block;
  font: clamp(27px, 3.1vw, 46px)/1.2 var(--song);
  letter-spacing: 0.14em;
  margin-top: 27px;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  padding-top: 24px;
}
.hero-bottom p {
  font-size: 19px;
}
.hero-bottom > a {
  white-space: nowrap;
  font-size: 14px;
}
.section-line {
  border-top: 1px solid var(--rule);
  padding: 17px 0 25px;
}
.section-line h2 {
  font-size: 16px;
}
.section-line > span {
  color: var(--muted);
}
.covers {
  padding-top: 20px;
}
.cover-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.image-link {
  display: block;
  position: relative;
  background: #fff;
  outline-offset: 5px;
}
.image-link img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: contain;
}
.enlarge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: var(--paper);
  border: 1px solid var(--rule);
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  font: 18px/1 Arial;
  opacity: 0;
  transition: opacity 0.16s;
}
.image-link:hover .enlarge,
.image-link:focus-visible .enlarge {
  opacity: 1;
}
figcaption {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin-top: 13px;
  font-size: 12px;
  color: var(--muted);
}
figcaption time {
  margin-left: auto;
  font: 10px/1.5 var(--mono);
}
.issue {
  font: 11px/1.6 var(--mono);
  letter-spacing: 0.06em;
}
.small {
  font-size: 12px;
  color: var(--muted);
}
.gallery-hint {
  margin-top: 22px;
}
.section {
  margin-top: 105px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  padding: 16px 0 55px;
}
.statement {
  font-size: clamp(25px, 2.6vw, 38px);
  line-height: 1.7;
  letter-spacing: 0.02em;
}
.description {
  font-size: 17px;
}
.description p + p {
  margin-top: 22px;
}
.description .english {
  font:
    14px/1.85 Georgia,
    serif;
  color: var(--muted);
  margin-top: 32px;
}
.specs {
  display: grid;
  grid-template-columns: 1fr 0.75fr 1.75fr 1.25fr;
  gap: 25px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  margin: 0;
  font-size: 14px;
}
.specs dt {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 5px;
}
.specs dd {
  margin: 0;
}
.specs dd span {
  font:
    12px Georgia,
    serif;
  margin-left: 7px;
}
.process-list {
  list-style: none;
  margin: 0;
  padding: 5px 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}
.step-no {
  font: 11px var(--mono);
  color: var(--muted);
}
.process-list h3 {
  font-size: 26px;
  margin: 17px 0 10px;
}
.process-list p {
  font-size: 14px;
  max-width: 17em;
  color: var(--muted);
}
.edition-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin: 8px 0 30px;
}
.edition-heading h3 {
  font-size: 30px;
  margin-top: 9px;
}
.edition-heading > p {
  font-size: 14px;
  color: var(--muted);
}
.edition-heading a {
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.edition-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.credits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  font-size: 13px;
  color: var(--muted);
}
.credits-grid ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.credits-grid a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
footer {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--ink);
  padding: 24px 0 38px;
  margin-top: 75px;
  font-size: 13px;
}
footer > span {
  font: 10px var(--mono);
  color: var(--muted);
}
.viewer {
  position: fixed;
  inset: 0;
  border: 0;
  padding: 0;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  background: #eceae3;
  color: var(--ink);
}
.viewer[open] {
  display: flex;
  flex-direction: column;
}
.viewer::backdrop {
  background: #eceae3;
}
.viewer-bar,
.viewer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 28px;
  flex-shrink: 0;
  font-size: 13px;
}
.viewer-bar p {
  overflow-wrap: anywhere;
}
.viewer button {
  background: transparent;
  border: 1px solid var(--rule);
  padding: 8px 15px;
  font-size: 13px;
  white-space: nowrap;
  min-height: 44px;
}
.viewer button:disabled {
  opacity: 0.3;
  cursor: default;
}
.viewer-image {
  min-height: 0;
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  overflow: auto;
}
.viewer-image img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.viewer-bottom {
  border-top: 1px solid var(--rule);
}
#viewer-count {
  font: 12px var(--mono);
}
body.viewer-open {
  overflow: hidden;
}
@media (max-width: 860px) {
  .topbar {
    padding: 22px 22px;
  }
  main {
    padding: 0 22px;
  }
  .hero {
    padding-top: 27px;
  }
  .eyebrow {
    font-size: 12px;
  }
  .eyebrow [lang="en"] {
    font-size: 9px;
  }
  .title-en {
    font-size: 12.4vw;
  }
  .title-zh {
    font-size: 30px;
    margin-top: 20px;
  }
  h1 {
    padding: 25px 0;
  }
  .hero-bottom {
    display: block;
    padding-top: 18px;
  }
  .hero-bottom p {
    font-size: 16px;
  }
  .hero-bottom > a {
    display: inline-block;
    margin-top: 13px;
  }
  .cover-grid {
    gap: 13px;
  }
  figcaption {
    gap: 7px;
    flex-wrap: wrap;
    font-size: 11px;
  }
  figcaption time {
    margin-left: 0;
    width: 100%;
  }
  .section {
    margin-top: 72px;
  }
  .section-line > span {
    font-size: 9px;
  }
  .about-grid {
    gap: 35px;
    grid-template-columns: 1fr;
    padding-bottom: 32px;
  }
  .statement {
    font-size: 29px;
  }
  .description {
    font-size: 16px;
  }
  .specs {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .process-list {
    grid-template-columns: 1fr;
    padding-top: 0;
    gap: 0;
  }
  .process-list li {
    display: grid;
    grid-template-columns: 34px 72px 1fr;
    align-items: baseline;
    gap: 10px;
    padding: 19px 0;
    border-bottom: 1px solid var(--rule);
  }
  .process-list h3 {
    font-size: 22px;
    margin: 0;
  }
  .process-list p {
    max-width: none;
  }
  .edition-heading {
    display: block;
  }
  .edition-heading h3 {
    font-size: 28px;
  }
  .edition-heading > p {
    margin-top: 16px;
  }
  .edition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 14px;
  }
  .credits-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  footer {
    flex-wrap: wrap;
    margin-top: 45px;
  }
  footer > span {
    order: 3;
    width: 100%;
  }
  .enlarge {
    opacity: 1;
    width: 24px;
    height: 24px;
    font-size: 16px;
    right: 5px;
    bottom: 5px;
  }
  .viewer-bar,
  .viewer-bottom {
    padding: 10px 14px;
    gap: 10px;
  }
  .viewer-bar p {
    font-size: 11px;
  }
  .viewer-image {
    padding: 0 6px;
  }
}
@media (max-width: 520px) {
  .cover-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .cover-grid figure:not(:first-child) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
    align-items: end;
  }
  .cover-grid figure:not(:first-child) figcaption {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding-bottom: 5px;
  }
  .section-line {
    gap: 10px;
  }
  .section-line > span {
    max-width: 47%;
    text-align: right;
  }
  .hero-bottom p {
    max-width: 19em;
  }
  .title-zh {
    font-size: 27px;
  }
  .specs {
    font-size: 13px;
  }
  .process-list li {
    grid-template-columns: 27px 58px 1fr;
  }
  .process-list p {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
