:root {
  color-scheme: light;
  --ivory: #f8f5ee;
  --paper: #fffdf8;
  --ink: #242722;
  --muted: #515750;
  --teal: #145c57;
  --deep-teal: #103a36;
  --line: #d9d6c8;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.62 var(--sans); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .wordmark { font-family: var(--serif); }
h1, h2 { font-weight: 500; line-height: 1.04; letter-spacing: -.045em; }
h1 { font-size: clamp(3.05rem, 5.25vw, 5.55rem); }
h2 { font-size: clamp(2.2rem, 3.8vw, 3.8rem); }
h3 { font-size: 1.28rem; line-height: 1.2; font-weight: 600; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #ab512e; outline-offset: 4px; }
.shell { width: min(100% - 7.25rem, 87rem); margin-inline: auto; }
.section { scroll-margin-top: 1.5rem; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 5; top: 1rem; left: 1rem; background: var(--paper); padding: .75rem 1rem; }
.header { background: var(--ivory); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 5.35rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.wordmark { text-decoration: none; font-size: clamp(1.7rem, 3vw, 2.25rem); letter-spacing: -.065em; line-height: 1; white-space: nowrap; }
.wordmark span { color: var(--teal); }
.header nav, .footer nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.6rem); font-size: .925rem; }
.header nav a, .footer nav a { text-decoration: none; }
.header nav a:hover, .footer nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.header nav .nav-action { padding: .55rem .8rem; border: 1px solid #76938a; color: var(--teal); white-space: nowrap; }
.menu-toggle { display: none; }
.hero { background: var(--ivory); }
.hero-inner { display: grid; grid-template-columns: .9fr 1.18fr; align-items: stretch; gap: clamp(1.5rem, 4vw, 4.4rem); }
.hero-copy { align-self: center; padding-block: clamp(2.8rem, 6vw, 6rem); }
.eyebrow { font-size: .875rem; font-weight: 700; letter-spacing: .105em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; }
.hero-copy > p:not(.eyebrow) { font-size: clamp(1rem, 1.4vw, 1.24rem); color: var(--muted); max-width: 33rem; margin-block: 1.4rem 1.8rem; }
.hero-image { width: 100%; height: 100%; min-height: 28rem; object-fit: cover; object-position: 52% 50%; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.2rem; padding: .75rem 1.35rem; border: 1px solid transparent; background: var(--teal); color: #fff; text-decoration: none; text-align: center; font-weight: 650; }
.button:hover { background: var(--deep-teal); }
.text-link { width: fit-content; color: var(--teal); font-weight: 650; text-decoration: underline; text-underline-offset: .24em; }
.text-link:hover { color: var(--deep-teal); text-decoration-thickness: 2px; }
.shelf { padding-block: 2.7rem 4.8rem; }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .9rem 1.5rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-block: 1.25rem 1.55rem; }
.filters button { min-height: 2.65rem; border: 1px solid #c7c9bd; background: transparent; color: var(--ink); padding: .38rem .8rem; font-size: .9rem; }
.filters button:hover { border-color: var(--teal); }
.filters button[aria-pressed="true"] { color: #fff; border-color: var(--teal); background: var(--teal); }
.book-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.9rem, 2.4vw, 2.35rem); }
.book a { display: block; text-decoration: none; }
.book a:hover h3, .book a:focus-visible h3 { text-decoration: underline; text-underline-offset: .22em; }
.book-image { display: grid; place-items: center; aspect-ratio: 1 / 1.08; padding: 9% 12%; overflow: hidden; background: #ebe6d8; }
.book-image > * { grid-area: 1 / 1; }
.book-image img { z-index: 1; max-width: 100%; width: auto; height: 100%; max-height: 17rem; object-fit: contain; filter: drop-shadow(4px 8px 7px #21272031); transition: transform .2s ease; }
.book a:hover img { transform: translateY(-4px); }
.book-image img:not([hidden]) + .cover-fallback { visibility: hidden; }
.cover-sage { background: #e2e9e0; }
.cover-sand { background: #eee5d4; }
.cover-rose { background: #eee2db; }
.cover-fallback { width: 78%; aspect-ratio: 2/3; display: grid; align-content: center; padding: .75rem; color: #fff; background: var(--teal); box-shadow: 4px 7px 7px #21272031; font: 650 clamp(.95rem, 2.2vw, 2rem)/1.05 var(--serif); }
.cover-oak .cover-fallback { background: #774527; }
.cover-sand .cover-fallback { background: #593e25; }
.cover-rose .cover-fallback { background: #633934; }
.book-meta { margin-block: .75rem .32rem; color: var(--teal); font-size: .875rem; font-weight: 600; }
.book h3 + p { margin-top: .34rem; color: var(--muted); font-size: .91rem; }
.publishing { background: var(--deep-teal); color: var(--ivory); }
.feature { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(2rem, 5.5vw, 6rem); padding-block: clamp(2.8rem, 6vw, 6.25rem); }
.feature > img { width: 100%; height: auto; aspect-ratio: 1.4; object-fit: cover; }
.feature-copy > p:not(.eyebrow) { margin-top: 1rem; max-width: 38rem; }
.publishing .eyebrow, .publishing .text-link { color: #e1efe8; }
.publishing .button { background: var(--ivory); color: var(--deep-teal); }
.publishing .button:hover { background: #e2eddf; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; align-items: center; margin-top: 1.55rem; }
.learning { grid-template-columns: .95fr 1.05fr; }
.course-item { display: flex; justify-content: space-between; align-items: center; gap: .75rem; border-bottom: 1px solid var(--line); padding-block: .85rem; }
.course-item:first-of-type { margin-top: .7rem; }
.course-item p { font-size: .9rem; color: var(--muted); }
.course-item .text-link { font-size: .9rem; }
.materials-link { display: inline-block; margin-top: 1.25rem; }
.submissions { background: var(--ivory); }
.submission-grid { padding-block: clamp(2.8rem, 6vw, 5.2rem); display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(2rem, 6vw, 6rem); }
.submission-intro > p:not(.eyebrow) { margin-block: 1.1rem 1.55rem; }
details { border-top: 1px solid var(--line); padding-block: .7rem; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { font-weight: 650; cursor: pointer; }
details p { margin-top: .65rem; }
.submission-form { padding: clamp(1rem, 3vw, 2.2rem); border: 1px solid var(--line); background: var(--paper); }
.preview-note { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
fieldset { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.submission-form label { display: block; margin-bottom: .85rem; font-size: .95rem; font-weight: 650; }
.submission-form input, .submission-form select, .submission-form textarea { display: block; width: 100%; min-height: 2.65rem; margin-top: .3rem; padding: .5rem .6rem; border: 1px solid #bdbfb3; border-radius: 0; background: #fff; color: var(--ink); }
.submission-form textarea { resize: vertical; }
.submission-form select { appearance: none; background: linear-gradient(45deg, transparent 50%, var(--teal) 50%) calc(100% - 17px) 54% / 5px 5px no-repeat, linear-gradient(135deg, var(--teal) 50%, transparent 50%) calc(100% - 12px) 54% / 5px 5px no-repeat, white; padding-right: 2rem; }
.submission-form input[type="file"] { background: transparent; border: 0; padding: .2rem 0; }
.optional { font-weight: 400; }
.form-status { margin-top: .9rem; padding: .65rem; background: #e0eee6; color: var(--deep-teal); }
.authors { border-bottom: 1px solid var(--line); }
.authors-inner { padding-block: clamp(2.75rem, 5vw, 4.75rem); }
.author-list { display: flex; flex-wrap: wrap; gap: .7rem 2rem; list-style: none; padding: 0; margin: 1.3rem 0; }
.darkwood { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding: clamp(1rem, 3vw, 2rem); border-left: 3px solid var(--teal); background: var(--ivory); }
.darkwood h3 { font-size: clamp(1.5rem, 2.75vw, 2.3rem); }
.darkwood p { max-width: 42rem; margin-top: .6rem; color: var(--muted); }
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2.2rem; padding-block: 4rem; }
.about .text-link { display: inline-block; margin-top: .8rem; }
.footer { border-top: 1px solid var(--line); background: var(--ivory); }
.footer-inner { padding-block: 1.7rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; }
.footer .wordmark { font-size: 1.7rem; }
.footer small { color: var(--muted); }
@media (max-width: 1100px) {
  .shell { width: min(100% - 4rem, 87rem); }
  .header nav { gap: 1rem; font-size: .85rem; }
}
@media (max-width: 850px) {
  .shell { width: calc(100% - 2.5rem); }
  .header-inner { min-height: 4.4rem; flex-wrap: wrap; gap: 0; }
  .menu-toggle { display: block; color: var(--teal); border: 1px solid #76938a; background: transparent; min-height: 2.65rem; padding: .3rem .75rem; }
  .header nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-block: 0 .8rem; font-size: 1rem; }
  .header nav a, .header nav .nav-action { padding: .55rem .35rem; border: 0; }
  .js-enabled .menu-toggle[aria-expanded="false"] + nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding-block: 2.65rem 2rem; }
  .hero-copy > p:not(.eyebrow) { margin-block: 1rem 1.35rem; }
  .hero-image { min-height: 0; height: auto; aspect-ratio: 3 / 2; }
  .shelf { padding-block: 2.25rem 3rem; }
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
  .feature, .learning, .submission-grid, .about { grid-template-columns: 1fr; gap: 1.65rem; }
  .publishing-inner > img { order: 1; }
  .about { padding-block: 3rem; }
}
@media (max-width: 390px) {
  .shell { width: calc(100% - 2rem); }
  h1 { font-size: 2.7rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .book-image img { transition: none; }
}
.shelf-note { color: var(--muted); font-size: .95rem; }
