.publication-journal {
  --j-ink: #241d20;
  --j-plum: #722c40;
  --j-muted: #625859;
  --j-rule: #cec3ba;
  --j-ivory: #f8f5ef;
  color: var(--j-ink); background: var(--j-ivory);
}
.journal-section { padding-block: clamp(46px, 5.4vw, 85px); }
.journal-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-bottom: clamp(20px, 2.8vw, 42px); }
.publication-journal h2 { font: 550 clamp(1.9rem, 3.55vw, 3.5rem)/1.25 var(--serif); letter-spacing: .025em; }
.publication-journal h3 { font: 600 clamp(1.1rem, 1.6vw, 1.5rem)/1.48 var(--serif); letter-spacing: .015em; }
.publication-journal a:focus-visible, .publication-journal summary:focus-visible { outline: 3px solid #a65c69; outline-offset: 3px; }
.publication-journal .ed-link { display: inline-flex; align-items: center; min-height: 44px; padding-block: 6px; font-size: .91rem; font-weight: 620; text-decoration-line: underline; text-decoration-color: #aa8d86; text-decoration-thickness: 1px; text-underline-offset: .37em; }
.publication-journal .ed-link:hover { text-decoration-color: currentColor; }
.catalog-total { font-size: .84rem; }
.rank-note { font-size: .9rem; margin-top: .6em; color: var(--j-muted); }
.folio-index {
  position: relative; padding-left: 53%; min-height: clamp(410px, 32vw, 505px);
}
.folio-index:not(:has(> details[open])) { padding-left: 0; min-height: 0; }
.folio-index:not(:has(> details[open]))::before { display: none; }
.folio-choice { border-top: 1px solid var(--j-rule); }
.folio-choice:last-child { border-bottom: 1px solid var(--j-rule); }
.folio-choice > summary {
  display: flex; justify-content: space-between; align-items: center; list-style: none; cursor: pointer;
  gap: 12px; padding: clamp(13px,1.15vw,20px) 0;
}
.folio-choice > summary::-webkit-details-marker { display: none; }
.choice-info { min-width: 0; }
.choice-field { display: block; color: var(--j-muted); font-weight: 650; font-size: .78rem; letter-spacing: .105em; margin-bottom: 3px; line-height: 1.55; }
.choice-title { display: block; font: 560 clamp(1rem, 1.52vw, 1.39rem)/1.42 var(--serif); letter-spacing: .015em; }
.folio-choice[open] .choice-title { color: var(--j-plum); }
.choice-indicator {
  width: 24px; height: 24px; flex: none; align-self: center; display: grid; place-items: center;
  border-radius: 100%; border: 1px solid #baaa9d; position: relative;
}
.choice-indicator::before, .choice-indicator::after { content: ""; position: absolute; width: 9px; height: 1px; background: currentColor; }
.choice-indicator::after { transform: rotate(90deg); }
.folio-choice[open] .choice-indicator { color: var(--j-ivory); border-color: var(--j-plum); background: var(--j-plum); }
.folio-choice[open] .choice-indicator::after { transform: rotate(0); }
.choice-caption { padding: 0 35px clamp(12px,1vw,18px) 0; }
.choice-caption p { font-size: .93rem; line-height: 1.82; color: #52494a; }
.choice-caption .ed-link { color: var(--j-plum); }
.folio-art, .folio-index::before {
  position: absolute; top: 0; bottom: 0; left: 0; width: 48.5%; overflow: hidden;
  background: #bcb2a3;
}
.folio-index::before { content: ''; }
.folio-art {
  --light: #eee5d8; --mid: #c2b5a3; --deep: #9e8a78;
  isolation: isolate; display: grid; place-items: center;
  background: linear-gradient(152deg,var(--light) 5%, var(--mid) 65%,var(--deep) 100%);
}
.folio-choice:nth-child(4n+2) .folio-art { --light: #e3e6db; --mid: #b9c1b1; --deep: #8e978c; }
.folio-choice:nth-child(4n+3) .folio-art { --light: #e7d9d4; --mid: #c1a7a0; --deep: #a78986; }
.folio-choice:nth-child(4n) .folio-art { --light: #e4ded1; --mid: #c4baa6; --deep: #a99d86; }
.folio-art::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(109deg, #fff2 0 23%, transparent 24% 56%, #fffcf21f 58% 70%, transparent 72%), linear-gradient(4deg,#4f3d3817,transparent 58%);
}
.folio-art::after {
  content: ''; position: absolute; z-index: -1; left: -3%; right: -3%; height: 38%; bottom: -19%;
  background: linear-gradient(120deg,#ece8dd66,#f7e9d288); border-top: 1px solid #fbf7eb85;
  transform: skewY(-6deg);
}
.folio-shadow {
  position: absolute; width: 44%; height: 10%; top: 78%; left: 35%;
  border-radius: 100%; background: #47383170; filter: blur(14px); transform: rotate(-6deg);
}
.folio-jacket {
  display: block; position: relative; max-width: 68%;
  transform: perspective(1300px) rotateY(-13deg) rotateZ(-7deg);
  filter: drop-shadow(4px 5px 1px #4d423951) drop-shadow(14px 16px 13px #30292740);
}
.folio-jacket img { display: block; width: auto; height: auto; max-width: 100%; max-height: clamp(270px,24vw,370px); }
.folio-jacket::before {
  content: ''; position: absolute; inset: 1% -4px 0 4px; z-index: -1;
  background: repeating-linear-gradient(90deg,#c2b7a6 0 1px,#e2dcd0 1px 2px);
  box-shadow: 1px 2px 0 #4e403e; transform: skewY(.35deg);
}
.folio-jacket::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 5%; background: linear-gradient(90deg, #1d172a22, #fff3 60%, transparent); }
.field-index { display: flex; align-items: center; flex-wrap: wrap; gap: 3px clamp(19px,3vw,45px); padding-block: 11px; margin-top: clamp(18px,2.5vw,36px); border-block: 1px solid var(--j-rule); }
.field-index strong { font-size: .86rem; }
.field-index div { display: flex; align-items: center; flex-wrap: wrap; column-gap: clamp(17px,2.3vw,34px); }
.field-index a { min-height: 40px; display: inline-flex; align-items: center; color: var(--j-plum); font-size: .88rem; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.reading-room {
  position: relative; isolation: isolate; background: #322429; color: #f8f0e8;
}
.reading-room::before {
  content: ''; position: absolute; z-index: -1; inset: 0 0 auto; height: 45%; pointer-events: none;
  background: linear-gradient(0deg, #322429, transparent 86%), linear-gradient(90deg,#322429 5%,#322429e6 36%,#32242955 84%), url('/assets/editorial/paper-detail.webp') right 53%/cover no-repeat;
}
.reading-rack { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(19px,2.7vw,41px); }
.reading-card a { display: block; text-decoration: none; }
.reading-card h3 { margin-top: 5px; }
.reading-art {
  --well: #a29688;
  position: relative; display: grid; place-items: center; overflow: hidden;
  aspect-ratio: 1.64; background: radial-gradient(ellipse at 39% 19%,#e4d7c7, var(--well) 94%);
}
.reading-card:nth-child(3n+2) .reading-art { --well: #a29085; }
.reading-card:nth-child(3n) .reading-art { --well: #969e91; }
.reading-spread { position: absolute; inset: 0; perspective: 730px; }
.reading-spread img {
  position: absolute; width: 46%; top: 11%; height:auto; box-shadow: 3px 6px 12px #3b2d314a;
}
.reading-recto { left: 13%; transform-origin: 90% 90%; transform: rotate(-6deg); }
.reading-verso { right: 11%; transform-origin: 10% 90%; transform: rotate(8deg); }
.reading-caption { padding-top: 17px; }
.reading-caption .choice-field { color: #e3c0ae; }
.reading-caption p { color: #d6cac7; font-size: .85rem; line-height: 1.65; margin-top: 9px; }
.learning-media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px,2vw,26px); }
.learning-card {
  display: grid; align-content: center; position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(23px,3vw,44px); min-height: clamp(235px,21vw,305px);
}
.learning-video { background: linear-gradient(112deg,#291b21,#533039 77%,#643a47); color: #fff0e9; }
.learning-game { background: linear-gradient(115deg,#ece3d2,#e9ddc6 72%,#d5bfa2); color: #302325; }
.learning-copy { width: 67%; position: relative; }
.learning-copy h3 { font: 550 clamp(1.7rem,2.7vw,2.72rem)/1.25 var(--serif); }
.learning-game h3 { font: 500 clamp(2rem,3.4vw,3.2rem)/1.05 Georgia, serif; letter-spacing: .04em; }
.learning-copy p { margin-top: 10px; font-size: .93rem; }
.learning-actions { display: flex; flex-wrap: wrap; column-gap: 15px; }
.learning-copy .ed-link { margin-top: 5px; }
.learning-video .ed-link { text-decoration-color: #d3adab; }
.learning-mascot { position: absolute; z-index: -1; right: 2%; bottom: 8%; width: 32%; max-height: 80%; object-fit: contain; filter: drop-shadow(5px 8px 6px #49323b45); }
.film-reel {
  position: absolute; z-index: -1; right: -4%; width: 36%; aspect-ratio: .93;
  background: #361f29; border-inline: 13px solid #8d6974; box-shadow: -6px 8px 12px #25142055; transform: rotate(14deg);
}
.film-reel::before,.film-reel::after { content: ''; width: 5px; height: 100%; position: absolute; background: repeating-linear-gradient(0deg,#3e2631 0 8px,transparent 8px 15px); }
.film-reel::before { left: -9px; } .film-reel::after { right: -9px; }
.film-reel span { position: absolute; inset: 7% 3%; background: linear-gradient(122deg,#b38270,#73505b 59%,#a36e5e); border-block: 2px solid #ce9e8e; }
.film-reel i { position: absolute; left: 41%; top: 36%; width: 0; height: 0; border-block: 17px solid transparent; border-left: 24px solid #f2d8bf; }
.releases { border-top: 1px solid var(--j-rule); display: grid; grid-template-columns: minmax(190px,.72fr) 1.28fr; gap: 24px; }
.releases .ed-link { margin-top: 8px; }
.releases ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--j-rule); }
.releases li a { display: grid; align-items: baseline; grid-template-columns: max-content 1fr; gap: 10px 24px; padding-block: 17px; border-bottom: 1px solid var(--j-rule); text-decoration: none; }
.releases time { font-size: .84rem; color: var(--j-muted); font-variant-numeric: tabular-nums; }
.releases li span { font: 600 1.05rem/1.55 var(--serif); }
.journal-tail { background: #ede7de; border-top: 1px solid var(--j-rule); }
.tail-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding-block: clamp(37px,4.8vw,70px); }
.tail-inner > div + div { border-left: 1px solid var(--j-rule); padding-left: clamp(24px,4.2vw,68px); }
.tail-inner h2 { font-size: clamp(1.32rem,1.9vw,1.8rem); }
.tail-inner p { color: var(--j-muted); font-size: .94rem; margin-top: 13px; }
.tail-inner .ed-link { margin-top: 4px; }
@media (hover:hover) {
  .folio-choice > summary:hover .choice-title, .reading-card a:hover h3, .releases a:hover span { text-decoration: underline; text-underline-offset: .24em; text-decoration-thickness: 1px; }
}
@media (prefers-reduced-motion:no-preference) {
  .folio-choice[open] .folio-jacket { animation: book-arrives .65s cubic-bezier(.16,.74,.22,1) both; }
  .folio-choice[open] .choice-caption { animation: caption-arrives .36s ease-out both; }
  .choice-indicator, .choice-indicator::after { transition: .24s ease; }
  .reading-spread img { transition: transform .65s cubic-bezier(.16,.7,.24,1); }
  .reading-card a:is(:hover,:focus-visible) .reading-recto { transform: translateX(-11%) rotateY(-18deg) rotate(-8deg); }
  .reading-card a:is(:hover,:focus-visible) .reading-verso { transform: translateX(10%) rotateY(11deg) rotate(6deg); }
  .journal-head.in-view h2 { animation: journal-rise .7s cubic-bezier(.18,.74,.24,1) both; }
  .reading-rack.in-view .reading-recto { animation: page-arrives .72s cubic-bezier(.18,.74,.24,1) backwards; }
  .reading-rack.in-view .reading-card:nth-child(2) .reading-recto { animation-delay: .09s; }
  .reading-rack.in-view .reading-card:nth-child(3) .reading-recto { animation-delay: .16s; }
  @keyframes book-arrives {
    from { opacity:.2; transform: perspective(1300px) translate(4%,-4%) rotateY(-36deg) rotateZ(-12deg); }
    to { opacity:1; transform: perspective(1300px) rotateY(-13deg) rotateZ(-7deg); }
  }
  @keyframes caption-arrives { from { opacity:.35; transform:translateY(5px); } to { opacity:1; transform:none; } }
  @keyframes page-arrives { from { transform: translate(12%,14%) rotateY(-20deg) rotate(6deg); } to { transform:rotate(-6deg); } }
  @keyframes journal-rise { from { clip-path: inset(0 0 87%); transform: translateY(8px); } to { clip-path: inset(0); transform:none; } }
}
@media (max-width: 780px) {
  .folio-index { padding-left: 46%; }
  .folio-art, .folio-index::before { width: 42%; }
  .reading-rack, .learning-media { gap: 16px; }
  .learning-copy { width: 70%; }
  .learning-card { padding: 21px; }
}
@media (max-width: 620px) {
  .journal-section { padding-block: 40px; }
  .journal-head { align-items: center; margin-bottom: 18px; gap: 8px; }
  .journal-head .ed-link { font-size: .83rem; }
  .journal-head .catalog-total { font-size:.76rem; }
  .folio-index { min-height: 0; padding-left: 0; }
  .folio-index::before { display: none; }
  .folio-choice > summary { padding-block: 13px; }
  .choice-title { font-size: 1.12rem; }
  .folio-body { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: 16px; align-items: center; margin-bottom: 16px; }
  .folio-art { position: relative; inset: auto; width: 100%; min-height: 160px; aspect-ratio: .82; }
  .folio-jacket { max-width: 65%; }
  .folio-jacket img { max-height: 165px; }
  .choice-caption { padding: 0; }
  .choice-caption p { font-size: .88rem; line-height: 1.75; }
  .choice-caption .ed-link { font-size: .85rem; }
  .field-index { margin-top: 14px; }
  .reading-rack { grid-template-columns: 1fr; gap: 17px; }
  .reading-art { aspect-ratio: 1.28; }
  .reading-card a { display: grid; align-items: center; grid-template-columns: minmax(98px,.65fr) 1fr; gap: 14px; }
  .reading-card + .reading-card { padding-top: 17px; border-top: 1px solid #79666a; }
  .reading-caption { padding-top: 0; }
  .reading-caption p { font-size: .8rem; line-height: 1.65; margin-top: 5px; }
  .reading-caption h3 { font-size: 1.04rem; }
  .reading-room::before { height: 35%; background-position: center,center,68% 30%; }
  .learning-media, .releases, .tail-inner { grid-template-columns: 1fr; }
  .learning-card { min-height: 191px; }
  .learning-mascot { max-width: 136px; }
  .film-reel { max-width: 140px; }
  .releases { gap: 16px; }
  .releases > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .releases .ed-link { margin: 0; font-size: .83rem; }
  .releases li a { grid-template-columns: 1fr; gap: 4px; padding-block: 11px; }
  .tail-inner { gap: 22px; }
  .tail-inner > div + div { border-left: 0; border-top: 1px solid var(--j-rule); padding:21px 0 0; }
}
@media (max-width: 355px) {
  .journal-head .catalog-total { display:none; }
  .choice-title { font-size: 1.03rem; }
  .folio-body { gap: 12px; }
}
