:root {
  color-scheme: light;
  --paper: #f4eee0;
  --card: #fbf6eb;
  --ink: #25241d;
  --muted: #585449;
  --line: #c8bfae;
  --dark: #211f1a;
  --dark-text: #f7efdc;
  --dark-muted: #d9ceba;
  --olive: #dbe2a5;
  --serif: Iowan Old Style, Palatino Linotype, Book Antiqua, Georgia, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
a { color: inherit; }
picture { display: block; }
img { display: block; width: 100%; height: auto; }
button, input, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; }
h2 { font-size: clamp(2.15rem, 4.2vw, 3.7rem); }
h3 { font-size: clamp(1.42rem, 2.1vw, 2rem); }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid #68875c; outline-offset: 4px; }
.wrap { width: min(100% - 3rem, 1280px); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: .5rem; left: .5rem; background: var(--card); color: var(--ink); padding: .6rem 1rem; transform: translateY(-160%); }
.skip:focus { transform: none; }
.site-header, .site-footer { background: var(--dark); color: var(--dark-text); }
.site-header { border-bottom: 1px solid #51493b; }
.header-layout { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.65rem; min-height: 78px; padding-block: .65rem; }
.wordmark { display: inline-flex; gap: .63rem; align-items: center; font-size: 1.06rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.wordmark i { font-family: var(--serif); font-size: 1.2em; font-weight: 500; }
.mark { width: 1.15rem; aspect-ratio: 1; flex: none; display: inline-block; border-radius: 1px; border: 1px solid var(--olive); background: repeating-linear-gradient(0deg, transparent 0 3px, var(--olive) 3px 4px); transform: rotate(-10deg); }
.main-nav, .language { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(.8rem, 2vw, 1.85rem); }
.main-nav a, .language a { text-decoration: none; color: var(--dark-muted); font-size: .84rem; font-weight: 600; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--dark-text); text-decoration: underline; text-underline-offset: .35em; }
.language { justify-self: end; flex-wrap: nowrap; gap: .28rem; }
.language a { display: grid; place-items: center; min-width: 2.2rem; min-height: 2.2rem; padding: .28rem .35rem; font-size: .73rem; }
.language a:hover, .language a[aria-current] { color: var(--ink); background: var(--olive); }
.hero { background: var(--dark); color: var(--dark-text); }
.hero-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 6rem); }
.hero-copy { position: relative; }
.eyebrow { font: 760 .71rem/1.4 var(--sans); letter-spacing: .115em; text-transform: uppercase; }
.hero .eyebrow { color: var(--olive); margin-bottom: 1.4rem; }
.hero h1 { font-size: clamp(3.6rem, 7.7vw, 7.5rem); line-height: .91; letter-spacing: -.063em; text-wrap: nowrap; }
.hero h1 em { color: var(--olive); font-weight: inherit; }
.hero-subtitle { color: var(--dark-text); font-family: var(--serif); font-size: clamp(1.36rem, 2.24vw, 2rem); line-height: 1.2; margin-top: 1.6rem; }
.intro { max-width: 54ch; color: var(--dark-muted); margin-top: .85rem; font-size: .98rem; }
.hero-photo { outline: 1px solid #857b61; outline-offset: .55rem; min-width: 0; margin: .55rem; position: relative; }
.hero-photo img { aspect-ratio: 4/3; object-fit: cover; }
.hero-photo::before, .hero-photo::after { content: ''; position: absolute; width: 2.4rem; height: 2.4rem; pointer-events: none; }
.hero-photo::before { top: -.6rem; left: -.6rem; border-top: 2px solid var(--olive); border-left: 2px solid var(--olive); }
.hero-photo::after { bottom: -.6rem; right: -.6rem; border-bottom: 2px solid var(--olive); border-right: 2px solid var(--olive); }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.45rem; }
.button { display: inline-flex; gap: .75rem; align-items: center; justify-content: space-between; min-height: 2.8rem; padding: .55rem .8rem; border: 1px solid transparent; border-radius: 2px; background: var(--olive); color: var(--ink); font-size: .82rem; font-weight: 740; line-height: 1.2; text-decoration: none; }
.button:hover { background: #f4f0b8; }
.button-outline { background: transparent; color: var(--dark-text); border-color: #958875; }
.button-outline:hover { background: #3d392d; }
.button-ink { background: var(--dark); color: var(--dark-text); }
.button-ink:hover { background: #444637; }
.text-link { display: inline-block; font-weight: 700; font-size: .88rem; text-underline-offset: .25em; }
.text-link:hover { text-decoration-thickness: 2px; }
.catalog-shelf { background: #e6e8bd; border-bottom: 1px solid #bdc094; }
.shelf-layout { padding-block: clamp(2rem, 5vw, 3.7rem); display: grid; grid-template-columns: minmax(14rem, .7fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 5vw, 5rem); }
.shelf-layout h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.shelf-layout p { margin: .7rem 0 .9rem; max-width: 38ch; }
.category-select { margin-bottom: .8rem; }
.category-select label, .fit-form label { display: grid; gap: .36rem; font-size: .85rem; font-weight: 700; }
.category-select div { display: flex; gap: .45rem; margin-top: .32rem; }
.category-select select, .fit-form input, .fit-form select { width: 100%; min-width: 0; min-height: 2.75rem; padding: .45rem .65rem; background: var(--card); border: 1px solid #817966; border-radius: 2px; color: var(--ink); }
.category-select .button { flex: none; background: var(--dark); color: var(--dark-text); }
.category-select .button:hover { background: #444637; }
.category-grid { display: flex; flex-wrap: wrap; gap: .42rem; }
.category-grid a { display: flex; gap: .75rem; justify-content: space-between; align-items: center; padding: .4rem .65rem; min-height: 2.6rem; border: 1px solid #8d8c68; border-radius: 2px; letter-spacing: .005em; font-size: .82rem; font-weight: 640; text-decoration: none; }
.category-grid a:hover { background: var(--dark); color: var(--dark-text); }
.section-pad { padding-block: clamp(2.4rem, 6vw, 5.1rem); }
.section-heading { display: flex; flex-wrap: wrap; gap: .7rem 2rem; justify-content: space-between; align-items: end; margin-bottom: 1.65rem; }
.section-heading p, .page-intro > p:last-child { max-width: 59ch; margin-top: .65rem; color: var(--muted); }
.articles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 1.2rem; }
.featured-grid .feature-card { grid-column: 1 / -1; }
.article-card { min-width: 0; border: 1px solid var(--line); background: var(--card); }
.article-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.feature-card .article-link { display: grid; grid-template-columns: 1.2fr .8fr; }
.card-photo { overflow: hidden; }
.card-photo img { aspect-ratio: 4/3; object-fit: cover; transition: transform .25s; }
.feature-card .card-photo picture { height: 100%; }
.feature-card .card-photo img { height: 100%; max-height: 410px; }
.article-link:hover img { transform: scale(1.03); }
.article-link:hover .read-label { text-decoration: underline; }
.card-copy { display: flex; flex-direction: column; flex: 1; padding: clamp(.95rem, 2.75vw, 1.8rem); }
.feature-card .card-copy { justify-content: center; }
.feature-card h3 { font-size: clamp(1.8rem, 3.2vw, 3rem); }
.card-copy .eyebrow { color: #475335; margin-bottom: .55rem; }
.card-copy h3 + p { margin: .65rem 0 1rem; color: var(--muted); font-size: .91rem; }
.read-label { font-size: .81rem; font-weight: 760; margin-top: auto; }
.feature-card .read-label { margin-top: .3rem; }
.collections { background: #e5ded0; border-top: 1px solid var(--line); }
.groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.groups a { display: grid; gap: .5rem; padding: 1.1rem; height: 100%; border-top: 2px solid #62614a; background: var(--card); text-decoration: none; }
.groups a:hover { background: #f6f3ce; }
.groups strong { display: flex; gap: .6rem; justify-content: space-between; font-family: var(--serif); font-size: 1.34rem; line-height: 1.1; }
.groups strong span { font-family: var(--sans); font-size: .98rem; }
.groups a > span { font-size: .89rem; color: var(--muted); }
.tool-strip { display: flex; align-items: start; gap: .85rem 1.25rem; padding: 1.1rem; margin-top: 1.3rem; background: #e6e8bd; border: 1px solid #bdc094; }
.tool-strip a { flex: none; }
.tool-strip p { max-width: 60ch; font-size: .88rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .28rem .58rem; padding-top: 1.3rem; color: var(--muted); font-size: .82rem; }
.breadcrumbs a { text-underline-offset: .25em; }
.page-intro { padding-block: clamp(2rem, 5.5vw, 4.8rem) clamp(1.35rem, 4vw, 3.1rem); border-bottom: 1px solid var(--line); }
.page-intro .eyebrow { color: #475335; margin-bottom: .75rem; }
.page-intro h1 { font-size: clamp(2.5rem, 6vw, 5.1rem); max-width: 20ch; text-wrap: balance; }
.page-intro > p:last-child { font-size: clamp(1rem, 2vw, 1.19rem); }
.directory { padding-top: clamp(1.4rem, 4vw, 3rem); }
.directory > h2, .guide-directory section h2 { margin-bottom: 1rem; font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
.directory > :not(h2) + h2 { margin-top: 1.85rem; }
.guide-directory { max-width: 920px; }
.guide-directory .tool-strip { margin-top: 0; }
.guide-directory section { margin-top: 2.35rem; }
.guide-directory section > p { margin: -.45rem 0 .75rem; }
.guide-list { border-top: 1px solid var(--line); }
.guide-list a { display: flex; justify-content: space-between; gap: 1rem; align-items: center; border-bottom: 1px solid var(--line); padding: .8rem .4rem; text-decoration: none; }
.guide-list a:hover { background: var(--card); }
.guide-list a strong, .guide-list a span span { display: block; }
.guide-list a span span { margin-top: .2rem; font-size: .88rem; color: var(--muted); }
.prosetext { max-width: 800px; padding-block: clamp(1.45rem, 4vw, 3rem); }
.prosetext section + section { margin-top: 2.1rem; }
.prosetext h2 { margin-bottom: .65rem; font-size: clamp(1.55rem, 3vw, 2.4rem); }
.prosetext p + p { margin-top: .65rem; }
.article-photo { max-width: 900px; margin-top: 1.6rem; }
.article-photo img { max-height: 460px; object-fit: cover; }
.related { border-top: 1px solid var(--line); padding-top: 1.65rem; }
.related h2 { margin-bottom: 1.1rem; font-size: clamp(1.85rem, 3.3vw, 2.7rem); }
.guide-copy > a { margin-top: 1.3rem; }
details { padding: .85rem 0; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 720; }
details p { margin-top: .55rem; }
.fit-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fit-form button { align-self: end; justify-content: center; }
.fit-form output { display: block; grid-column: 1 / -1; padding: .8rem; background: #e6e8bd; border: 1px solid #bdc094; }
.fit-form output:empty { display: none; }
.prosetext .small { font-size: .85rem; color: var(--muted); margin: .8rem 0 1.7rem; }
.footer-layout { display: grid; grid-template-columns: 1fr .78fr auto; gap: 1.5rem; align-items: start; padding-block: 2.4rem; }
.footer-layout p { color: var(--dark-muted); font-size: .86rem; margin-top: .55rem; max-width: 39ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; padding-top: .28rem; font-size: .85rem; }
.footer-links a { text-underline-offset: .25em; }
@media (max-width: 1000px) {
  .header-layout { grid-template-columns: auto 1fr; gap: .45rem 1rem; }
  .main-nav { order: 3; grid-column: 1 / -1; }
  .main-nav a { padding-block: .45rem; }
  .articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 2rem); }
  .hero-layout, .shelf-layout, .footer-layout { grid-template-columns: 1fr; }
  .hero-layout { gap: 1.8rem; }
  .hero h1 { font-size: clamp(2.8rem, 11.5vw, 5.15rem); }
  .hero-photo img { aspect-ratio: 17/10; }
  .feature-card .article-link { display: flex; }
  .feature-card .card-photo img { max-height: 330px; }
  .groups { grid-template-columns: 1fr; }
  .footer-layout > a { justify-self: start; }
}
@media (max-width: 450px) {
  .wordmark { font-size: .94rem; }
  .main-nav { gap: .35rem .9rem; }
  .main-nav a { font-size: .79rem; }
  .language a { min-width: 1.75rem; }
  .articles-grid, .fit-form { grid-template-columns: 1fr; }
  .tool-strip { flex-direction: column; }
  .category-select .button { gap: .35rem; padding-inline: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
