/* Teaching Primary Music. Part 1 is the approved home page mock-up's own style (redesign/option-b.html),
   copied as it is; part 2 (tools/notebook.css) is every other page in the same style. Built by tools/build_site.py. */
/* Built from her banner: ruled notebook paper, tall hand lettering, the clay rule under it. */
:root{
  --paper:#f8fbfc; --rule:#d9e9ef; --ink:#1b2a2e; --soft:#44575b; --teal:#1f5950; --clay:#cf7f5a; --clay-deep:#b3613d;
  --tan:#f1d892; --sky:#afcad2; --card:#ffffff;
  --hand:"Amatic SC","Arial Narrow",sans-serif; --note:"Caveat",cursive; --body:"Karla","Helvetica Neue",sans-serif;
  --line:34px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--body);font-size:19px;line-height:var(--line);color:var(--ink);
  background:var(--paper) repeating-linear-gradient(180deg,transparent 0,transparent calc(var(--line) - 1.5px),var(--rule) calc(var(--line) - 1.5px),var(--rule) var(--line));}
img{max-width:100%;display:block}
a{color:inherit}
.wrap{max-width:1200px;margin:0 auto;padding:0 40px;position:relative}
h1,h2,h3{font-family:var(--hand);font-weight:700;margin:0;letter-spacing:.02em;text-transform:uppercase}

