/* BoonHouse Publishing - shared editorial design system
   Newspaper / reading-site structure and density kept exactly as-is; palette and
   surface details restyled toward a warmer Scandinavian / editorial-journal aesthetic
   (soft linen and clay tones, gentler hairlines, quieter shadows, a touch of sage).
   System fonts only. No external CDNs. Used by every page on the site. */

:root{
  --bg:#f5f0e6;
  --panel:#fffdf9;
  --ink:#2b2621;
  --mid:#564f47;
  --soft:#8c8175;
  --rule:#e5dccb;
  --rule-strong:#d3c3a9;
  --accent:#b15c3d;
  --accent-dark:#8e4930;
  --accent-2:#7c8567;
  --radius:4px;
  --radius-lg:6px;
  --shadow-sm:0 2px 10px rgba(60,45,30,.07);
  --shadow-md:0 10px 26px rgba(60,45,30,.12);
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --serif:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,'Times New Roman',Times,serif;
  --maxw:1180px;
  --measure:70ch;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{font-family:var(--sans);background:var(--bg);color:var(--ink);font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit}
img{max-width:100%;display:block}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 1.15rem}
ul,ol{list-style:none}
h1,h2,h3,h4{font-family:var(--serif);font-weight:700;line-height:1.18;color:var(--ink);letter-spacing:-.005em}

/* ---------- NAV ---------- */
.site-nav{position:sticky;top:0;z-index:500;background:rgba(245,240,230,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--rule-strong)}
.site-nav .wrap{display:flex;align-items:center;justify-content:space-between;height:54px;gap:1rem}
.brand{font-family:var(--serif);font-weight:700;font-size:1.2rem;letter-spacing:.005em;text-decoration:none;color:var(--ink);white-space:nowrap;flex-shrink:0}
.brand em{font-style:italic;font-weight:400;color:var(--accent)}
.nav-links{display:flex;align-items:center;gap:1.3rem}
.nav-links a{font-size:.78rem;font-weight:600;letter-spacing:.02em;text-decoration:none;color:var(--mid);white-space:nowrap;transition:color .15s ease}
.nav-links a:hover{color:var(--accent)}
.nav-buy{background:var(--accent)!important;color:#fff!important;padding:7px 15px;border-radius:var(--radius)}
.nav-buy:hover{background:var(--accent-dark)!important}
/* Owner directive 2026-09-01: "Our Best Sellers" dropdown under Children's Books.
   Hover-to-open on desktop (mouse); also opens on focus/tap so it works via keyboard
   and touch, not just mouse hover. */
.nav-dropdown{position:relative;display:flex;align-items:center}
.nav-dropdown-menu{position:absolute;top:100%;left:0;background:var(--panel);border:1px solid var(--rule-strong);border-radius:var(--radius);box-shadow:var(--shadow-md);padding:.4rem;min-width:170px;opacity:0;visibility:hidden;transform:translateY(4px);transition:opacity .15s ease,transform .15s ease,visibility .15s}
.nav-dropdown-menu a{display:block;padding:.5rem .7rem;border-radius:var(--radius);white-space:nowrap}
.nav-dropdown-menu a:hover{background:var(--bg)}
.nav-dropdown:hover .nav-dropdown-menu,.nav-dropdown:focus-within .nav-dropdown-menu{opacity:1;visibility:visible;transform:translateY(0)}

/* ---------- UTILITY ---------- */
.eyebrow{font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);display:block}
.hr{border:0;border-top:1px solid var(--rule);margin:1.5rem 0}
.hr-thick{border:0;border-top:1.5px solid var(--rule-strong)}
.back-row{max-width:var(--maxw);margin:0 auto;padding:.85rem 1.15rem}
.back-link{display:inline-block;font-size:.78rem;font-weight:700;color:var(--mid);text-decoration:none;transition:color .15s ease}
.back-link:before{content:"\2190 ";}
.back-link:hover{color:var(--accent)}
.btn{display:inline-block;background:var(--accent);color:#fff!important;font-size:.78rem;font-weight:700;letter-spacing:.015em;padding:11px 20px;text-decoration:none;border-radius:var(--radius);border:none;cursor:pointer;transition:background .15s ease,transform .15s ease}
.btn:hover{background:var(--accent-dark);transform:translateY(-1px)}
.btn-outline{display:inline-block;border:1.5px solid var(--rule-strong);color:var(--ink)!important;font-size:.78rem;font-weight:700;padding:9px 18px;text-decoration:none;border-radius:var(--radius);transition:all .15s ease}
.btn-outline:hover{background:var(--ink);border-color:var(--ink);color:var(--bg)!important}
.btn-sm{font-size:.68rem;padding:7px 13px}
.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;border-bottom:1.5px solid var(--rule-strong);padding-bottom:.6rem;margin:2.4rem 0 1.2rem;flex-wrap:wrap}
.section-head h2{font-size:1.5rem}
.section-sub{font-size:.8rem;color:var(--soft)}

