:root {
  --paper: #f6f3eb;
  --ink: #213e33;
  --muted: #616b60;
  --line: #d7d9cc;
  --accent: #8b6543;
  --green: #244d3d;
  --wash: #eeeee3;
  color-scheme: light;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
a:hover {
  color: var(--accent);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  outline-offset: 5px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
}
header,
main,
footer {
  max-width: 1240px;
  margin: auto;
  padding-left: 48px;
  padding-right: 48px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, serif;
  font-size: 25px;
  text-decoration: none;
}
.brand-mark {
  font-family: Georgia, serif;
  font-size: 38px;
  border: 1px solid var(--ink);
  width: 45px;
  height: 51px;
  line-height: 43px;
  text-align: center;
  border-radius: 23px 23px 2px 2px;
}
.brand-divider {
  font-family: Georgia;
  color: #a8b09e;
  margin-left: 12px;
}
.brand-sub {
  font:
    14px "Trebuchet MS",
    sans-serif;
  letter-spacing: 0.05em;
}
nav {
  display: flex;
  gap: 27px;
  font-size: 13px;
}
nav a {
  text-decoration: none;
}
.intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 70px;
  padding: 64px 0 48px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: bold;
  color: var(--muted);
  line-height: 1.7;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 20px 0;
}
h1 em {
  font-weight: 400;
  color: #6b7a5d;
}
.lede {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}
.intro-note {
  border-left: 1px solid var(--line);
  padding-left: 42px;
}
.intro-note > span {
  font:
    29px Georgia,
    serif;
  color: #727e66;
}
.intro-note p {
  font:
    15px/1.8 Georgia,
    serif;
  color: var(--muted);
  margin: 22px 0;
}
.stats {
  display: flex;
  gap: 40px;
  margin-top: 29px;
}
.stats span {
  font-size: 11px;
  color: var(--muted);
}
.stats b {
  display: block;
  font: 31px Georgia;
  color: var(--ink);
  margin-bottom: 6px;
}
.tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}
.tabs a {
  padding: 16px 0;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}
