:root {
  --ink: #10213b;
  --navy: #0b1c34;
  --navy-soft: #152b49;
  --gold: #c99a3d;
  --gold-light: #e3c479;
  --paper: #f8f5ee;
  --white: #fffdf8;
  --line: rgba(16, 33, 59, .17);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.75 var(--sans); }
a { color: inherit; }
.site-header { min-height: 92px; display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(24px, 6vw, 96px); background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-logo { width: 58px; height: 58px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 1px rgba(201,154,61,.45); }
.brand strong, .brand small { display: block; }
.brand strong { font: 700 1.25rem/1 var(--serif); letter-spacing: .14em; }
.brand small { color: #6f6b63; font-size: .65rem; letter-spacing: .25em; margin-top: 7px; }
nav { display: flex; align-items: center; gap: 30px; }
nav a { text-decoration: none; font-size: .9rem; font-weight: 500; }
nav a:hover, nav a:focus-visible { color: #9a6a12; }
.nav-contact { border: 1px solid var(--ink); padding: 9px 18px; }
.menu-button { display: none; background: none; border: 1px solid var(--ink); padding: 8px 13px; font: 600 .9rem var(--sans); }
.hero { min-height: 680px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); align-items: stretch; background: var(--navy); color: var(--white); }
.hero-copy { padding: clamp(80px, 11vw, 160px) clamp(28px, 8vw, 130px); }
.eyebrow { margin: 0 0 20px; color: var(--gold); font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
h1, h2 { font-family: var(--serif); font-weight: 600; line-height: .98; letter-spacing: -.025em; }
h1 { max-width: 780px; margin: 0; font-size: clamp(3.4rem, 7.8vw, 7.5rem); }
h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 5rem); }
.hero-intro { max-width: 650px; margin: 34px 0 0; color: #d9e0ea; font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button { display: inline-block; padding: 13px 20px; text-decoration: none; font-weight: 600; }
.button-primary { background: var(--gold); color: var(--navy); }
.button-primary:hover { background: var(--gold-light); }
.button-secondary { border: 1px solid rgba(255,255,255,.55); }
.hero blockquote { margin: 0; padding: 70px clamp(28px, 5vw, 70px); display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(160deg, var(--navy-soft), #081425); border-left: 1px solid rgba(255,255,255,.13); }
.hero blockquote::before { content: ""; display: block; width: 72px; height: 1px; margin-bottom: 30px; background: var(--gold); }
.hero blockquote p { margin: 0 0 18px; font: 500 clamp(2rem, 3.5vw, 3.4rem)/1.08 var(--serif); }
.hero cite { color: #c8d0db; font-style: normal; }
.mission, .about { padding: clamp(85px, 11vw, 150px) clamp(28px, 8vw, 130px); display: grid; grid-template-columns: 70px minmax(250px, .9fr) minmax(300px, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.section-number { margin: 0; color: #8c7d5d; font: 600 1.1rem var(--serif); }
.mission > p:last-child, .about-text { margin: 44px 0 0; max-width: 670px; font-size: 1.12rem; }
.world-quote { min-height: 540px; display: grid; place-items: center; padding: 80px 28px; color: white; text-align: center; background-image: linear-gradient(rgba(5,16,31,.28), rgba(5,16,31,.54)), url('assets/world-map.png'); background-size: cover; background-position: center; }
.world-quote-inner { width: min(950px, 100%); padding: clamp(45px, 7vw, 85px); background: rgba(5,16,31,.68); border: 1px solid rgba(227,196,121,.42); box-shadow: 0 24px 70px rgba(0,0,0,.2); backdrop-filter: blur(2px); }
.world-quote blockquote { margin: 0; }
.world-quote blockquote p { margin: 0; font: 600 clamp(2.7rem, 5.4vw, 5.6rem)/1.02 var(--serif); }
.world-quote cite { display: block; margin-top: 28px; color: var(--gold-light); font: 500 1.15rem var(--serif); letter-spacing: .08em; }
.catalog { padding: clamp(85px, 11vw, 145px) clamp(28px, 8vw, 130px); background: #e9e1d2; }
.catalog-heading { display: grid; grid-template-columns: minmax(280px, .95fr) minmax(300px, 1.05fr); column-gap: clamp(40px, 8vw, 120px); align-items: end; }
.catalog-heading h2 { grid-row: span 2; }
.catalog-heading > p:last-child { margin: 0; max-width: 650px; font-size: 1.06rem; }
.edition-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; margin-top: 62px; background: rgba(16,33,59,.18); border: 1px solid rgba(16,33,59,.18); }
.edition-card { min-height: 285px; padding: 30px 27px; display: flex; flex-direction: column; background: var(--white); }
.edition-card.edition-primary { background: var(--navy); color: var(--white); }
.edition-card .language { color: #8a651e; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.edition-card.edition-primary .language { color: var(--gold-light); }
.edition-card h3 { margin: 22px 0 8px; font: 600 1.65rem/1.05 var(--serif); }
.edition-card p { margin: 0 0 28px; color: #626977; font-size: .9rem; }
.edition-card.edition-primary p { color: #cad3df; }
.edition-card a { margin-top: auto; color: #85631e; font-size: .88rem; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.edition-card.edition-primary a { color: var(--gold-light); }
.amazon-all { display: inline-block; margin-top: 34px; padding: 13px 20px; background: var(--navy); color: white; font-weight: 600; text-decoration: none; }
.amazon-all:hover, .amazon-all:focus-visible { background: #1d3b61; }
.featured { display: grid; grid-template-columns: minmax(280px, .78fr) minmax(380px, 1.22fr); background: var(--white); }
.book-panel { min-height: 620px; padding: 70px clamp(30px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; background: #173354; color: var(--gold-light); }
.book-panel span { font: 600 clamp(3rem, 6vw, 6rem)/.88 var(--serif); }
.river-line { width: 70%; height: 36px; margin: 46px 0; border-top: 2px solid var(--gold); border-radius: 50%; transform: rotate(-5deg); }
.book-panel small { color: white; font-size: .72rem; letter-spacing: .18em; }
.book-copy { padding: clamp(70px, 10vw, 145px) clamp(28px, 9vw, 140px); }
.book-copy h2 { margin-bottom: 30px; }
.book-copy p { max-width: 680px; }
.book-lead { color: #85631e; font: 600 clamp(1.7rem, 2.6vw, 2.35rem)/1.2 var(--serif); }
.reading { padding: clamp(70px, 9vw, 120px) clamp(28px, 8vw, 130px); background: var(--white); scroll-margin-top: 110px; }
.reading-heading { max-width: 780px; }
.reading-heading > p:last-child { margin: 28px 0 0; font-size: 1.06rem; }
.reading-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(30px, 6vw, 90px); margin-top: 45px; }
.reading-card { padding: 30px 0; border-top: 1px solid var(--line); }
.reading-card h4 { margin: 0 0 8px; font: 600 clamp(1.8rem, 2.6vw, 2.4rem)/1.15 var(--serif); }
.reading-card .reading-author { margin: 0 0 16px; font-size: .95rem; font-weight: 600; color: #85631e; }
.reading-card p { margin: 0 0 18px; }
.reading-card a { font-size: .9rem; font-weight: 600; text-underline-offset: 4px; }
@media (min-width: 821px) {
  .site-header { flex-wrap: wrap; gap: 18px; }
  nav { flex: 1 1 700px; flex-wrap: wrap; justify-content: flex-end; gap: 12px 22px; }
  main section[id] { scroll-margin-top: 190px; }
}
@media (max-width: 650px) { .reading-grid { grid-template-columns: 1fr; } }
.about { grid-template-columns: minmax(260px, 1fr) minmax(300px, 1fr); background: #e9e1d2; }
.about-text { margin-top: 5px; }
.submissions { padding: clamp(85px, 11vw, 145px) clamp(28px, 8vw, 130px); background: #0b1c34; color: var(--white); }
.submissions-heading { display: grid; grid-template-columns: minmax(280px, .95fr) minmax(300px, 1.05fr); column-gap: clamp(40px, 8vw, 120px); align-items: end; }
.submissions-heading h2 { grid-row: span 2; }
.submissions-heading > p:last-child { margin: 0; color: #d4dce7; font-size: 1.06rem; }
.rights-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; margin-top: 64px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.16); }
.rights-list article { padding: clamp(28px, 4vw, 46px); background: #102746; }
.rights-list span { color: var(--gold-light); font: 600 .8rem var(--sans); letter-spacing: .18em; }
.rights-list h3 { margin: 12px 0 12px; font: 600 1.7rem/1.1 var(--serif); }
.rights-list p { margin: 0; color: #d4dce7; }
.rights-note { max-width: 920px; margin: 40px 0 0; padding-left: 22px; border-left: 3px solid var(--gold); color: #e2e7ee; }
.authors { padding: clamp(85px, 11vw, 145px) clamp(28px, 8vw, 130px); display: grid; grid-template-columns: minmax(260px, .78fr) minmax(420px, 1.22fr); gap: clamp(45px, 7vw, 105px); background: var(--white); }
.authors-intro { max-width: 570px; }
.authors-intro h2 { margin-bottom: 30px; }
.authors-intro > p:last-child { font-size: 1.08rem; color: #4d5767; }
#author-inquiry { padding: clamp(28px, 4vw, 48px); background: #f2ecdf; border-top: 4px solid var(--gold); box-shadow: 0 18px 55px rgba(16,33,59,.10); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-grid label, fieldset { font-weight: 600; font-size: .9rem; }
.full-width { grid-column: 1 / -1; }
select, input[type="text"], input[type="email"], textarea { width: 100%; margin-top: 8px; padding: 14px 15px; border: 1px solid rgba(16,33,59,.27); border-radius: 0; background: var(--white); color: var(--ink); font: 400 1rem/1.45 var(--sans); }
textarea { resize: vertical; min-height: 135px; }
select:focus, input:focus, textarea:focus { outline: 3px solid rgba(201,154,61,.28); border-color: #9a6a12; }
fieldset { margin: 28px 0; padding: 0; border: 0; }
legend { margin-bottom: 15px; font: 600 1.3rem var(--serif); }
.service-options { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 20px; }
.service-options label { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.service-options input { width: 19px; height: 19px; accent-color: var(--navy); }
.declarations { margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(16,33,59,.18); }
.declarations label { display: grid; grid-template-columns: 21px 1fr; gap: 11px; align-items: start; margin: 12px 0; font-weight: 400; line-height: 1.55; }
.declarations input { width: 19px; height: 19px; margin-top: 3px; accent-color: var(--navy); }
.submit-button { width: 100%; margin-top: 24px; padding: 15px 22px; border: 0; background: var(--navy); color: white; font: 600 1rem var(--sans); cursor: pointer; }
.submit-button:hover, .submit-button:focus-visible { background: #1d3b61; }
.form-note { margin: 14px 0 0; color: #5c6572; font-size: .82rem; line-height: 1.5; }
.contact { padding: clamp(90px, 12vw, 160px) 28px; text-align: center; background: var(--navy); color: white; }
.contact h2 { margin-bottom: 25px; }
.contact p:not(.eyebrow) { color: #cbd3de; }
.contact > a { display: inline-block; margin-top: 9px; color: var(--gold-light); font: 600 clamp(1.5rem, 3vw, 2.5rem) var(--serif); text-underline-offset: 7px; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 26px clamp(24px, 6vw, 96px); background: #071426; color: #aeb9c7; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 820px) {
  .site-header { min-height: 76px; }
  .menu-button { display: block; }
  nav { display: none; position: absolute; left: 0; right: 0; top: 76px; padding: 24px; flex-direction: column; align-items: stretch; gap: 18px; background: var(--white); border-bottom: 1px solid var(--line); }
  nav.open { display: flex; }
  .nav-contact { text-align: center; }
  .hero { grid-template-columns: 1fr; }
  .hero blockquote { min-height: 320px; border-left: 0; border-top: 1px solid rgba(255,255,255,.13); }
  .mission, .about { grid-template-columns: 1fr; }
  .section-number { display: none; }
  .mission > p:last-child, .about-text { margin-top: 0; }
  .featured { grid-template-columns: 1fr; }
  .catalog-heading { grid-template-columns: 1fr; }
  .catalog-heading h2 { grid-row: auto; margin-bottom: 28px; }
  .edition-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .book-panel { min-height: 460px; }
  .authors { grid-template-columns: 1fr; }
  .submissions-heading { grid-template-columns: 1fr; }
  .submissions-heading h2 { grid-row: auto; margin-bottom: 28px; }
}

@media (max-width: 480px) {
  .brand strong { font-size: 1.05rem; }
  .brand-logo { width: 46px; height: 46px; }
  .hero { min-height: 0; }
  .hero-copy { padding-top: 80px; padding-bottom: 80px; }
  h1 { font-size: 3.25rem; }
  .hero-actions .button { width: 100%; text-align: center; }
  .form-grid, .service-options { grid-template-columns: 1fr; }
  .rights-list { grid-template-columns: 1fr; }
  .edition-grid { grid-template-columns: 1fr; }
  .full-width { grid-column: auto; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.reading-jumps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.reading-jumps a { display: inline-block; border: 1px solid var(--line); padding: 8px 13px; font-size: .9rem; text-decoration: none; line-height: 1.5; }
.reading-jumps a:hover, .reading-jumps a:focus-visible { background: var(--navy); color: var(--white); }
.reading-group { margin-top: 65px; scroll-margin-top: 150px; }
.reading-group > h3 { margin: 0; font: 600 clamp(1.9rem, 3vw, 2.7rem)/1.2 var(--serif); }
.reading-group .reading-grid { margin-top: 25px; }
.reading-number { display: block; margin-bottom: 12px; color: #85631e; font-size: .88rem; font-weight: 600; }
.reading-back { display: inline-block; margin-top: 10px; font-size: .9rem; text-underline-offset: 4px; }
@media (max-width: 820px) { .reading-group { scroll-margin-top: 95px; } }

.discovery { border-top: 1px solid var(--line); }
.discovery-out-of-print { background: var(--paper); }
.discovery .reading-card h3 { margin: 0 0 8px; font: 600 clamp(1.8rem, 2.6vw, 2.4rem)/1.15 var(--serif); }
.availability-badge { color: #715315; font-size: .88rem; font-weight: 600; }
.availability-source { display: block; margin-top: 12px; }
.recovered-heading { margin-top: 35px; }
.recovered-heading h3, .finding-copies h3 { margin: 0; font: 600 clamp(1.6rem, 2.3vw, 2rem)/1.2 var(--serif); }
.recovered-heading p { max-width: 700px; }
.recovered-grid { margin-top: 25px; }
.finding-copies { margin-top: 30px; padding: 25px; border: 1px solid var(--line); }
.finding-copies a { display: inline-block; margin: 0 22px 8px 0; text-underline-offset: 4px; }

.thrift-stores { background: var(--paper); }
.thrift-card a { overflow-wrap: anywhere; }

.affordable-books { background: #fff; }
.affordable-card a { overflow-wrap: anywhere; }

/* Affordable reading directory and Census-derived US state map. */
.book-map-panel { margin-top: 45px; padding: clamp(20px, 3vw, 36px); background: #f3f6fa; border: 1px solid var(--line); scroll-margin-top: 190px; }
.book-map-heading { display: flex; justify-content: space-between; align-items: end; gap: 25px; }
.book-map-heading .eyebrow { margin: 0 0 8px; }
.book-map-heading h3 { margin: 0; font: 600 clamp(1.7rem, 3vw, 2.3rem)/1.2 var(--serif); }
.book-state-control { flex: 0 0 240px; }
.book-state-control label { font-weight: 600; }
.book-state-control select { margin-top: 6px; }
.book-map-instructions { margin: 24px 0 10px; }
.book-map-canvas { overflow-x: auto; }
#us-book-map { display: block; width: 100%; height: auto; }
.state-shape { fill: #d7e0ec; stroke: white; stroke-width: 1.6; vector-effect: non-scaling-stroke; cursor: pointer; }
.state-shape:hover, .state-shape.selected { fill: #c99a3d; }
.state-label { cursor: pointer; outline: none; }
.state-label text { fill: #10213b; font: 600 19px var(--sans); text-anchor: middle; }
.state-label rect { fill: #d7e0ec; stroke: #fff; stroke-width: 1.5; }
.state-leader { fill: none; stroke: #6a7b90; stroke-width: 1; pointer-events: none; }
.state-label:hover text, .state-label:focus-visible text { fill: #071426; text-decoration: underline; }
.state-label.selected rect, .state-label:hover rect { fill: #c99a3d; }
.state-label:focus-visible text { paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.state-label:focus-visible rect { stroke: #10213b; stroke-width: 3px; }
.book-map-source { margin: 12px 0 0; color: #4d5767; font-size: .875rem; }
.book-map-source a { text-underline-offset: 3px; }
.state-result-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.state-result-heading h3 { margin: 0; font: 600 clamp(1.9rem, 3vw, 2.7rem)/1.2 var(--serif); }
.state-result-heading h3:focus { outline: none; }
#state-books-status { margin-bottom: 0; }
.show-all-states { border: 1px solid var(--navy); padding: 12px 18px; background: white; color: var(--navy); font: 600 1rem var(--sans); cursor: pointer; white-space: nowrap; }
.show-all-states:hover, .show-all-states:focus-visible { background: var(--navy); color: white; }
.book-state-name { margin: 0 0 14px; font-size: .875rem; font-weight: 700; color: #715315; text-transform: uppercase; letter-spacing: .1em; }
.affordable-card[hidden], .show-all-states[hidden] { display: none; }
@media (max-width: 820px) {
  .book-map-panel { scroll-margin-top: 95px; }
  .book-map-heading { align-items: start; flex-direction: column; gap: 20px; }
  .book-state-control { flex-basis: auto; width: 100%; }
  #us-book-map { min-width: 650px; }
  .state-label text { font-size: 26px; }
  .state-result-heading { align-items: start; flex-direction: column; }
}

/* A colorful literary atlas, preserving the state selector and local listings. */
.state-shape { fill: var(--state-color, #91c9e8); }
.state-shape:hover { fill: var(--state-color, #91c9e8); filter: brightness(.91); stroke: #10213b; stroke-width: 2px; }
.state-shape.selected { fill: var(--state-color, #91c9e8); stroke: #10213b; stroke-width: 3px; }
.state-label rect { fill: var(--state-color, #91c9e8); }
.state-label.selected rect { fill: #10213b; }
.state-label.selected text { font-weight: 800; text-decoration: underline; }
.state-label.selected:has(rect) text { fill: #fff; }
.state-label:focus-visible text { text-decoration: underline; }
.state-writers { margin: 30px 0 35px; padding: clamp(18px, 3vw, 30px); background: #f3f6fa; border: 1px solid var(--line); }
.state-writers summary { cursor: pointer; color: var(--navy); font: 600 clamp(1.3rem, 2.5vw, 1.8rem)/1.4 var(--serif); }
.state-writers summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; }
.writer-selection-note { max-width: 820px; margin: 20px 0 25px; color: #4d5767; }
.writer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.writer-card { padding: 24px; background: #fff; border-top: 6px solid var(--state-color); }
.writer-card h4 { margin: 0 0 12px; font: 600 clamp(1.7rem, 2.5vw, 2.1rem)/1.15 var(--serif); }
.writer-card p { margin: 0 0 16px; }
.writer-card .book-state-name { margin-bottom: 12px; }
.writer-book { font-size: 1rem; }
.writer-book > span:first-child { display: block; margin-bottom: 4px; color: #715315; font-size: .875rem; font-weight: 700; }
.writer-genre { display: block; margin-top: 4px; color: #4d5767; font-size: .875rem; }
.writer-card a { font-size: .95rem; text-underline-offset: 4px; }
.writer-card[hidden] { display: none; }
.state-shops-heading { margin: 25px 0 0; font: 600 clamp(1.5rem, 2.5vw, 2rem)/1.3 var(--serif); }
@media (max-width: 650px) { .writer-grid { grid-template-columns: 1fr; } }

/* Author portraits retain the map's state selection controls. */
.state-portrait-ring { fill: #fff; stroke: #233955; stroke-width: 1.5; }
.state-portrait { pointer-events: none; }
.state-label:hover .state-portrait-ring,
.state-label.selected .state-portrait-ring,
.state-label:focus-visible .state-portrait-ring { stroke: #233955; stroke-width: 3; }
.writer-portrait { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: center 25%; float: right; margin: 0 0 16px 18px; border: 3px solid var(--state-color); }
.writer-card .portrait-credit { clear: both; font-size: .75rem; line-height: 1.45; margin: 16px 0 0; color: #596777; }
.writer-card .portrait-credit a { font-size: inherit; }

/* Side-by-side section navigation and linked option tables. */
.site-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); max-width: 1800px; margin: 0 auto; align-items: start; }
.section-sidebar { align-self: stretch; background: #ede7da; border-right: 1px solid var(--line); }
.sidebar-inner { position: sticky; top: 95px; max-height: calc(100dvh - 95px); overflow-y: auto; padding: 30px 18px; }
.sidebar-inner .eyebrow { margin-bottom: 8px; font-size: .65rem; }
.sidebar-inner h2 { font-size: 2.6rem; }
.sidebar-intro { margin: 16px 0 22px; font-size: .82rem; line-height: 1.6; color: #59616d; }
.section-menu { display: flex; position: static; padding: 0; flex: none; flex-direction: column; align-items: stretch; justify-content: flex-start; flex-wrap: nowrap; gap: 5px; background: transparent; border: 0; }
.section-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 13px; border: 1px solid transparent; font-size: .84rem; line-height: 1.45; text-decoration: none; }
.section-menu a span { font-size: 1.2rem; }
.section-menu a[aria-current="location"] { color: var(--white); background: var(--navy); border-color: var(--navy); }
.section-menu a:hover { background: #e0d5bd; color: var(--ink); }
.section-menu a:focus-visible, .option-table a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sidebar-contact { display: inline-block; margin: 25px 13px 0; font-size: .8rem; text-underline-offset: 4px; }
.site-content { min-width: 0; }
.site-directory { padding: 40px clamp(24px, 4vw, 60px) 48px; background: var(--white); border-bottom: 1px solid var(--line); }
.site-directory .eyebrow { margin-bottom: 14px; }
.site-directory h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); max-width: 800px; }
.directory-intro { max-width: 690px; color: #59616d; margin: 20px 0 30px; }
.browse-panel { margin-top: 35px; }
.browse-panel[hidden] { display: none; }
.browse-panel h3 { margin: 0 0 18px; font: 600 1.9rem/1.2 var(--serif); }
.option-table { border-collapse: collapse; width: 100%; font-size: .9rem; line-height: 1.6; }
.option-table caption { text-align: left; }
.option-table thead { background: var(--navy); color: var(--white); }
.option-table th, .option-table td { padding: 15px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.option-table thead th { font-size: .75rem; letter-spacing: .04em; font-weight: 500; }
.option-table tbody th { width: 44%; font-weight: 600; }
.option-table tbody td { color: #59616d; }
.option-table tbody tr:nth-child(even) { background: #f3f0e8; }
.option-table tbody tr:hover { background: #eae2d1; }
.option-table a { display: block; text-decoration: none; text-underline-offset: 4px; }
.option-table a:hover { text-decoration: underline; }
.option-table a span { color: #8a651e; white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-layout section[id], .site-layout article[id], .site-layout div[id], .site-layout details[id] { scroll-margin-top: 110px; }
.site-content > .reading, .site-content > .catalog, .site-content > .submissions, .site-content > .authors, .site-content > .mission, .site-content > .about { padding: 60px clamp(24px, 4vw, 60px); }
.site-content h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.site-content .hero { min-height: 420px; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
.site-content .hero-copy { padding: 55px clamp(24px, 4vw, 60px); }
.site-content .hero h1 { font-size: clamp(2.7rem, 5vw, 4.8rem); }
.site-content .hero blockquote { padding: 40px 28px; }
.site-content .hero blockquote p { font-size: 2.1rem; }
.site-content .mission { grid-template-columns: 35px minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
.site-content .about, .site-content .authors, .site-content .catalog-heading, .site-content .submissions-heading { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px; }
.site-content .featured { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.site-content .book-copy { padding: 50px 32px; }
.site-content .book-panel { min-height: 450px; padding: 45px 30px; }
.site-content .reading-grid { column-gap: 35px; }
@media (max-width: 1100px) {
  .site-layout { grid-template-columns: 220px minmax(0, 1fr); }
  .site-content .edition-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-content .hero, .site-content .mission, .site-content .about, .site-content .authors, .site-content .catalog-heading, .site-content .submissions-heading, .site-content .featured { grid-template-columns: 1fr; }
  .site-content .hero blockquote { min-height: 0; }
  .site-content .mission .section-number { display: none; }
  .site-content .catalog-heading h2, .site-content .submissions-heading h2 { grid-row: auto; }
  .site-content .mission > p:last-child { margin-top: 0; }
}
@media (max-width: 760px) {
  .site-layout { grid-template-columns: 1fr; }
  .section-sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
  .sidebar-inner { position: static; max-height: none; padding: 24px; }
  .sidebar-inner h2 { font-size: 2rem; }
  .sidebar-intro { margin: 10px 0 16px; }
  .section-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .section-menu a { font-size: .8rem; padding: 10px; }
  .sidebar-contact { margin-top: 14px; }
  .site-directory { padding: 30px 22px 40px; }
  .option-table th, .option-table td { padding: 13px 12px; overflow-wrap: anywhere; }
  .option-table tbody th { width: 48%; }
  .site-layout section[id], .site-layout article[id], .site-layout div[id], .site-layout details[id] { scroll-margin-top: 100px; }
  .site-content .reading-grid, .site-content .writer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .site-layout { scroll-behavior: auto; } }
.directory-site .site-header { flex-wrap: nowrap; }
.directory-site .site-header #site-nav { flex: 0 1 auto; gap: 12px 22px; }
@media (max-width: 820px) { .directory-site .site-header #site-nav { top: 100%; } }

/* A shared editorial illustration introduces the reading collection. */
.illustrated-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.illustrated-panel-heading h3 { margin: 0; }
.reading-illustration { display: block; height: auto; object-fit: contain; border-radius: 12px; }
.illustrated-panel-heading .reading-illustration { width: 130px; flex: 0 0 130px; }
.illustrated-reading-heading { display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: center; gap: 35px; }
.illustrated-reading-heading .reading-illustration { width: 100%; }
@media (max-width: 900px) {
  .illustrated-reading-heading { grid-template-columns: minmax(0, 1fr) 160px; gap: 22px; }
}
@media (max-width: 500px) {
  .illustrated-panel-heading .reading-illustration { width: 95px; flex-basis: 95px; }
  .illustrated-reading-heading { grid-template-columns: 1fr; gap: 22px; }
  .illustrated-reading-heading .reading-illustration { width: 180px; justify-self: center; }
}

/* Keep each illustration and its description together in one column. */
.illustrated-option .reading-illustration { width: min(220px, 100%); margin-bottom: 16px; }
.illustrated-option p { margin: 0; }
.illustrated-panel-heading { flex-direction: column; align-items: flex-start; gap: 18px; }
.illustrated-panel-heading .reading-illustration { width: min(240px, 100%); flex: none; }
.illustration-description { max-width: 700px; color: #59616d; }
.illustration-description p { margin: 0; }
.illustrated-reading-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.illustrated-reading-heading > .eyebrow { margin: 0; }
.illustrated-reading-heading .reading-illustration { width: min(280px, 100%); }
.illustrated-reading-heading .reading-heading { max-width: 780px; }
.illustrated-reading-heading .reading-heading p { margin: 0 0 18px; }
@media (max-width: 500px) {
  .illustrated-panel-heading .reading-illustration { width: 180px; flex: none; }
  .illustrated-reading-heading .reading-illustration { width: 220px; }
  .illustrated-option .reading-illustration { width: 100%; }
}

/* Match the requested side column: picture, label, then description. */
.section-menu a { flex-direction: column; justify-content: center; gap: 9px; text-align: center; padding: 18px 12px; border-bottom: 1px solid var(--line); }
.section-menu .sidebar-illustration { display: block; width: 140px; height: 140px; object-fit: cover; border-radius: 14px; }
.section-menu #browse-tab-overview .sidebar-illustration { width: 90px; height: 90px; border-radius: 50%; }
.section-menu .sidebar-label { font-size: .92rem; font-weight: 600; line-height: 1.4; }
.section-menu .sidebar-note { font-size: .75rem; font-weight: 400; line-height: 1.5; color: #59616d; }
.section-menu a[aria-current="location"] .sidebar-note { color: #dce6f3; }
.section-menu a[aria-current="location"]:hover .sidebar-note { color: #59616d; }
@media (max-width: 760px) {
  .section-menu a { padding: 15px 10px; }
  .section-menu .sidebar-illustration { width: 110px; height: 110px; }
}
.section-menu .sidebar-map-illustration { width: 100%; max-width: 220px; height: auto; object-fit: contain; }
.immigration-author { display: block; margin-top: 6px; font-size: .8rem; font-weight: 400; color: #85631e; }
#books-on-immigration > .option-table { margin-top: 35px; }
#books-on-mental-illness > .option-table { margin-top: 35px; }
#books-on-peace > .option-table { margin-top: 35px; }
.section-menu .sidebar-number { display: inline-block; font-size: .7rem; letter-spacing: .12em; border: 1px solid currentColor; border-radius: 20px; padding: 2px 9px; }
#novels-on-sacrifice-endurance > .option-table { margin-top: 35px; }
.book-help { background: #eef6f3; }
.book-help-email { margin-top: 18px !important; font-size: .9rem; }

.authors-academy-illustration { display: block; width: min(280px, 100%); height: auto; border-radius: 14px; margin: 20px 0; }



.directory-site .site-header { padding: 12px 24px; }
.directory-site .brand-logo-navy { width: 140px; height: 140px; object-fit: contain; border-radius: 0; box-shadow: none; background: #001f3f; }
@media (min-width: 1101px) {
  .directory-site .site-header { display: grid; grid-template-columns: 260px minmax(0, 1fr); max-width: 1800px; margin: 0 auto; padding: 0; min-height: 260px; }
  .directory-site .brand { width: 260px; height: 260px; }
  .directory-site .brand-logo-navy { width: 260px; height: 260px; }
  .directory-site .site-header #site-nav { justify-content: flex-end; flex-wrap: wrap; padding: 24px 36px; }
  .directory-site .sidebar-inner { top: 264px; max-height: calc(100dvh - 264px); }
}

/* Search, affordable shortcuts and grouped navigation. */
.directory-site .site-header { position: relative; }
.directory-site .sidebar-inner { top: 16px; max-height: calc(100dvh - 32px); }
.directory-site .site-layout [id] { scroll-margin-top: 24px; }
.section-menu { display: block; }
.sidebar-group-title { margin: 28px 0 12px; font: 700 1rem/1.4 var(--sans); color: var(--navy); }
.sidebar-group-links { display: grid; gap: 6px; }
.section-menu .sidebar-label { font-size: 1rem; }
.section-menu .sidebar-note { font-size: .875rem; line-height: 1.6; }
.sidebar-intro { font-size: .95rem; }
.affordable-shortcuts { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.affordable-shortcuts a { display: inline-block; padding: 12px 16px; background: var(--navy); color: #fff; font-size: 1rem; text-decoration: none; border-radius: 6px; }
.site-search { margin: 24px 0 32px; padding: 22px; background: #eff5fb; border: 1px solid #cad7e5; border-radius: 8px; }
.site-search label { display: block; margin-bottom: 10px; font-weight: 600; font-size: 1rem; }
.site-search-controls { display: flex; flex-wrap: wrap; gap: 10px; }
.site-search input { flex: 1 1 220px; min-width: 0; width: 100%; padding: 12px; border: 1px solid #65768a; border-radius: 4px; font: inherit; background: #fff; }
.site-search button { padding: 12px 18px; border: 1px solid var(--navy); border-radius: 4px; background: var(--navy); color: #fff; font: inherit; cursor: pointer; }
#site-search-clear { background: #fff; color: var(--navy); }
#site-search-status { margin: 14px 0 0; font-size: .95rem; }
#site-search-results { list-style: none; padding: 0; margin: 16px 0 0; }
#site-search-results li { padding: 16px 0; border-top: 1px solid #cad7e5; }
#site-search-results a { font-weight: 600; color: var(--navy); text-underline-offset: 3px; }
#site-search-results p { margin: 6px 0 0; font-size: .95rem; line-height: 1.6; }
.search-category { font-size: .875rem; color: #47596c; display: block; margin-bottom: 5px; }
.listing-checked, .listing-access { font-size: .875rem; line-height: 1.6; color: #47596c; }
.reading-card .availability-badge { font-size: .875rem; line-height: 1.6; }
.directory-site :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid #1260a0; outline-offset: 4px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 14px 20px; background: #fff; color: var(--navy); transform: translateY(-200%); border: 2px solid var(--navy); }
.skip-link:focus { transform: translateY(0); }
@media (max-width: 760px) { .directory-site .sidebar-inner { max-height: none; } }
@media (max-width: 820px) { .section-menu { display: block; } .sidebar-group-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-search { padding: 16px; } }
@media (max-width: 420px) { .sidebar-group-links { grid-template-columns: 1fr; } }

footer a { color: inherit; text-underline-offset: 4px; font-size: .875rem; }
.legal-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1000px; margin: 0 auto; padding: 24px; }
.legal-header img { display: block; }
.legal-content { max-width: 850px; margin: 0 auto; padding: 36px 24px 72px; font-size: 1rem; line-height: 1.8; }
.legal-content h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.15; }
.legal-content h2 { font-size: 1.65rem; line-height: 1.3; margin: 36px 0 16px; }
.legal-content p { margin: 0 0 18px; }
.legal-content a { overflow-wrap: anywhere; }
.legal-date { margin-top: 20px !important; color: #47596c; }
.legal-site :is(a, [tabindex]):focus-visible { outline: 3px solid #1260a0; outline-offset: 4px; }
@media (max-width: 540px) { .legal-header img { width: 100px; height: 100px; } footer { flex-wrap: wrap; } }

/* The divider has its own grid track; it never covers either column. */
.directory-site { --sidebar-width: 260px; }
.directory-site .site-layout { grid-template-columns: var(--sidebar-width) 10px minmax(0, 1fr); }
.section-sidebar { min-width: 0; border-right: 0; }
.sidebar-inner { overflow-x: hidden; scrollbar-gutter: stable; }
.section-menu a, .sidebar-group, .sidebar-group-links { min-width: 0; overflow-wrap: anywhere; }
.section-menu img { max-width: 100%; }
.sidebar-divider { align-self: stretch; min-width: 0; background: #d8e1eb; cursor: col-resize; touch-action: none; user-select: none; }
.sidebar-divider:hover, .sidebar-divider:focus-visible { background: #9db5cf; }
.sidebar-resize-grip { position: sticky; top: calc(50dvh - 24px); display: block; width: 6px; height: 48px; margin: 0 auto; border-left: 2px solid #596d83; border-right: 2px solid #596d83; }
.directory-site.sidebar-dragging { cursor: col-resize; user-select: none; }
.directory-site.sidebar-dragging .sidebar-divider { background: #8da8c5; }
@media (min-width: 1101px) {
  .directory-site .site-header { grid-template-columns: var(--sidebar-width) 10px minmax(0, 1fr); min-height: 0; }
  .directory-site .brand { width: 100%; height: auto; grid-column: 1; }
  .directory-site .brand-logo-navy { width: 100%; height: auto; aspect-ratio: 1; }
  .directory-site .site-header #site-nav { grid-column: 3; }
}
@media (min-width: 761px) and (max-width: 1100px) { .directory-site { --sidebar-width: 220px; } }
@media (max-width: 760px) { .directory-site .site-layout { grid-template-columns: minmax(0, 1fr); } .sidebar-divider { display: none; } }

/* Keep the category list independently scrollable whenever columns are side by side. */
.sidebar-scroll-controls { display: none; }
@media (min-width: 761px) {
  .directory-site .sidebar-inner { position: sticky; top: 16px; max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior-y: contain; }
  .directory-site .sidebar-group-links { grid-template-columns: minmax(0, 1fr); }
  .sidebar-scroll-controls { display: flex; position: sticky; top: 0; z-index: 3; gap: 8px; padding: 10px 0; background: #ede7da; }
  .sidebar-scroll-controls button { flex: 1; padding: 8px 4px; background: #fffdf8; color: #10213b; border: 1px solid #8996a6; border-radius: 4px; font: 500 .875rem/1.4 var(--sans); cursor: pointer; }
  .sidebar-scroll-controls button:disabled { opacity: .45; cursor: default; }
  .section-menu a { scroll-margin-block: 64px 16px; }
}

.illustration-zoom-button { display: block; padding: 0; border: 0; background: transparent; cursor: zoom-in; max-width: 100%; border-radius: 14px; }
.sidebar-entry { padding-top: 18px; border-bottom: 1px solid var(--line); }
.sidebar-entry .sidebar-zoom-button { margin: 0 auto 12px; }
.sidebar-entry > a { border-bottom: 0; padding-top: 4px; }
.sidebar-entry:has(a[aria-current="location"]) { background: var(--navy); }
.content-zoom-button { width: fit-content; margin: 20px 0; }
.content-zoom-button .authors-academy-illustration { margin: 0; }
.illustration-viewer { border: 0; border-radius: 12px; padding: 20px; max-width: min(940px, 94vw); max-height: 94dvh; width: fit-content; background: #fffdf8; color: #10213b; box-shadow: 0 15px 60px #0005; }
.illustration-viewer::backdrop { background: #081425d9; }
.illustration-viewer-toolbar { display: flex; align-items: center; gap: 24px; justify-content: space-between; margin-bottom: 16px; }
.illustration-viewer-toolbar h2 { font: 600 1.1rem/1.4 var(--sans); margin: 0; }
.illustration-viewer-toolbar button { padding: 9px 18px; font: inherit; border: 1px solid #10213b; border-radius: 4px; background: #10213b; color: white; cursor: pointer; flex-shrink: 0; }
#illustration-viewer-image { display: block; width: min(820px, 85vw); height: auto; max-height: 76dvh; object-fit: contain; margin: auto; }
body.illustration-viewer-open { overflow: hidden; }
@media (max-width: 540px) { .illustration-viewer { padding: 12px; } .illustration-viewer-toolbar { gap: 12px; } }
.content-zoom-button:has(.reading-illustration), .content-zoom-button:has(.authors-academy-illustration) { width: min(280px, 100%); }
.content-zoom-button .reading-illustration, .content-zoom-button .authors-academy-illustration { width: 100%; }

.section-menu .sidebar-open-section { display: block; font-size: .875rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; margin-top: 6px; }
.illustration-viewer-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
#illustration-viewer-section { display: inline-block; background: #10213b; color: white; padding: 9px 14px; border: 1px solid #10213b; border-radius: 4px; font-size: .95rem; font-weight: 600; text-decoration: none; }
#illustration-viewer-description { margin: 0 0 16px; max-width: 820px; font-size: 1rem; line-height: 1.6; }
#illustration-viewer-image { max-height: 64dvh; }
@media (max-width: 640px) { .illustration-viewer-toolbar { align-items: flex-start; flex-wrap: wrap; } .illustration-viewer-actions { width: 100%; } }
.illustration-viewer [hidden] { display: none !important; }