/* ---------- MASTHEAD / LEAD (index) ---------- */
.masthead{padding:1.6rem 0 1rem;border-bottom:1px solid var(--rule)}
.masthead .kicker{font-size:.7rem;color:var(--soft);letter-spacing:.06em}
.masthead h1{font-size:clamp(1.8rem,4vw,2.7rem);margin-top:.25rem}
.masthead p{color:var(--mid);font-size:.92rem;margin-top:.45rem;max-width:var(--measure)}

.lead-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:1.9rem;padding:1.9rem 0;border-bottom:1px solid var(--rule)}
.lead-story{display:block;text-decoration:none;color:inherit}
.lead-cover{width:100%;background:var(--panel);border:1px solid var(--rule);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-sm)}
.lead-cover img{width:100%;height:auto}
.lead-title{font-size:clamp(1.4rem,3vw,2.1rem);margin:1rem 0 .55rem;line-height:1.14}
.lead-hook{color:var(--mid);font-size:.95rem;line-height:1.65;max-width:var(--measure)}
.side-list{display:flex;flex-direction:column}
.side-item{display:flex;gap:.9rem;padding:.9rem 0;border-bottom:1px solid var(--rule);text-decoration:none;color:inherit}
.side-item:first-child{padding-top:0}
/* Owner found 2026-09-01: fixed width+height here forced every cover into a portrait
   box - 123 of 135 real covers are actually SQUARE, so they got cropped top/bottom
   (object-fit:cover) to fill a shape that didn't match them. Height stays fixed for
   clean row alignment; width is now set per-book inline (height * real cover_ratio -
   see coverTag() in index.html), so a square cover renders as a real square and a
   portrait cover keeps its real portrait shape. No more cropping either way. */
.side-thumb{height:74px;flex-shrink:0;background:var(--panel);border:1px solid var(--rule);border-radius:var(--radius);overflow:hidden}
.side-thumb img{width:100%;height:100%;object-fit:cover}
.side-copy .eyebrow{font-size:.6rem;margin-bottom:.18rem}
.side-title{font-family:var(--serif);font-size:.95rem;line-height:1.35;font-weight:700}

/* ---------- SEASONAL SHELF ---------- */
.shelf{padding:1.6rem 0;border-bottom:1px solid var(--rule)}
.shelf-track{display:flex;gap:.9rem;overflow-x:auto;padding-bottom:.4rem;scrollbar-width:thin}
/* Owner found 2026-09-01: fixed 118x158 (portrait) box + object-fit:contain left a
   visible white margin under every SQUARE cover (123 of 135 real covers) since a square
   image only fills the 118-wide dimension of a taller box. Height stays fixed at 158px
   for a clean horizontal shelf row; width is now set per-book inline via cover_ratio
   (see coverTag() in index.html) so a square book gets a real 158x158 slot and a
   portrait book keeps its real ~118x158 shape - object-fit:cover now works cleanly on
   both since the box shape actually matches the image, no more letterboxing. */
.shelf-card{flex:0 0 auto;text-decoration:none;color:inherit}
.shelf-cover{height:158px;background:var(--panel);border:1px solid var(--rule);border-radius:var(--radius);overflow:hidden;position:relative;box-shadow:var(--shadow-sm)}
.shelf-cover img{width:100%;height:100%;object-fit:cover}
.shelf-name{font-size:.74rem;line-height:1.3;margin-top:.45rem;font-weight:600;max-width:158px}

/* ---------- HOMEPAGE: FROM THE JOURNAL ---------- */
.journal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
/* Owner directive 2026-09-01: "more visibility, more sales" - each journal card now
   leads with the related book's own cover (same always-visible-buy-link pattern
   Penguin uses) instead of being pure text. Card is a DIV, not an <a>: the article
   link and the buy link are two independent anchors inside it (an <a> cannot
   validly contain another <a> - the browser silently breaks that markup). */
