.atelier-page { --story-body: 15px; }
.atelier-page.reading-large { --story-body: 18px; }
.atelier-page .header { gap: 24px; }
.atelier-edition { margin-left: auto; font: 11px/1.6 var(--mono); letter-spacing: .09em; }
.atelier-back { font-size: 12px; padding: 14px 0 14px 25px; border-left: 1px solid var(--line); }
.atelier-page h1, .atelier-page h2, .atelier-page h3 { font-weight: 500; }
.story-cover { position: relative; padding: 70px 0 65px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.story-cover h1 { font-size: clamp(52px, 5.5vw, 80px); line-height: 1.45; letter-spacing: -.065em; margin: 25px 0; }
.story-cover h1 span { color: var(--accent); }
.story-cover-copy { padding: 15px 0 25px; }
.story-deck { font-size: 18px; line-height: 2; margin: 28px 0 20px; }
.story-intro { font-size: 14px; color: var(--muted); line-height: 2; }
.story-start { display: inline-flex; align-items: center; justify-content: space-between; gap: 45px; font-size: 13px; border-bottom: 1px solid var(--ink); padding: 16px 0; margin-top: 15px; }
.story-start span { font-size: 25px; }
.story-cover-photo { position: relative; background: #e4dfd4; padding: 10px; box-shadow: 15px 15px 0 #ded7c755; }
.story-cover-photo::before { content: ""; position: absolute; left: -20px; top: -24px; width: 1px; height: 70px; background: var(--accent); z-index: -1; }
.story-cover-photo > a { display: block; }
.story-cover-photo img { width: 100%; }
.story-cover-photo figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 17px 5px 7px; font: 11px/1.7 var(--mono); }
.story-cover-margin { position: absolute; right: -28px; top: 130px; writing-mode: vertical-rl; font: 11px/1.6 var(--mono); letter-spacing: .1em; }
.story-rail { position: sticky; top: 0; z-index: 6; background: var(--paper); border-block: 1px solid var(--line); }
.story-rail > div { display: flex; justify-content: space-between; gap: 20px; }
.story-rail nav { display: flex; gap: 28px; }
.story-rail nav a { position: relative; padding: 22px 0; font-size: 12px; display: flex; gap: 12px; align-items: center; }
.story-rail nav a span { font: 11px/1.5 var(--mono); color: var(--muted); }
.story-rail nav a[aria-current="location"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--accent); }
.story-rail nav a:hover { color: var(--accent); }
#reading-size { background: transparent; border: 0; border-left: 1px solid var(--line); padding: 12px 0 12px 25px; font-size: 12px; min-height: 44px; }
#reading-size[aria-pressed="true"] { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.story-chapter, .story-references { scroll-margin-top: 95px; }
.story-section-label { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 20px; font: 11px/1.7 var(--mono); letter-spacing: .05em; }
.story-section-label span:last-child { color: var(--muted); }
.story-chapter h2, .story-references h2 { font-size: clamp(28px, 3vw, 44px); line-height: 1.65; letter-spacing: -.045em; margin: 15px 0 30px; }
.story-paragraph { font-size: var(--story-body); line-height: 2.15; max-width: 40em; margin: 22px 0; }
.story-attachment { padding: 85px 0 80px; }
.attachment-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding: 40px 0; align-items: center; }
.story-pullquote { position: relative; background: #e9dfce; padding: 52px 45px 45px; overflow: hidden; }
.story-pullquote > *:not(.quote-slash) { position: relative; z-index: 1; }
.story-pullquote blockquote { font-size: clamp(24px, 2.4vw, 35px); line-height: 1.9; letter-spacing: -.045em; }
.story-pullquote > p:not(.eyebrow) { font-size: 12px; line-height: 1.9; margin: 24px 0 20px; }
.quote-slash { position: absolute; right: 10px; top: -120px; font: 900 520px/1 var(--mono); color: #d7c9ae88; transform: rotate(12deg); }
.story-editorial-note, .story-photo-note { font-size: 12px; line-height: 1.9; color: var(--muted); }
.story-editorial-note { border-top: 1px solid var(--line); padding-top: 22px; margin: 0; }
.story-craft { padding: 85px 0 95px; background: #e9e6dd; }
.craft-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; margin-top: 50px; align-items: start; }
.story-craft-photo { padding: 10px; background: var(--paper); }
.story-craft-photo > a { display: block; }
.story-craft-photo img { width: 100%; }
.story-craft-photo figcaption { display: flex; gap: 6px 16px; flex-wrap: wrap; justify-content: space-between; font: 11px/1.8 var(--mono); padding: 17px 10px 6px; }
.story-craft-photo small { flex: 0 0 100%; color: var(--muted); font-size: 11px; }
.craft-copy { padding-top: 10px; }
.craft-materials { margin: 30px 0; padding: 0; }
.craft-materials > div { display: grid; grid-template-columns: 125px 1fr; gap: 20px; border-top: 1px solid #bebbb0; padding: 18px 0; }
.craft-materials > div:last-child { border-bottom: 1px solid #bebbb0; }
.craft-materials dt { font-size: 14px; color: var(--accent); }
.craft-materials dd { font-size: var(--story-body); line-height: 1.8; margin: 0; }
.story-footnote { margin: 28px 0; border-block: 1px solid #bebbb0; }
.story-footnote summary, .story-source-list > summary { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: 13px; line-height: 1.8; cursor: pointer; list-style: none; min-height: 48px; }
.story-footnote summary::-webkit-details-marker, .story-source-list > summary::-webkit-details-marker { display: none; }
.story-footnote summary > span, .story-source-list > summary > span { font-size: 21px; line-height: 1.2; }
.story-footnote[open] summary > span, .story-source-list[open] > summary > span { transform: rotate(45deg); }
.story-footnote p { font-size: var(--story-body); line-height: 2; margin: 0 0 24px; }
.story-photo-note { margin: 22px 0 0; }
.story-imagine { background: #332b3c; color: var(--paper); --muted: #c2b9c9; --line: #75677d; --focus: #f4d893; padding: 85px 0 40px; }
.imagine-heading, .play-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; margin: 45px 0; align-items: start; }
.imagine-spread { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.imagine-photo { border: 1px solid #75677d; padding: 10px; }
.imagine-photo > a { display: block; }
.imagine-photo img { width: 100%; }
.imagine-photo figcaption { display: flex; justify-content: space-between; gap: 12px; font: 11px/1.8 var(--mono); padding: 18px 8px 8px; }
.imagine-book { padding: 20px 20px 20px 0; }
.imagine-book > a:first-child { display: block; width: 62%; margin: 0 0 45px auto; }
.imagine-book img { width: 100%; box-shadow: 12px 12px 0 #211a2a88; }
.imagine-book h3 { font: italic 48px/1.3 var(--display); margin: 10px 0 25px; }
.imagine-book > p:not(.eyebrow) { font-size: var(--story-body); line-height: 2.1; }
.imagine-coda { display: flex; justify-content: space-between; gap: 25px; font: 11px/1.8 var(--mono); border-top: 1px solid var(--line); padding: 30px 0 0; margin: 60px 0 0; }
.imagine-coda span { font-family: var(--sans); font-size: 12px; }
.story-play { padding: 90px 0 80px; }
.play-duet { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; margin-bottom: 40px; }
.music-feature { padding: 30px 0; }
.play-word { display: block; font: 900 clamp(75px, 10vw, 150px)/.9 var(--mono); font-stretch: 75%; letter-spacing: -.06em; color: var(--accent); margin-bottom: 35px; }
.play-duet h3 { font-size: 28px; line-height: 1.7; letter-spacing: -.04em; margin: 15px 0 25px; }
.music-records { margin-top: 36px; }
.music-records a { display: grid; grid-template-columns: 93px 1fr 12px; gap: 15px; font-size: 12px; line-height: 1.8; border-top: 1px solid var(--line); padding: 19px 0; }
.music-records time { font-family: var(--mono); color: var(--muted); }
.music-records a:hover { color: var(--accent); }
.circle-feature { background: #e9dfce; padding: 38px; }
.circle-feature h3 { font-size: 29px; }
.circle-feature h3 > span { color: var(--accent); }
.circle-record { border-block: 1px solid #c4b79f; margin: 28px 0; padding: 24px 0; }
.circle-record h4 { font: 700 28px/1.3 var(--mono); margin: 15px 0; letter-spacing: -.03em; }
.circle-record > p:not(.eyebrow) { font-size: 13px; line-height: 2; }
.circle-record .text-link { display: block; width: fit-content; margin-top: 18px; }
.story-references { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding: 70px 0 90px; border-top: 1px solid var(--line); }
.story-references > div > p { font-size: 14px; line-height: 2; }
.story-source-list { border-block: 1px solid var(--line); }
.story-source-list ol { margin: 0; padding: 0; list-style: none; }
.story-source-list li { padding: 20px 0; border-top: 1px solid var(--line); }
.story-source-list li > p { font: 11px/1.7 var(--mono); color: var(--muted); }
.story-source-list li > a { font-size: 14px; line-height: 1.8; text-decoration: underline; text-underline-offset: 4px; }
.story-source-list li > small { display: block; font-size: 12px; line-height: 1.9; color: var(--muted); margin-top: 10px; }
.story-media-link { display: block; background: #e9e6dd; padding: 28px; margin-top: 30px; }
.story-media-link h3 { font-size: 23px; line-height: 1.7; margin: 12px 0; }
.story-media-link p:last-child { font-size: 13px; line-height: 1.9; }
.story-end { padding: 80px 0; background: #e8dbc3; }
.story-end-title { font-size: clamp(28px, 4vw, 52px); letter-spacing: -.05em; margin: 30px 0; }
.story-end .round-link { display: flex; margin: 24px 0; max-width: 310px; }
#story-viewer { width: 1000px; }
.story-viewer-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 25px; }
.story-viewer-head h2 { font-size: 18px; margin: 0; line-height: 1.7; }
.story-viewer-head button { flex-shrink: 0; border: 1px solid var(--line); background: transparent; padding: 12px 16px; font-size: 12px; }
#story-viewer-image { width: 100%; height: min(65dvh, 760px); object-fit: contain; background: #242827; }
.story-viewer-caption { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 25px; font-size: 12px; line-height: 1.8; }
@media (max-width: 1100px) {
  .story-cover { gap: 40px; padding-block: 50px; }
  .story-cover h1 { font-size: 5.5vw; }
  .story-cover-photo figcaption { flex-direction: column; gap: 4px; }
  .attachment-layout, .craft-layout, .imagine-heading, .imagine-spread, .play-heading, .story-references { gap: 45px; }
  .story-rail nav { gap: 20px; }
  .story-rail nav a { font-size: 11px; gap: 8px; }
  #reading-size { padding-left: 15px; font-size: 11px; }
  .story-pullquote { padding: 35px 30px; }
  .play-duet { gap: 35px; }
  .circle-feature { padding: 28px; }
  .circle-feature h3 { font-size: 23px; }
  .music-records a { grid-template-columns: 1fr 12px; gap: 5px 12px; }
  .music-records time { grid-column: 1; }
  .music-records a > span:first-of-type { grid-column: 1; }
  .music-records a > span:last-of-type { grid-column: 2; grid-row: 1 / 3; align-self: center; }
}
@media (max-width: 800px) {
  .atelier-edition { display: none; }
  .atelier-back { margin-left: auto; border: 0; }
  .story-cover { gap: 30px; }
  .story-cover h1 { font-size: 6vw; }
  .story-deck { font-size: 14px; }
  .story-intro { font-size: 12px; }
  .story-cover-margin { right: -20px; font-size: 10px; }
  .story-rail > div { width: 100%; flex-direction: column; gap: 0; }
  .story-rail nav { justify-content: space-between; gap: 5px; padding-inline: 20px; }
  .story-rail nav a { flex-direction: column; gap: 4px; font-size: 11px; padding: 13px 0; }
  #reading-size { align-self: stretch; border: 0; border-top: 1px solid var(--line); padding: 8px; min-height: 40px; }
  .story-chapter, .story-references { scroll-margin-top: 135px; }
  .attachment-layout, .craft-layout, .play-heading, .play-duet, .story-references { grid-template-columns: 1fr; gap: 35px; }
  .craft-layout { gap: 40px; }
  .story-craft-photo { max-width: 500px; }
  .story-section-label span:last-child { display: none; }
  .story-pullquote { max-width: 600px; }
  .story-pullquote blockquote { font-size: 28px; }
  .story-chapter h2, .story-references h2 { font-size: 30px; }
  .imagine-heading { grid-template-columns: 1fr; gap: 0; }
  .imagine-book { padding-right: 0; }
  .imagine-book h3 { font-size: 35px; }
  .imagine-spread { gap: 30px; align-items: start; }
  .imagine-book > a:first-child { width: 85%; margin-bottom: 35px; }
  .imagine-photo figcaption { flex-direction: column; }
  .circle-feature { max-width: 650px; }
  .music-records a { grid-template-columns: 100px 1fr 12px; gap: 15px; }
  .music-records a > span:first-of-type { grid-column: 2; }
  .music-records a > span:last-of-type { grid-column: 3; grid-row: 1; }
  .play-word { font-size: 115px; }
}
@media (max-width: 600px) {
  .atelier-page { --story-body: 14px; }
  .atelier-page.reading-large { --story-body: 17px; }
  .atelier-back { font-size: 11px; padding-left: 0; }
  .story-cover { grid-template-columns: 1fr; gap: 25px; padding-top: 25px; padding-bottom: 40px; }
  .story-cover-copy { padding: 10px 0 0; }
  .story-cover h1 { font-size: clamp(41px, 11.5vw, 65px); margin: 18px 0; }
  .story-cover h1 br:nth-of-type(2) { display: none; }
  .story-cover .eyebrow { font-size: 11px; }
  .story-deck { font-size: 14px; margin: 15px 0; }
  .story-intro { font-size: 13px; }
  .story-start { margin-top: 0; padding-top: 8px; }
  .story-cover-photo { width: 88%; margin-left: auto; padding: 7px; box-shadow: 8px 8px 0 #ded7c755; }
  .story-cover-photo figcaption { padding: 12px 4px 5px; font-size: 11px; }
  .story-cover-margin { writing-mode: vertical-rl; left: 0; right: auto; top: auto; bottom: 145px; font-size: 11px; }
  .story-rail nav { padding-inline: 14px; gap: 4px; }
  .story-rail nav a { font-size: 11px; letter-spacing: -.04em; }
  .story-section-label { font-size: 11px; }
  .story-attachment { padding-block: 55px; }
  .attachment-layout { padding: 25px 0 30px; }
  .story-chapter h2, .story-references h2 { font-size: 28px; margin-bottom: 23px; }
  .story-pullquote { padding: 30px 25px; }
  .story-pullquote blockquote { font-size: 26px; }
  .story-craft { padding-block: 55px; }
  .craft-layout { margin-top: 30px; }
  .story-craft-photo figcaption { padding-inline: 4px; }
  .craft-materials > div { grid-template-columns: 105px 1fr; gap: 12px; }
  .craft-materials dt { font-size: 13px; }
  .story-footnote summary { font-size: 12px; }
  .story-imagine { padding-top: 55px; }
  .imagine-heading { margin-block: 30px; }
  .imagine-heading .story-paragraph br { display: none; }
  .imagine-spread { grid-template-columns: 1fr; gap: 35px; }
  .imagine-photo { width: 90%; }
  .imagine-book { padding: 0 0 0 22px; border-left: 1px solid var(--line); }
  .imagine-book > a:first-child { width: 66%; margin-bottom: 30px; margin-right: 10px; }
  .imagine-book h3 { font-size: 39px; }
  .imagine-coda { flex-direction: column; gap: 12px; margin-top: 40px; font-size: 11px; }
  .story-play { padding-block: 55px; }
  .play-heading { margin-block: 30px; gap: 0; }
  .music-feature { padding-top: 0; }
  .play-duet { gap: 25px; }
  .play-duet h3 { font-size: 25px; }
  .circle-feature { padding: 28px 23px; }
  .circle-feature h3 { font-size: 23px; white-space: nowrap; }
  .circle-record h4 { font-size: 25px; overflow-wrap: anywhere; }
  .music-records a { grid-template-columns: 1fr 12px; gap: 5px 12px; }
  .music-records a > span:first-of-type { grid-column: 1; }
  .music-records a > span:last-of-type { grid-column: 2; grid-row: 1 / 3; }
  .story-references { padding-block: 50px; gap: 35px; }
  .story-source-list > summary { font-size: 12px; }
  .story-end { padding-block: 55px; }
  .story-viewer-head, .story-viewer-caption { padding: 17px; }
  .story-viewer-head h2 { font-size: 14px; }
  .story-viewer-caption { align-items: flex-start; flex-direction: column; gap: 10px; }
}
