/* adamcalder.com - one stylesheet for every page. White ground (Andreas, 2026-11-29: the
   all-teal ground was too much), the book's teal for headings, links and buttons, amber for
   the small accents; Source Serif 4 and Lato, self-hosted
   (no font service, no third-party request of any kind; site data rules 2026-11-07). */
@font-face { font-family: "Source Serif 4"; src: url("fonts/source-serif-4-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("fonts/source-serif-4-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("fonts/source-serif-4-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("fonts/lato-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lato"; src: url("fonts/lato-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root { --ground: #FFFFFF; --ink: #2A2723; --soft: #5B5750; --teal: #136F63; --teal-dark: #0E554C; --sage: #5E8B86; --amber: #E0A458; --line: #E6E1D8; --tint: #F7F5F0; }
* { box-sizing: border-box; }
html { background: var(--ground); }
body { margin: 0; color: var(--ink); font-family: "Source Serif 4", Georgia, serif; font-size: 19px; line-height: 1.6;
       -webkit-font-smoothing: antialiased; }
main { max-width: 680px; margin: 0 auto; padding: 72px 24px 48px; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
.kicker { font-family: "Lato", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage); margin: 0 0 18px; }
h1 { color: var(--teal-dark); font-weight: 600; font-size: 46px; line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 12px; }
.sub { font-family: "Lato", sans-serif; font-size: 19px; line-height: 1.45; color: var(--soft); margin: 0 0 36px; }
p { margin: 0 0 18px; }
.rule { width: 56px; height: 3px; background: var(--amber); border: 0; margin: 40px 0; }

/* the download choices on the workbook page */
.choice { border: 1px solid var(--line); background: var(--tint); border-radius: 10px; padding: 24px 26px; margin: 0 0 18px; }
.choice h2 { font-family: "Lato", sans-serif; font-weight: 700; font-size: 18px; margin: 0 0 6px; }
.choice p { font-size: 17px; color: var(--soft); margin: 0 0 16px; }
.btn { display: inline-block; font-family: "Lato", sans-serif; font-weight: 700; font-size: 16px; text-decoration: none;
       color: #FFFFFF; background: var(--teal); padding: 11px 20px; border-radius: 6px; }
.btn:hover { background: var(--teal-dark); color: #FFFFFF; }
.btn .meta { font-weight: 400; opacity: 0.7; margin-left: 6px; }

/* the book page */
.book { display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: start; }
.book img { width: 200px; height: auto; border-radius: 3px; box-shadow: 0 10px 28px rgba(42,39,35,0.22); }
@media (max-width: 620px) { .book { grid-template-columns: 1fr; } .book img { width: 160px; } h1 { font-size: 38px; } main { padding-top: 48px; } }

footer { max-width: 680px; margin: 0 auto; padding: 24px 24px 56px; font-family: "Lato", sans-serif; font-size: 14px; color: var(--sage); }
footer a { color: var(--sage); }