/* header */
.top{background:var(--paper);border-bottom:3px solid var(--clay);position:relative;z-index:2}
.top .wrap{display:flex;align-items:center;gap:28px;height:78px}
.mark{font-family:var(--hand);font-weight:700;font-size:36px;letter-spacing:.04em;text-transform:uppercase;text-decoration:none;display:flex;align-items:center;gap:10px;white-space:nowrap}
.mark svg{width:26px;height:34px}
.top nav{margin-left:auto;display:flex;gap:22px;font-size:16.5px;font-weight:500;white-space:nowrap}
.top nav a{text-decoration:none}
.top nav a[aria-current]{box-shadow:inset 0 -9px 0 var(--tan)}
.find{display:flex;align-items:center;gap:8px;border:2px solid var(--ink);border-radius:999px;padding:0 16px;height:42px;font-size:16px;color:var(--soft);background:#fff;width:140px;flex:none}
.find svg{width:15px;height:15px;flex:none}
.burger{display:none}

/* hero */
.hero .wrap{display:grid;grid-template-columns:1.25fr .75fr;gap:56px;align-items:center;padding-top:68px;padding-bottom:102px}
.hero h1{font-size:176px;line-height:.86;letter-spacing:.01em}
.hero h1 span{display:block;white-space:nowrap}
.hero h1 .u{position:relative;display:inline-block}
.hero h1 .u svg{position:absolute;left:-2%;bottom:-.14em;width:104%;height:.2em;overflow:visible}
.hero p{font-size:22px;line-height:var(--line);max-width:27em;margin:44px 0 34px}
.cta{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.go{display:inline-flex;align-items:center;gap:10px;background:var(--teal);color:#fff;text-decoration:none;font-weight:700;font-size:18px;padding:0 28px;height:58px;border-radius:999px}
.go svg{width:18px;height:18px}
.hero .find{height:58px;width:250px;font-size:18px}
.snap{justify-self:center;position:relative;background:#fff;padding:14px 14px 58px;box-shadow:0 22px 44px -22px rgba(27,42,46,.5),0 2px 0 rgba(27,42,46,.06);transform:rotate(2.4deg);width:360px}
.snap img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:50% 18%}
.snap figcaption{position:absolute;left:0;right:0;bottom:12px;text-align:center;font-family:var(--note);font-size:30px;line-height:1;color:var(--ink)}
.snap:before,.snap:after{content:"";position:absolute;width:104px;height:30px;background:rgba(241,216,146,.86);top:-14px}
.snap:before{left:-30px;transform:rotate(-34deg)}
.snap:after{right:-30px;transform:rotate(31deg)}
figure{margin:0}
.doodle{position:absolute;color:var(--sky);pointer-events:none}
.doodle.n1{width:54px;right:38%;top:54px;transform:rotate(-12deg)}
.doodle.n2{width:38px;right:6%;bottom:70px;color:var(--clay);transform:rotate(14deg)}

/* four ways in: index cards */
.ways{padding-bottom:102px}
.ways .wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
.cardlink{background:var(--card);border:1.5px solid #cfdfe5;border-top:0;position:relative;padding:34px 24px 26px;display:flex;flex-direction:column;text-decoration:none;box-shadow:0 14px 28px -20px rgba(27,42,46,.45)}
.cardlink:before{content:"";position:absolute;left:-1.5px;right:-1.5px;top:0;height:12px;background:var(--tab)}
.cardlink:nth-child(1){--tab:var(--sky);transform:rotate(-.7deg)}
.cardlink:nth-child(2){--tab:var(--clay);transform:rotate(.5deg) translateY(10px)}
.cardlink:nth-child(3){--tab:var(--tan);transform:rotate(-.4deg)}
.cardlink:nth-child(4){--tab:var(--teal);transform:rotate(.8deg) translateY(8px)}
.cardlink svg.ic{width:46px;height:46px;color:var(--ink);margin:6px 0 8px}
.cardlink h2{font-size:56px;line-height:1}
.cardlink p{font-size:17px;line-height:26px;margin:10px 0 20px;color:var(--soft)}
.more{margin-top:auto;font-weight:700;font-size:17px;display:inline-flex;gap:8px;align-items:center;color:var(--clay-deep)}
.more svg{width:16px;height:16px}

/* meet */
.meet{background:var(--tan);position:relative}
.meet:before,.meet:after{content:"";position:absolute;left:0;right:0;height:14px;background:radial-gradient(circle at 12px -4px,transparent 11px,var(--tan) 12px) 0 0/24px 14px repeat-x}
.meet:before{top:-13px}
.meet:after{bottom:-13px;transform:scaleY(-1)}
.meet .wrap{padding-top:78px;padding-bottom:84px;display:grid;grid-template-columns:300px 1fr;gap:26px 64px}
.meet h2{font-size:112px;line-height:.9}
.meet h2 small{display:block;font-size:54px;font-weight:400;letter-spacing:.06em}
.meet .text{display:grid;grid-template-columns:1.3fr 1fr;gap:44px;font-size:18.5px;line-height:30px}
.meet .text p{margin:0 0 16px}
.meet .text p:last-child{margin-bottom:0}
.class{grid-column:1/-1;margin-top:22px;position:relative}
.class img{width:100%;aspect-ratio:1860/620;object-fit:cover;object-position:30% 40%;border:12px solid #fff;box-shadow:0 20px 40px -24px rgba(27,42,46,.55)}
.class figcaption{font-family:var(--note);font-size:27px;line-height:1;margin-top:14px;text-align:right;color:var(--ink)}

/* book */
.book .wrap{padding-top:112px;padding-bottom:102px}
.sheet{background:#fff;border:1.5px solid #cfdfe5;box-shadow:0 24px 50px -30px rgba(27,42,46,.5)}
.sheet .banner{width:100%;border-bottom:0}
.sheet .in{display:grid;grid-template-columns:230px 1fr;gap:56px;padding:46px 56px 52px;align-items:center}
.sheet .cover{width:230px;transform:rotate(-2.5deg);box-shadow:0 16px 30px -16px rgba(27,42,46,.55)}
.book h2{font-size:96px;line-height:.9;margin-bottom:22px}
.book ul{list-style:none;margin:0 0 20px;padding:0;font-size:20px;line-height:32px}
.book li{position:relative;padding-left:40px;margin-bottom:8px}
.book li:before{content:"";position:absolute;left:0;top:5px;width:21px;height:21px;border:2.5px solid var(--ink);border-radius:3px}
.book li:after{content:"";position:absolute;left:4px;top:-1px;width:24px;height:22px;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M3 12l6 6L22 3' fill='none' stroke='%23cf7f5a' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.book .answer{font-weight:700;font-size:21px;line-height:31px;margin:0 0 26px;max-width:28em}
.buy{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.go.clay{background:var(--clay-deep)}
.go.line{background:#fff;color:var(--ink);border:2.5px solid var(--ink)}
.also{font-family:var(--note);font-size:26px;line-height:1;margin:18px 0 0;color:var(--soft)}

/* newsletter: a sign-up sheet */
.news{background:var(--teal);color:#fff}
.news .wrap{display:grid;grid-template-columns:auto 1fr;gap:56px;align-items:end;padding-top:54px;padding-bottom:58px}
.news h2{font-size:64px;line-height:.95;max-width:7.2em}
.news form{display:grid;grid-template-columns:1fr 1fr 1.4fr auto;gap:22px;align-items:end}
.blank{border-bottom:2.5px solid rgba(255,255,255,.75);padding:0 2px 6px;font-size:18px;color:rgba(255,255,255,.82)}
.news .go{background:var(--tan);color:var(--ink)}

footer{background:var(--paper);border-top:3px solid var(--clay)}
footer .wrap{display:flex;align-items:center;gap:30px;height:96px;font-size:16px}
footer nav{display:flex;gap:26px;margin-left:auto;font-weight:500}
footer .fb{width:40px;height:40px;border-radius:50%;background:var(--ink);display:grid;place-items:center}
footer .fb svg{width:18px;height:18px;fill:#fff}

@media (max-width:820px){
  :root{--line:30px}
  body{font-size:17px}
  .wrap{padding:0 22px}
  .top .wrap{height:64px;gap:12px}
  .mark{font-size:30px}
  .mark svg{width:20px;height:27px}
  .top nav,.top .find{display:none}
  .burger{display:block;margin-left:auto;width:28px;height:18px;border-top:2.5px solid var(--ink);border-bottom:2.5px solid var(--ink);position:relative}
  .burger:after{content:"";position:absolute;left:0;right:0;top:5.25px;border-top:2.5px solid var(--ink)}
  .hero .wrap{grid-template-columns:1fr;gap:40px;padding-top:36px;padding-bottom:70px}
  .hero h1{font-size:82px;line-height:.9}
  .hero p{font-size:18.5px;margin:30px 0 24px}
  .go{height:54px;padding:0 24px;font-size:17px}
  .hero .find{height:54px;flex:1;min-width:0;width:auto}
  .snap{width:268px;padding:11px 11px 50px;transform:rotate(2.4deg)}
  .snap figcaption{font-size:27px;bottom:11px}
  .doodle.n1{right:8%;top:22px;width:40px}
  .doodle.n2{display:none}
  .ways{padding-bottom:76px}
  .ways .wrap{grid-template-columns:1fr;gap:18px}
  .cardlink{padding:28px 20px 18px;display:grid;grid-template-columns:44px 1fr;column-gap:14px;align-items:center}
  .cardlink:nth-child(n){transform:none}
  .cardlink:nth-child(odd){transform:rotate(-.5deg)}
  .cardlink:nth-child(even){transform:rotate(.5deg)}
  .cardlink svg.ic{width:40px;height:40px;margin:0}
  .cardlink h2{font-size:46px}
  .cardlink p{grid-column:1/-1;font-size:16.5px;line-height:25px;margin:8px 0 10px}
  .more{grid-column:1/-1;font-size:16.5px}
  .meet .wrap{grid-template-columns:1fr;gap:18px;padding-top:54px;padding-bottom:58px}
  .meet h2{font-size:84px}
  .meet h2 small{font-size:40px}
  .meet .text{grid-template-columns:1fr;gap:0;font-size:17px;line-height:28px}
  .class{margin-top:8px}
  .class img{aspect-ratio:4/3;object-position:22% 50%;border-width:9px}
  .class figcaption{font-size:24px}
  .book .wrap{padding-top:78px;padding-bottom:70px}
  .sheet .in{grid-template-columns:1fr;gap:26px;padding:30px 20px 34px}
  .sheet .cover{width:150px;margin:0 auto}
  .book h2{font-size:72px;text-align:center}
  .book ul{font-size:17.5px;line-height:27px}
  .book .answer{font-size:18px;line-height:27px}
  .buy .go{flex:1;justify-content:center;padding:0 12px}
  .also{text-align:center;font-size:24px}
  .news .wrap{grid-template-columns:1fr;gap:26px;padding-top:44px;padding-bottom:48px}
  .news h2{font-size:52px;max-width:none}
  .news form{grid-template-columns:1fr 1fr;gap:26px 18px}
  .news .blank.wide,.news .go{grid-column:1/-1;justify-content:center}
  footer .wrap{flex-direction:column;height:auto;gap:16px;padding-top:26px;padding-bottom:30px}
  footer nav{margin:0;flex-wrap:wrap;justify-content:center;gap:10px 22px}
}

/* ---------------------------------------------------------------- part 2: every other page, same notebook */

img[height]{height:auto}

/* header extras: a working search box and a real menu button, drawn like the mock-up */
.find input{border:0;background:transparent;font:inherit;color:var(--ink);width:100%;min-width:0;padding:0;outline:0}
.find input::placeholder{color:var(--soft);opacity:1}
.find:focus-within{box-shadow:0 0 0 3px var(--tan)}
.find input::-webkit-search-cancel-button{display:none}
.menu-search{display:none}
button.burger{background:none;border-left:0;border-right:0;padding:0;cursor:pointer;color:var(--ink)}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--clay);outline-offset:3px}
.top .wrap{position:relative}

.narrow{max-width:960px}

/* the page head: on the ruled paper, hand lettering */
.post-head{padding:56px 0 34px}
.post-head h1{font-size:80px;line-height:.95;max-width:15em;text-wrap:balance}
.crumb{margin:0 0 6px;font-family:var(--note);font-size:28px;line-height:1}
.crumb a{text-decoration:none;color:var(--clay-deep)}
.crumb a:before{content:"\2190\00a0"}
.post-meta{margin:18px 0 0;display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;font-size:16px;line-height:26px}
.post-meta time{font-family:var(--note);font-size:26px;color:var(--soft);margin-right:6px}
.chip{display:inline-block;font-size:14.5px;line-height:22px;font-weight:500;padding:2px 11px;border-radius:999px;background:#fff;border:1.5px solid #cfdfe5;text-decoration:none;color:var(--ink)}
.chip:hover{border-color:var(--teal)}
.lead{font-size:20px;line-height:var(--line);max-width:34em;margin:20px 0 0;color:var(--soft)}

/* the sheet of paper the words sit on */
.paper{background:#fff;border:1.5px solid #cfdfe5;box-shadow:0 24px 50px -30px rgba(27,42,46,.45);position:relative;padding:52px 64px 56px 92px}
.paper:before{content:"";position:absolute;top:0;bottom:0;left:62px;border-left:2px solid rgba(207,127,90,.5)}

/* long reading: Karla, never the hand lettering */
.prose{font-size:19px;line-height:32px;overflow-wrap:break-word}
.prose>*:first-child{margin-top:0}
.prose p{margin:0 0 18px}
.prose h1,.prose h2{font-size:48px;line-height:1;margin:40px 0 16px}
.prose h3{font-size:36px;line-height:1.05;margin:34px 0 12px}
.prose h4,.prose h5,.prose h6{font-family:var(--body);font-weight:700;font-size:20px;line-height:28px;margin:28px 0 10px;text-transform:none;letter-spacing:0}
.prose a{color:var(--teal);text-decoration-color:var(--clay);text-decoration-thickness:2px;text-underline-offset:3px}
.prose a:hover{color:var(--clay-deep)}
.prose ul,.prose ol{margin:0 0 18px;padding-left:26px}
.prose li{margin:0 0 6px}
.prose li::marker{color:var(--clay-deep)}
.prose blockquote{margin:24px 0;padding:4px 0 4px 22px;border-left:4px solid var(--tan);font-style:italic}
.prose hr{border:0;height:14px;margin:30px 0;background:no-repeat center/120px 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14'%3E%3Cpath d='M3 8c18-6 30 5 48 0s30-6 66-1' fill='none' stroke='%23cf7f5a' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E")}
.prose table{border-collapse:collapse;margin:0 0 18px;font-size:17px;line-height:26px}
.prose td,.prose th{border:1px solid #cfdfe5;padding:6px 10px;vertical-align:top}
.prose strong{font-weight:700}

/* pictures in a post: plain, with a white edge; captions in the handwriting */
.prose figure.pic{margin:26px 0}
.prose figure.pic img{height:auto;width:auto;max-height:640px;margin:0 auto;border:1px solid #e1ecef}
.prose>figure.pic:first-child,.prose>.snap.cover:first-child+figure.pic{margin-top:0}
.prose figure.pic figcaption{font-family:var(--note);font-size:24px;line-height:1.2;text-align:center;margin-top:10px;color:var(--soft)}
.prose figure.pic figcaption p{margin:0}
.prose a.zoom{display:block;text-decoration:none}
.prose p img{display:inline-block;vertical-align:middle;height:auto}
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin:22px 0}
.gallery figure.pic{margin:0}
.prose .gallery figure.pic img{width:100%;max-height:none;aspect-ratio:1;object-fit:cover}

/* the cover picture, taped on like the home page snapshot (only when the post doesn't show it already) */
.prose .snap.cover{float:right;width:300px;margin:-8px -14px 22px 30px;padding:10px 10px 12px;transform:rotate(1.6deg)}
.prose .snap.cover img{aspect-ratio:auto;height:auto}
.prose .snap.cover:before,.prose .snap.cover:after{width:78px;height:24px;top:-11px}

/* videos and documents */
.embed{position:relative;aspect-ratio:16/9;margin:26px 0;background:#e8f0f2}
.embed.doc{aspect-ratio:4/3}
.embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.embedcap{font-family:var(--note);font-size:24px;text-align:center}
.prose video{width:100%;margin:22px 0;background:#000}

/* buttons and downloads */
.btnrow{margin:24px 0}
.prose a.btn{display:inline-flex;align-items:center;gap:10px;background:var(--teal);color:#fff;text-decoration:none;font-weight:700;font-size:18px;line-height:24px;padding:15px 26px;border-radius:999px}
.prose a.btn:hover{background:var(--clay-deep);color:#fff}
.prose a.dl{background:linear-gradient(transparent 58%,rgba(241,216,146,.75) 58%);text-decoration:none;color:var(--ink);font-weight:700;padding:0 2px}
.prose a.dl:before{content:"";display:inline-block;width:15px;height:18px;margin-right:6px;vertical-align:-2px;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 18'%3E%3Cpath d='M2 1.5h7l4.5 4.5v10.5H2z M9 1.5V6h4.5' fill='none' stroke='%231f5950' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M7.5 8v6M5 11.5l2.5 2.5 2.5-2.5' fill='none' stroke='%23cf7f5a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.prose a.dl[data-meta]:after{content:attr(data-meta);font-weight:500;font-size:13.5px;color:var(--soft);margin-left:8px;white-space:nowrap}
.prose a.btn.dl{background:var(--teal);color:#fff}
.prose a.btn.dl:after{color:rgba(255,255,255,.8)}
.prose a.btn.dl:before{filter:brightness(0) invert(1)}
.files{display:flex;flex-wrap:wrap;gap:6px 18px}

/* tags, older and newer */
.tags{display:flex;flex-wrap:wrap;gap:8px;margin:26px 0 0}
.tagchip{background:transparent}
.pn{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:40px 0 0}
.pn a{display:block;text-decoration:none;background:#fff;border:1.5px solid #cfdfe5;padding:16px 20px;font-weight:700;font-size:17px;line-height:24px}
.pn a span{display:block;font-family:var(--note);font-weight:500;font-size:24px;line-height:1;color:var(--clay-deep);margin-bottom:4px}
.pn .newer{text-align:right}
.pn a:hover{border-color:var(--teal)}

/* comments: read only, oldest first, replies nested, hers marked */
.comments{margin:64px 0 0}
.comments h2{font-size:64px;line-height:1;margin-bottom:20px;display:flex;align-items:baseline;gap:14px}
.comments h2 .count{font-family:var(--note);font-size:30px;font-weight:500;color:var(--clay-deep);letter-spacing:0;text-transform:none}
.thread{list-style:none;margin:0;padding:0}
.thread .thread{margin:0 0 0 30px;padding-left:18px;border-left:2px dotted #b8ccd2}
.c{background:#fff;border:1.5px solid #dbe7eb;padding:14px 20px 4px;margin:0 0 14px;font-size:17px;line-height:27px}
.c.mine{background:#fdf6e3;border-color:#ecd9a4;box-shadow:inset 4px 0 0 var(--clay)}
.c-meta{margin:0 0 6px;display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline}
.c-meta time{font-size:14.5px;color:var(--soft)}
.c .tag{font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;background:var(--clay-deep);color:#fff;padding:1px 8px;border-radius:999px}
.c-body p{margin:0 0 10px}
.c-body a{color:var(--teal)}

/* lists of posts: blog, categories, tags, search */
.cats{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.jump{display:flex;flex-wrap:wrap;gap:6px 8px;margin:0 0 30px}
.jump a{font-family:var(--note);font-size:24px;line-height:1;text-decoration:none;padding:6px 10px;border-bottom:3px solid var(--tan)}
.jump a:hover{border-color:var(--clay)}
.year h2{font-size:88px;line-height:1;margin:34px 0 12px;color:var(--teal)}
.postlist{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.postlist a{display:grid;grid-template-columns:96px 1fr;gap:18px;align-items:center;text-decoration:none;background:#fff;border:1.5px solid #dbe7eb;padding:12px 18px 12px 12px;box-shadow:0 10px 22px -20px rgba(27,42,46,.5)}
.postlist a:hover{border-color:var(--teal)}
.results a{grid-template-columns:1fr;padding:14px 20px}
.thumb{width:96px;height:96px;overflow:hidden;background:#eef5f7;display:block}
.thumb img{width:96px;height:96px;object-fit:cover}
.thumb.blank{display:grid;place-items:center;color:var(--sky);background:repeating-linear-gradient(180deg,#fff 0,#fff 11px,var(--rule) 11px,var(--rule) 12px)}
.thumb.blank svg{width:28px;height:36px}
.rt{display:block;min-width:0}
.rt time{display:block;font-family:var(--note);font-size:22px;line-height:1;color:var(--clay-deep);margin-bottom:4px}
.rt strong{display:block;font-size:18.5px;line-height:25px}
.rt .ex{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:15.5px;line-height:23px;color:var(--soft);margin-top:4px}
.status{font-family:var(--note);font-size:26px;margin:16px 0 10px}
.find.big{width:100%;height:58px;font-size:19px;margin:0 0 6px}

/* the two big indexes: fast to scan, each entry folds open */
.indexpage{padding-left:92px}
.folds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;margin:14px 0 30px;align-items:start}
.songs .folds{grid-template-columns:repeat(3,minmax(0,1fr))}
.fold{background:var(--paper);border:1.5px solid #d3e2e7;border-top:5px solid var(--sky)}
.folds .fold:nth-child(4n+2){border-top-color:var(--clay)}
.folds .fold:nth-child(4n+3){border-top-color:var(--tan)}
.folds .fold:nth-child(4n){border-top-color:var(--teal)}
.fold[open]{grid-column:1/-1;background:#fff;box-shadow:0 18px 30px -24px rgba(27,42,46,.55)}
.fold summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 16px;font-weight:700;font-size:17.5px;line-height:24px}
.fold summary::-webkit-details-marker{display:none}
.fold summary:after{content:"+";font-family:var(--body);font-size:26px;font-weight:400;color:var(--clay-deep);line-height:1;flex:none}
.fold[open] summary:after{content:"\2013"}
.fold-body{padding:2px 22px 10px;font-size:17.5px;line-height:29px}
.fold-body p{margin:0 0 12px}
.activity .prose h1,.activity .prose h2,.activity .prose h3{scroll-margin-top:20px}
.activity .jump{position:sticky;top:0;z-index:3;background:var(--paper);margin:0 -10px 24px;padding:10px;border-bottom:1.5px solid var(--rule)}

/* props: each one an index card */
.propgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:26px}
.prop{background:var(--paper);border:1.5px solid #d3e2e7;border-top:6px solid var(--tan);padding:16px 18px 6px;font-size:16.5px;line-height:26px}
.prop:nth-child(3n+2){border-top-color:var(--sky)}
.prop:nth-child(3n){border-top-color:var(--clay)}
.prop figure.pic{margin:0 0 10px}
.prop figure.pic img{width:100%;aspect-ratio:4/3;object-fit:contain;background:#fff}
.prop h2,.prop h3,.prop h4{margin:6px 0 6px;font-size:36px}
.prop .btnrow{margin:6px 0 14px}
.prop a.btn{font-size:16px;padding:10px 20px}

/* resources: index cards like the home page's four ways in */
.cardgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;padding-bottom:30px}
.cardgrid .cardlink{transform:none;min-height:130px;display:flex;flex-direction:row;align-items:flex-end;justify-content:space-between;gap:16px}
.cardgrid .cardlink .more{margin:0 0 6px}
.p-podcast .prose :is(h1,h2,h3,h4)~figure.pic{display:inline-block;vertical-align:top;margin:6px 12px 6px 0}
.p-podcast .prose :is(h1,h2,h3,h4)~figure.pic img{width:84px;height:84px;object-fit:contain;border-radius:18px}
.cardgrid .cardlink:nth-child(4n+1){--tab:var(--sky)}
.cardgrid .cardlink:nth-child(4n+2){--tab:var(--clay)}
.cardgrid .cardlink:nth-child(4n+3){--tab:var(--tan)}
.cardgrid .cardlink:nth-child(4n){--tab:var(--teal)}
.cardgrid .cardlink h2{font-size:46px}

/* the drawn (not connected) newsletter sheet on its own page */
.news.drawn{margin-top:40px}
.news.drawn .wrap{padding-left:40px;padding-right:40px}

main.page,main.post{padding-bottom:90px}

/* Start Here's opener: her banner's words as real text beside her own workshop photo (Jeremy picked A, 2 Dec 2026) */
.called{display:grid;grid-template-columns:1fr 46%;gap:38px;align-items:center;margin:8px 0 44px}
.called .q{font-family:var(--hand);font-weight:700;font-size:64px;line-height:1.02;letter-spacing:.02em;text-transform:uppercase;margin:0;text-wrap:balance}
.called .q u{text-decoration:none;box-shadow:inset 0 -13px 0 var(--tan);white-space:nowrap}
.called .a{font-family:var(--note);font-size:34px;line-height:1.1;color:#a9532f;margin:12px 0 0;transform:rotate(-1.5deg);transform-origin:left}
.called .snap{width:auto;justify-self:stretch;margin:0;padding:10px 10px 46px;transform:rotate(1.8deg)}
.called .snap img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;object-position:28% 30%}
.called .snap figcaption{font-size:21px;bottom:12px;white-space:nowrap}
.called .snap:before,.called .snap:after{width:78px;height:23px;top:-10px}
.called .snap:before{left:-22px}
.called .snap:after{right:-22px}
@media (max-width:820px){
  .called{grid-template-columns:1fr;gap:36px;margin-bottom:38px}
  .called .q{font-size:50px}
  .called .a{font-size:30px}
  .called .snap{width:88%;justify-self:center}
  .called .snap figcaption{font-size:19px;bottom:11px}
}

/* In-between widths (821 to 1419 px: small laptops, tablets on their side). The approved mock-up was drawn at
   1440 px and at phone width only, and its fixed sizes ran off the side in between (found on the draft, 2 Dec 2026).
   The headline and snapshot scale with the window; the header tightens, then uses the menu button. */
@media (min-width:821px) and (max-width:1419px){
  .hero h1{font-size:12.4vw}
  .hero .snap{width:min(360px,26vw)}
}
@media (min-width:1161px) and (max-width:1240px){
  .top .wrap{gap:18px}
  .top nav{gap:14px;font-size:16px}
}
@media (min-width:821px) and (max-width:1160px){
  .top nav,.top .find{display:none}
  .burger{display:block;margin-left:auto;width:28px;height:18px;border-top:2.5px solid var(--ink);border-bottom:2.5px solid var(--ink);position:relative}
  .burger:after{content:"";position:absolute;left:0;right:0;top:5.25px;border-top:2.5px solid var(--ink)}
  .top nav.open{display:flex;flex-direction:column;gap:0;position:absolute;left:0;right:0;top:100%;background:var(--paper);border-bottom:3px solid var(--clay);padding:6px 40px 14px;font-size:19px;box-shadow:0 18px 30px -24px rgba(27,42,46,.6)}
  .top nav.open a{line-height:46px;border-bottom:1.5px solid var(--rule)}
  .top nav.open a:last-child{border-bottom:0}
  .top nav.open .menu-search{display:block}
}

/* Long web addresses typed into posts and comments wrap, so they can't push a phone page sideways. */
body{overflow-wrap:break-word}
/* The phone headline shrinks on screens narrower than 400 px (it ran 14 px off a 360 px phone). */
@media (max-width:820px){
  .hero h1{font-size:min(82px,20.4vw)}
  /* The tape on her snapshot lay over the Start Here button (Jeremy, 2 Dec 2026): more room above the photo, smaller tape. */
  .hero .wrap{gap:66px}
  .hero .snap:before,.hero .snap:after{width:88px;height:26px;top:-11px}
  .hero .snap:before{left:-24px}
  .hero .snap:after{right:-24px}
}

@media (max-width:820px){
  .top nav.open{display:flex;flex-direction:column;gap:0;position:absolute;left:0;right:0;top:100%;background:var(--paper);border-bottom:3px solid var(--clay);padding:6px 22px 14px;font-size:19px;box-shadow:0 18px 30px -24px rgba(27,42,46,.6)}
  .top nav.open a{line-height:46px;border-bottom:1.5px solid var(--rule)}
  .top nav.open a:last-child{border-bottom:0}
  .top nav.open .menu-search{display:block}
  .post-head{padding:30px 0 22px}
  .post-head h1{font-size:50px;line-height:1}
  .crumb{font-size:25px}
  .post-meta time{font-size:23px}
  .lead{font-size:17.5px}
  .wrap.narrow{padding:0 14px}
  .post-head{padding-left:8px;padding-right:8px}
  .paper{padding:28px 20px 30px 34px}
  .paper:before{left:20px;border-left-width:1.5px}
  .prose{font-size:17.5px;line-height:29px}
  .prose h1,.prose h2{font-size:40px;margin-top:32px}
  .prose h3{font-size:32px}
  .prose h4,.prose h5,.prose h6{font-size:18.5px}
  .prose ul,.prose ol{padding-left:22px}
  .prose figure.pic img{max-height:520px}
  .post-meta .chip{font-size:13.5px;line-height:20px;padding:1px 9px}
  .post-meta{gap:6px 6px}
  .prose .snap.cover{float:none;width:auto;max-width:300px;margin:0 auto 24px}
  .pn{grid-template-columns:1fr;gap:12px}
  .pn .newer{text-align:left}
  .comments h2{font-size:52px}
  .thread .thread{margin-left:10px;padding-left:10px}
  .c{padding:12px 14px 2px;font-size:16px;line-height:25px}
  .year h2{font-size:68px}
  .postlist a{grid-template-columns:72px 1fr;gap:14px;padding:10px 14px 10px 10px}
  .results a{grid-template-columns:1fr}
  .thumb,.thumb img{width:72px;height:72px}
  .rt strong{font-size:17px;line-height:23px}
  .rt .ex{font-size:14.5px;line-height:21px}
  .jump a{font-size:22px;padding:5px 7px}
  .activity .jump{flex-wrap:nowrap;overflow-x:auto;margin:0 -14px 18px;padding:8px 14px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .activity .jump a{white-space:nowrap}
  .indexpage{padding-left:34px}
  .folds,.songs .folds{grid-template-columns:1fr;gap:8px}
  .fold summary{padding:10px 14px;font-size:16.5px}
  .fold-body{padding:0 14px 6px;font-size:16.5px;line-height:27px}
  .propgrid,.cardgrid{grid-template-columns:1fr;gap:16px}
  .cardgrid .cardlink{min-height:0;padding:26px 20px 16px}
  .cardgrid .cardlink h2{font-size:40px}
  .news.drawn .wrap{padding-left:22px;padding-right:22px}
  .find.big{height:54px}
}

/* New comments (comments/README.md, tools/comments.js): only on pages built with COMMENTS_API set.
   The form is a sheet of the same notebook paper; fields are drawn like the search box. */
.comments[hidden],.c-form[hidden],.c-replying[hidden]{display:none}
.c-form{background:#fff;border:1.5px solid #cfdfe5;box-shadow:0 24px 50px -30px rgba(27,42,46,.45);position:relative;padding:26px 30px 28px 56px;margin:26px 0 14px}
.c-form:before{content:"";position:absolute;top:0;bottom:0;left:34px;border-left:2px solid rgba(207,127,90,.5)}
.thread .c-form{margin:0 0 18px}
.c-form h3{font-family:var(--hand);font-size:44px;line-height:1;font-weight:700;margin:0 0 16px;color:var(--ink)}
.c-field{margin:0 0 16px}
.c-field label{display:block;font-weight:700;font-size:17px;margin:0 0 6px}
.c-opt{font-weight:400;color:var(--soft);font-size:15px}
.c-field input,.c-field textarea{display:block;width:100%;box-sizing:border-box;font:inherit;font-size:17px;line-height:26px;color:var(--ink);background:#fff;border:2px solid var(--ink);border-radius:14px;padding:10px 14px}
.c-field input{border-radius:999px;padding:10px 18px}
.c-field textarea{min-height:150px;resize:vertical}
.c-field input:focus,.c-field textarea:focus{outline:0;box-shadow:0 0 0 3px var(--tan)}
.c-note{font-family:var(--note);font-size:22px;line-height:26px;color:var(--clay-deep);margin:0 0 12px}
.c-status{margin:0 0 12px;font-weight:700}
.c-status:empty{display:none}
.c-check:empty{display:none}
.c-check{margin:0 0 12px}
.c-send,.c-reply,.c-cancel{font:inherit;cursor:pointer;border-radius:999px}
.c-send{background:var(--teal);color:#fff;border:0;font-weight:700;font-size:18px;line-height:24px;padding:13px 28px}
.c-send:hover{background:var(--clay-deep)}
.c-send:disabled{opacity:.6;cursor:default}
.c-reply{background:none;border:0;color:var(--teal);font-weight:700;font-size:15px;padding:4px 0;margin:-4px 0 8px;text-decoration:underline;text-underline-offset:3px}
.c-replying{margin:-6px 0 14px}
.c-cancel{background:#fff;border:2px solid var(--teal);color:var(--teal);font-weight:700;font-size:15px;padding:5px 16px}
.c-form :focus-visible{outline:3px solid var(--clay);outline-offset:3px}
@media (max-width:820px){
  .c-form{padding:20px 16px 22px 30px}
  .c-form:before{left:16px;border-left-width:1.5px}
  .c-form h3{font-size:38px}
  .c-send{width:100%}
}
/* end of new comments */