.tabs .active {
  color: var(--ink);
  border-bottom: 2px solid var(--green);
}
.search-form {
  padding: 26px 0;
}
.search-box {
  display: flex;
  align-items: center;
  border: 1px solid #adb9a6;
  background: #fffef9;
  border-radius: 4px;
  padding: 7px;
  gap: 15px;
}
.search-box > span {
  font: 32px Georgia;
  padding-left: 12px;
  color: #63765b;
}
.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 14px 0;
  font-size: 16px;
  color: var(--ink);
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 0;
  border-radius: 3px;
  background: var(--green);
  color: #fffef9;
  padding: 16px 24px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  font-size: 13px;
}
.button:hover,
button:hover {
  background: #38624c;
  color: #fffef9;
}
.filters {
  display: flex;
  gap: 16px;
  align-items: end;
  padding: 19px 0 0;
  flex-wrap: wrap;
}
.filters label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.filters select {
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  border-radius: 3px;
  width: 100%;
  max-width: 235px;
  min-width: 120px;
  padding: 11px 27px 11px 10px;
  font-size: 12px;
  letter-spacing: 0;
}
.filters .apply {
  padding: 12px 14px;
  background: #e6eadf;
  color: var(--ink);
}
.clear {
  font-size: 12px;
  padding: 12px 0;
}
.results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 13px 0 23px;
}
.results-heading h2,
.edition-section > h2 {
  font: 26px Georgia;
  margin: 0;
}
.results-heading span {
  font-size: 12px;
  color: var(--muted);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
}
.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  padding: 23px 21px 18px;
  min-height: 285px;
  border-radius: 3px;
  background: #fbf9f3;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.work-card:hover {
  border-color: #a3b29a;
  background: #fffdf7;
}
.card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
  min-height: 34px;
}
.card-top .eyebrow {
  font-size: 9px;
  max-width: 78%;
  letter-spacing: 0.1em;
}
.year {
  font: 14px Georgia;
  color: var(--accent);
  white-space: nowrap;
}
.hebrew {
  font:
    24px/1.5 Georgia,
    serif;
  margin: 24px 0 11px;
  text-align: left;
}
.work-card h2 {
  font: 23px/1.2 Georgia;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.work-card h2 a {
  text-decoration: none;
}
.author {
  font-size: 11px;
  line-height: 1.7;
  margin: 0 0 27px;
  color: var(--muted);
}
.card-bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 10px;
  color: var(--muted);
}
.card-bottom a {
  color: var(--ink);
  font-size: 12px;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
}
.scope-note {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 25px 0;
}
.pagination {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin: 30px 0;
  font-size: 13px;
}
.empty {
  grid-column: 1/-1;
  padding: 40px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.empty h3 {
  font: 23px Georgia;
}
.empty p {
  font-size: 14px;
  line-height: 1.8;
}
.passage {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.passage h2 {
  font: 25px Georgia;
}
.passage h2 a {
  text-decoration: none;
}
.passage p {
  font: 18px/1.8 Georgia;
  max-width: 850px;
}
.text-link {
  font-size: 12px;
  margin-right: 20px;
}
.hebrew-excerpt {
  font-size: 22px !important;
  text-align: right;
}
mark {
  background: #e6ddab;
  color: #20352a;
  padding: 1px 3px;
  border-radius: 2px;
}
.work-intro {
  padding: 45px 0 30px;
  border-bottom: 1px solid var(--line);
}
.back {
  font-size: 13px;
  display: block;
  margin-bottom: 35px;
  text-decoration: none;
}
.work-intro h1 {
  font-size: 54px;
}
.work-hebrew {
  font: 32px/1.5 Georgia;
  text-align: left;
}
.edition-section {
  padding: 36px 0;
}
.edition {
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}
.edition-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.edition-head h3 {
  font: 25px Georgia;
  margin: 12px 0;
}
.edition p {
  line-height: 1.8;
  font-size: 14px;
  max-width: 850px;
}
.edition-head p {
  margin: 0;
}
.notice {
  border-left: 3px solid #ab865a;
  background: #eee8d9;
  padding: 14px 18px;
  color: #5c4935;
}
.edition details {
  margin: 22px 0 0;
  font-size: 13px;
}
.edition summary {
  cursor: pointer;
  padding: 8px 0;
}
.edition dl {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  font-size: 12px;
  line-height: 1.8;
  padding: 15px;
  background: var(--wash);
}
.edition dt {
  font-weight: bold;
}
.edition dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.selected-passage {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.selected-passage h2 {
  font: 28px Georgia;
}
.paired {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  font: 19px/1.9 Georgia;
}
.paired [lang="he"] {
  font-size: 23px;
}
.prose {
  max-width: 850px;
  padding: 55px 0;
}
.prose h1 {
  font-size: 54px;
}
.prose h2 {
  font: 27px Georgia;
  margin-top: 35px;
}
.prose p {
  line-height: 1.9;
}
.prose .edition h2 {
  margin-top: 0;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid var(--line);
  margin-top: 50px;
  padding-top: 28px;
  padding-bottom: 35px;
  font-size: 11px;
  color: var(--muted);
}
.sr-only,
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip:focus {
  position: fixed;
  z-index: 5;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  clip: auto;
  padding: 14px;
  background: white;
}
@media (max-width: 1000px) {
  header,
  main,
  footer {
    padding-left: 28px;
    padding-right: 28px;
  }
  .intro {
    gap: 30px;
  }
  .intro-note {
    padding-left: 30px;
  }
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filters label {
    min-width: 150px;
  }
  .filters select {
    max-width: none;
  }
}
@media (max-width: 620px) {
  header,
  main,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  header {
    height: auto;
    padding-top: 23px;
    padding-bottom: 20px;
    display: block;
  }
  .brand {
    font-size: 23px;
  }
  .brand-mark {
    height: 43px;
    width: 38px;
    line-height: 36px;
    font-size: 31px;
  }
  nav {
    margin-top: 23px;
    justify-content: space-between;
    font-size: 12px;
    gap: 12px;
  }
  .intro {
    display: block;
    padding: 35px 0 28px;
  }
  h1 {
    font-size: 49px;
  }
  .intro-note {
    border: 0;
    padding: 0;
  }
  .intro-note > span,
  .intro-note > p {
    display: none;
  }
  .stats {
    margin-top: 22px;
    gap: 35px;
  }
  .stats b {
    font-size: 24px;
    display: inline;
    margin-right: 8px;
  }
  .lede {
    font-size: 14px;
  }
  .search-box {
    gap: 8px;
  }
  .search-box > span {
    display: none;
  }
  .search-box input {
    padding-left: 9px;
    font-size: 13px;
  }
  .search-box button {
    padding: 14px;
    gap: 8px;
  }
  .filters {
    gap: 12px;
  }
  .filters label {
    min-width: 40%;
    max-width: calc(50% - 6px);
  }
  .filters select {
    min-width: 0;
  }
  .results-heading h2 {
    font-size: 23px;
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .work-card {
    min-height: 255px;
    padding: 23px;
  }
  .hebrew {
    font-size: 26px;
    margin-top: 20px;
  }
  .work-card h2 {
    font-size: 26px;
  }
  .card-bottom {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
  .card-bottom a {
    gap: 12px;
  }
  .edition-head {
    display: block;
  }
  .edition-head .button {
    margin-top: 20px;
  }
  .work-intro h1,
  .prose h1 {
    font-size: 40px;
  }
  .work-hebrew {
    font-size: 27px;
  }
  .paired {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .edition dl {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .edition dd {
    margin-bottom: 10px;
  }
  footer {
    flex-direction: column;
    gap: 13px;
    margin-top: 30px;
  }
  .scope-note {
    font-size: 11px;
  }
  .empty {
    padding: 25px;
  }
}
