/* CrayonJoy — warm paper, torn-out-of-a-coloring-book feel */
:root{
  --bg:#f7f1e8;
  --surface:#fffaf2;
  --text:#2b2118;
  --muted:#5d4e40;
  --primary:#c2562f;
  --accent:#e0a03a;
  --line:rgb(43 33 24 / .12);
  --radius:12px;
  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px;
  --space-5:24px; --space-6:32px; --space-7:48px; --space-8:64px;
  --fs-xs:12px; --fs-sm:14px; --fs-base:17px; --fs-lg:22px;
  --fs-xl:28px; --fs-2xl:36px; --fs-3xl:48px;
  --font-display:"Fraunces",Georgia,serif;
  --font-body:"Inter",system-ui,-apple-system,Segoe UI,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:var(--fs-base);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{font-family:var(--font-display);line-height:1.15;letter-spacing:-.015em;text-wrap:balance;margin:0 0 var(--space-3)}
h1{font-size:var(--fs-3xl)}
h2{font-size:var(--fs-xl);margin-top:var(--space-7)}
h3{font-size:var(--fs-lg)}
p{margin:0 0 var(--space-4);text-wrap:pretty;max-width:68ch}
a{color:var(--primary);text-underline-offset:3px}
img{max-width:100%;display:block}
ul,ol{max-width:68ch;padding-left:1.2em}
li{margin-bottom:var(--space-2)}
strong{font-weight:600}
:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
::selection{background:rgb(224 160 58 / .35)}
.skip{position:absolute;left:-9999px}
.skip:focus{left:var(--space-4);top:var(--space-4);background:var(--surface);padding:var(--space-2) var(--space-4);z-index:99}
.wrap{max-width:1120px;margin-inline:auto;padding-inline:20px}
.eyebrow{
  font-family:var(--font-body);font-size:var(--fs-xs);font-weight:600;
  letter-spacing:.09em;text-transform:uppercase;color:var(--primary);
  margin:0 0 var(--space-3);
}
.lede{font-size:var(--fs-base);color:var(--muted);max-width:60ch}


/* ---------- header ---------- */
.site-head{background:var(--bg);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.head-inner{display:flex;align-items:center;gap:var(--space-5);min-height:62px;flex-wrap:wrap;padding-block:var(--space-2)}
.brand{display:inline-flex;align-items:center;gap:var(--space-2);text-decoration:none;color:var(--text)}
.brand-stripe{
  width:26px;height:14px;border-radius:3px;
  background:repeating-linear-gradient(105deg,var(--primary) 0 5px,var(--accent) 5px 9px,#4a7c59 9px 13px,#3f6ea8 13px 17px);
}
.brand-name{font-family:var(--font-display);font-size:20px;letter-spacing:-.02em}
.nav{display:flex;gap:var(--space-4);flex-wrap:wrap;font-size:var(--fs-sm);font-weight:600}
.nav a{color:var(--muted);text-decoration:none;padding-block:var(--space-2)}
.nav a:hover{color:var(--primary)}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);
  min-height:46px;padding:0 var(--space-5);border-radius:var(--radius);
  font-family:var(--font-body);font-size:var(--fs-sm);font-weight:600;letter-spacing:.01em;
  text-decoration:none;cursor:pointer;border:1px solid transparent;
  transition:background 180ms ease,color 180ms ease,transform 180ms ease;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--primary);color:#fffaf2}
.btn-primary:hover{background:#a8471f}
.btn-ghost{background:transparent;color:var(--text);border-color:var(--line)}
.btn-ghost:hover{background:var(--surface);border-color:var(--muted)}
.btn-sm{min-height:38px;padding:0 var(--space-4);font-size:var(--fs-xs)}

/* ---------- card grid ---------- */
.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-5);margin-block:var(--space-5) var(--space-7)}
.coloring-card{
  margin:0;background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;
}
.card-stripe{height:5px;background:repeating-linear-gradient(105deg,var(--primary) 0 6px,var(--accent) 6px 11px,#4a7c59 11px 16px,#3f6ea8 16px 21px)}
.coloring-card .frame{position:relative;aspect-ratio:4/5;background:#fff;border-bottom:1px solid var(--line);overflow:hidden}
.coloring-card .frame img{width:100%;height:100%;object-fit:cover}
.frame-empty{
  display:flex;align-items:center;justify-content:center;text-align:center;
  padding:var(--space-4);font-size:var(--fs-xs);color:var(--muted);
  background-image:repeating-linear-gradient(45deg,rgb(43 33 24/.05) 0 8px,transparent 8px 16px);
}
.card-body{padding:var(--space-4) var(--space-4) var(--space-5);display:flex;flex-direction:column;gap:var(--space-2);flex:1}
.card-body h3{font-size:17px;margin:0;letter-spacing:-.01em}
.card-desc{font-size:var(--fs-sm);color:var(--muted);margin:0;max-width:none;flex:1}
.card-actions{display:flex;gap:var(--space-2);flex-wrap:wrap;margin-top:var(--space-2)}


/* ---------- hero ---------- */
.hero{padding-block:var(--space-7) var(--space-6);border-bottom:1px solid var(--line)}
.hero h1{font-size:clamp(34px,6vw,64px);max-width:20ch;margin-bottom:var(--space-4)}
.hero .lede{font-size:var(--fs-base)}
.hero-points{display:flex;gap:var(--space-4);flex-wrap:wrap;margin:var(--space-4) 0 var(--space-5);font-size:var(--fs-sm);color:var(--muted)}
.hero-points span{display:inline-flex;align-items:center;gap:6px}
.dot{width:7px;height:7px;border-radius:50%;background:var(--accent);display:inline-block}

/* ---------- entry grid (four lines) ---------- */
.entries{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--space-4);margin-block:var(--space-5)}
.entry{
  display:block;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:var(--space-5);text-decoration:none;color:var(--text);
  transition:border-color 180ms ease,transform 180ms ease;
}
.entry:hover{border-color:var(--muted);transform:translateY(-1px)}
.entry h3{font-size:var(--fs-lg);margin-bottom:var(--space-2)}
.entry p{font-size:var(--fs-sm);color:var(--muted);margin:0;max-width:none}
.entry-kw{display:block;margin-top:var(--space-3);font-size:var(--fs-xs);letter-spacing:.06em;text-transform:uppercase;color:var(--primary);font-weight:600}

/* ---------- prose / body copy ---------- */
.prose{padding-block:var(--space-6)}
.prose > h2:first-child{margin-top:0}
.prose h2{border-top:1px solid var(--line);padding-top:var(--space-5)}
.prose h2:first-of-type{border-top:0;padding-top:0}

/* ---------- download banner ---------- */
.dl-banner{display:flex;align-items:center;justify-content:space-between;gap:var(--space-5);flex-wrap:wrap;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:var(--space-5);margin-block:var(--space-5)}
.dl-banner p{margin:0;font-size:var(--fs-sm);color:var(--muted);max-width:52ch}
.dl-banner strong{color:var(--text)}

/* ---------- two-col (left sticky label, right copy) ---------- */
.split{display:grid;grid-template-columns:280px 1fr;gap:var(--space-7);align-items:start;padding-block:var(--space-7);border-top:1px solid var(--line)}
.split-side{position:sticky;top:86px}
.split-side h2{margin-top:0;font-size:var(--fs-xl)}
.split-side p{font-size:var(--fs-sm);color:var(--muted)}

/* ---------- related strip ---------- */
.related{padding-block:var(--space-6);border-top:1px solid var(--line)}
.related h2{font-size:var(--fs-lg);margin-top:0}
.related-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:var(--space-3);list-style:none;padding:0;margin:var(--space-3) 0 0;max-width:none}
.related-list a{
  display:block;padding:var(--space-3) var(--space-4);background:var(--surface);
  border:1px solid var(--line);border-radius:var(--radius);
  font-size:var(--fs-sm);font-weight:600;text-decoration:none;color:var(--text);
  transition:border-color 180ms ease;
}
.related-list a:hover{border-color:var(--primary);color:var(--primary)}

/* ---------- faq ---------- */
.faq{padding-block:var(--space-6) var(--space-7);border-top:1px solid var(--line)}
.faq h2{font-size:var(--fs-xl);margin-top:0}
.faq details{border-bottom:1px solid var(--line);padding:var(--space-4) 0}
.faq details:first-of-type{border-top:1px solid var(--line)}
.faq summary{font-weight:600;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:var(--space-4);align-items:baseline}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--primary);font-size:20px;line-height:1}
.faq details[open] summary::after{content:"–"}
.faq details p{margin:var(--space-3) 0 0;font-size:var(--fs-sm);color:var(--muted)}

