@font-face {
  font-family: "Jockey One";
  src: url("../fonts/jockey-one.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3.ttf") format("truetype");
  font-weight: 200 900;
  font-display: swap;
}
:root { color-scheme: light; background: white; color: #242424; font: 1rem/1.6 "Source Sans 3", system-ui, sans-serif; }
body { max-width: 40rem; margin: 0 auto; padding: clamp(1.3rem, 5vw, 4rem) clamp(1.2rem, 5vw, 3rem); }
.menu { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
a, button { color: inherit; text-underline-offset: .2em; text-decoration-color: #a6a6a6; }
a:hover, button:hover { text-decoration-color: currentColor; }
.menu a { font-size: .9rem; text-decoration: none; }
.menu a:hover, .menu [aria-current] { text-decoration: underline; }
h1, h2 { font-family: Palatino, Georgia, serif; line-height: 1.15; font-weight: 500; }
h1 { font-size: clamp(2.4rem, 7vw, 3.4rem); letter-spacing: -.035em; margin: .35em 0; }
h2 { font-size: 1.65rem; margin: 2rem 0 .6rem; }
p { margin: .85rem 0; }
#writingRows a { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .35rem 0; text-decoration: none; }
#writingRows span { text-decoration: underline; text-decoration-color: #aaa; }
time, .pager, .contact { color: #626262; font-size: .84rem; }
time { white-space: nowrap; }
.pager { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; }
button { font: inherit; cursor: pointer; background: white; border: 0; padding: .4rem; text-decoration: underline; }
button:disabled { color: #777; cursor: default; text-decoration: none; }
.pager:has(#prev:disabled):has(#next:disabled) { display: none; }
.contact { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid #ddd; }
:focus-visible { outline: 2px solid #385c83; outline-offset: 3px; }
@media (max-width: 480px) { #writingRows a { display: grid; gap: 0; padding: .45rem 0; } }
h1, h2 { font-family: "Jockey One", "Arial Narrow", sans-serif; font-weight: 400; letter-spacing: normal; }
.home-link { text-decoration: none; }
.home-link:hover, .home-link:focus-visible { color: #171717; background: #f3f3f1; text-decoration: underline; }
.crumb { display: flex; align-items: baseline; gap: .65rem; color: #666; margin-bottom: clamp(2rem, 6vw, 4rem); }
.crumb span { color: #aaa; }
.socials { display: flex; gap: .6rem; }
.socials a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 4px; }
.socials a:hover { background: #eee; }
.socials svg { width: 17px; height: 17px; fill: currentColor; }
.writing-title, .postcards h2 { font-size: 1.25rem; }
#writingRows a { font: normal 400 1.16rem/1.55 "EB Garamond", Georgia, serif; }
.shelf-intro { color: #656565; margin: .65rem 0 3rem; }
.shelves { display: grid; grid-template-columns: minmax(9rem,1fr) 2fr; gap: 2rem; }
.shelves nav { display: grid; align-content: start; gap: .8rem; font-size: .9rem; }
.shelves section { padding: .8rem 0 2rem; border-top: 1px solid #ddd; }
.shelves h2 { margin: 0; }
.postcards { margin: 2rem 0; }
.postcards header { display: flex; align-items: baseline; justify-content: space-between; }
.postcards h2 { margin: 0 0 .75rem; }
.postcards button { font-size: .8rem; color: #666; }
.reel { overflow: hidden; }
.track, .strip { display: flex; width: max-content; }
@media (max-width: 500px) { .shelves { grid-template-columns: 1fr; gap: 1.5rem; } }

.menu, .crumb { font-family: "Jockey One", "Arial Narrow", sans-serif; }
.menu a, .crumb { font-size: 1.12rem; }
.socials { align-items: center; }
.socials svg { display: block; width: 18px; height: 18px; }
.get-in-touch { margin-top: 3rem; }
.get-in-touch h2 { font-size: 1.25rem; }
@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/eb-garamond.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
main p { font: normal 400 1.16rem/1.55 "EB Garamond", Georgia, serif; }
.name-row { font-size: clamp(2.4rem, 7vw, 3.4rem); display: flex; align-items: center; gap: .5rem; }
.pronounce { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #555; }
.pronounce svg { display: block; transform: translateY(.07em); }
.pronounce:hover, .pronounce.playing { background: #f2f2ef; color: #222; }
.writing-title, .postcards { margin-top: clamp(2.75rem, 6vw, 3.5rem); }

.work-list { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.work-list li { padding: .95rem 0; }
.work-list li + li { border-top: 1px solid #e6e5e2; }
.work-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .15rem 1rem; margin-bottom: .4rem; color: #696866; font-size: .9rem; }
.work-meta span:first-child { font-variant-numeric: tabular-nums; }
.work-list strong { font-weight: 600; }
.work-description { font: normal 400 1.15rem/1.45 "EB Garamond", Georgia, serif; color: #514f4b; }

.signup { display: flex; align-items: center; max-width: 27rem; margin: 2rem 0; padding: .35rem; border: 1px solid #e3e5ea; border-radius: 3rem; font: 400 1rem/1.2 "Jockey One", sans-serif; }
.signup input { flex: 1; min-width: 0; padding: .65rem 0 .65rem clamp(.6rem, 3vw, 1rem); border: 0; border-radius: 2rem; font: inherit; background: transparent; }
.signup input::placeholder { color: #827666; }
.signup button { flex: none; padding: 1rem; border-radius: 2rem; background: #f5f5f5; color: #101010; text-decoration: none; }
.signup button:hover { background: #ebebeb; }
