:root {
  color-scheme: light;
  --paper:#faf8f2; --ink:#203b38; --pine:#194b45; --body:#354942;
  --muted:#56665d; --rule:#d5d6c9; --ochre:#a55224; --serif: Georgia,"Times New Roman",serif;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--body);font:1rem/1.65 var(--sans);-webkit-font-smoothing:antialiased}
a{color:var(--pine);text-underline-offset:.2em}
button,input,select{font:inherit}
button,a{touch-action:manipulation}
:focus-visible{outline:3px solid #9c4b11;outline-offset:4px}
:target{scroll-margin-top:1rem}
.skip{position:fixed;top:-7rem;left:1rem;padding:.7rem 1rem;background:#fff;z-index:20}
.skip:focus{top:.5rem}
.wrap,.mastinner{width:min(1192px,90%);margin-inline:auto}
.masthead{border-bottom:1px solid var(--rule)}
.mastinner,.footinner,.shelf-heading{display:flex;align-items:center;justify-content:space-between;gap:1.2rem}
.mastinner{min-height:81px}
.wordmark{display:inline-flex;align-items:center;gap:.32em;font:700 1.65rem/1 var(--serif);letter-spacing:-.045em;color:var(--ink);text-decoration:none;white-space:nowrap}
.wordmark img{margin-right:.24em}
.wordmark i{font-weight:400}
.mastinner nav{display:flex;gap:clamp(1.1rem,3.1vw,2.9rem);align-items:center}
.mastinner nav a{font-weight:600;font-size:.92rem;line-height:1.25;text-decoration:none;padding:.7rem 0;white-space:nowrap}
.mastinner nav a:hover,.mastinner nav a[aria-current]{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.55em}
.hero{display:grid;grid-template-columns:1.08fr 1fr;align-items:center;gap:clamp(1.75rem,4vw,4rem);padding:clamp(2.65rem,5.5vw,5.5rem) 0 clamp(2.5rem,4.7vw,4.5rem)}
h1,h2,h3,p,figure{margin:0}
h1,h2,h3,.course-card strong{font-family:var(--serif);color:var(--ink);font-weight:500}
h1,h2,h3{text-wrap:balance}
.overline{font-size:.72rem;line-height:1.4;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#835027;display:flex;align-items:center;gap:.65rem}
.overline span{width:1.75rem;height:2px;background:#ba8143}
.hero h1{font-size:clamp(3.05rem,4.55vw,4.7rem);letter-spacing:-.053em;line-height:1.025;max-width:11em;margin:1rem 0 1.25rem}
.hero h1 em{color:var(--pine);font-weight:400}
.lede,.intro-text{color:var(--muted);font-size:1.08rem;line-height:1.65;max-width:58ch}
.hero .lede{max-width:47ch}
.hero-actions{display:flex;gap:1.55rem;align-items:center;flex-wrap:wrap;margin-top:1.7rem}
.btn,.plain-link{display:inline-flex;align-items:center;justify-content:center;gap:.8rem;font-size:.94rem;font-weight:650;text-decoration:none}
.btn{background:var(--pine);color:#fff;border-radius:5px;padding:.7rem 1.16rem;min-height:46px}
.btn:hover{background:#103932}
.btn span,.plain-link span{font-family:Arial,sans-serif;font-size:1.12em}
.plain-link:hover{text-decoration:underline}
.illustration{align-self:center;border:1px solid #c8bda3;background:#f1e6ca;padding:.6rem .6rem 0;border-radius:4px 12px 4px 4px;box-shadow:3px 4px 0 #e8e2d4}
.illustration img{display:block;width:100%;height:auto;border-radius:2px 7px 1px 1px}
.illustration figcaption{display:flex;gap:.6rem;align-items:center;padding:.37rem .4rem .42rem;font:italic .88rem var(--serif);color:#5c513a}
.fig-line{width:1.35rem;border-top:1px solid #8f8061}
.shelf{padding:2.25rem 0 2.5rem;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.shelf-heading{align-items:end;margin-bottom:1.3rem}
.shelf h2,.byline h2{font-size:clamp(2rem,3.1vw,2.8rem);line-height:1.15;letter-spacing:-.045em;margin-top:.35rem}
.shelf-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem}
.course-card{padding:1.15rem;display:flex;gap:1rem;align-items:center;border:1px solid var(--rule);border-radius:6px;background:#f8f5e9;text-decoration:none;min-height:100px}
.course-card:hover,.lesson-card:hover{border-color:#8b9b87}
.course-card strong{font-size:1.19rem;font-weight:600;line-height:1.3;display:block}
.course-card small{color:var(--muted);font-size:.79rem;line-height:1.4;display:block;margin-top:.2rem}
.course-card b{margin-inline-start:auto;font-size:1.05rem;align-self:flex-start}
.book-icon{position:relative;display:block;flex:0 0 2.45rem;height:3.25rem;background:#496757;border-radius:2px 4px 3px 2px;border-left:4px solid #304b3f;box-shadow:2px 2px #e1d7bd,inset 0 -3px #c4bda6}
.book-icon:before,.book-icon:after{content:"";position:absolute;left:.5rem;right:.4rem;top:.86rem;border-top:2px solid #eee1bf}
.book-icon:after{top:1.18rem;right:.8rem;border-top-width:1px}
.book-icon.rust{background:#95583c;border-color:#77402f}.book-icon.navy{background:#476775;border-color:#334b55}
.byline{padding:2.8rem 0 3.3rem;display:grid;grid-template-columns:1fr 1.25fr;gap:2.5rem}
.byline p:not(.overline){max-width:60ch}.byline a{margin-top:.55rem}
.sitefoot{border-top:1px solid var(--rule);color:var(--muted);font-size:.8rem}
.footinner{padding:1.1rem 0}.footdot{color:#855c38;padding:0 .4rem}
.section-page{padding-top:2rem;padding-bottom:4rem;min-height:68vh}
.crumb{font-size:.82rem;color:var(--muted);margin-bottom:1.7rem}.crumb a{color:inherit}
.section-page h1{font-size:clamp(2.6rem,5vw,4.4rem);line-height:1.1;letter-spacing:-.05em;margin:0 0 1rem}
.section-page .overline+h1{margin-top:.6rem}
.prose{max-width:72ch}
.prose h2,.teaching-list h2,.lesson-card h2{font-size:clamp(1.5rem,3vw,2.15rem);line-height:1.2;letter-spacing:-.035em}
.prose h2{margin:1.65rem 0 .5rem}.prose p+p{margin-top:1rem}.muted{color:var(--muted)}
.teaching-list{margin:2rem 0;max-width:950px}
.teaching-list section{display:grid;grid-template-columns:1fr 1.7fr;gap:1.4rem;padding:1.2rem 0;border-top:1px solid var(--rule)}
.applet-cards{margin-top:2rem}.lesson-card{display:grid;max-width:900px;grid-template-columns:1fr 1.8fr;border:1px solid var(--rule);border-radius:6px;overflow:hidden;background:#f5f1e6}
.lesson-card img{width:100%;height:100%;object-fit:cover}.lesson-card div{padding:1.75rem}.lesson-card h2{margin:.4rem 0 .6rem}.lesson-card h2 a{text-decoration:none}.lesson-card a.btn{margin-top:1rem}
@media(max-width:780px){
.mastinner{min-height:70px}.mastinner nav{gap:1.1rem}.hero{grid-template-columns:1.13fr .87fr;gap:1.4rem}.hero h1{font-size:clamp(2.5rem,5.7vw,3.5rem)}.shelf-grid{grid-template-columns:1fr}.course-card{min-height:72px;padding:.8rem 1rem}.byline{gap:1.4rem}
}
@media(max-width:620px){
.wrap,.mastinner{width:min(100% - 2.25rem,540px)}.mastinner{align-items:flex-start;gap:.44rem;padding:.9rem 0 .55rem;flex-direction:column}.wordmark{font-size:1.4rem}.wordmark img{width:31px;height:31px}.mastinner nav{gap:1.35rem;max-width:100%;flex-wrap:wrap}.mastinner nav a{font-size:.84rem;padding:.46rem 0}.hero{display:flex;flex-direction:column;align-items:stretch;padding:1.9rem 0 1.8rem;gap:1.55rem}.hero h1{max-width:12em;font-size:clamp(2.65rem,10.6vw,3.75rem);margin:.72rem 0 .9rem}.hero .lede{font-size:1rem}.hero-actions{margin-top:1.1rem}.illustration{align-self:stretch;padding:.35rem .35rem 0}.illustration img{max-height:260px;object-fit:contain}.shelf{padding:1.7rem 0}.shelf-heading{gap:.8rem;flex-wrap:wrap}.shelf-heading .plain-link{font-size:.85rem}.byline{display:block;padding:2rem 0}.byline>div+div{margin-top:.8rem}.teaching-list section,.lesson-card{grid-template-columns:1fr}.teaching-list section{gap:.4rem}.lesson-card img{max-height:170px}.lesson-card div{padding:1.15rem}.section-page{padding-top:1.3rem}.footinner{gap:.5rem}
}
@media(max-width:350px){.mastinner nav{gap:.95rem}}
/* Clip the skip link until focused, including in full-page captures after scrolling. */
.skip:not(:focus){clip-path:inset(50%);width:1px;height:1px;padding:0;overflow:hidden;white-space:nowrap}

label.seed-lock { display: inline-flex; flex-direction: row; align-items: center; gap: .45rem; margin: .4rem 0; cursor: pointer }
label.seed-lock input[type="checkbox"] { appearance: auto; width: 1.1rem !important; min-width: 1.1rem; height: 1.1rem; min-height: 1.1rem; margin: 0; padding: 0; accent-color: #245e59 }
input[type="number"][readonly] { color: #466057; background-color: #eff3ed }