/* ---------- footer ---------- */
.site-foot{border-top:1px solid var(--line);background:var(--surface);padding-top:var(--space-7);margin-top:var(--space-6);font-size:var(--fs-sm)}
.foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:var(--space-6);padding-bottom:var(--space-6)}
.foot-brand{font-family:var(--font-display);font-size:20px;margin:0 0 var(--space-2)}
.foot-note{color:var(--muted);font-size:var(--fs-xs);max-width:34ch}
.foot-title{font-weight:600;margin:0 0 var(--space-3);font-size:var(--fs-xs);letter-spacing:.08em;text-transform:uppercase;color:var(--primary)}
.foot-col a{display:block;color:var(--muted);text-decoration:none;padding-block:4px}
.foot-col a:hover{color:var(--text)}
.foot-bottom{border-top:1px solid var(--line);padding-block:var(--space-4)}
.foot-bottom p{font-size:var(--fs-xs);color:var(--muted);margin:0;max-width:none}

/* ---------- notice ---------- */
.notice{background:rgb(224 160 58 / .14);border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:var(--radius);padding:var(--space-4) var(--space-5);margin-block:var(--space-5);font-size:var(--fs-sm)}
.notice p{margin:0;color:var(--muted);max-width:60ch}

/* ---------- responsive ---------- */
@media (max-width:860px){
  .card-grid{grid-template-columns:repeat(2,1fr);gap:var(--space-4)}
  .entries{grid-template-columns:1fr}
  .split{grid-template-columns:1fr;gap:var(--space-4);padding-block:var(--space-6)}
  .split-side{position:static}
  .foot-grid{grid-template-columns:1fr 1fr;gap:var(--space-5)}
}
@media (max-width:560px){
  :root{--fs-3xl:34px;--fs-2xl:28px;--fs-xl:24px}
  .card-grid{grid-template-columns:1fr}
  .hero{padding-block:var(--space-6) var(--space-5)}
  .head-inner{min-height:auto}
  .nav{gap:var(--space-3);font-size:var(--fs-xs)}
  .foot-grid{grid-template-columns:1fr}
  h2{margin-top:var(--space-6)}
}
@media (prefers-reduced-motion:reduce){
  *{transition:none!important;animation:none!important}
  .btn:hover,.entry:hover{transform:none}
}
@media print{
  @page{margin:0}
  .site-head,.site-foot,.skip,.card-actions,.card-stripe,.dl-banner,.related,.newsletter,.ad-slot,.hero-points,.hero .btn,.eyebrow,.notice,.prose,.faq,.section-title,.entries,.shelves{display:none!important}
  html,body{background:#fff!important;color:var(--text)}
  .wrap{max-width:none;padding:0 8mm}
  .hero{border:0;padding:6mm 0 2mm}
  .hero h1{font-size:20pt;margin:0 0 2mm}
  .hero .lede{font-size:10pt;margin:0}
  .card-grid{display:block!important;margin:0}
  .coloring-card{border:0!important;break-inside:avoid;page-break-after:always;height:auto}
  .coloring-card .frame{border:0;aspect-ratio:auto;height:250mm}
  .coloring-card .frame img{object-fit:contain}
  .coloring-card:has(.frame-empty){display:none}
  .card-body{padding:2mm 0 0}
  .card-title{min-height:0;font-size:12pt;margin:0}
  .card-desc{font-size:9pt;color:var(--muted);margin:0}
}


/* hubs: shelves */
.shelves{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:var(--space-4);margin:var(--space-6) 0 var(--space-8)}
.shelf{display:flex;flex-direction:column;gap:var(--space-2);padding:var(--space-5);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);position:relative;transition:transform 180ms ease,border-color 180ms ease}
.shelf:hover{transform:translateY(-2px);border-color:var(--primary)}
.shelf::before{content:"";position:absolute;inset:0 0 auto 0;height:6px;border-radius:var(--radius) var(--radius) 0 0;background:linear-gradient(90deg,var(--primary),var(--accent))}
.shelf-meta{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:600;margin-top:var(--space-2)}
.shelf h2{font-family:Fraunces,Georgia,serif;font-size:22px;line-height:1.2;margin:0}
.shelf p{margin:0;color:var(--muted);font-size:15px;line-height:1.55}
.shelf-go{font-size:14px;font-weight:600;color:var(--primary);margin-top:auto;padding-top:var(--space-2)}
.entry-kw{font-size:13px;color:var(--muted)}
.notice{margin:var(--space-4) 0;padding:var(--space-3) var(--space-4);border-left:3px solid var(--accent);background:var(--surface);border-radius:0 var(--radius) var(--radius) 0}
.notice p{margin:0;font-size:15px}
.dl-banner{display:flex;flex-wrap:wrap;gap:var(--space-4);align-items:center;justify-content:space-between;margin:var(--space-6) 0;padding:var(--space-5);border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}
.dl-banner p{margin:0;max-width:60ch;font-size:15px;color:var(--muted)}
.related-list{list-style:none;padding:0;margin:var(--space-4) 0 0;display:grid;gap:var(--space-2)}
.related-list li{border-bottom:1px solid var(--line);padding-bottom:var(--space-2)}
.related-list a{font-weight:600;color:var(--primary);text-decoration:none}
.frame-empty{display:flex;align-items:center;justify-content:center;aspect-ratio:4/5;padding:var(--space-4);text-align:center;font-size:13px;line-height:1.5;color:var(--muted);background:repeating-linear-gradient(45deg,rgb(43 33 24/.03) 0 10px,rgb(43 33 24/.06) 10px 20px);border:1px dashed var(--line);border-radius:var(--radius)}
.page .hero,.hub .hero{padding:var(--space-7) 0 var(--space-5)}
@media (max-width:720px){.shelves{grid-template-columns:1fr}.dl-banner{padding:var(--space-4)}}