.journal-card{display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--rule);border-radius:var(--radius-lg);padding:1.3rem 1.4rem;box-shadow:var(--shadow-sm);transition:box-shadow .15s ease,transform .15s ease}
.journal-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}
.journal-card-link{display:flex;flex-direction:column;flex:1;text-decoration:none;color:inherit}
.journal-card-top{display:flex;gap:.85rem;align-items:flex-start;margin-bottom:.7rem}
.journal-cover{height:84px;flex-shrink:0;background:var(--bg);border:1px solid var(--rule);border-radius:var(--radius);overflow:hidden}
.journal-cover img{width:100%;height:100%;object-fit:cover}
.journal-date{font-size:.68rem;color:var(--soft);font-weight:700;letter-spacing:.03em}
.journal-title{font-family:var(--serif);font-weight:700;font-size:1.05rem;line-height:1.32;margin-top:.3rem}
.journal-deck{font-size:.8rem;color:var(--mid);line-height:1.6;flex:1}
.journal-buy{margin-top:.9rem;align-self:flex-start}

/* ---------- TABS ---------- */
.tabs{display:flex;flex-wrap:wrap;gap:.5rem;padding:1.1rem 0}
.tab{font-size:.76rem;font-weight:700;letter-spacing:.015em;padding:7px 15px;border:1.5px solid var(--rule-strong);border-radius:20px;background:transparent;color:var(--ink);cursor:pointer;transition:all .15s ease}
.tab.active{background:var(--ink);border-color:var(--ink);color:var(--bg)}
.tab:hover:not(.active){background:var(--panel);border-color:var(--accent)}

/* ---------- DENSE CARD GRID ---------- */
.grid-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem 1.05rem}
.card{text-decoration:none;color:inherit;display:flex;flex-direction:column}
.card-cover{width:100%;aspect-ratio:1/1;background:var(--panel);border:1px solid var(--rule);border-radius:var(--radius);overflow:hidden;position:relative;transition:box-shadow .15s ease,transform .15s ease}
.card:hover .card-cover{box-shadow:var(--shadow-md);transform:translateY(-2px)}
.card-cover img{width:100%;height:100%;object-fit:cover}
.card-cover-ph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:.6rem;font-family:var(--serif);font-weight:700;font-size:.85rem;color:var(--soft);background:var(--panel)}
.card-title{font-family:var(--serif);font-weight:700;font-size:.86rem;line-height:1.3;margin-top:.6rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-hook{font-size:.72rem;color:var(--soft);line-height:1.45;margin-top:.3rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-buy{font-size:.68rem;font-weight:700;color:var(--accent);text-decoration:none;margin-top:.5rem;display:inline-block}
.card-buy:hover{color:var(--accent-dark);text-decoration:underline}
.cat-empty{color:var(--soft);font-size:.85rem;padding:2rem 0}

/* ---------- PARENTING BOOKS ---------- */
.parenting-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;padding:1.5rem 0}
.parenting-card{display:flex;gap:1.25rem;text-decoration:none;color:inherit;background:var(--panel);border:1px solid var(--rule);border-radius:var(--radius-lg);padding:1.5rem;box-shadow:var(--shadow-sm);transition:box-shadow .15s ease,transform .15s ease}
.parenting-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}
.parenting-cover{width:100px;flex-shrink:0}
.parenting-cover img{width:100%;border-radius:2px;box-shadow:0 8px 20px rgba(60,45,30,.16)}
.parenting-copy .eyebrow{margin-bottom:.3rem}
.parenting-name{font-family:var(--serif);font-size:1.25rem;margin-bottom:.45rem}
.parenting-desc{font-size:.82rem;color:var(--mid);line-height:1.65}

