/* PinePress 1.2 — illustrated journal. Uses the existing accessible color tokens. */
.section-stamp {font-size:10px;letter-spacing:.08em;color:var(--muted);white-space:nowrap}
.editorial-section {padding-top:43px;padding-bottom:8px}
.editorial-section .feed-heading,.collections-section .feed-heading {margin-bottom:23px}
.editorial-section h2,.collections-section h2 {font-size:26px;line-height:1.5;letter-spacing:-.04em}
.featured-story {display:grid;grid-template-columns:1.05fr 1fr;border:1px solid var(--border);border-radius:7px;overflow:hidden;background:var(--surface);box-shadow:4px 4px 0 #28322912}
.featured-story-image {position:relative;display:block;min-width:0;overflow:hidden;border-right:1px solid var(--border)}
.featured-story-image img {display:block;width:100%;height:100%;object-fit:cover;min-height:290px;transition:transform .4s ease}
.featured-story:hover .featured-story-image img {transform:scale(1.025)}
.photo-label {position:absolute;left:15px;bottom:14px;padding:5px 9px;background:#f8f6eee8;color:#283229;font-size:9px;letter-spacing:.045em;border:1px solid #68715f60;border-radius:2px;line-height:1.6}
.featured-story-copy {display:flex;flex-direction:column;align-items:flex-start;padding:33px 37px;min-width:0}
.editorial-kicker {display:flex;gap:8px;align-items:center;font-size:11px;color:var(--muted)}
.editorial-kicker>span {font-size:21px;color:var(--accent)}
.featured-story h3 {font-size:clamp(23px,2.6vw,34px);line-height:1.5;letter-spacing:-.04em;margin:18px 0 14px}
.featured-story h3 a {text-decoration:none}
.featured-story-copy>p {font-size:14px;line-height:1.9;color:var(--muted);margin:0 0 23px}
.featured-story-bottom {display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;margin-top:auto;padding-top:18px;border-top:1px solid var(--line)}
.featured-story-bottom>span {font-size:11px;color:var(--muted)}
.round-link {width:39px;height:39px;display:grid;place-items:center;border:1px solid var(--border);border-radius:50%;background:var(--green);flex-shrink:0;transition:background .18s,transform .18s}
.round-link:hover {transform:rotate(-35deg);background:var(--yellow);color:var(--ink)}
.collections-section {padding-top:44px;padding-bottom:5px}
.collection-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.collection-card {display:block;text-decoration:none;color:var(--ink);border:1px solid var(--line);border-radius:6px;overflow:hidden;background:var(--surface);transition:transform .2s,border-color .2s,box-shadow .2s;min-width:0}
.collection-card:hover {color:var(--ink);transform:translateY(-4px);border-color:var(--border);box-shadow:3px 5px 0 #2832290f}
.collection-art {position:relative;aspect-ratio:1.8;overflow:hidden;border-bottom:1px solid var(--line)}
.collection-art img {width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.collection-card:hover img {transform:scale(1.03)}
.collection-index {position:absolute;left:12px;top:12px;color:#283229;background:#f8f6eeee;padding:4px 7px;border:1px solid #68715f55;font-size:9px;letter-spacing:.045em}
.collection-copy {padding:22px 23px 17px}
.collection-copy h3 {font-size:20px;line-height:1.55;margin:0 0 10px;letter-spacing:-.025em}
.collection-copy p {font-size:13px;line-height:1.9;margin:0 0 20px;color:var(--muted)}
.collection-foot {display:flex;justify-content:space-between;align-items:center;font-size:11px;padding-top:12px;border-top:1px solid var(--line);color:var(--muted)}
.collection-foot>span:last-child {font-size:22px;line-height:1;color:var(--ink)}
.entry-content .collection-grid {max-width:1100px;width:100%}
.entry-content .collection-card {text-decoration:none}
.entry-content .collection-copy h3 {font-size:22px;margin:0 0 12px}
.entry-content .collection-copy p {margin:0 0 20px;font-size:14px}
.has-hero-picture.portal-art {height:414px}
.has-hero-picture .explorer-window {top:70px;right:8px;left:0;transform:rotate(-3deg);z-index:1}
.has-hero-picture .portal-note {top:-23px;right:-5px;padding:16px 22px 23px;min-width:145px;transform:rotate(7deg)}
.has-hero-picture .portal-note strong {font-size:21px}
.has-hero-picture .portal-note .mono {font-size:8px;margin-bottom:10px}
.has-hero-picture .desk-label {top:0;left:2px}
.has-hero-picture .desk-label>span {font-size:25px;text-align:left;margin-left:35px}
.has-hero-picture .orbit-one {left:43%;top:13px;font-size:28px}
.hero-picture {height:218px;overflow:hidden;border-bottom:1px solid var(--border);background:#e4dbbf}
.hero-picture img {display:block;width:100%;height:100%;object-fit:cover}
.has-hero-picture .explorer-folders {padding:12px 17px;gap:10px}
.has-hero-picture .explorer-folders a {display:flex;flex-direction:row;align-items:center;justify-content:center;font-size:10px;gap:8px;min-width:0;padding:4px 0}
.has-hero-picture .folder-icon {width:27px;height:23px;box-shadow:1px 2px 0 #37432d22;border-radius:0 2px 2px 2px}
.has-hero-picture .folder-icon:before {width:12px;height:4px;top:-4px}
.has-hero-picture .folder-icon .pp-icon {width:13px;height:13px}
.has-hero-picture .portal-mascot {bottom:-7px;right:-26px;width:100px}
.has-hero-picture .portal-art-caption {bottom:-19px;left:13px}
.resource-hero,.topic-hero {display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center;padding-top:47px;padding-bottom:43px;border-bottom:1px solid var(--line)}
.resource-hero h1,.topic-hero h1 {font-size:clamp(29px,3.3vw,47px);line-height:1.35;letter-spacing:-.05em;margin:17px 0 21px;max-width:460px}
.resource-hero p:not(.eyebrow),.topic-hero p:not(.eyebrow) {font-size:15px;line-height:1.9;color:var(--muted);max-width:440px;margin-bottom:22px}
.resource-hero-art,.topic-hero-art {position:relative;border:1px solid var(--border);border-radius:5px;padding:7px;background:var(--surface);box-shadow:4px 5px 0 #28322914;transform:rotate(1.5deg);min-width:0}
.resource-hero-art img,.topic-hero-art img {width:100%;aspect-ratio:1.9;object-fit:cover;display:block;border-radius:2px}
.topic-count {display:block;margin-top:20px;font-size:11px;color:var(--muted)}
.topic-hero .eyebrow {text-decoration:none;font-size:10px}
.topic-hero h1 {font-size:clamp(30px,3vw,42px)}
.topic-hero-art {transform:rotate(-1.5deg)}
.resource-catalog {padding-top:30px;padding-bottom:50px}
.resource-filter-form {display:grid;grid-template-columns:minmax(180px,1.65fr) minmax(110px,1fr) minmax(110px,1fr) minmax(110px,1fr) auto;gap:12px;padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:6px;align-items:end}
.resource-filter-form label {min-width:0;display:flex;flex-direction:column;gap:8px;font-size:11px;font-weight:600;color:var(--muted)}
.resource-filter-form input,.resource-filter-form select {width:100%;min-width:0;min-height:44px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:4px;font-family:inherit;font-size:14px;line-height:1.5;padding:10px 11px;box-shadow:none}
.resource-filter-form input:focus,.resource-filter-form select:focus {border-color:var(--border);outline:2px solid var(--accent);outline-offset:2px}
.resource-search>span {position:relative;display:block}
.resource-search input {padding-left:36px}
.resource-search .pp-icon {position:absolute;left:11px;top:13px;width:17px;height:17px;color:var(--muted);pointer-events:none}
.resource-filter-form .button {min-height:44px;white-space:nowrap;padding:10px 15px;font-size:13px;gap:8px;border-radius:4px}
.resource-filter-form .button .pp-icon {width:16px;height:16px}
.resource-results-heading {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:28px 0 22px;scroll-margin-top:95px}
.resource-results-heading h2 {font-size:16px;line-height:1.7;margin:0}
.resource-results-heading>.mono {font-size:9px;letter-spacing:.025em;color:var(--muted)}
.resource-results-heading .text-link {font-size:12px}
.resource-cards {grid-template-columns:repeat(3,minmax(0,1fr))}
.resource-cards .post-card h3 {font-size:20px}
.resource-empty {padding:50px 25px;border:1px dashed var(--border);border-radius:6px;background:var(--surface);text-align:center}
.resource-empty>span {font-size:50px;line-height:1}
.resource-empty h3 {font-size:22px;margin:15px 0}
.resource-empty p {font-size:14px}
.resource-facts {margin:36px 0 25px;border:1px solid var(--line);border-radius:5px;background:var(--surface);font-size:13px;line-height:1.9}
.resource-facts>div {display:grid;grid-template-columns:110px 1fr;gap:12px;padding:12px 18px;border-bottom:1px solid var(--line)}
.resource-facts>div:last-child {border-bottom:0}
.resource-facts dt {color:var(--muted)}
.resource-facts dd {margin:0;overflow-wrap:anywhere}
.article-cover {position:relative}
.article-cover img {aspect-ratio:2.3;object-fit:cover;display:block;width:100%}
.article-cover figcaption:empty {display:none}
.article-cover figcaption {font-size:10px;padding:10px 15px;color:var(--muted);background:var(--surface);line-height:1.6;border-top:1px solid var(--line)}
.reader-toolbar:not([hidden]) {display:flex;gap:9px;align-items:center;flex-wrap:wrap;padding:11px 13px;margin:0 0 30px;border:1px solid var(--line);border-radius:5px;background:var(--surface);position:relative;z-index:4}
.reader-toolbar-label {font-size:11px;color:var(--muted);margin-right:auto}
.reader-toolbar button {display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:4px;min-height:38px;padding:7px 11px;cursor:pointer;font-family:inherit;font-size:12px;line-height:1.5}
.reader-toolbar button[aria-pressed=true] {background:var(--green);border-color:var(--border)}
.reader-fonts {display:flex;gap:3px}
.reader-fonts button {min-width:34px;padding:7px 8px}
.reader-toolbar .pp-icon {width:15px;height:15px}
.article-body {font-size:var(--reader-size,18px);line-height:1.95}
.article-body :where(p,ul,ol,blockquote,li) {font-size:inherit;line-height:inherit}
.article-body h2 {font-size:1.5em;line-height:1.5}
.article-body h3 {font-size:1.2em;line-height:1.6}
.author-note {padding:24px;border:1px solid var(--line);background:var(--surface);border-radius:5px}
.author-note .eyebrow {font-size:9px}
.author-note h2 {margin:16px 0!important;font-size:18px!important}
.author-note p {font-size:12px!important;line-height:1.9}
.related-reading {margin:40px 0;padding-top:26px;border-top:1px solid var(--line)}
.related-reading h2 {font-size:23px;line-height:1.5;letter-spacing:-.03em}
.related-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.related-card {display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:5px;overflow:hidden;text-decoration:none;background:var(--surface);transition:transform .18s,border-color .18s}
.related-card:hover {transform:translateY(-3px);border-color:var(--border)}
.related-art {display:block;aspect-ratio:1.7;overflow:hidden}
.related-art img {display:block;width:100%;height:100%;object-fit:cover}
.related-copy {padding:16px}
.related-copy small {font-size:10px;color:var(--muted)}
.related-copy h3 {font-size:16px;line-height:1.7;margin:8px 0 0}
.reading-focus .reading-layout {grid-template-columns:minmax(0,780px);justify-content:center}
.reading-focus .reading-sidebar,.reading-focus .desktop-dock,.reading-focus .article-cover {display:none}
.reading-focus .reading-heading {max-width:880px;margin-inline:auto;text-align:left}
.reading-focus .site-window {margin-inline:auto;max-width:1060px}
.reading-focus .reader-toolbar {position:sticky;top:78px;box-shadow:0 4px 12px #28322912}
.reading-focus .mobile-toc:not([hidden]) {display:block}
.image-zoom-wrap {position:relative;display:block;max-width:100%}
.image-zoom-button {position:absolute;right:12px;bottom:12px;display:flex;align-items:center;gap:6px;background:#f8f6eef2;color:#283229;border:1px solid #68715f;border-radius:4px;padding:8px 11px;min-height:38px;cursor:pointer;font-family:inherit;font-size:11px;line-height:1.5;box-shadow:1px 2px 0 #28322915}
.image-zoom-button .pp-icon {width:14px;height:14px}
.pp-lightbox {padding:0;border:1px solid #68715f;border-radius:7px;background:#202922;color:#f8f6ee;width:min(1160px,95vw);max-width:95vw;max-height:93dvh;box-shadow:0 24px 90px #0007}
.pp-lightbox::backdrop {background:#111b16e8}
.lightbox-top {display:flex;justify-content:space-between;align-items:center;padding:13px 18px;border-bottom:1px solid #84958055;gap:18px;font-size:12px}
.lightbox-top h2 {font:inherit;margin:0}
.lightbox-top button,.lightbox-bottom button {color:inherit;background:#303c32;border:1px solid #84958099;border-radius:4px;min-width:42px;min-height:40px;cursor:pointer;font-family:inherit;font-size:13px;line-height:1.5}
.lightbox-top button {font-size:22px}
.lightbox-stage {display:flex;justify-content:center;align-items:center;min-height:120px;padding:14px;background:#17221b}
.lightbox-stage img {display:block;max-width:100%;max-height:calc(85dvh - 140px);object-fit:contain;width:auto;height:auto}
.lightbox-bottom {display:flex;gap:16px;align-items:center;padding:11px 18px;border-top:1px solid #84958055}
.lightbox-caption {flex:1;margin:0;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.lightbox-counter {font:11px/1.5 monospace;color:#d0dac8;white-space:nowrap}
.lightbox-bottom button:disabled {opacity:.4;cursor:default}
[data-color=dark] .photo-label,[data-color=dark] .collection-index {background:#283229ec;color:#f8f6ee;border-color:#84958099}
[data-color=dark] .featured-story,[data-color=dark] .collection-card {box-shadow:3px 4px 0 #0002}
@media(min-width:1500px) {.hero-picture {height:246px}.has-hero-picture.portal-art {height:434px}}
@media(max-width:1100px) {
  .featured-story-copy {padding:26px}.featured-story h3 {font-size:26px}
  .collection-grid {gap:16px}.collection-copy {padding:19px}.collection-copy h3 {font-size:19px}
  .resource-filter-form {grid-template-columns:repeat(3,minmax(0,1fr))}.resource-search {grid-column:span 2}
  .resource-filter-form .button {grid-column:auto}.resource-cards {grid-template-columns:repeat(2,minmax(0,1fr))}
  .has-hero-picture.portal-art {height:370px}.hero-picture {height:190px}
  .has-hero-picture .portal-note {top:-17px;right:-7px;min-width:130px;padding:14px 18px 19px}
  .has-hero-picture .portal-note strong {font-size:19px}.has-hero-picture .portal-mascot {width:88px;bottom:-10px}
  .has-hero-picture .portal-art-caption {font-size:8px;bottom:-18px}
  .resource-hero,.topic-hero {gap:28px}.resource-hero h1 {font-size:35px}
}
@media(max-width:900px) and (min-width:721px) {
  .featured-story {grid-template-columns:1fr 1fr}.featured-story-copy {padding:24px}.featured-story h3 {font-size:24px}
  .collection-grid {grid-template-columns:1fr}.collection-card {display:grid;grid-template-columns:200px 1fr}
  .collection-art {aspect-ratio:auto;height:100%;border-bottom:0;border-right:1px solid var(--line)}
  .collection-copy p {margin-bottom:12px}.collection-copy h3 {font-size:22px}
  .related-grid {grid-template-columns:1fr}.related-card {display:grid;grid-template-columns:135px 1fr}.related-art {height:100%;aspect-ratio:auto}
}
@media(max-width:720px) {
  .editorial-section,.collections-section {padding:32px 22px 0}.editorial-section h2,.collections-section h2 {font-size:23px}
  .section-stamp {display:none}.featured-story {grid-template-columns:1fr;box-shadow:3px 3px 0 #28322912}
  .featured-story-image {border-right:0;border-bottom:1px solid var(--border);aspect-ratio:1.55}
  .featured-story-image img {min-height:0;height:100%;object-fit:cover}.featured-story-copy {padding:24px}
  .featured-story h3 {font-size:25px;margin:15px 0 12px}.featured-story-copy>p {font-size:14px}
  .collection-grid {grid-template-columns:1fr;gap:20px}.collection-art {aspect-ratio:1.85}
  .collection-copy {padding:21px 23px 17px}.collection-copy h3 {font-size:21px}.collection-copy p {font-size:14px;margin-bottom:18px}
  .collections-section .feed-heading {gap:16px;align-items:flex-end}.collections-section .text-link {font-size:11px;white-space:nowrap}
  .has-hero-picture.portal-art {height:356px;max-width:350px;margin-top:29px;margin-bottom:8px}
  .has-hero-picture .explorer-window {top:72px;left:3px;right:6px}.hero-picture {height:188px}
  .has-hero-picture .portal-note {top:-22px;right:2px;padding:13px 20px 22px}.has-hero-picture .portal-note strong {font-size:19px}
  .has-hero-picture .portal-note .mono {font-size:8px}.has-hero-picture .desk-label {top:0;left:5px;font-size:9px}
  .has-hero-picture .orbit-one {top:22px;left:43%;font-size:25px}.has-hero-picture .portal-mascot {bottom:-6px;right:-7px;width:83px}
  .has-hero-picture .explorer-folders {padding:12px 15px;gap:8px}.has-hero-picture .explorer-folders a {font-size:9px;gap:6px}
  .has-hero-picture .portal-art-caption {bottom:-28px;font-size:7px;left:10px}
  .resource-hero,.topic-hero {grid-template-columns:1fr;gap:30px;padding:34px 23px}
  .resource-hero h1,.topic-hero h1 {font-size:35px;line-height:1.4;max-width:100%;margin-bottom:18px}
  .resource-hero p:not(.eyebrow),.topic-hero p:not(.eyebrow) {font-size:14px}.resource-hero-art img,.topic-hero-art img {aspect-ratio:1.65}
  .resource-catalog {padding:26px 22px 40px}.resource-filter-form {padding:17px;gap:15px 11px;grid-template-columns:repeat(2,minmax(0,1fr))}
  .resource-search {grid-column:1/-1}.resource-filter-form input,.resource-filter-form select {font-size:16px;min-height:46px;padding:10px 9px}
  .resource-search input {padding-left:35px}.resource-filter-form .button {grid-column:1/-1;min-height:46px}
  .resource-results-heading h2 {font-size:14px}.resource-results-heading>.mono {display:none}
  .resource-cards {grid-template-columns:1fr}.resource-cards .post-card h3 {font-size:22px}
  .article-cover img {aspect-ratio:1.55}.article-cover figcaption {font-size:9px;padding:9px 11px}
  .reader-toolbar:not([hidden]) {padding:9px 10px;gap:7px;margin-bottom:23px}.reader-toolbar-label {display:none}
  .reader-toolbar button {min-height:40px;padding:7px 8px;font-size:12px}.reader-fonts {margin-right:auto}
  .reader-print {display:none!important}.reader-toolbar .reader-focus {padding-inline:10px}
  .reading-focus .reader-toolbar {top:67px}.reading-focus .site-window {margin:10px 10px 85px}
  .reading-focus .reading-layout {padding:25px 23px}.reading-focus .reading-sidebar {display:none}
  .related-grid {grid-template-columns:1fr;gap:13px}.related-card {display:grid;grid-template-columns:106px 1fr;align-items:stretch}
  .related-art {height:100%;min-height:110px;aspect-ratio:auto}.related-copy {padding:13px 15px}.related-copy h3 {font-size:15px;margin:6px 0 0}
  .related-reading h2 {font-size:21px}.related-reading {margin-block:30px}
  .resource-facts>div {grid-template-columns:84px 1fr;padding:12px 14px;font-size:12px}
  .pp-lightbox {max-height:94dvh}.lightbox-top {padding:10px 13px}.lightbox-stage {padding:8px}.lightbox-bottom {padding:10px 13px;gap:9px}
  .lightbox-caption {font-size:11px}.lightbox-bottom button {min-width:38px}.lightbox-counter {font-size:10px}
  .image-zoom-button {padding:7px 9px;right:9px;bottom:9px}
}
@media(prefers-reduced-motion:reduce) {.collection-card,.collection-art img,.featured-story-image img,.round-link,.related-card {transition:none}}
@media print {
  .reader-toolbar,.pp-lightbox,.image-zoom-button,.related-reading {display:none!important}
  .article-body {font-size:12pt!important;line-height:1.8}.article-cover img {max-height:200px;object-fit:contain}
}