/* contrast fix: white text on --primary needs 4.5:1 */
:root { --primary: #a94a26; }
.btn-primary, .btn.btn-primary { color: #fff; }
.card-title, .entry-title { font-size: var(--fs-20, 20px); line-height: 1.25; }


/* typography + layout review fixes */
body { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; }
h1, h2, h3, h4, .brand-name, .entry-title, .card-title, .section-title { font-family: 'Fraunces', Georgia, serif; letter-spacing: -0.01em; }
h1 { line-height: 1.2; text-wrap: balance; }
.section-title { font-size: 28px; margin: 48px 0 16px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.entry-kw, .card-desc, .foot-note, .eyebrow { color: #5a4a42; }
.frame-empty { background: #efe6d8; color: transparent; font-size: 0; }
.btn-primary { color: #fff; }
.btn-primary:hover { filter: brightness(1.06); }
@media (max-width: 760px) {
  .nav { display: flex; overflow-x: auto; gap: 18px; white-space: nowrap; padding-block: 8px; -webkit-overflow-scrolling: touch; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: 0 0 auto; }
  .card-actions { display: flex; flex-direction: column; gap: 8px; }
  .card-actions .btn { width: 100%; min-height: 44px; }
  .section-title { margin-top: 32px; }
}


/* newest grid: 3 across so no orphan card */
.home .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .home .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .home .card-grid { grid-template-columns: 1fr; } }


/* Ad slot: fixed reserve so a late-loading ad cannot shove the download buttons down */
.ad-slot {
  margin: var(--space-6, 24px) 0 0;
  min-height: 280px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line, rgb(43 33 24 / .12));
  border-radius: var(--radius, 12px);
  background: var(--surface, #fffaf2);
  color: var(--muted, #6b5b4b);
}
.ad-slot span {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
@media (max-width: 640px) {
  .ad-slot { min-height: 250px; }
}


/* ---------- design review round 2 ---------- */
/* nav: never wrap; on small screens it scrolls sideways instead of stacking */
.nav{font-weight:500;letter-spacing:.005em}
.nav a{color:var(--ink-strong)}
@media (max-width:720px){
  .nav{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;width:100%;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .nav::-webkit-scrollbar{display:none}
  .nav a{flex:0 0 auto;padding-block:10px}
  .head-inner{gap:var(--space-3)}
}
/* the crayon stripe only reads as a stripe once artwork is in place */
.coloring-card:has(.frame-empty) .card-stripe{height:1px;background:var(--line)}
/* card grid: fixed three columns on desktop, tighter vertical rhythm */
.card-grid{grid-template-columns:repeat(3,1fr);gap:32px;margin-block:16px var(--space-7)}
.coloring-card .frame{aspect-ratio:4/5}
.card-body{padding:20px 20px 24px}
.card-actions{display:flex;gap:12px;flex-wrap:wrap}
.card-actions .btn{min-height:40px;padding:0 16px;flex:1 1 auto}
.card-actions .btn-ghost{border-color:var(--primary);color:var(--primary)}
.card-actions .btn-ghost:hover{background:var(--primary-wash);border-color:var(--primary)}
.card-title,.card-body h3{font-weight:600}
.card-desc{color:var(--ink-soft)}
/* notice: one clean rule instead of a decorative frame */
.notice{border:0;border-left:4px solid var(--primary);border-radius:0;background:var(--primary-wash);padding:16px 20px}
/* hero CTA breathing room */
.hero .btn-primary{margin-top:8px}
@media (max-width:860px){
  .card-grid{grid-template-columns:repeat(2,1fr);gap:24px}
}
@media (max-width:560px){
  .card-grid{grid-template-columns:1fr}
  p,.lede,.notice p{max-width:36ch}
  .card-body{padding:16px 16px 20px}
}


/* ---------- design review round 3 ---------- */
/* hero: keep the H1 and the primary button inside the first screen on phones */
.hero{padding-top:16px}
.hero h1{font-size:clamp(32px,4.2vw + 18px,48px)}
.hero-points{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center}
.hero-points span{flex:0 0 auto}
/* empty art slot: a soft block with a label, never a dashed error-looking box */
.frame-empty{
  display:grid;place-items:center;border:0;border-radius:calc(var(--radius) - 2px);
  background:var(--surface-2);
  color:var(--ink-soft);font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;
}
/* cards: equal height, titles aligned, buttons pinned to the bottom */
.coloring-card{display:flex;flex-direction:column;overflow:hidden}
.card-body{display:flex;flex-direction:column;flex:1 1 auto}
.card-title{min-height:2.5em;margin-bottom:var(--space-2)}
.card-desc{flex:1 1 auto;margin-bottom:var(--space-4)}
.card-actions{margin-top:auto}
/* nav: a fade on the right edge says “there is more this way” */
@media (max-width:720px){
  .head-inner{position:relative;flex-wrap:wrap}
  .head-inner::after{
    content:"";position:absolute;right:0;top:0;bottom:0;width:32px;pointer-events:none;
    background:linear-gradient(to right,rgb(247 241 232 / 0),var(--bg) 78%);
  }
  .hero{padding-top:8px}
}
.notice{border-left-width:3px;border-radius:0}
.notice p{font-size:var(--fs-sm);margin:0;max-width:60ch}
.btn{border-radius:6px;transition:background-color 160ms ease,color 160ms ease,border-color 160ms ease,transform 160ms ease}
.btn-primary:hover{background:var(--primary-dark)}
.btn-ghost:hover{transform:none}


/* ---------- design review round 4 ---------- */
/* header: brand left, nav right, real breathing room on both edges */
.head-inner{display:flex;align-items:center;justify-content:space-between;gap:var(--space-5);padding-block:12px}
.nav{padding-right:var(--space-2)}
/* desktop copy never runs wider than a comfortable measure */
.hero .lede{max-width:60ch}
/* notice: warmer panel, tighter measure, stronger left rule */
.notice{background:var(--notice-bg);border-left:4px solid var(--primary);max-width:760px}
/* body copy: darker grey for contrast, 16px on phones */
.card-desc{color:var(--ink-soft)}
@media (max-width:560px){
  body{font-size:16px}
  .hero h1{font-size:clamp(30px,7vw,42px)}
  .hero .lede{max-width:34ch}
  .card-actions{flex-direction:column}
  .card-actions .btn{width:100%;min-height:44px}
  .card-title{min-height:0}
}
@media (max-width:400px){
  .wrap{padding-inline:16px}
  .hero h1{font-size:28px}
}


/* ---------- palette tokens: everything above now points here ---------- */
:root{
  --ink-strong:#4a3b30;
  --ink-soft:#6f6259;
  --surface-2:#f2e9dc;
  --notice-bg:#fdf1e9;
  --primary-dark:#8f3d1f;
  --primary-wash:rgb(169 74 38 / .08);
}



/* ---------- design review round 5 (2026-11-21) ---------- */
/* 1) home: the four newest cards sit on one line, no orphan card */
.home .card-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
@media (max-width:1100px){.home .card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.home .card-grid{grid-template-columns:1fr}}
/* 2) card buttons: equal width, same baseline in every card */
.card-actions{gap:10px}
.card-actions .btn{flex:1 1 0;min-width:0;padding:0 12px;white-space:nowrap}
/* 3) hero bullets: quiet, same brown family as the headings */
.dot{background:var(--primary);width:6px;height:6px}
/* 4) download banner: readable measure for the copy, button never crowds it */
.dl-banner{gap:24px}
.dl-banner p{max-width:62ch}
.dl-banner .btn{flex:0 0 auto}
/* 5) mobile nav: smaller type so the four groups fit without clipping */
@media (max-width:560px){
  .nav{font-size:12px;gap:12px}
  .nav a{padding-block:8px}
}
/* 6) hero rhythm on phones: title, lede, bullets and CTA step down cleanly */
@media (max-width:560px){
  .hero h1{margin-bottom:12px}
  .hero .lede{margin-bottom:16px}
  .hero-points{margin:12px 0 20px}
  .hero .btn-primary{width:100%;justify-content:center}
}



/* ---------- design review round 6 (2026-11-21) ---------- */
/* nav on phones: wrap into rows instead of scrolling — nothing gets clipped */
@media (max-width:560px){
  .nav{display:flex;flex-wrap:wrap;overflow:visible;white-space:normal;gap:4px 14px;font-size:13px}
  .nav a{flex:0 0 auto}
}
/* cards: equal height, buttons pinned to the same baseline in every card */
.coloring-card{display:flex;flex-direction:column;height:100%}
.coloring-card .card-body{display:flex;flex-direction:column;flex:1 1 auto}
.card-actions{display:flex;gap:10px;margin-top:auto}
.card-actions .btn{flex:1 1 0;min-width:0}
/* artwork frame keeps the 4:5 portrait proportion of the drawings; the empty state looks deliberate */
.frame{aspect-ratio:4 / 5;overflow:hidden;background:#fff}
.frame img{width:100%;height:100%;object-fit:contain}
.frame-empty{
  display:grid;place-items:center;width:100%;height:100%;
  font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);
  background-image:repeating-linear-gradient(135deg,rgb(43 33 24 / .05) 0 10px,transparent 10px 20px);
}
/* long copy: readable column, clear breaks between sections */
.prose h2{margin-top:44px}
.prose h2:first-of-type{margin-top:8px}
.prose > p,.prose > ul,.prose > ol{max-width:68ch}
.prose h3{border-left:3px solid var(--accent);padding-left:12px;margin-top:32px}
/* home category cards: same height, labels sit at the bottom */
.home .cat-card{min-height:210px}
.home .cat-card .cat-tags,.home .cat-card .tags{margin-top:auto}
/* hero bullets on phones: two clean rows, dot and text on one baseline */
@media (max-width:560px){
  .hero-points{display:flex;flex-wrap:wrap;gap:8px 18px;line-height:1.5}
  .hero-points span{display:inline-flex;align-items:center;gap:8px}
}



/* ---------- design review round 7: links, shelf cards, long-read rhythm (2026-11-21) ---------- */
/* links: never the browser default — no underline, brand colour; underline only inside running text */
a{color:inherit;text-decoration:none}
a:hover{color:var(--primary)}
.nav a{color:var(--text);padding-block:10px;border-bottom:2px solid transparent}
.nav a:hover{border-bottom-color:var(--primary)}
.prose a,.related a,.faq a{color:var(--primary);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.prose a:hover{text-decoration-thickness:2px}
/* shelf cards (hub pages): 2×2 on desktop, equal height, the arrow reads as a button */
.shelves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
@media (max-width:720px){.shelves{grid-template-columns:1fr}}
.shelf{
  display:flex;flex-direction:column;gap:8px;height:100%;padding:28px;
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.shelf:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgb(43 33 24 / .08);border-color:rgb(194 86 47 / .35)}
.shelf h2{font-size:var(--fs-lg);margin:0}
.shelf p{margin:0;color:var(--muted);font-size:15px;line-height:1.6}
.shelf-meta{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--primary)}
.shelf-go{margin-top:auto;padding-top:14px;font-weight:600;font-size:14px;color:var(--primary)}
/* prose: a hairline above each major section keeps a long read from turning into a wall */
.prose h2{border-top:1px solid var(--line);padding-top:24px;margin-top:44px}
.prose h2:first-of-type{border-top:0;padding-top:0;margin-top:8px}
/* faq: no default triangle, a quiet + / – */
.faq details{border-bottom:1px solid var(--line);padding:14px 0}
.faq summary{cursor:pointer;font-weight:600;list-style:none;display:flex;justify-content:space-between;align-items:baseline;gap:16px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--primary);font-weight:600;flex:0 0 auto}
.faq details[open] summary::after{content:"–"}
.faq details p{margin:10px 0 0;color:var(--muted)}
/* phones: smaller headline, a touch more air in running text */
@media (max-width:560px){
  body{font-size:16px;line-height:1.7}
  h1{font-size:34px;line-height:1.15;margin-bottom:16px}
  .shelf{padding:20px}
  .prose h2{margin-top:32px;padding-top:18px}
}



/* ---------- design review round 8: shelf CTA, phone spacing (2026-11-21) ---------- */
.shelf-go{
  align-self:flex-start;display:inline-flex;align-items:center;gap:8px;
  padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:var(--bg);
  font-weight:600;font-size:14px;color:var(--primary);
}
.shelf:hover .shelf-go{border-color:var(--primary);background:var(--surface)}
.hero .lede{max-width:44em}
@media (max-width:560px){
  .nav{gap:2px 14px}
  .shelf{padding:20px 16px}
}


/* ---------- home v2 (scoped: only .home-v2 / .home-* — global tokens untouched) ---------- */
.home-v2 .home-hero{padding:32px 0 48px;border-bottom:1px solid var(--line);overflow:hidden}
.home-hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:48px;align-items:center}
.home-v2 .home-hero h1{font-size:clamp(34px,3.2vw + 16px,52px);max-width:15ch;margin-bottom:16px}
.home-v2 .home-hero .lede{max-width:46ch;margin-bottom:24px}
.home-facts{list-style:none;padding:0;margin:0 0 32px;display:flex;flex-wrap:wrap;gap:8px;max-width:none}
.home-facts li{margin:0;padding:6px 14px;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-size:14px;font-weight:600;color:var(--ink-strong)}
.home-cta{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px}
.home-cta-link{font-weight:600;font-size:15px;color:var(--primary);border-bottom:2px solid rgb(169 74 38 / .3);padding-bottom:2px}
.home-cta-link:hover{border-bottom-color:var(--primary)}
/* the pile: three sheets torn out of a coloring book, fanned on the desk */
.home-pile{position:relative;height:440px;max-width:420px;width:100%;justify-self:center}
.home-sheet{position:absolute;top:24px;left:50%;width:62%;aspect-ratio:4/5;background:#fff;border:1px solid var(--line);border-radius:4px;box-shadow:0 8px 24px rgb(43 33 24 / .08);overflow:hidden}
.home-sheet::before{content:"";position:absolute;inset:0 0 auto 0;height:10px;background:radial-gradient(circle at 6px 0,var(--bg) 4px,transparent 5px) 0 0/14px 10px repeat-x}
.home-sheet img{width:100%;height:100%;object-fit:contain;padding:18px 12px 12px}
.home-sheet:nth-child(1){transform:translateX(-92%) rotate(-7deg);z-index:1}
.home-sheet:nth-child(2){transform:translateX(-50%) translateY(-12px) rotate(1.5deg);z-index:3}
.home-sheet:nth-child(3){transform:translateX(-8%) rotate(8deg);z-index:2}
.home-sheet:nth-child(n+4){display:none}
.home-sheet:empty{background:#fff repeating-linear-gradient(0deg,transparent 0 27px,rgb(63 110 168 / .12) 27px 28px)}
/* entry cards: each category gets its own crayon down the left edge */
.home-entries-wrap .section-title{margin-top:56px}
.home-entries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:16px 0 8px}
.home-entry{position:relative;display:flex;flex-direction:column;gap:8px;height:100%;padding:28px 28px 24px 40px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);color:var(--text);transition:transform .18s ease,box-shadow .18s ease}
.home-entry::before{content:"";position:absolute;left:14px;top:24px;bottom:24px;width:8px;border-radius:4px;background:var(--crayon,var(--primary))}
.home-entry--a{--crayon:#a94a26}.home-entry--b{--crayon:#e0a03a}.home-entry--c{--crayon:#4a7c59}.home-entry--d{--crayon:#3f6ea8}
.home-entry:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgb(43 33 24 / .08);color:var(--text)}
.home-entry .entry-title{font-size:22px;margin:0}
.home-entry p{margin:0;color:var(--ink-soft);font-size:15px;max-width:none}
.home-tags{margin-top:auto;padding-top:8px;font-size:13px;font-weight:600;color:var(--ink-strong)}
/* newest */
.home-newest{margin-top:64px;padding-top:48px;border-top:1px solid var(--line)}
.home-newest-head .section-title{margin-top:0}
.home-v2 .card-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.home-prose{margin-top:16px}
@media (max-width:1100px){.home-v2 .card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:860px){
  .home-hero-grid{grid-template-columns:1fr;gap:24px}
  .home-pile{height:300px;max-width:300px}
}
@media (max-width:640px){
  .home-v2 .home-hero{padding:16px 0 32px}
  .home-pile{height:220px;max-width:240px}
  .home-sheet{top:16px}
  .home-entries{grid-template-columns:1fr;gap:16px}
  .home-entry{padding:20px 20px 20px 36px}
  .home-entry::before{left:12px;top:20px;bottom:20px;width:6px}
  .home-cta .btn-primary{width:100%}
  .home-v2 .card-grid{grid-template-columns:1fr}
  .home-newest{margin-top:48px;padding-top:32px}
}
@media print{.home-pile{display:none}}


/* ---- 2026-11-21 首页 v2 审稿四条（追加覆盖，勿删） ---- */
/* 1. 入口卡底部标签：原来的土黄/橄榄绿在米色底上对比度不足，改成正文字色 */
.home-entries .home-entry .home-tags{color:var(--text);opacity:.82;font-weight:600;letter-spacing:.01em}
/* 2. 叠纸阴影改弥散，不再生硬 */
.home-pile .home-sheet{box-shadow:0 10px 30px var(--line)}
/* 3. 手机：导航改横向可滑、不换行堆两排，首屏不再被头部吃掉 */
@media (max-width:768px){
  .nav{display:flex;flex-wrap:nowrap;overflow-x:auto;min-width:0;max-width:100%;gap:16px;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding-bottom:2px}
  .nav::-webkit-scrollbar{display:none}
  .nav a{flex:0 0 auto;white-space:nowrap}
  .head-inner{flex-wrap:nowrap;align-items:center;gap:12px}
  .head-inner .brand{flex:0 0 auto}
  /* 4. 手机首屏叠纸完整落在首屏内，不再只露一半 */
  .home-hero{padding-bottom:8px}
  .home-pile{margin:0 auto;max-width:320px;padding-bottom:20px}
}
@media (max-width:400px){
  .home-pile{max-width:280px}
  .home-hero h1{font-size:clamp(28px,8.4vw,34px)}
}

/* 手机导航：右缘渐隐提示可滑动，避免单词被硬切；点击热区加大 */
@media (max-width:768px){
  .nav{padding-right:28px;-webkit-mask-image:linear-gradient(to right,currentColor 80%,transparent 100%);mask-image:linear-gradient(to right,currentColor 80%,transparent 100%)}
  .nav a{padding:8px 4px}
}



/* ---------- round 8 (2026-11-21): 手机导航不截断、首屏塞下按钮、按钮热区、正文对比度 ---------- */
:root{--muted:#5d4e40}
.home-cta{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px}
.home-cta .home-cta-link{display:inline-flex;align-items:center;min-height:44px;font-weight:600}
.home-pile{padding-right:clamp(0px,2vw,28px)}
.card-actions{gap:8px}
.card-actions .btn{min-height:44px;padding:0 14px;font-size:13px;flex:1 1 45%;min-width:104px}
@media (max-width:640px){
  .site-head .head-inner{gap:4px 12px;padding-block:8px}
  .site-head .nav{width:100%;display:flex;flex-wrap:wrap;gap:2px 14px;font-size:var(--fs-sm)}
  .site-head .nav a{padding-block:7px;border-bottom:0}
  .home-hero h1{font-size:clamp(28px,8vw,38px);line-height:1.12;margin-bottom:12px}
  .home-hero .lede{max-width:34ch;font-size:16px}
  .home-hero-grid{padding-block:14px 4px}
  .home-cta{gap:10px}
  .home-cta .btn-primary{width:100%;min-width:0}
  .home-facts{display:flex;flex-wrap:wrap;gap:6px 14px;margin-block:10px}
  .hero h1,.page .hero h1,.hub .hero h1{font-size:clamp(28px,8vw,38px)}
}



/* ---------- round 9 (2026-11-21): 手机导航收成收展菜单、首屏图露一角、双按钮主次、卡片标签对比度 ---------- */
.nav-drawer{display:block}
.nav-drawer>summary{display:none}
.nav-drawer>.nav{display:flex}
.home-cta{gap:16px 20px}
.home-cta .home-cta-link{border:1px solid var(--line);border-radius:999px;background:var(--surface);padding:0 18px;text-decoration:none}
.home-entry .home-tags,.home-entry .cat-tags{color:var(--text)}
.card-actions .btn:first-child{background:var(--primary);border-color:var(--primary);color:var(--surface)}
.card-actions .btn:last-child{background:transparent;border-color:var(--primary);color:var(--primary)}
.home-pile{overflow:hidden}
@media (max-width:768px){
  .head-inner{position:relative}
  .site-head .nav{width:auto;flex-wrap:nowrap;gap:0}
  .nav-drawer{margin-left:auto}
  .nav-drawer>summary{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 14px 0 16px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--text);font-family:var(--font-body);font-size:var(--fs-sm);font-weight:600;letter-spacing:.01em;cursor:pointer;list-style:none}
  .nav-drawer>summary::-webkit-details-marker{display:none}
  .nav-drawer>summary::after{content:"\25BE";font-size:12px;color:var(--muted)}
  .nav-drawer:not([open])>.nav{display:none}
  .nav-drawer[open]>summary{border-color:var(--primary)}
  .nav-drawer[open]>.nav{display:flex;flex-direction:column;position:absolute;left:0;right:0;top:100%;z-index:40;margin-top:10px;padding:6px 18px 10px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 14px 30px rgb(43 33 24 / .14)}
  .nav-drawer[open]>.nav a{padding-block:12px;border-bottom:1px solid var(--line);font-size:15px}
  .nav-drawer[open]>.nav a:last-child{border-bottom:0}
  .home-hero-grid{padding-block:10px 0;gap:16px}
  .home-hero h1{font-size:clamp(25px,6.8vw,32px);line-height:1.15;margin-bottom:10px}
  .home-hero .lede{font-size:15.5px;max-width:34ch;margin-bottom:12px}
  .home-facts{display:none}
  .home-hero .home-pile{max-height:34vh;overflow:hidden;display:flex;align-items:flex-end}
  .home-cta .btn-primary{width:100%;min-width:0}
  .home-cta .home-cta-link{width:100%;justify-content:center}
}



/* ---------- round 10 (2026-11-21): 手机导航改 checkbox 抽屉（不依赖 details 默认行为），桌面导航必定常显 ---------- */
.nav-check,.nav-btn{display:none}
.site-head .nav{display:flex}
@media (max-width:768px){
  .head-inner{position:relative;flex-wrap:wrap}
  .site-head .nav{width:auto;flex-wrap:nowrap;gap:0;margin-left:auto}
  .nav-btn{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 15px 0 17px;border:1.5px solid var(--line);border-radius:999px;background:var(--surface);color:var(--text);font-family:var(--font-body);font-size:var(--fs-sm);font-weight:600;letter-spacing:.01em;cursor:pointer;order:2}
  .nav-btn-caret{font-size:12px;color:var(--muted);line-height:1}
  .site-head .nav{order:3;position:absolute;left:0;right:0;top:100%;z-index:40;display:none;flex-direction:column;margin-top:10px;padding:6px 18px 10px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 14px 30px rgb(43 33 24 / .14)}
  .nav-check:checked~.nav{display:flex}
  .nav-check:checked~.nav-btn{border-color:var(--primary)}
  .site-head .nav a{width:100%;padding-block:12px;border-bottom:1px solid var(--line);font-size:15px}
  .site-head .nav a:last-child{border-bottom:0}
  .brand{order:1}
}


/* round 10b: 键盘可达（checkbox 保留焦点能力，不靠 hidden 属性） */
@media (max-width:768px){
  .nav-check{position:absolute;width:1px;height:1px;margin:0;padding:0;opacity:0;pointer-events:none;clip-path:inset(50%);display:block}
  .nav-check:focus-visible~.nav-btn{outline:2px solid var(--primary);outline-offset:3px}
}
@media (min-width:769px){
  .nav-check{display:none}
}


/* round 11 (2026-11-21): 桌面导航拉开间距、手机 Menu 加嫩掂图标与 44px 热区、手机副 CTA 降级为文字链 */
@media (min-width:769px){
  .site-head .nav{gap:22px}
}
@media (max-width:768px){
  .nav-btn{min-width:44px;min-height:44px;padding:0 15px 0 16px}
  .nav-btn::before{content:"";width:15px;height:2px;background:currentColor;box-shadow:0 5px 0 currentColor,0 -5px 0 currentColor;margin-right:2px}
  .home-cta .home-cta-link{width:auto;align-self:center;border:0;background:transparent;padding:0 2px;min-height:40px;text-decoration:underline;text-underline-offset:3px;font-weight:600}
}