/* ---------- BLOG INDEX ---------- */
.blog-lead{display:flex;gap:1.5rem;text-decoration:none;color:inherit;padding:1.9rem 0;border-bottom:1.5px solid var(--rule-strong);align-items:flex-start}
.blog-lead-cover{flex-shrink:0;width:120px;height:120px;border-radius:6px;overflow:hidden;background:var(--panel,#eee)}
.blog-lead-cover img{width:100%;height:100%;object-fit:cover;display:block}
.blog-lead-body{min-width:0}
.blog-lead .eyebrow{margin-bottom:.5rem}
.blog-lead h2{font-size:clamp(1.6rem,3.6vw,2.4rem);line-height:1.16}
.blog-lead p{color:var(--mid);font-size:.95rem;margin-top:.6rem;max-width:var(--measure)}
.blog-row{display:flex;gap:1.25rem;padding:1.3rem 0;border-bottom:1px solid var(--rule);text-decoration:none;color:inherit;align-items:center}
.blog-date{flex-shrink:0;width:92px;font-size:.7rem;color:var(--soft);font-weight:600}
.blog-row-cover{flex-shrink:0;width:64px;height:64px;border-radius:5px;overflow:hidden;background:var(--panel,#eee)}
.blog-row-cover img{width:100%;height:100%;object-fit:cover;display:block}
.blog-row-body{min-width:0}
.blog-row-title{font-family:var(--serif);font-size:1.15rem;line-height:1.35;font-weight:700}
.blog-row-deck{font-size:.8rem;color:var(--soft);margin-top:.28rem;line-height:1.55}
.blog-cover-ph{display:flex;align-items:center;justify-content:center;font-size:1.6rem;opacity:.45}
@media(max-width:600px){
  .blog-lead-cover{width:84px;height:84px}
  .blog-row-cover{display:none}
}

/* ---------- ARTICLE / BLOG POST ---------- */
.article-head{padding:2.1rem 0 1.3rem;border-bottom:1px solid var(--rule)}
.article-head .eyebrow{margin-bottom:.6rem}
.article-head h1{font-size:clamp(1.7rem,4vw,2.6rem);line-height:1.16}
.article-dek{color:var(--mid);font-size:1rem;line-height:1.65;margin-top:.8rem;max-width:var(--measure)}
.byline{font-size:.76rem;color:var(--soft);margin-top:.95rem;font-weight:600}
.article-layout{display:grid;grid-template-columns:minmax(0,var(--measure)) minmax(220px,280px);gap:2.6rem;padding:2.1rem 0 3rem;align-items:start}
.article-body{max-width:var(--measure)}
.article-body h2{font-size:1.4rem;margin:2.1rem 0 .85rem}
.article-body h3{font-size:1.1rem;font-style:italic;margin:1.5rem 0 .5rem}
.article-body p{font-size:.98rem;color:var(--mid);line-height:1.8;margin-bottom:1.15rem}
.article-body a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
.cover-thumb{max-width:150px;border-radius:2px;margin-bottom:1.5rem;box-shadow:var(--shadow-sm)}
.sidebar-box{position:sticky;top:72px;background:var(--panel);border:1px solid var(--rule);border-radius:var(--radius-lg);border-top:3px solid var(--accent);padding:1.35rem;box-shadow:var(--shadow-sm)}
.sidebar-box .eyebrow{margin-bottom:.6rem}
.sidebar-book{display:flex;gap:.8rem;margin-bottom:1.05rem;text-decoration:none;color:inherit}
.sidebar-book img{width:56px;flex-shrink:0;border-radius:2px}
.sidebar-book-title{font-family:var(--serif);font-weight:700;font-size:.85rem;line-height:1.3}
.sidebar-book-hook{font-size:.72rem;color:var(--soft);margin-top:.2rem;line-height:1.45}
.faq-block{border-top:1.5px solid var(--rule-strong);padding:1.6rem 0;margin-top:1.1rem}
details.faq-item{border-bottom:1px solid var(--rule);padding:1rem 0}
details.faq-item summary{font-family:var(--serif);font-weight:700;font-size:1rem;cursor:pointer;list-style:none}
details.faq-item summary::-webkit-details-marker{display:none}
details.faq-item summary:before{content:"+ ";color:var(--accent)}
details.faq-item[open] summary:before{content:"\2212 "}
details.faq-item p{font-size:.85rem;color:var(--mid);line-height:1.75;margin-top:.65rem}

/* ---------- BOOK LANDING PAGES ---------- */
.book-hero{display:grid;grid-template-columns:1fr 1.4fr;gap:2.2rem;padding:2.2rem 0;border-bottom:1px solid var(--rule);align-items:start}
.book-cover-wrap img{width:100%;border-radius:3px;box-shadow:var(--shadow-md);border:1px solid var(--rule)}
.book-cover-ph{aspect-ratio:2/3;background:var(--panel);border:1.5px solid var(--rule-strong);border-radius:var(--radius-lg);display:flex;align-items:center;justify-content:center;text-align:center;padding:1.6rem}
.book-cover-ph-inner{font-family:var(--serif)}
.book-cover-ph-title{font-size:1.3rem;font-weight:700;line-height:1.25;margin-bottom:.6rem}
.book-cover-ph-sub{font-size:.7rem;color:var(--soft);letter-spacing:.06em;text-transform:uppercase}
.book-hero h1{font-size:clamp(1.8rem,4vw,2.8rem);line-height:1.12}
.book-hero .dek{font-size:1rem;color:var(--mid);margin:.85rem 0 1.25rem;line-height:1.6}
.stat-row{display:flex;gap:1.6rem;flex-wrap:wrap;margin:1.3rem 0}
.stat{border-left:3px solid var(--accent);padding-left:.85rem}
.stat-n{font-family:var(--serif);font-size:1.9rem;font-weight:700;line-height:1}
.stat-b{font-size:.75rem;color:var(--soft);max-width:180px;line-height:1.45}
.evidence-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.05rem;padding:1.6rem 0}
.evidence-item{position:relative;border:1px solid var(--rule);border-radius:var(--radius);overflow:hidden}
.evidence-item img{width:100%;height:220px;object-fit:cover}
.evidence-cap{padding:.75rem .85rem;background:var(--panel)}
.evidence-cap b{font-size:.7rem;letter-spacing:.06em;text-transform:uppercase;color:var(--accent);display:block;margin-bottom:.2rem}
.evidence-cap span{font-size:.8rem;color:var(--mid)}
.soc-grid{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--rule);border-radius:var(--radius-lg);overflow:hidden;margin:1.6rem 0}
.soc-item{padding:1.4rem;border-right:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.soc-item:nth-child(3n){border-right:none}
.soc-flag{font-size:1.4rem}
.soc-name{font-size:.68rem;letter-spacing:.09em;text-transform:uppercase;color:var(--soft);margin:.3rem 0}
.soc-finding{font-size:.82rem;color:var(--ink);line-height:1.6;margin-bottom:.5rem}
.soc-tradeoff{font-size:.72rem;color:var(--soft);line-height:1.55;border-top:1px solid var(--rule);padding-top:.5rem}
.cond-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border:1px solid var(--rule);border-radius:var(--radius-lg);overflow:hidden;margin:1.6rem 0}
.cond-item{padding:1.25rem;border-right:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.cond-item:nth-child(4n){border-right:none}
.cond-n{font-family:var(--serif);font-size:1.4rem;color:var(--accent-2)}
.cond-name{font-size:.72rem;font-weight:700;letter-spacing:.035em;margin:.25rem 0}
.cond-body{font-size:.76rem;color:var(--soft);line-height:1.55}
.pull-quote{border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);padding:2.2rem 0;text-align:center}
.pull-quote blockquote{font-family:var(--serif);font-style:italic;font-size:clamp(1.2rem,2.6vw,1.7rem);max-width:640px;margin:0 auto .65rem;line-height:1.4}
.pull-quote cite{font-size:.7rem;letter-spacing:.06em;text-transform:uppercase;color:var(--soft)}
.feature-list{display:flex;flex-direction:column;gap:0;margin:1.1rem 0}
.feature-list li{display:flex;gap:.8rem;font-size:.85rem;color:var(--mid);line-height:1.6;padding:.85rem 0;border-bottom:1px solid var(--rule)}
.feat-n{font-family:var(--serif);color:var(--accent-2);flex-shrink:0;font-size:1rem}
.script-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1.3rem 0}
.script-card{background:var(--panel);border:1px solid var(--rule);border-left:3px solid var(--accent);border-radius:0 var(--radius) var(--radius) 0;padding:1.05rem 1.25rem}
.script-trigger{font-size:.65rem;letter-spacing:.07em;text-transform:uppercase;color:var(--accent);margin-bottom:.4rem;display:block}
.script-text{font-family:var(--serif);font-style:italic;font-size:.9rem;line-height:1.5}
.week-grid{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--rule);border-radius:var(--radius-lg);overflow:hidden;margin:1.3rem 0}
.week-item{padding:1.05rem;border-right:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.week-item:nth-child(4n){border-right:none}
.week-n{font-size:.65rem;color:var(--accent);font-weight:700;letter-spacing:.06em}
.week-name{font-family:var(--serif);font-size:.88rem;margin-top:.3rem}

/* ---------- FOOTER ---------- */
.site-footer{border-top:1.5px solid var(--rule-strong);padding:2.6rem 0 1.6rem;margin-top:3.2rem;background:var(--panel)}
.ft-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:2rem;margin-bottom:2.1rem}
.ft-logo{font-family:var(--serif);font-weight:700;font-size:1.35rem;margin-bottom:.5rem;text-decoration:none;color:var(--ink);display:inline-block}
.ft-tag{font-size:.82rem;color:var(--soft);line-height:1.65;max-width:320px}
.ft-head{font-size:.68rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--soft);margin-bottom:.75rem}
.ft-links{display:flex;flex-direction:column;gap:.5rem}
.ft-links a{font-size:.82rem;color:var(--mid);text-decoration:none;transition:color .15s ease}
.ft-links a:hover{color:var(--accent)}
.ft-bottom{display:flex;justify-content:space-between;border-top:1px solid var(--rule);padding-top:1.05rem;font-size:.72rem;color:var(--soft);flex-wrap:wrap;gap:.5rem}
.ft-bottom a{color:var(--soft);text-decoration:none}
.ft-bottom a:hover{color:var(--accent)}

