/* Reader-first home and publisher pages. Existing botanical art stays unchanged. */
body.journal-site[data-page=home] .notebook-intro h1{font-size:clamp(2.1rem,3.65vw,3.85rem);max-width:18ch;line-height:1.1}
body.journal-site[data-page=home] .home-benefit{max-width:48ch;margin-bottom:18px}
body.journal-site[data-page=home] .home-search{margin:18px 0 8px}
body.journal-site[data-page=home] .home-search-scope{font-size:.85rem;line-height:1.55;max-width:60ch;margin:8px 0}
body.journal-site[data-page=home] .home-search-help{max-width:60ch;margin:0 0 14px;border:0;background:none;padding:0;font-size:.85rem;line-height:1.6}
body.journal-site[data-page=home] .home-search-help>summary{font-size:.88rem;padding:8px 0;min-height:44px;color:var(--green,#254b3e)}
body.journal-site[data-page=home] .home-search-help>div{border-left:2px solid #b28f79;padding:0 0 0 14px;margin-block:4px 10px}
body.journal-site[data-page=home] .home-search-help p{font-size:inherit;line-height:inherit;margin:0 0 10px}
body.journal-site[data-page=home] #home-search-feedback:empty{display:none}
/* One source-backed example and a compact notebook rail, not a second start screen. */
body.journal-site[data-page=home] .home-reading-access{margin:10px 0 4px;font-size:.95rem;font-weight:600;color:#193b2a}
body.journal-site[data-page=home] .home-orientation{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(250px,1fr);gap:24px;align-items:start;margin-block:8px 36px;padding-block:30px;border-block:1px solid #bac4b2;box-shadow:inset 0 1px #fffdf7}
body.journal-site[data-page=home] .home-entry-preview{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:20px;align-items:center;min-width:0;padding:28px;background:#fffdf7;border:1px solid #bac4b2;border-radius:6px;box-shadow:0 3px 9px #193b2a08}
body.journal-site[data-page=home] .home-entry-preview h2{font-size:clamp(1.7rem,2.4vw,2.25rem);line-height:1.15;margin:0 0 18px;color:#193b2a}
body.journal-site[data-page=home] .home-excerpt{font-size:1.06rem;line-height:1.65;margin:0 0 14px;color:#172b23}
body.journal-site[data-page=home] .home-source{font-size:.85rem;line-height:1.55;color:#52635a;margin:0 0 12px}
body.journal-site[data-page=home] .home-preview-art{width:130px;height:180px;object-fit:contain;mix-blend-mode:multiply}
body.journal-site[data-page=home] .home-text-link{display:inline-flex;gap:8px;align-items:center;min-height:44px;font-size:1rem;font-weight:600;color:#244f42}
body.journal-site[data-page=home] .home-access{display:block;min-width:0;padding:24px;background:#f0f2e9;border:1px solid #bac4b2;border-top:3px solid #244f42;border-radius:6px;margin:0;box-shadow:inset 0 1px #fffdf7}
body.journal-site[data-page=home] .home-access h2{font-size:1.6rem;line-height:1.2;margin:0 0 12px;color:#193b2a}
body.journal-site[data-page=home] .home-access p{font-size:.96rem;line-height:1.6;margin:0 0 12px}
body.journal-site[data-page=home] .home-tools{border-block:1px solid #bac4b2;margin-block:12px;padding:0}
body.journal-site[data-page=home] .home-tools summary{min-height:44px;font-size:.95rem;padding:10px 0;display:list-item;list-style:disclosure-closed;margin-left:1rem}
body.journal-site[data-page=home] .home-tools[open] summary{list-style:disclosure-open}
body.journal-site[data-page=home] .home-tools nav{display:grid;padding-bottom:12px;gap:2px}
body.journal-site[data-page=home] .home-tools nav a{display:block;padding:8px 0;font-size:.94rem;min-height:44px}
body.journal-site[data-page=home] .home-access .home-service-note{font-size:.85rem;color:#52635a;margin:10px 0 0;padding:0;border:0}
body.journal-site[data-page=home] .home-publisher{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:36px;align-items:center;margin-block:32px;padding-block:28px;border-top:1px solid #c4c7bc}
body.journal-site[data-page=home] .home-publisher h2{font-size:1.8rem;margin:5px 0 12px}
body.journal-site[data-page=home] .home-publisher p{max-width:66ch;font-size:1rem;line-height:1.7}
body.journal-site[data-page=home] .home-publisher .home-edition{font-size:.88rem;color:var(--muted,#536258);border-left:2px solid #b28f79;padding-left:22px}
body.journal-site[data-page=about] .publisher-page{max-width:850px;padding-block:36px 60px;overflow-wrap:anywhere}
body.journal-site[data-page=about] .publisher-opening{border-bottom:1px solid #c4c7bc;padding-bottom:24px}
body.journal-site[data-page=about] .publisher-opening h1{font-size:clamp(2.2rem,4vw,3.7rem);line-height:1.12;margin:8px 0 20px}
body.journal-site[data-page=about] .publisher-page .publisher-lede{font:1.35rem/1.5 Georgia,serif;color:#405b47}
body.journal-site[data-page=about] .publisher-page p{font-size:1.06rem;line-height:1.8;max-width:74ch}
body.journal-site[data-page=about] .publisher-page section{padding-top:26px;scroll-margin-top:150px}
body.journal-site[data-page=about] .publisher-page h2{font-size:1.9rem;margin:0 0 14px}
@media(max-width:700px){
 body.journal-site[data-page=home] .home-orientation,body.journal-site[data-page=home] .home-access,body.journal-site[data-page=home] .home-publisher{grid-template-columns:minmax(0,1fr);gap:20px}
 body.journal-site[data-page=home] .home-entry-preview{padding:20px;grid-template-columns:minmax(0,1fr) 76px}
 body.journal-site[data-page=home] .home-preview-art{width:76px;height:135px}
 body.journal-site[data-page=home] .home-access{padding:22px}
 body.journal-site[data-page=home] .home-service-note,body.journal-site[data-page=home] .home-publisher .home-edition{padding-left:14px}
 body.journal-site[data-page=home] .home-orientation h2{font-size:1.75rem}
 body.journal-site[data-page=about] .publisher-page{padding-block:26px 42px}
}
@media print{
 body.journal-site[data-page=home] .home-search-help{display:none}
 body.journal-site[data-page=home] .home-orientation,body.journal-site[data-page=home] .home-access,body.journal-site[data-page=home] .home-publisher{display:block;background:white}
 body.journal-site[data-page=home] .home-entry-preview{background:white;break-inside:avoid}
}


/* Homepage-only refinement; ingredient records, reading pages and global navigation are unchanged. */
body.journal-site[data-page=home] .illustrated-categories>a{text-decoration:none;background:#fffdf7;border-color:#bac4b2;box-shadow:0 2px 0 #fffdf7;border-radius:5px}
body.journal-site[data-page=home] .illustrated-categories>a>span:nth-child(2){text-decoration:underline;text-underline-offset:4px;overflow-wrap:normal;word-break:normal;min-width:min-content}
body.journal-site[data-page=home] .illustrated-categories>a:hover{border-color:#244f42}
body.journal-site[data-page=home] .discovery-panels{gap:28px;margin-block:30px}
body.journal-site[data-page=home] .discovery-panels .form-comparison{background:transparent;border:0;border-top:2px solid #bac4b2;box-shadow:none;padding:24px 0}
body.journal-site[data-page=home] .discovery-panels h2{font-size:1.9rem;color:#193b2a}
body.journal-site[data-page=home] .home-recipe{border-color:#bac4b2;border-radius:6px;background:#fffdf7;box-shadow:0 3px 9px #193b2a08;gap:20px 32px}
body.journal-site[data-page=home] .home-recipe h2{font-size:2rem;line-height:1.2;color:#193b2a}
body.journal-site[data-page=home] .home-recipe>.favorite-control{grid-column:1;justify-self:start;align-self:start;width:auto}
body.journal-site[data-page=home] .herb-grid{gap:22px;align-items:start}
body.journal-site[data-page=home] .herb-card{border:1px solid #bac4b2;border-top:3px solid #244f42;border-radius:6px;box-shadow:0 3px 9px #193b2a08}
body.journal-site[data-page=home] .herb-card .card-top{min-height:0;margin:0 0 12px}
body.journal-site[data-page=home] .herb-card .kitchen-art{width:100px;height:115px;margin-left:12px}
body.journal-site[data-page=home] .herb-card .specimen{font-size:.7rem;color:#52635a;letter-spacing:.06em}
body.journal-site[data-page=home] .herb-card h3{line-height:1.15;color:#193b2a}
body.journal-site[data-page=home] .herb-card :is(.flavor,.pairing,.kitchen-note){min-height:0}
body.journal-site[data-page=home] .herb-card .flavor{clear:both;margin:16px 0}
body.journal-site[data-page=home] .herb-card .pairing{margin-bottom:16px}
body.journal-site[data-page=home] .herb-card .kitchen-note{padding:12px 14px;margin-bottom:16px;background:#f0f2e9;border-color:#bac4b2}
body.journal-site[data-page=home] .kitchen-entry-link{display:flex;gap:8px;align-items:center;width:fit-content;min-height:44px;margin-top:10px;font-size:.95rem;font-weight:600;color:#244f42}
body.journal-site[data-page=home] .herb-card>.favorite-control{display:inline-flex;width:auto}
body.journal-site[data-page=home] .home-publisher-links{display:flex;flex-wrap:wrap;gap:4px 20px}
body.journal-site[data-page=home] .home-publisher-links a{display:inline-flex;align-items:center;min-height:44px}
body.journal-site[data-page=home] .garden-reference-link{display:inline-flex;align-items:center;min-height:44px;font-size:1rem;font-weight:600}
@media(max-width:850px){body.journal-site[data-page=home] .home-orientation{grid-template-columns:minmax(0,1fr)}body.journal-site[data-page=home] .home-access{max-width:none}}
@media(max-width:600px){
 body.journal-site[data-page=home] .home-orientation{padding-block:22px;gap:18px;margin-bottom:24px}
 body.journal-site[data-page=home] .home-entry-preview{grid-template-columns:minmax(0,1fr) 70px;padding:20px;gap:12px}
 body.journal-site[data-page=home] .home-preview-art{width:70px;height:125px}
 body.journal-site[data-page=home] .home-access{padding:20px}
 body.journal-site[data-page=home] .home-entry-preview h2{font-size:1.6rem}
 body.journal-site[data-page=home] .home-source{font-size:.85rem;overflow-wrap:anywhere}
 body.journal-site[data-page=home] .home-excerpt{font-size:1rem}
 body.journal-site[data-page=home] .home-recipe h2{font-size:1.7rem}
 body.journal-site[data-page=home] .discovery-panels{margin-block:22px;gap:10px}
 body.journal-site[data-page=home] .herb-card .kitchen-art{width:90px;height:100px}
}
@media print{body.journal-site[data-page=home] .home-orientation{display:block;box-shadow:none}body.journal-site[data-page=home] .home-entry-preview,body.journal-site[data-page=home] .home-access{box-shadow:none;background:white}body.journal-site[data-page=home] .home-tools{display:none}}

/* Leave room for full category words before compressing five illustrated cards.
   1165px previously split Mushrooms into Mushroom + s. Wrap at word boundaries. */
@media(max-width:1300px) and (min-width:851px){body.journal-site[data-page=home] .illustrated-categories{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px) and (min-width:601px){body.journal-site[data-page=home] .illustrated-categories{grid-template-columns:repeat(2,minmax(0,1fr))}}
