/* Design refresh 2026-11 (editorial): ideas from DESIGN-IDEAS-THEMEFOREST.md
   1  "In short" box with jump links (journal articles, magazine features)   .in-short
   10 inline "Read also" box after the second section                        .read-also
   9  numbered "Start here" lists (journal and magazine hubs)                 .start-here
   15 centred publication masthead (magazine hub, Botanical Briefing)         .pub-masthead
   8  paper card overlapping the daily ritual's hero photo                    .ritual-media / .ritual-over
   Templates: _build/sections.mjs, _build/magazine-pages.mjs. Colors come from the site.css variables, so the
   light and dark themes both work without extra rules. */

/* ---------- shared: paper card ---------- */
.in-short, .read-also, .ritual-over {
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.ins-label { font: 600 .66rem/1.4 var(--ui); text-transform: uppercase; letter-spacing: .2em; color: var(--muted); margin: 0 0 10px; }

/* ---------- 1. "In short" ---------- */
.in-short { position: relative; margin: 0 0 clamp(36px, 5vw, 56px); padding: clamp(20px, 3vw, 30px) clamp(18px, 3vw, 32px); border-top: 2px solid var(--brass); }
.ins-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.ins-head .eyebrow { margin: 0; font-size: .74rem; }
.ins-meta { margin: 0; font: 400 .8rem/1.4 var(--ui); color: var(--muted); }
.ins-meta a { color: inherit; }
.ins-points { list-style: none; counter-reset: ins; margin: 0; padding: 0; }
.ins-points li { counter-increment: ins; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); column-gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); margin: 0; }
.ins-points li::before { content: counter(ins); grid-row: span 2; font: 400 2.1rem/1 var(--display); color: var(--brass-strong); font-variant-numeric: oldstyle-nums; text-align: center; padding-top: 2px; }
.ins-points a { font: 400 1.18rem/1.3 var(--display); letter-spacing: -.01em; color: var(--ink); text-decoration-color: var(--line-strong); }
.ins-points a:hover { color: var(--brass-strong); text-decoration-color: var(--brass); }
.ins-points p { margin: 6px 0 0; font-size: .98rem; line-height: 1.55; color: var(--muted); }
.ins-evidence { padding: 18px 0 4px; }
.ins-evidence ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px 18px; }
.ins-evidence li { margin: 0; }
.ins-evidence li > a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.ins-evidence li > a > span:last-child { display: grid; line-height: 1.25; }
.ins-evidence b { font: 400 1.05rem/1.2 var(--display); }
.ins-evidence small { font: 400 .72rem/1.3 var(--ui); color: var(--muted); letter-spacing: .02em; }
.ins-evidence li > a:hover b { color: var(--brass-strong); }
.ins-evidence .grade { gap: 0; }
.ins-evidence .grade b { font-size: .95rem; }
.ins-note { margin: 12px 0 0; font: 400 .78rem/1.5 var(--ui); color: var(--muted); }
.ins-jump { padding-top: 16px; margin-top: 12px; border-top: 1px solid var(--line); }
.ins-jump ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; }
.ins-jump li { margin: 0; font: 400 .88rem/1.45 var(--ui); }
.ins-jump li:not(:last-child)::after { content: "·"; color: var(--line-strong); margin: 0 .6em; }
.ins-jump a { color: var(--ink); }
.ins-jump a:hover { color: var(--brass-strong); }
/* The journal's drop cap still lands on the article's first paragraph when the box comes first. */
.journal-body > .in-short:first-child + p::first-letter { float: left; font: 400 4.4em/.8 var(--display); color: var(--brass-strong); margin: .06em .1em 0 0; }
/* Headings reached from a jump link clear the sticky header. */
.journal-body h2[id], .mag-body section[id] { scroll-margin-top: 140px; }