/* ---------- RESPONSIVE ---------- */
@media(max-width:900px){
  .lead-grid{grid-template-columns:1fr}
  .journal-grid{grid-template-columns:1fr}
  .grid-cards{grid-template-columns:repeat(3,1fr)}
  .article-layout{grid-template-columns:1fr}
  .sidebar-box{position:static}
  .book-hero{grid-template-columns:1fr}
  .evidence-grid,.soc-grid{grid-template-columns:1fr 1fr}
  .soc-item:nth-child(2n){border-right:none}
  .soc-item:nth-child(3n){border-right:1px solid var(--rule)}
  .cond-grid,.week-grid{grid-template-columns:1fr 1fr}
  .cond-item:nth-child(2n),.week-item:nth-child(2n){border-right:none}
  .parenting-grid{grid-template-columns:1fr}
}
.nav-toggle{display:none}
.back-to-top{position:fixed;right:1.1rem;bottom:1.1rem;width:42px;height:42px;border-radius:50%;background:var(--ink);color:var(--panel);border:none;cursor:pointer;font-size:1.2rem;line-height:1;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s ease,transform .2s ease,visibility .2s;z-index:600;box-shadow:0 2px 10px rgba(0,0,0,.25)}
.back-to-top.show{opacity:1;visibility:visible;transform:translateY(0)}
@media(max-width:600px){
  .nav-toggle{display:flex;flex-direction:column;justify-content:center;gap:4px;width:26px;height:20px;background:none;border:none;cursor:pointer;padding:0;flex-shrink:0}
  .nav-toggle span{display:block;height:2px;width:100%;background:var(--ink);border-radius:1px}
  .nav-links a:not(.nav-buy){display:none}
  .site-nav.nav-open .nav-links{position:absolute;top:54px;left:0;right:0;background:var(--panel);flex-direction:column;align-items:flex-start;padding:.75rem 1.2rem 1rem;border-bottom:1px solid var(--rule-strong);gap:.3rem}
  .site-nav.nav-open .nav-links a:not(.nav-buy){display:block;padding:.5rem 0;width:100%}
  /* Hover doesn't exist on touch - the dropdown menu shows inline, always open, as a
     natural indented row under Children's Books rather than requiring a hover/tap. */
  .nav-dropdown{flex-direction:column;align-items:flex-start;width:100%}
  .nav-dropdown-menu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:none;padding:0 0 0 1rem;min-width:0}
  .nav-dropdown-menu a{padding:.35rem 0}
  .grid-cards{grid-template-columns:repeat(2,1fr)}
  .ft-grid{grid-template-columns:1fr}
  .evidence-grid,.soc-grid,.cond-grid,.week-grid,.script-grid{grid-template-columns:1fr}
  .soc-item,.cond-item,.week-item{border-right:none}
  body{font-size:16px}
}
