@charset "UTF-8";
:root {
  --paper: #faf9f5; --ink: #243c80; --red: #ac382b;
  --pale: #eef0f3; --line: #c3cad6; --muted: #515e79;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 30px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); -webkit-font-smoothing: antialiased; }
::selection { background: #e8c2b7; color: var(--ink); }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
a:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; }
p { line-height: 1.7; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
.wrap { width: min(1120px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: -80px; background: var(--ink); color: white; padding: 14px; z-index: 100; }
.skip-link:focus { top: 12px; color: white; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 35px; border-bottom: 1px solid var(--ink); min-height: 100px; }
.wordmark { display: flex; align-items: center; gap: 10px; font-size: 29px; letter-spacing: -1.2px; text-decoration: none; white-space: nowrap; }
.wordmark svg { width: 35px; height: 35px; }
.wordmark-dot { color: var(--red); }
nav { font-family: var(--sans); font-size: 14px; }
.site-header nav { display: flex; gap: 32px; }
.site-header nav a { padding: 14px 0; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; padding-block: 45px 50px; }
.hero h1 { font-size: clamp(36px, 3.8vw, 49px); line-height: 1.2; letter-spacing: -1.2px; margin-bottom: 28px; max-width: 430px; }
.hero-copy > p { font-size: 18px; max-width: 445px; }
.hero-art { max-width: 510px; justify-self: end; width: 100%; }
.hero-art img { display: block; width: 100%; }
.hero-art figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); margin-bottom: 30px; padding-bottom: 14px; }
.section-heading h2 { font-size: 25px; }
.section-heading time { font: 13px var(--sans); color: var(--muted); }
.journal { padding-block: 0 55px; }
.journal-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 80px; }
.featured h3 { font-size: 38px; line-height: 1.2; letter-spacing: -.9px; margin-bottom: 20px; }
.featured h3 a { text-decoration: none; }
.featured h3 a:hover { text-decoration: underline; }
.featured > p { font-size: 18px; }
.article-link { display: flex; flex-wrap: wrap; align-items: baseline; gap: 18px; margin-top: 24px; }
.article-link > a { font-size: 16px; }
.article-link > span { font: 12px var(--sans); color: var(--muted); }
.margin-note { border-left: 1px solid var(--line); padding-left: 30px; }
.margin-note h3 { font-size: 20px; margin-bottom: 17px; }
.margin-note p { font-size: 15px; margin-bottom: 17px; }
.cabinet-section { background: var(--pale); border-block: 1px solid var(--line); padding: 35px 0 40px; }
.cabinet-intro { display: grid; grid-template-columns: 1fr 2fr; gap: 45px; align-items: baseline; }
.cabinet-intro h2, .letters h2, .reading-intro h2 { font-size: 31px; line-height: 1.2; letter-spacing: -.7px; }
.cabinet-intro p { font-size: 16px; max-width: 520px; }
.objects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 24px; }
.object { min-width: 0; }
.object-art { display: block; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.object-art:hover { color: var(--red); }
.object-art svg { display: block; max-height: 185px; width: 100%; }
.object h3 { font-size: 23px; letter-spacing: -.4px; margin: 9px 0; }
.object h3 a { text-decoration: none; }
.object h3 a:hover { text-decoration: underline; }
.object > p { font-size: 15px; max-width: 285px; }
.object .object-kind { margin-top: 12px; font: 12px var(--sans); color: var(--muted); }
.letters { padding-block: 55px 60px; }
.letter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.letter-grid > div > p:not(.article-link) { font-size: 17px; margin-top: 20px; }
.letter-paper { display: block; position: relative; transform: rotate(-2deg); padding: 34px 38px 29px; background: #f7f0e7; box-shadow: 2px 8px 13px #243c8010; border: 1px solid #d6cabc; text-decoration: none; max-width: 430px; color: #413b41; }
.letter-paper:hover { color: #413b41; border-color: var(--red); }
.postage { position: absolute; right: 22px; top: 20px; width: 48px; height: 55px; border: 1px dashed var(--red); color: var(--red); font-size: 26px; text-align: center; }
.postage > span { display: block; font: 9px var(--sans); margin-top: 3px; }
.letter-dear { font-size: 15px; display: block; margin: 0 0 24px; }
.letter-quote { font-size: 23px; line-height: 1.5; display: block; max-width: 310px; }
.letter-signature { display: block; font-size: 14px; line-height: 1.6; margin-top: 23px; }
.letter-corner { position: absolute; bottom: 0; right: 0; border-left: 22px solid #e6dacb; border-bottom: 22px solid var(--paper); }
.reading-section { border-top: 1px solid var(--ink); padding-block: 35px 55px; }
.reading-intro { display: grid; grid-template-columns: 1fr 2fr; gap: 45px; align-items: baseline; margin-bottom: 28px; }
.reading-intro > p { font-size: 16px; max-width: 555px; }
.reading-item { display: grid; grid-template-columns: 1fr 2fr; gap: 45px; border-top: 1px solid var(--line); padding: 25px 0; }
.reading-item h3 { font-size: 23px; line-height: 1.3; }
.source-byline { font: 12px/1.7 var(--sans); color: var(--muted); margin-top: 12px; }
.reading-item > p { font-size: 16px; max-width: 620px; }
.site-footer { border-top: 1px solid var(--ink); padding-block: 25px 34px; display: flex; justify-content: space-between; gap: 35px; align-items: baseline; }
.footer-name { font-size: 23px; letter-spacing: -.6px; text-decoration: none; }
.site-footer p { font-size: 12px; color: var(--muted); margin-top: 12px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 12px; }
.article-wrap { max-width: 900px; padding-top: 28px; padding-bottom: 55px; }
.back-link { display: inline-block; font: 13px var(--sans); padding: 12px 0; margin-bottom: 36px; }
.article-header { margin: 10px 0 35px; max-width: 750px; }
.article-header h1 { font-size: 47px; line-height: 1.15; letter-spacing: -1.3px; margin-bottom: 22px; }
.article-subtitle { font-size: 20px; max-width: 620px; }
.article-meta { font: 12px/1.7 var(--sans); color: var(--muted); margin-top: 22px; }
.prose { max-width: 640px; font-size: 19px; line-height: 1.75; }
.prose p { line-height: 1.8; margin-bottom: 24px; }
.prose h2 { font-size: 29px; line-height: 1.25; margin: 38px 0 20px; letter-spacing: -.5px; }
.prose blockquote { border-left: 2px solid var(--red); margin: 30px 0; padding: 8px 0 1px 25px; font-size: 23px; }
.prose blockquote p { line-height: 1.6; margin-bottom: 8px; }
.prose .editor-note { font-size: 15px; color: var(--muted); border-block: 1px solid var(--line); padding-block: 17px; margin-block: 25px; line-height: 1.7; }
.article-object { max-width: 260px; margin: 0 0 25px; }
.article-colophon { display: flex; gap: 16px; align-items: center; max-width: 640px; margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--line); }
.article-colophon svg { width: 40px; flex-shrink: 0; }
.article-colophon p { font-size: 13px; color: var(--muted); }
.further-reading { max-width: 640px; margin-top: 38px; }
.further-reading h2 { font-size: 23px; }
.further-reading ul { padding-left: 21px; }
.further-reading li { font-size: 17px; padding-block: 7px; }
.simple-page { max-width: 900px; padding-top: 28px; padding-bottom: 55px; }
.simple-page h1 { font-size: 45px; line-height: 1.15; letter-spacing: -1.3px; margin: 8px 0 32px; }
.simple-page .back-link { display: block; width: fit-content; }
.prose li { margin-bottom: 17px; }
.prose ul { padding-left: 22px; }
.prose code { font-size: .8em; overflow-wrap: anywhere; background: var(--pale); padding: 2px 4px; }
.signature { margin-top: 35px; }
.poem { max-width: 550px; padding-top: 10px; }
.prose .verse { font-size: 21px; line-height: 1.7; margin-bottom: 30px; }
.not-found { min-height: 65vh; }
@media(max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 28px; }
  .hero-copy > p { font-size: 17px; }
  .journal-grid { gap: 40px; }
  .letter-grid { gap: 55px; }
  .letter-paper { padding-inline: 28px; }
  .site-footer { flex-direction: column; gap: 24px; }
}
@media(max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { flex-wrap: wrap; gap: 3px; padding-block: 17px 7px; }
  .wordmark { font-size: 28px; }
  .wordmark svg { width: 30px; }
  .site-header nav { width: 100%; gap: 28px; margin-top: 5px; font-size: 13px; }
  .site-header nav a { padding-block: 9px; }
  .hero { grid-template-columns: 1fr; padding-block: 32px 25px; gap: 15px; }
  .hero h1 { font-size: 38px; margin-bottom: 23px; max-width: 360px; }
  .hero-copy > p { font-size: 17px; max-width: 470px; }
  .hero-art { max-width: 375px; justify-self: center; }
  .section-heading { margin-bottom: 23px; }
  .section-heading h2 { font-size: 24px; }
  .section-heading time { font-size: 12px; }
  .journal { padding-bottom: 35px; }
  .journal-grid { grid-template-columns: 1fr; gap: 30px; }
  .featured h3 { font-size: 33px; margin-bottom: 17px; }
  .featured > p { font-size: 17px; }
  .article-link { margin-top: 20px; }
  .margin-note { padding-left: 20px; border-left-color: var(--red); }
  .margin-note h3 { font-size: 21px; }
  .margin-note p { font-size: 15px; }
  .cabinet-section { padding-block: 30px; }
  .cabinet-intro, .reading-intro { display: block; }
  .cabinet-intro h2, .reading-intro h2, .letters h2 { font-size: 29px; }
  .cabinet-intro p, .reading-intro p { margin-top: 15px; font-size: 15px; }
  .objects { grid-template-columns: 1fr; gap: 22px; margin-top: 20px; }
  .object-art svg { height: 155px; }
  .object-art { margin-bottom: 16px; }
  .object h3 { font-size: 24px; }
  .object > p { max-width: none; }
  .object .object-kind { margin-top: 8px; }
  .letters { padding-block: 35px 42px; }
  .letter-grid { grid-template-columns: 1fr; gap: 34px; }
  .letter-grid > div > p:not(.article-link) { font-size: 16px; }
  .letter-paper { width: calc(100% - 15px); margin-inline: auto; }
  .letter-quote { font-size: 22px; }
  .reading-section { padding-block: 28px 30px; }
  .reading-item { grid-template-columns: 1fr; gap: 15px; padding-block: 23px; }
  .reading-item h3 { font-size: 24px; }
  .source-byline { margin-top: 9px; }
  .reading-item > p { font-size: 16px; }
  .site-footer nav { gap: 18px; font-size: 12px; line-height: 2; }
  .article-wrap, .simple-page { padding-top: 16px; padding-bottom: 40px; }
  .back-link { font-size: 12px; margin-bottom: 25px; }
  .article-header h1, .simple-page h1 { font-size: 37px; letter-spacing: -.9px; }
  .article-subtitle { font-size: 19px; }
  .article-meta { font-size: 12px; }
  .prose { font-size: 18px; }
  .prose p { line-height: 1.75; }
  .prose h2 { font-size: 26px; margin-top: 32px; }
  .prose .editor-note { font-size: 14px; }
  .article-colophon p { font-size: 12px; }
  .article-object { max-width: 230px; }
  .prose .verse { font-size: 19px; }
}
@media print {
  body { background: white; color: #111; }
  .site-header nav, .site-footer, .further-reading, .back-link, .skip-link { display: none; }
  .wrap { width: 100%; max-width: 100%; }
  .article-wrap, .simple-page { padding: 0; }
  .article-header h1 { font-size: 30px; }
  .prose { font-size: 12pt; max-width: none; }
  .prose p { line-height: 1.5; }
  .article-header, .prose h2 { break-after: avoid; }
  a { color: inherit; }
}

.poetry-section { background: var(--pale); border-block: 1px solid var(--line); padding-block: 44px 35px; }
.poetry-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 65px; }
.poetry-heading h2 { font-size: 34px; letter-spacing: -.7px; line-height: 1.2; }
.poetry-heading h2 a { text-decoration: none; }
.poetry-heading h2 a:hover { text-decoration: underline; }
.poetry-heading > p { margin-top: 15px; font: 13px var(--sans); color: var(--muted); }
.earlier-poems { margin-top: 60px; }
.earlier-poems h3 { font-size: 18px; margin-bottom: 15px; }
.earlier-poems ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.earlier-poems li { font-size: 16px; }
.poetry-grid .poem { padding: 0; }
.poetry-grid .verse:last-child { margin-bottom: 0; }
.earlier-pages { border-top: 1px solid var(--line); padding-block: 25px 35px; }
.earlier-pages h2 { font-size: 24px; margin-bottom: 18px; }
.earlier-pages ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; }
.earlier-pages li { display: flex; gap: 18px; align-items: baseline; line-height: 1.8; }
.earlier-pages li > span { font: 12px var(--sans); color: var(--muted); }
@media (max-width: 700px) {
  .poetry-section { padding-block: 30px; }
  .poetry-grid { grid-template-columns: 1fr; gap: 30px; }
  .poetry-heading h2 { font-size: 30px; }
  .earlier-poems { margin-top: 20px; }
  .earlier-poems h3 { font-size: 15px; margin-bottom: 12px; }
  .earlier-poems li { font-size: 15px; }
  .earlier-pages ul { grid-template-columns: 1fr; }
}

/* The experiment is a page of the café, with its own small worktable. */
[hidden] { display: none !important; }
.play-shelf { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 26px; margin-bottom: 44px; display: grid; grid-template-columns: 120px 1fr; gap: 30px; align-items: center; }
.play-shelf svg { width: 120px; }
.play-shelf h2 { font-size: 30px; margin-bottom: 9px; }
.play-shelf p { font-size: 17px; max-width: 660px; }
.play-shelf .article-link { margin-top: 12px; font-size: 15px; }
.experiment-page { max-width: 1040px; padding-top: 28px; padding-bottom: 55px; }
.experiment-header { max-width: 730px; }
.experiment-header h1 { font-size: 47px; letter-spacing: -1.3px; margin-bottom: 15px; }
.experiment-header > p:not(.article-meta) { font-size: 22px; }
.game-instructions { max-width: 750px; margin-block: 28px; font-size: 17px; }
.game-fallback { border: 1px solid var(--line); padding: 22px; }
.moon-game { background: var(--paper); border-block: 1px solid var(--ink); padding-block: 23px 18px; }
.game-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.game-heading h2 { font-size: 28px; margin-top: 8px; }
.game-heading p { font: 13px/1.7 var(--sans); color: var(--muted); }
.stage-note { font-size: 17px; max-width: 690px; margin-top: 15px; min-height: 58px; }
#moon-canvas { display: block; width: min(100%, 800px); height: auto; margin: 0 auto 15px; cursor: pointer; }
.game-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; }
.game-controls h3 { font-size: 18px; margin-bottom: 12px; }
.mirror-buttons, .game-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.game-actions { justify-content: flex-end; }
.moon-game button { min-width: 48px; min-height: 46px; border: 1px solid var(--ink); border-radius: 2px; background: transparent; color: var(--ink); padding: 10px 15px; font: 15px/1.3 var(--sans); cursor: pointer; }
.mirror-buttons button { font: 19px/1.2 var(--serif); }
.moon-game button:hover:not(:disabled) { background: var(--pale); }
.moon-game button:focus-visible, summary:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.moon-game button:disabled { color: var(--muted); border-color: var(--line); cursor: default; }
.game-result { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.game-result p { max-width: 620px; font-size: 19px; }
.game-result button { flex-shrink: 0; }
.game-result button:not(:disabled) { background: var(--ink); color: var(--paper); }
.game-result button:hover:not(:disabled) { background: var(--red); }
.hint-text { margin-top: 12px; color: var(--red); font-size: 16px; min-height: 28px; }
.board-text { font-size: 15px; max-width: 740px; }
summary { cursor: pointer; padding-block: 12px; width: fit-content; text-decoration: underline; text-underline-offset: 4px; }
.board-text p { margin-bottom: 12px; }
.paper-version { margin-top: 26px; }
.paper-version > summary { font-size: 18px; }
.paper-version .prose { padding-top: 20px; }
.paper-version h3 { font-size: 23px; margin: 28px 0 15px; }
.experiment-colophon { font-size: 13px; color: var(--muted); max-width: 650px; margin-top: 35px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.moon-game:fullscreen { overflow-y: auto; padding: 25px max(20px, calc((100vw - 1000px) / 2)); border: 0; }
@media(max-width: 700px) {
  .site-header nav { gap: 22px; flex-wrap: wrap; }
  .play-shelf { grid-template-columns: 64px 1fr; gap: 20px; margin-bottom: 30px; }
  .play-shelf svg { width: 64px; }
  .play-shelf h2 { font-size: 28px; }
  .play-shelf p { font-size: 16px; }
  .experiment-page { padding-top: 16px; }
  .experiment-header h1 { font-size: 38px; }
  .game-instructions { font-size: 16px; }
  .game-heading h2 { font-size: 25px; }
  .stage-note { font-size: 16px; min-height: 0; margin-bottom: 10px; }
  .game-controls { grid-template-columns: 1fr; gap: 20px; }
  .game-actions { justify-content: flex-start; }
  .game-result { align-items: flex-start; flex-direction: column; gap: 15px; }
  .game-result p { font-size: 18px; }
}
@media print { .moon-game, .game-instructions, .game-fallback { display: none; } .paper-version > summary { text-decoration: none; } }
