@font-face {
  font-family: "Source Serif 4";
  src: url('/assets/versioned/source-serif-4.56a95513d84d.woff2') format('woff2');
  font-weight: 400 650;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url('/assets/versioned/source-sans-3.19143dca0759.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --paper: #f9f8f3;
  --white: #fffefa;
  --ink: #172a21;
  --green: #234b37;
  --muted: #4f6257;
  --line: #dbdfd1;
  --pale: #e9eee2;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Source Sans 3", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.0625rem/1.55 var(--sans); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; }
a { color: inherit; text-underline-offset: .19em; }
a:hover { color: var(--green); }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #9d4b2c; outline-offset: 4px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 10; top: 8px; left: 8px; background: white; padding: .55rem .85rem; }
.shell { width: min(1180px, calc(100% - 4.5rem)); margin-inline: auto; }

.site-header { border-top: 4px solid var(--green); border-bottom: 1px solid var(--line); }
.masthead { min-height: 78px; display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 1.4rem; }
.wordmark { display: inline-flex; align-items: center; justify-self: start; text-decoration: none; font: 650 clamp(1.65rem,3.2vw,2.18rem)/1 var(--serif); letter-spacing: -.06em; white-space: nowrap; }
.brand-mark { position: relative; display: inline-block; width: 23px; height: 17px; margin-right: .55rem; flex: none; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; top: 0; width: 10px; height: 15px; background: #2e593d; border-radius: 1px; }
.brand-mark::before { left: 0; transform: skewY(13deg); }
.brand-mark::after { right: 0; transform: skewY(-13deg); background: #557349; }
.utility-nav, .site-footer nav { display: flex; align-items: center; gap: .2rem clamp(.9rem,2.5vw,2rem); flex-wrap: wrap; }
.utility-nav a, .site-footer nav a, .search-link { font-size: 1rem; font-weight: 600; text-decoration: none; }
.utility-nav a:hover, .utility-nav a[aria-current], .site-footer nav a:hover, .search-link:hover { text-decoration: underline; color: var(--green); }
.category-nav { display: flex; flex-wrap: wrap; gap: 0 clamp(.9rem,3vw,2.6rem); border-top: 1px solid var(--line); }
.category-nav a { display: inline-flex; align-items: center; min-height: 46px; padding-inline: .08rem; font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; }
.category-nav a:hover, .category-nav a[aria-current] { color: var(--green); border-color: var(--green); }
.search-link { justify-self: end; display: inline-flex; gap: .6rem; align-items: center; min-height: 44px; }
.search-icon { display: inline-block; width: 13px; height: 13px; flex: 0 0 13px; border: 1.6px solid currentColor; border-radius: 50%; position: relative; }
.search-icon::after { content: ""; position: absolute; left: 9px; top: 9px; width: 6px; height: 1.6px; background: currentColor; transform: rotate(45deg); transform-origin: left center; }

.home-intro { padding-block: clamp(1.9rem,4.25vw,3.45rem) clamp(1rem,2.5vw,1.65rem); border-bottom: 2px solid var(--green); }
.home-intro h1 { font-size: clamp(2.3rem,5vw,3.65rem); letter-spacing: -.045em; }
.home-intro p { margin-top: .55rem; color: var(--muted); font-size: 1.18rem; }
.home-edition { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12.5rem, 16.5rem); margin-bottom: clamp(2.6rem,5.5vw,5rem); }
.home-stories { min-width: 0; padding-right: clamp(1.25rem,3vw,2.15rem); }
.lead-story { display: grid; grid-template-columns: minmax(15rem, .88fr) minmax(0, 1.12fr); align-items: start; gap: clamp(1.35rem,3vw,2.2rem); padding-block: 1.65rem 1.15rem; }
.lead-copy { padding-top: .25rem; }
.lead-copy h2 { font-size: clamp(1.95rem,3.95vw,3.3rem); letter-spacing: -.04em; line-height: 1.06; margin-block: .38rem .65rem; }
.lead-copy h2 a, .guide-entry h3 a { text-decoration: none; }
.lead-copy h2 a:hover, .guide-entry h3 a:hover:hover { text-decoration: underline; }
.lead-copy > p:not(.topic-label) { color: var(--muted); }
.lead-copy .lead-byline { margin-top: .8rem; font-size: .945rem; }
.lead-byline a { font-weight: 600; }
.topic-label { font-size: .92rem; line-height: 1.4; font-weight: 650; color: var(--green); }
.study-photo img { width: 100%; height: auto; }
.lead-photo img { aspect-ratio: 1.38; object-fit: cover; object-position: 55% center; }
.study-photo figcaption { margin-top: .4rem; color: var(--muted); font-size: .875rem; line-height: 1.45; }
.home-sidebar { border-left: 1px solid var(--line); padding: 1.65rem 0 0 clamp(1.25rem,3vw,2rem); }
.home-sidebar h2 { font-size: 1.42rem; letter-spacing: -.025em; }
.topic-list { margin: .62rem 0 0; padding: 0; list-style: none; }
.topic-list li { padding: .73rem 0; border-bottom: 1px solid var(--line); }
.topic-list a { font-weight: 700; text-decoration-thickness: 1px; }
.topic-list p, .home-policy p { color: var(--muted); line-height: 1.4; margin-top: .17rem; }
.home-policy { margin-top: 1.65rem; }
.home-policy p { margin-block: .5rem; }
.home-guides { margin-top: .42rem; }
.home-guides .section-heading { padding-top: .78rem; border-top: 1px solid var(--green); margin-bottom: .25rem; }
.home-guides .section-heading h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); }

.section { padding: clamp(1.85rem,4.8vw,3.65rem) 0; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem 1.3rem; margin-bottom: 1rem; flex-wrap: wrap; }
.section-heading h2 { font-size: clamp(1.55rem,3.2vw,2.15rem); letter-spacing: -.032em; }
.section-heading p { color: var(--muted); }
.text-link { color: var(--green); font-weight: 650; }
.guide-list { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 2.1rem; }
.home-list { grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: 1.45rem; border-top: 0; }
.guide-entry { padding: .95rem 0 1.1rem; border-bottom: 1px solid var(--line); }
.guide-entry h3 { font-size: clamp(1.27rem,2.3vw,1.62rem); letter-spacing: -.023em; margin-block: .2rem .32rem; }
.guide-entry > p:last-child { color: var(--muted); line-height: 1.45; }
.home-list .guide-entry { padding-bottom: 0; border: 0; }
.home-list .guide-entry + .guide-entry { border-left: 1px solid var(--line); padding-left: 1.25rem; }

.site-footer { background: #edf0e7; border-top: 1px solid var(--line); padding: 1.7rem 0 1.1rem; }
.footer-inner, .footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.6rem; }
.footer-inner p, .footer-bottom { color: var(--muted); font-size: .94rem; }
.footer-inner p { margin-top: .42rem; }
.footer-bottom { border-top: 1px solid #d9dfd1; margin-top: 1.25rem; padding-top: .85rem; }

.page-intro { border-bottom: 1px solid var(--line); padding: 1.1rem 0 clamp(1.55rem,4vw,2.65rem); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .22rem .6rem; color: var(--muted); font-size: .925rem; line-height: 1.45; margin-bottom: 1.3rem; }
.page-intro h1 { font-size: clamp(2.15rem,6vw,4.1rem); letter-spacing: -.044em; line-height: 1.04; max-width: 23ch; }
.page-intro .shell > p:not(.topic-label) { margin-top: .7rem; color: var(--muted); max-width: 63ch; font-size: 1.17rem; }
.page-intro .topic-label { margin-bottom: .43rem; }
.article-intro .shell > p:not(.topic-label) { font: 1.16rem/1.5 var(--serif); max-width: 62ch; }
.byline { margin-top: 1rem; font-size: .95rem; }
.byline .team-bio { max-width: 65ch; margin-top: .25rem; color: var(--muted); }
.article-grid { display: grid; grid-template-columns: minmax(10rem,14rem) minmax(0,43rem); gap: clamp(1.7rem,5vw,4.25rem); padding-block: 1.9rem clamp(2.5rem,5vw,4rem); }
.toc nav { border-top: 2px solid var(--green); padding-top: .68rem; position: sticky; top: 1.2rem; }
.toc h2 { font: 650 1rem/1.45 var(--sans); }
.toc ul { padding: 0; list-style: none; margin: .45rem 0 0; }
.toc li { margin: .45rem 0; color: var(--muted); font-size: .98rem; line-height: 1.4; }
.prose { font: 1.12rem/1.7 var(--serif); max-width: 68ch; overflow-wrap: break-word; }
.prose section + section, .prose section + .article-feedback, .prose .review-note + section { margin-top: 1.55rem; }
.prose section[id] { scroll-margin-top: 1.1rem; }
.prose h2, .contact-panel h2 { font-size: clamp(1.42rem,3vw,1.86rem); letter-spacing: -.025em; margin-bottom: .46rem; }
.prose p + p { margin-top: .6rem; }
.prose a { color: var(--green); }
.article-photo { margin-bottom: 1.45rem; }
.article-photo figcaption, .review-note { font-family: var(--sans); }
.quick-answer, .exercise { border-left: 3px solid #739263; padding: .15rem 0 .15rem 1rem; }
.exercise { border-color: #a98140; }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: .36rem; }
.article-feedback { border-top: 1px solid var(--line); padding-top: .8rem; font: 1rem/1.5 var(--sans); }
.related { border-top: 1px solid var(--line); background: #f2f3ed; }

.filter-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem 1.4rem; margin-bottom: 1.45rem; }
.search-field { display: flex; align-items: center; gap: .65rem; padding: 0 .8rem; border: 1px solid #aebcaf; background: var(--white); width: min(100%, 19rem); }
.search-field input { width: 100%; min-height: 44px; border: 0; background: transparent; padding: .3rem .2rem; outline: none; }
.search-field:focus-within { outline: 2px solid #9d4b2c; outline-offset: 3px; }
.filters { display: flex; flex-wrap: wrap; gap: .35rem .55rem; }
.filters button { min-height: 44px; border: 0; border-bottom: 2px solid transparent; padding: .32rem .46rem; background: transparent; font-weight: 600; cursor: pointer; }
.filters button:hover, .filters button[aria-pressed=true] { border-color: var(--green); color: var(--green); }
.filters button[aria-pressed=true] { background: var(--pale); }
#empty-results { padding-block: 1.15rem; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem 2.5rem; }
.review-note { color: var(--muted); font-size: 1rem; }
.policy > p:last-child { margin-top: 1.45rem; }
.contact-grid { gap: clamp(1.4rem,5vw,4rem); align-items: start; }
.contact-panel { border-left: 1px solid var(--line); padding-left: clamp(1.1rem,3vw,2rem); }
.contact-panel form { margin-top: .85rem; display: grid; gap: .55rem; }
.contact-panel label { font-weight: 650; }
.contact-panel select, .contact-panel textarea { width: 100%; padding: .52rem .65rem; background: var(--white); border: 1px solid #92a394; border-radius: 2px; }
.contact-panel select { min-height: 44px; }
.contact-panel textarea { resize: vertical; }
.contact-panel button { justify-self: start; margin-top: .3rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .5rem .8rem; border: 1px solid transparent; border-radius: 2px; font-weight: 650; cursor: pointer; }
.primary { background: var(--green); color: white; }
.primary:hover { background: #35634a; }
.contact-email { overflow-wrap: anywhere; }
.contact-details .contact-actions { display: flex; flex-wrap: wrap; gap: .15rem 1.15rem; margin: .45rem 0 0; padding: 0; list-style: none; font-family: var(--sans); }
.contact-actions li + li { margin: 0; }
.contact-actions a { display: inline-flex; align-items: center; min-height: 44px; }

/* Category hubs and grade navigation. */
.directory-nav .topic-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,10rem),1fr)); gap: 0 1.35rem; }
.directory-note { margin-top: 1.2rem; color: var(--muted); }
.grade-directory { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,14rem),1fr)); gap: 1.3rem 1.75rem; }
.grade-group { border-top: 2px solid var(--green); padding-top: .65rem; }
.grade-group h2, .subject-section h2 { font-size: clamp(1.32rem,3vw,1.8rem); }
.grade-group ul, .grade-links ul { list-style: none; padding: 0; }
.grade-group ul { margin: .55rem 0 0; }
.grade-group li { display: grid; border-bottom: 1px solid var(--line); padding: .55rem 0 .65rem; }
.grade-group li a { font-weight: 700; }
.grade-group li span, .subject-section > p { color: var(--muted); }
.subject-section { scroll-margin-top: 1rem; }
.subject-section + .subject-section { margin-top: 1.55rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.subject-section h2 { margin-bottom: .4rem; }
.subject-section .guide-list { grid-template-columns: 1fr; margin-top: .65rem; }
.section-example { margin-top: .5rem; }
.practice-answer { margin-top: .8rem; }
.practice-answer summary { font-family: var(--sans); font-weight: 650; cursor: pointer; }
.practice-answer p { margin-top: .45rem; }
.grade-links ul { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: 1.35rem 0 0; font-family: var(--sans); }

@media (max-width: 890px) {
  .lead-story { grid-template-columns: 1fr; gap: .95rem; }
  .lead-copy { padding-top: 0; }
  .home-list { grid-template-columns: 1fr; }
  .home-list .guide-entry, .home-list .guide-entry + .guide-entry { border-left: 0; border-bottom: 1px solid var(--line); padding: .78rem 0; }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 2rem); }
  .masthead { grid-template-columns: minmax(0,1fr) auto; min-height: auto; padding: .5rem 0 0; gap: 0 .65rem; }
  .masthead .utility-nav { display: none; }
  .category-nav { column-gap: .9rem; }
  .category-nav a { min-height: 44px; }
  .search-link { grid-row: 1; grid-column: 2; }
  .home-edition, .article-grid, .contact-grid { grid-template-columns: 1fr; }
  .home-stories { padding: 0; }
  .home-sidebar { border-left: 0; padding: 0; margin-top: 1.5rem; }
  .home-sidebar h2 { border-top: 1px solid var(--green); padding-top: .72rem; }
  .lead-story { padding-block: 1.15rem .8rem; }
  .lead-photo img { aspect-ratio: 1.58; }
  .article-grid { gap: 1.2rem; padding-top: 1.35rem; }
  .toc nav { position: static; }
  .contact-panel { border-left: 0; border-top: 1px solid var(--line); padding: 1.15rem 0 0; }
}
@media (max-width: 475px) {
  .guide-list { grid-template-columns: 1fr; }
  .category-nav { column-gap: .7rem; }
  .category-nav a { font-size: .97rem; }
  .prose { font-size: 1.05rem; }
}
@media print {
  .site-header, .site-footer, .related, .toc, .article-feedback { display: none; }
  .article-grid { display: block; }
  .shell { width: 100%; }
}

.contributor-section:first-of-type { margin-top: 1.3rem; }
.contributor-roles { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,16rem),1fr)); gap: 0 1.4rem; margin: .75rem 0 0; }
.contributor-roles > div { border-top: 1px solid var(--line); padding: .6rem 0; }
.contributor-roles dt { font-weight: 700; }
.contributor-roles dd { margin: .16rem 0 0; color: var(--muted); line-height: 1.45; }

.review-copy h2 { margin-top: 1.7rem; }
.review-copy h2:first-child { margin-top: 0; }
.review-copy h3 { font-size: 1.16rem; margin: 1rem 0 .4rem; }
.review-copy ul, .review-copy ol { padding-left: 1.4rem; }
.table-scroll { max-width: 100%; overflow-x: auto; margin: 1.15rem 0; }
.review-copy table { border-collapse: collapse; width: 100%; min-width: 31rem; font: 1rem/1.4 var(--sans); }
.review-copy th, .review-copy td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: .57rem .64rem; }
.review-copy th { background: var(--pale); font-weight: 650; }
