/* Warm illustrated-journal system. Frozen editions keep their original assets. */
:root{--paper:#F7F2E8;--ink:#3E3531;--blue:#52654E;--line:#B9AC9B;--oatmeal:#E7DDCE;--terracotta:#B8654B;--rust:#8E4432;--butter:#E8C975;--sans:Arial,Helvetica,sans-serif;--display:Georgia,'Times New Roman',serif}
body{background:var(--oatmeal);color:var(--ink);font-family:var(--sans);text-align:left}
.review-bar{background:var(--ink);color:var(--paper);letter-spacing:.07em}
.toolbar{background:var(--paper);border-bottom:1px solid var(--line);position:relative}
.wordmark{font-family:var(--display);font-weight:700;letter-spacing:-.05em}.wordmark span{color:var(--rust)}
.toolbar nav a{border-radius:4px}.toolbar a:hover{color:var(--rust)}
.toolbar .masthead-sparky{color:var(--rust)}
.sheet{border:1px solid #D7CABA;border-radius:10px 14px 12px 8px;box-shadow:3px 5px 0 #CBBEAB;background-color:var(--paper);background-image:none}
.page-top,.cover-top{border-color:var(--line);letter-spacing:.065em}.page-bottom{border-color:var(--line)}
h1,h2,h3,.story h2,.contents h2,.cover h1,.closing{font-family:var(--display);font-weight:700;letter-spacing:-.035em;line-height:1.12}
.archive-title{margin:0 0 24px;max-width:100%;font-size:clamp(38px,5.6vw,68px)}
.story h2,.contents h2{font-size:clamp(34px,4.7vw,58px);letter-spacing:-.03em;line-height:1.15}
h3{font-size:30px;line-height:1.2;letter-spacing:-.02em}
.byline{margin:0 0 30px;color:#62534A}.artcredit,figcaption{color:#62534A}
.eyebrow,.note-label,.signature,.contents-list span,.cover-teasers span,.hand,.parts b,.question span{color:var(--rust)}
.contents-list strong,.cover-teasers a,.experiment-strip strong,.bench-card h3{font-family:var(--display);font-weight:700;letter-spacing:-.02em;line-height:1.25}
.contents-list a{border-color:var(--line);padding:24px 0}.contents-list a:hover strong{color:var(--rust)}
.notebook{background-color:#F0E8D8;background-image:repeating-linear-gradient(transparent,transparent 31px,#C7BCA955 32px);background-size:auto;border-color:var(--line);border-radius:5px 10px 8px 5px;transform:rotate(.7deg)}
.tape{background:#E8C975B8}.stamp{border-color:var(--rust);color:var(--rust)}
.gpt-note{background:#ECE9DB;border-left-color:var(--blue);border-radius:0 12px 12px 0}.gpt-note h3,.question p{font-family:var(--display)}
.question{background:#F1E6C9;border:1px dashed #8C7558;border-radius:10px;padding:28px}.question p{line-height:1.35}
.blue-note{background:var(--blue);color:var(--paper);border-radius:7px 13px 8px 12px;transform:rotate(-.7deg)}
.blue-note span,.blue-note .eyebrow{color:var(--paper)}
.sticker{background:var(--terracotta);color:var(--ink);box-shadow:3px 3px 0 var(--ink)}
.edition-bar{border:1px solid var(--line);border-left:5px solid var(--terracotta);border-radius:5px 10px 10px 5px;padding:20px 22px;gap:8px 22px;background:var(--paper)}
.edition-bar span{flex:1 1 270px;min-width:0}.edition-bar strong{color:var(--ink)}
.edition-actions a,.read-link{color:var(--blue)}
.edition-note{border-left:3px solid var(--butter);padding-left:18px;color:#62534A}
.edition-card{border-color:var(--terracotta)}.edition-card img{border-radius:8px}
.text-size-controls{border-color:#D7CABA;padding-top:14px;gap:8px 10px}
.text-size-controls button,.toolbar .text-size-controls button,.sparky-controls button{background:#FCF9F2;border-color:#8C7A68;border-radius:8px}
.text-size-controls button[aria-pressed="true"],.toolbar .text-size-controls button[aria-pressed="true"]{background:var(--blue);border-color:var(--blue);color:#fff}
.sparky-controls button:disabled{opacity:1;color:#62534A;border-color:#B9AC9B}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--rust);outline-offset:4px}
a:hover{color:var(--rust)}.blue-note a:hover{color:#fff}
article{overflow-wrap:break-word}article a,.sources a,.notes-body a{overflow-wrap:anywhere}
@media screen{body{font-size:var(--reading-text);line-height:1.7}.intro,.dek,.deck{line-height:1.55}.story-grid article p,.article>p{line-height:1.75}.journey article{max-width:46rem}.journey article h2{font-family:var(--display);font-size:1.45em;line-height:1.2;letter-spacing:-.02em}.sheet{padding-top:42px;padding-bottom:42px}.text-size-controls button{font-size:16px}}
@media(max-width:800px){.notebook,.blue-note{transform:none}.sheet{padding:30px}.toolbar nav{justify-content:flex-start}}
@media(max-width:520px){main{padding:0 12px}.sheet{padding:26px 20px}.archive-title{font-size:38px}.story h2,.contents h2{font-size:34px}.wordmark{font-size:28px}.text-size-controls{gap:8px}.text-size-label{flex-basis:100%}.toolbar .text-size-controls button{padding:8px 11px}.edition-bar{padding:16px}.edition-bar span{flex-basis:100%}.page-top{gap:8px 16px}.question{padding:22px}.cover h1>span{white-space:normal}.read-link{white-space:normal}}
@media print{body{font-family:var(--sans);color:#302923;background:#fff;font-size:11pt;line-height:1.5}.sheet{padding:0;border:0;border-radius:0;box-shadow:none;background:#fff}.archive-title{font-size:30pt;line-height:1.12}.story h2,.contents h2{font-size:27pt;line-height:1.15}.journey article{max-width:none}.journey article h2{font-size:17pt!important;line-height:1.2!important;break-after:avoid}.notebook,.blue-note{transform:none}.gpt-note{break-inside:avoid}h1,h2,h3{break-after:avoid}p{orphans:3;widows:3}.page-top{color:#302923}.edition-note{color:#302923}}

/* Sparky’s field notes return to the running edition. */
.sparky-field-note{display:grid;grid-template-columns:140px minmax(0,1fr);align-items:center;gap:22px;max-width:100%;margin:34px 0}.sparky-field-note p{font-size:1em;line-height:1.65}.today-photo{float:right;width:32%;max-width:260px;margin:0 0 24px 30px}.today-photo img{width:100%;height:auto;display:block;border-radius:8px}.today-photo figcaption{font-size:.8rem;line-height:1.5;margin-top:8px}.edition-actions{clear:both}@media(max-width:600px){.sparky-field-note{grid-template-columns:1fr;gap:14px}.today-photo{float:none;width:100%;max-width:300px;margin:24px auto}.sparky-field-note .sparky-note-copy{min-width:0}}@media print{.sparky-field-note{display:block}.today-photo{float:none;width:160px}}
.sparky-record{float:right;width:42%;max-width:340px;margin:0 0 24px 28px;padding:24px}.sparky-record h3{font-size:1.35em}.sparky-record p{font-size:.9em;line-height:1.55}.frog-note figure{clear:both}@media(max-width:700px){.sparky-record{float:none;width:100%;max-width:none;margin:0 0 28px;box-sizing:border-box}}@media print{.sparky-record{float:none;width:auto;max-width:none;break-inside:avoid;margin:20px 0;padding:18px}}

/* Brand rule: copy and reading columns start at the left edge at every size. */
.sheet,.sheet :is(h1,h2,h3,p,figcaption,blockquote,summary,li),footer{text-align:left}
.frog-note article,.frog-note figure{margin-inline:0}
.toolbar nav,.text-size-controls,.sparky-profile .sparky-controls,.sparky-inline .sparky-controls{justify-content:flex-start}
@media(max-width:600px){.today-photo{margin-inline:0}.sparky-profile-layout>[data-sparky-place]{justify-self:start}}

/* Use the page width for the journal, while keeping prose comfortable to read. */
@media screen{
 main{max-width:1360px;padding-inline:20px}
 .sheet{padding-inline:32px}
 footer{max-width:1360px;padding-inline:52px}
 .story-grid{gap:36px}
 .intro-grid{gap:36px}
 .journey article,.frog-note article{max-width:none;margin-inline:0;display:flow-root}
 .journey article>p,.frog-note article>p,#daily-paper>p{max-width:72ch}
 .sparky-record{width:32%;max-width:360px;margin-left:32px;padding:22px}
 .sparky-field-note .sparky-note-copy{max-width:72ch}
}
@media screen and (max-width:1000px){
 main{padding-inline:16px}
 .sheet{padding-inline:24px}
 footer{padding-inline:40px}
 .sparky-record{float:none;width:100%;max-width:none;margin:0 0 28px}
 .sparky-record>[data-sparky-place]{max-width:220px}
}
@media screen and (max-width:520px){
 main{padding-inline:8px}
 .sheet{padding-inline:16px}
 footer{padding-inline:24px}
 .sparky-record{padding:18px}
 .sparky-field-note{padding-inline:18px}
}
@media screen and (max-width:1200px){
 :root[data-reading-size="extra-large"] .sparky-record{float:none;width:100%;max-width:none;margin:0 0 28px}
}

/* Compact article gutters. Keep the body, figures and heading on one left edge.
   Scope to active story sheets; closed editions use their frozen CSS copies. */
@media screen{
 main:has(>.sheet.story){padding-inline:16px}
 .sheet.story{padding-inline:24px}
 .sheet.story article{margin-inline:0;text-align:left;min-width:0}
 .sheet.story .story-grid,.sheet.story .abe-grid,.sheet.story .margin-grid{gap:24px}
 .sheet.story>article>p{max-width:78ch}
}
@media screen and (max-width:800px){
 main:has(>.sheet.story){padding-inline:12px}
 .sheet.story{padding-inline:20px}
}
@media screen and (max-width:520px){
 main:has(>.sheet.story){padding-inline:6px}
 .sheet.story{padding-inline:12px}
 .sheet.story .story-grid,.sheet.story .abe-grid,.sheet.story .margin-grid{gap:20px}
}
