/* The cover, topic tabs and printable sheets share the same paper palette. */
body { background:#fffdf7; }
header { border-top:4px solid transparent; border-image:linear-gradient(to right,#155e4b 0 32%,#eda2a7 32% 51%,#eeb843 51% 69%,#a7c7ba 69% 86%,#dd8552 86%) 1 0 0; }
.bar { height:68px; }
.wordmark { font-weight:1000; letter-spacing:-.08em; }
.wordmark img { width:43px; height:43px; }
.mainnav a { transition:color .15s; }
.headsearch { background:#f6f5ea; border-color:#d6dbcd; }
.hero { background:#0e4b3e; border-radius:25px 31px 24px 12px; min-height:0; aspect-ratio:3.18; box-shadow:0 6px 0 #e7e4d6; margin-bottom:33px; }
.herocopy { padding:clamp(23px,2.4vw,36px) 0 clamp(23px,2.4vw,36px) clamp(27px,4.1vw,64px); max-width:48%; }
.hero h1 { color:#fff9e4; font-weight:1000; font-size:clamp(3.1rem,5.25vw,5.32rem); line-height:.97; }
.hero h1 em { font-family:Georgia,"Times New Roman",serif; font-style:italic; font-weight:700; color:#ffc7c3; line-height:1.04; letter-spacing:-.075em; }
.hero h1 em:after { left:3%; right:-1%; bottom:-3%; height:.055em; background:#fff0a3; transform:rotate(-2.2deg); }
.herocopy p { color:#fff8e9; margin:clamp(14px,1.6vw,23px) 0 16px; }
.heropicture { position:absolute; inset:0; z-index:-1; }
.heroart { position:static; width:100%; height:100%; object-fit:cover; object-position:50% 51%; mask-image:none; -webkit-mask-image:none; }
.heroactions { display:flex; flex-wrap:wrap; align-items:center; gap:16px; }
.heroactions .primary { background:#ffcd62; color:#173c31; box-shadow:0 3px 0 #b88e3e; border-radius:10px 12px 12px 9px; }
.heroactions .primary:hover { background:#ffda8b; }
.heroalt { color:#fff1df; text-decoration:underline; text-underline-offset:4px; font-size:.96rem; font-weight:800; }
.sectionline h2,.listhead h2,.related h2 { font-size:clamp(1.7rem,2.65vw,2.32rem); }
.quick .sectionline .textlink,.related .textlink { text-decoration:underline; text-underline-offset:4px; }
.tilerow { gap:13px; margin:14px 0 36px; }
.tilerow a { isolation:isolate; display:flex; position:relative; flex-direction:row-reverse; justify-content:space-between; overflow:hidden; min-height:94px; border-radius:5px 16px 8px 12px; padding:13px 10px 13px 17px; box-shadow:inset 0 -3px 0 #20442e13; }
.tilerow a:after { content:""; position:absolute; z-index:-1; width:92px; height:92px; right:-20px; bottom:-32px; border:1px dashed #334f3938; border-radius:50%; }
.tilerow span { display:grid; gap:3px; }
.tilerow small { font-size:.85rem; color:#465d4c; line-height:1.15; }
.tilerow img { width:clamp(48px,4.7vw,72px); height:64px; transform:rotate(5deg); }
.tilerow a:nth-child(even) img { transform:rotate(-6deg); }
.tilerow a:hover img { transform:rotate(0) scale(1.05); }
.listhead { border-top:1px solid #d5dacd; padding-top:22px; }
.card { border-radius:15px 15px 10px 10px; border-color:#d6d9cd; box-shadow:0 3px 0 #e4e6d9; }
.picture { aspect-ratio:1.32; border-bottom:1px solid #d9dece; background-color:var(--tint); background-image:radial-gradient(#405b4319 .7px, transparent .9px); background-size:7px 7px; overflow:hidden; }
.picture::before { content:""; position:absolute; width:28%; height:8px; bottom:10%; left:36%; border-radius:55%; box-shadow:0 2px 9px #544c383d; }
.picture img { position:absolute; inset:7.5% 11%; width:78%; height:85%; padding:6px; background:white; object-fit:contain; mix-blend-mode:normal; transform:rotate(-1.5deg); box-shadow:0 2px 5px #263e312c; }
.card:nth-child(even) .picture img { transform:rotate(1.3deg); }
.picture::after { content:""; position:absolute; left:42%; top:5%; width:16%; height:10px; background:#e9c78ad9; transform:rotate(-4deg); clip-path:polygon(2% 0,100% 1%,98% 20%,100% 35%,97% 49%,100% 64%,98% 80%,100% 97%,1% 100%,3% 77%,0 58%,3% 40%,0 22%); }
.tint1 .picture::after,.tint2 .picture::after { background:#f0b4b1cf; }
.tint4 .picture::after,.tint5 .picture::after { background:#a6c4a3cf; }
.caption { padding:12px 16px 15px; }
.sheet { position:relative; border:1px solid #cdd7c5; background-color:#dbe8d6; background-image:radial-gradient(#57735a28 .8px,transparent 1px); background-size:8px 8px; padding:24px; }
.sheet img { background:white; padding:14px; box-shadow:0 4px 12px #223a242a; }
.sheetinfo { border-left:5px solid #e8ba6e; padding-left:clamp(17px,2.4vw,37px); }
.topiclink { display:inline-block; padding:4px 11px; border-radius:6px; background:#f0eddd; color:#365e49; text-decoration:none; }
.themetile { border:1px solid #dae1d1; box-shadow:0 2px 0 #dce1d2; }
.themetile img { background:#fff; padding:5px; transform:rotate(-2deg); box-shadow:0 2px 4px #293e3326; mix-blend-mode:normal; }
footer { background:#174e40; color:#fff9e5; border-top:4px solid #e9c779; }
@media (min-width:641px) and (max-width:980px) {
  .hero { aspect-ratio:2.9; min-height:245px; }
  .herocopy { max-width:49%; }
  .hero h1 { font-size:clamp(2.6rem,5.3vw,3.8rem); }
  .tilerow { gap:8px; }
  .tilerow a { flex-direction:column; justify-content:center; padding:7px; gap:1px; min-height:98px; text-align:center; }
  .tilerow img { width:52px; height:43px; }
  .tilerow small { font-size:.78rem; }
}
@media(max-width:690px) {
  .bar { min-height:0; height:auto; }
  .wordmark img { width:31px; height:31px; }
  .caption { padding:9px 10px 12px; }
  .sheetinfo { padding-left:14px; }
}
@media(max-width:640px) {
  .hero { display:grid; grid-template-columns:1fr; min-height:0; aspect-ratio:auto; border-radius:14px 22px 14px 9px; margin:14px 0 24px; }
  .herocopy { grid-area:1/1; max-width:100%; padding:20px 20px 17px; }
  .hero h1 { font-size:clamp(2.19rem,7.2vw,3rem); }
  .hero h1 br { display:none; }
  .hero h1 em { margin-left:.16em; }
  .herocopy p { max-width:none; font-size:1rem; margin:10px 0 12px; }
  .heropicture { position:relative; grid-area:2/1; height:clamp(125px,36vw,190px); z-index:0; }
  .heroart { object-position:50% 43%; }
  .heroactions { gap:15px; }
  .herocopy .primary { min-height:35px; }
  .tilerow { gap:8px; padding:0 0 5px; margin:9px 0 14px; }
  .tilerow a { flex-direction:column; min-width:105px; min-height:88px; padding:6px 7px 9px; justify-content:center; text-align:center; }
  .tilerow img { width:45px; height:38px; }
  .tilerow span { gap:0; }
  .tilerow small { font-size:.75rem; }
  .listhead { padding-top:15px; }
  .sectionline h2,.listhead h2,.related h2 { font-size:1.55rem; }
  .picture { aspect-ratio:1.06; }
}
@media print {
  .sheet,.sheet img { padding:0; background:white; border:0; box-shadow:none; border-radius:0; }
}