/* ---------- 10. "Read also" ---------- */
.read-also { margin: clamp(28px, 4vw, 44px) 0; padding: 18px clamp(16px, 3vw, 24px) 8px; border-left: 3px solid var(--brass); }
.read-also .eyebrow { margin: 0 0 6px; }
.read-also ul { list-style: none; margin: 0; padding: 0; }
.read-also li { margin: 0; border-top: 1px solid var(--line); }
.read-also li:first-child { border-top: 0; }
.read-also a { display: grid; gap: 3px; padding: 12px 0 14px; text-decoration: none; color: var(--ink); }
.ra-kind { font: 600 .62rem/1.3 var(--ui); text-transform: uppercase; letter-spacing: .2em; color: var(--brass-strong); }
.ra-t { font: 400 1.22rem/1.25 var(--display); letter-spacing: -.01em; text-decoration: underline; text-decoration-color: var(--line-strong); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.read-also a:hover .ra-t { color: var(--brass-strong); text-decoration-color: var(--brass); }
.ra-d { display: flex; align-items: center; gap: 10px; font: 400 .9rem/1.5 var(--ui); color: var(--muted); }
.ra-d .grade { flex: none; }
.ra-d .grade b { width: 2em; height: 2em; font-size: .9rem; }
.read-also a:focus-visible { outline-offset: 2px; }

/* ---------- 9. "Start here" ---------- */
.start-here { padding-block: clamp(36px, 5vw, 64px) clamp(8px, 2vw, 24px); }
.sh-head { max-width: 62ch; margin-bottom: clamp(18px, 3vw, 28px); }
.sh-head h2 { font-size: var(--step-2); margin-bottom: .35em; }
.sh-head p { margin: 0; }
.sh-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: clamp(28px, 4vw, 56px); border-top: 1px solid var(--ink); }
@media (min-width: 900px) { .sh-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sh-list li:first-child { grid-row: span 2; } .sh-list li:first-child .sh-thumb { width: 100%; } .sh-list li:first-child a { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "n thumb" "n txt"; } .sh-list li:first-child .sh-t { font-size: var(--step-1); } }
.sh-list li { margin: 0; border-bottom: 1px solid var(--line); }
.sh-list a { display: grid; grid-template-columns: auto 112px minmax(0, 1fr); grid-template-areas: "n thumb txt"; gap: 6px 16px; align-items: start; padding: 18px 0; color: inherit; text-decoration: none; }
.sh-n { grid-area: n; font: 400 clamp(2.4rem, 4.4vw, 3.4rem)/.9 var(--display); color: var(--brass-strong); letter-spacing: -.04em; min-width: 1.4em; font-variant-numeric: lining-nums; }
.sh-thumb { grid-area: thumb; display: block; width: 112px; }
.sh-thumb .vis, .sh-thumb .art-img { margin: 0; aspect-ratio: 1 / 1; border: 1px solid var(--line); }
.sh-thumb .art-img img { width: 100%; height: 100%; object-fit: cover; }
.sh-list li:first-child .sh-thumb .vis, .sh-list li:first-child .sh-thumb .art-img { aspect-ratio: 16 / 10; }
.sh-txt { grid-area: txt; display: grid; gap: 4px; min-width: 0; }
.sh-t { font: 400 1.22rem/1.22 var(--display); letter-spacing: -.015em; transition: color .2s; }
.sh-d { font-size: .93rem; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sh-list a:hover .sh-t { color: var(--brass-strong); }
.sh-list a:hover .vis img { transform: scale(1.04); }
@media (max-width: 480px) {
  .sh-list a, .sh-list li:first-child a { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "n txt" "n thumb"; }
  .sh-thumb, .sh-list li:first-child .sh-thumb { width: 100%; max-width: 100%; }
  .sh-thumb .vis, .sh-thumb .art-img, .sh-list li:first-child .sh-thumb .vis, .sh-list li:first-child .sh-thumb .art-img { aspect-ratio: 16 / 9; }
  .sh-n { font-size: 2.2rem; }
}

/* ---------- 15. Masthead ---------- */
.pub-masthead { text-align: center; padding: clamp(18px, 3vw, 28px) 0 clamp(16px, 2.6vw, 24px); margin: clamp(28px, 5vw, 56px) 0 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); position: relative; }
.pub-masthead::before, .pub-masthead::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--line-strong); }
.pub-masthead::before { top: 4px; } .pub-masthead::after { bottom: 4px; }
.mh-kicker { margin: 0 0 6px; font: 600 .68rem/1.4 var(--ui); text-transform: uppercase; letter-spacing: .32em; color: var(--brass-strong); }
.pub-masthead .mh-title { font: 400 clamp(2.6rem, 8vw, 6rem)/1 var(--display); letter-spacing: -.03em; margin: 0 auto .16em; max-width: none; text-wrap: balance; }
.mh-strap { font: italic 400 clamp(1.05rem, 2vw, 1.3rem)/1.45 var(--latin); color: var(--muted); max-width: 54ch; margin: 0 auto 12px; }
.mh-date { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; margin: 0; padding-top: 10px; border-top: 1px solid var(--line); font: 500 .7rem/1.5 var(--ui); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.mh-date span:not(:last-child)::after { content: "·"; margin: 0 .9em; color: var(--brass); }
.mh-date time { color: var(--ink); }
/* Magazine hub: the old page heading becomes the intro to the masthead. */
.mag-hub-intro { padding-top: clamp(28px, 4vw, 48px); }
.mag-hub-intro .mag-hub-h { font-size: var(--step-3); max-width: 16ch; }
/* The Botanical Briefing section of the journal hub. */
.guide-cat .pub-masthead-sec { margin: 0 0 28px; }
.guide-cat .pub-masthead-sec .mh-title { font-size: clamp(2.2rem, 6vw, 4.4rem); padding: 0; border: 0; margin-bottom: .16em; }

/* ---------- 8. Ritual hero card ---------- */
.ritual-media { position: relative; min-width: 0; }
.ritual-media > .vis { width: 100%; }
/* The card sits over the lower part of the photo, so the photo credit moves to the top edge to stay readable. */
.ritual-media .vis-credit { bottom: auto; top: 0; }
.ritual-over { position: relative; z-index: 1; margin: -64px 14px 0; padding: 18px 20px 16px; border-top: 2px solid var(--brass); }
.ro-facts { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 18px; }
.ro-facts > div { padding: 10px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.ro-facts > .ro-need { grid-column: 1 / -1; border-bottom: 0; padding-bottom: 0; }
.ro-facts dt { font: 600 .62rem/1.4 var(--ui); text-transform: uppercase; letter-spacing: .2em; color: var(--muted); margin-bottom: 4px; }
.ro-facts dd { margin: 0; }
.ro-time dd { font: 400 1.4rem/1.15 var(--display); letter-spacing: -.02em; }
.ro-grade .grade { white-space: normal; gap: .55em; letter-spacing: .1em; }
.ro-need ul { list-style: none; margin: 0 0 6px; padding: 0; }
.ro-need li { position: relative; margin: 0; padding: 3px 0 3px 16px; font-size: .95rem; line-height: 1.45; }
.ro-need li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 1px; background: var(--brass); }
.ro-need a { font: 500 .8rem/1.4 var(--ui); }
@media (min-width: 761px) {
  /* Desktop: the card overlaps the photo's lower left corner, reaching into the gap beside it (never past the page). */
  .ritual-over { position: absolute; left: clamp(-40px, -3vw, -16px); bottom: 28px; width: min(340px, 86%); margin: 0; }
}
@media print { .ritual-over { position: static; margin: 12px 0 0; box-shadow: none; } .read-also, .ins-jump { display: none; } }

/* Inside .prose (journal body, magazine body): undo the reading-column list indents and line widths. */
.prose .in-short ol, .prose .in-short ul, .prose .read-also ul { padding-left: 0; margin-left: 0; }
.prose .in-short li, .prose .in-short p, .prose .read-also li { max-width: none; }
.prose .in-short li, .prose .read-also li { margin-bottom: 0; }
.prose .ins-jump li { margin: 0; }
