/* The journal uses the shared site shell and typefaces. */
.journal-page {
  margin: 0;
  background: var(--night, #10130f);
  color: var(--ink, #f5f6ef);
  font-family: var(--body, "DM Sans", Arial, sans-serif);
}
.j-main { --j-panel: #1a1e17; --j-paper-line: #c8ccbf; }
.j-main *, .j-main *::before, .j-main *::after { box-sizing: border-box; }
.j-main :is(h1,h2,h3,p,figure,dl,ol) { margin: 0; }
.j-main a { color: inherit; }
.j-main :is(a,summary):focus-visible {
  outline: 3px solid #96b227;
  outline-offset: 5px;
}
.j-main img { display: block; width: 100%; height: 100%; object-fit: cover; }
.j-wrap { width: min(1280px, calc(100% - clamp(40px,9vw,160px))); margin-inline: auto; }
.j-mast {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: end;
  gap: clamp(24px,6vw,100px); padding: clamp(52px,6vw,94px) 0 clamp(30px,3vw,46px);
}
.j-mast h1 {
  font: 500 clamp(64px,8.1vw,122px)/.96 var(--body,"DM Sans",Arial,sans-serif);
  color: var(--ink,#f5f6ef); letter-spacing: -.085em;
}
.j-mast h1 span { color: var(--lime,#d9ff5a); }
.j-mast > p {
  max-width: 370px; padding-bottom: .22em;
  font-size: clamp(17px,1.5vw,22px); font-weight: 400; line-height: 1.45; color: var(--muted,#b2b8ad);
}
.j-feature {
  display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr);
  background: var(--j-panel); border: 1px solid var(--line,#30352e); overflow: hidden;
}
.j-feature-photo { position:relative; min-height: clamp(330px,32vw,490px); display:block; overflow:hidden; }
.j-feature-photo img, .j-story-art img { position:absolute; inset:0; }
.j-feature-photo img { object-position: 54% 50%; }
.j-feature-copy {
  padding: clamp(27px,3.7vw,64px); display:flex; flex-direction:column; align-items:start; justify-content:center;
}
.j-meta,.j-overline,.j-contents nav h2 {
  font: 500 11px/1.5 var(--mono,"IBM Plex Mono",monospace); text-transform:uppercase; letter-spacing:.09em;
}
.j-meta { display:flex; align-items:center; gap:.7em; flex-wrap:wrap; color:#c0c6b8; }
.j-meta .j-dot { display:inline-block; width:3px; height:3px; border-radius:50%; background:#98a18d; }
.j-meta .j-feature-tag {
  display:inline-flex; padding:.35em .65em; color:var(--lime,#d9ff5a);
  border:1px solid #5d683f; margin-right:.2em;
}
.j-feature-copy h2 { margin-top:clamp(18px,2.2vw,32px); }
.j-feature-copy h2, .j-card h3, .j-intro h1, .j-related h2 {
  font-family:var(--serif,Georgia,serif); font-weight:400;
  letter-spacing:-.027em; color:var(--ink,#f5f6ef);
}
.j-feature-copy h2 { max-width:13ch; font-size:clamp(41px,4.15vw,68px); line-height:1.04; }
.j-feature-copy h2 a,.j-card,.j-related { text-decoration:none; }
.j-feature-copy h2 a:hover,.j-card:hover h3,.j-related:hover h2 { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:.12em; }
.j-feature-copy > p,.j-intro > p {
  margin-top:1.2em; max-width:42ch; font-size:clamp(16px,1.35vw,20px); line-height:1.52;
  color:#c1c7b9; font-weight:400;
}
.j-feature-read,.j-arrowlink,.j-return,.j-back { display:inline-flex; align-items:center; gap:.75em; font-weight:600; text-decoration:none; }
.j-main a.j-feature-read {
  margin-top:clamp(22px,3vw,43px); min-height:46px; padding:.75em 1.2em;
  font-size:14px; background:var(--lime,#d9ff5a); color:#18200a;
}
.j-feature-read:hover { background:#e3ff88; }
.j-feature-read span,.j-arrowlink span,.j-return span,.j-back span { font-family:Arial,sans-serif; font-size:1.22em; line-height:1; }
.j-shelf { padding:clamp(48px,7vw,98px) 0 clamp(68px,8vw,115px); }
.j-shelf > h2 { padding-bottom:22px; border-bottom:1px solid var(--line,#30352e); font-size:clamp(30px,3.1vw,48px); letter-spacing:-.055em; font-weight:500; }
.j-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(24px,2.5vw,42px); margin-top:28px; }
.j-card { min-width:0; display:flex; flex-direction:column; }
.j-thumb { display:block; overflow:hidden; background:var(--j-panel); }
.j-card .j-thumb { aspect-ratio:1.68; }
.j-card .j-card-copy { display:flex; flex:1; flex-direction:column; align-items:start; padding-top:21px; }
.j-card h3 { margin-top:11px; max-width:18ch; font-size:clamp(30px,2.7vw,45px); line-height:1.07; }
.j-card p { margin:13px 0 20px; font-size:16px; line-height:1.52; color:var(--muted,#b2b8ad); }
.j-arrowlink { margin-top:auto; color:var(--lime,#d9ff5a); min-height:30px; font-size:14px; }
.j-story-top { padding:20px 0 clamp(35px,4vw,62px); }
.j-main a.j-back,.j-main a.j-return { color:var(--lime,#d9ff5a); min-height:44px; font-size:14px; }
.j-back:hover,.j-return:hover { text-decoration:underline; text-underline-offset:4px; }
.j-story-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.75fr); align-items:stretch; gap:clamp(28px,6vw,100px); margin-top:23px; }
.j-intro { align-self:center; padding:16px 0; }
.j-intro h1 { margin-top:17px; max-width:15ch; font-size:clamp(53px,6vw,94px); line-height:.99; }
.j-intro > p { max-width:49ch; }
.j-story-art { position:relative; min-height:clamp(265px,27vw,398px); background:var(--j-panel); overflow:hidden; }
.j-essay-band { background:var(--paper,#f3f3eb); color:#252a22; }
.j-essay-grid {
  display:grid; grid-template-columns:minmax(150px,235px) minmax(0,690px); gap:clamp(38px,7vw,122px);
  justify-content:center; align-items:start; padding-block:clamp(46px,6vw,86px) clamp(65px,8vw,116px);
}
.j-contents { position:sticky; top:112px; }
.j-contents nav { padding:14px 0 0; border-top:2px solid #586146; }
.j-contents nav h2 { color:#4e5649; margin-bottom:9px; }
.j-contents ol { padding:0; list-style:none; }
.j-contents li + li { border-top:1px solid var(--j-paper-line); }
.j-contents a { display:block; padding:11px 0; font-size:14px; line-height:1.4; text-decoration:none; }
.j-contents a:hover { text-decoration:underline; }
.j-prose { max-width:690px; }
.j-prose section { margin-top:2.35em; }
.j-prose :is(h2,h3) { color:#1d231a; }
.j-prose h2 { letter-spacing:-.05em; font:500 clamp(28px,3vw,45px)/1.1 var(--body,"DM Sans",Arial,sans-serif); scroll-margin-top:100px; }
.j-prose h3 { font-size:20px; line-height:1.3; }
.j-prose p { margin-top:1.1em; font-size:clamp(17px,1.35vw,20px); line-height:1.68; color:#34392e; }
.j-prose .j-lede {
  margin:0; font-family:var(--body,"DM Sans",Arial,sans-serif); font-weight:430; color:#242b20;
  font-size:clamp(21px,2vw,29px); line-height:1.47; letter-spacing:-.031em;
}
.j-prose a { text-underline-offset:.19em; text-decoration-color:#657442; }
.j-prose a:hover { color:#4d6214; }
.j-prose code { background:#e3e6d9; padding:.1em .28em; color:#252b20; font:normal .82em/1.4 var(--mono,"IBM Plex Mono",monospace); overflow-wrap:anywhere; }
.j-example { margin:25px 0 8px; padding:clamp(20px,2.6vw,38px); border:1px solid #c9ceb9; border-left:4px solid #91af3c; background:#eaecdf; }
.j-example dl { display:grid; grid-template-columns:minmax(90px, .4fr) 1fr; margin-top:16px; gap:0 20px; }
.j-example dt,.j-example dd { border-top:1px solid #ccd0c0; padding:9px 0; margin:0; font-size:15px; line-height:1.45; }
.j-example dt { font-weight:650; }
.j-next-wrap { display:flex; justify-content:space-between; align-items:center; gap:32px; padding-block:clamp(40px,6vw,80px); }
.j-related { display:flex; gap:clamp(17px,2.6vw,35px); align-items:center; min-width:0; }
.j-related .j-thumb { width:clamp(100px,16vw,220px); aspect-ratio:1.5; flex-shrink:0; }
.j-overline { color:var(--muted,#b2b8ad); }
.j-related h2 { max-width:19ch; margin-top:5px; font-size:clamp(25px,2.6vw,40px); line-height:1.08; }
.j-related .j-arrowlink { margin-top:7px; }
.j-return { white-space:nowrap; }
@media (max-width:900px) {
  .j-feature-copy { padding:27px; }
  .j-card-grid { gap:21px; }
  .j-essay-grid { grid-template-columns:160px minmax(0,1fr); gap:32px; }
}
@media (max-width:700px) {
  .j-mast,.j-feature,.j-story-hero,.j-card-grid,.j-essay-grid { grid-template-columns:1fr; }
  .j-mast { gap:15px; padding-top:43px; }
  .j-mast > p { max-width:37ch; }
  .j-feature-photo { min-height:0; aspect-ratio:1.58; }
  .j-feature-copy { padding:25px; }
  .j-feature-copy h2 { max-width:18ch; }
  .j-shelf > h2 { padding-bottom:15px; }
  .j-card-grid { gap:32px; margin-top:22px; }
  .j-card { padding-bottom:23px; border-bottom:1px solid var(--line,#30352e); }
  .j-card h3 { max-width:23ch; }
  .j-card p { margin:9px 0 10px; }
  .j-card .j-card-copy { padding-top:16px; }
  .j-story-hero { gap:20px; margin-top:2px; }
  .j-intro { padding:12px 0 0; }
  .j-intro h1 { margin-top:12px; }
  .j-story-art { min-height:0; aspect-ratio:1.85; }
  .j-essay-grid { display:block; padding-top:35px; }
  .j-contents { position:static; margin:0 0 30px; }
  .j-contents nav { border-top:0; padding:0; }
  .j-contents ol { display:grid; grid-template-columns:1fr 1fr; column-gap:20px; }
  .j-contents li { border-top:1px solid var(--j-paper-line); }
  .j-contents a { min-height:44px; }
  .j-next-wrap { align-items:start; flex-direction:column; gap:15px; }
  .j-related .j-thumb { width:110px; }
}
@media (max-width:400px) {
  .j-wrap { width:calc(100% - 32px); }
  .j-feature-copy { padding:20px; }
  .j-example dl { display:block; }
  .j-example dd { border-top:0; padding-top:0; }
}
