:root {
  color-scheme: light;
  --paper: #f8f4e8;
  --surface: #fffdf7;
  --soft: #eee9d8;
  --green: #303c29;
  --ink: #252a21;
  --muted: #55574a;
  --line: #d9d1bd;
  --accent: #945337;
  --serif: Georgia, Cambria, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.58 var(--sans); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; font-weight: 500; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--accent); }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(100% - 5rem, 82rem); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 10; top: .5rem; left: .5rem; padding: .7rem 1rem; background: var(--surface); }
.header { position: relative; z-index: 2; border-bottom: 1px solid var(--line); }
.header-row { min-height: 76px; display: flex; gap: 1.4rem; justify-content: space-between; align-items: center; }
.identity { display: inline-flex; align-items: center; gap: .72rem; text-decoration: none; flex: 0 0 auto; }
.identity span { font: 500 1.24rem/1.1 var(--serif); }
.nav { display: flex; align-items: center; gap: clamp(.8rem, 2.2vw, 2.2rem); font-size: .91rem; font-weight: 650; }
.nav > a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.nav > a[aria-current] { text-decoration: underline; text-decoration-color: var(--accent); }
.departments { position: relative; }
.departments summary { display: flex; min-height: 44px; align-items: center; gap: .55rem; list-style: none; cursor: pointer; }
.departments summary::-webkit-details-marker { display: none; }
.departments summary::after, select { background: no-repeat right .75rem center / .65rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23303c29' stroke-width='1.5'/%3E%3C/svg%3E"); }
.departments summary::after { content: ""; width: .65rem; height: .55rem; background-position: center; }
.departments[open] summary::after { transform: rotate(180deg); }
.department-menu { position: absolute; right: 0; top: calc(100% + .3rem); width: min(21rem, calc(100vw - 2rem)); padding: .8rem; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 12px 26px #30271522; display: grid; grid-template-columns: 1fr 1fr; gap: .1rem; }
.department-menu a { display: flex; align-items: center; padding: .45rem .5rem; min-height: 40px; text-decoration: none; }
.department-menu a:hover { background: var(--soft); }
.department-menu .menu-index { grid-column: 1/-1; border-bottom: 1px solid var(--line); }
.languages { display: flex; gap: .15rem; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.languages a { display: grid; place-items: center; min-width: 38px; min-height: 36px; border-radius: 999px; text-decoration: none; font-size: .82rem; font-weight: 750; }
.languages [aria-current] { color: var(--surface); background: var(--green); }
.hero { display: grid; grid-template-columns: .95fr 1.05fr; align-items: stretch; gap: clamp(1.5rem, 4.4vw, 5rem); padding-block: clamp(2rem, 5vw, 5rem) 2.5rem; }
.hero-copy { padding-block: clamp(.65rem, 3.7vw, 3.5rem); align-self: center; }
.eyebrow { color: var(--accent); font-weight: 750; font-size: .88rem; letter-spacing: .095em; text-transform: uppercase; margin-bottom: 1.15rem; }
.hero h1 { font-size: clamp(3.6rem, 7.2vw, 7.3rem); letter-spacing: -.075em; line-height: .93; color: var(--green); }
.hero-subtitle { margin-top: 1.45rem; font: 500 clamp(1.25rem, 2.35vw, 2.15rem)/1.15 var(--serif); }
.hero-intro { margin-top: .85rem; max-width: 46ch; color: var(--muted); font-size: 1.0625rem; }
.hero-photo { min-width: 0; min-height: 26rem; background: #d8c19c; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.actions, .read-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.hero .actions { margin-top: 1.45rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 45px; padding: .64rem 1.05rem; border: 1px solid var(--green); border-radius: .25rem; text-decoration: none; font: 700 .93rem/1.25 var(--sans); cursor: pointer; }
.primary { color: var(--surface); background: var(--green); }
.primary:hover { background: #46543b; color: white; }
.secondary, .subtle { color: var(--green); background: transparent; }
.secondary:hover, .subtle:hover { background: var(--surface); color: var(--green); }
.shop-panel { padding: clamp(1rem, 2.8vw, 2.1rem); background: var(--soft); border: 1px solid var(--line); }
.shop-header { display: flex; justify-content: space-between; align-items: center; gap: .85rem 2rem; flex-wrap: wrap; margin-bottom: 1.05rem; }
.shop-header h2 { font-size: clamp(1.6rem, 2.8vw, 2.45rem); }
.category-picker { display: flex; gap: .5rem; align-items: center; max-width: 100%; }
select, input { min-height: 45px; min-width: 0; width: 100%; padding: .55rem .72rem; border: 1px solid #aaa28f; border-radius: .25rem; color: var(--ink); background-color: var(--surface); }
select { appearance: none; padding-right: 1.8rem; }
.category-picker select { min-width: 12rem; }
.category-picker .button { flex-shrink: 0; }
.category-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.category-links a { display: flex; align-items: center; min-height: 44px; padding: .42rem .76rem; border: 1px solid var(--line); border-radius: .2rem; background: var(--surface); text-decoration: none; font-size: .92rem; font-weight: 650; }
.category-links a:hover { border-color: var(--green); }
.section { padding-block: clamp(2.4rem, 6vw, 5rem); }
.section + .section { padding-top: 0; }
.section-heading { display: flex; justify-content: space-between; gap: 1rem 2rem; align-items: end; margin-bottom: 1.5rem; }
.section-heading h2 { font-size: clamp(2.1rem, 4vw, 3.85rem); letter-spacing: -.042em; }
.section-heading p { margin-top: .55rem; color: var(--muted); max-width: 62ch; }
.text-link { font-weight: 700; flex-shrink: 0; display: inline-flex; align-items: center; min-height: 44px; }
.articles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.3rem 1.6rem; }
.story { border-bottom: 1px solid var(--line); padding-bottom: 1.1rem; }
.story-photo { display: block; overflow: hidden; background: var(--soft); }
.story img { width: 100%; aspect-ratio: 3/2; height: auto; object-fit: cover; transition: transform .25s ease; }
.story-photo:hover img { transform: scale(1.03); }
.story-content { padding-block: .85rem .15rem; }
.topic-label { display: inline-block; color: var(--accent); font-size: .8rem; font-weight: 750; letter-spacing: .045em; text-decoration: none; text-transform: uppercase; }
.topic-label:hover { text-decoration: underline; }
.story h3 { margin-top: .3rem; font-size: clamp(1.28rem, 2.25vw, 2rem); letter-spacing: -.024em; }
.story h3 a, .guide-list h3 a { text-decoration: none; }
.story h3 a:hover, .guide-list h3 a:hover { text-decoration: underline; }
.story p, .guide-list p { margin-top: .48rem; color: var(--muted); }
.topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.topic-card { display: grid; align-content: start; gap: .4rem; text-decoration: none; padding: 1.1rem; border: 1px solid var(--line); background: var(--surface); }
.topic-card:hover { border-color: var(--green); }
.topic-card strong { font: 500 1.42rem/1.15 var(--serif); }
.topic-card span { color: var(--muted); }
.end-panel .section-heading { background: var(--soft); border: 1px solid var(--line); margin: 0; padding: clamp(1.2rem, 3vw, 2.3rem); }
.page-head { background: var(--soft); padding-block: clamp(2rem, 5.7vw, 4.7rem); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.5rem, 6vw, 6.1rem); letter-spacing: -.061em; max-width: 20ch; overflow-wrap: break-word; }
.page-head p { margin-top: .95rem; max-width: 62ch; font-size: clamp(1.05rem, 1.6vw, 1.32rem); color: var(--muted); }
.detail-head .topic-label { margin-bottom: .6rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .9rem; margin-bottom: .8rem; }
.reading { padding-block: clamp(1.7rem, 4vw, 3rem) 4rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(13rem, 18rem); gap: clamp(2rem, 6vw, 7rem); }
.prose { max-width: 48rem; min-width: 0; font-size: 1.07rem; }
.prose section + section, .article-photo + section { margin-top: 2.25rem; }
.prose p + p { margin-top: .75rem; }
.prose h2, .tool h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); margin-bottom: .65rem; }
.prose li + li { margin-top: .45rem; }
.prose ul { padding-inline-start: 1.35rem; }
.article-photo img { width: 100%; height: auto; }
.read-actions { margin-top: 2.2rem; }
.reading-aside { align-self: start; border-top: 1px solid var(--line); }
.reading-aside > * { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.reading-aside h2 { font-size: 1.32rem; margin-bottom: .6rem; }
.reading-aside a { display: block; padding: .24rem 0; color: var(--muted); }
.guide-filters { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; gap: .85rem; align-items: end; margin-bottom: 1.4rem; }
.guide-filters label, .tool label { display: block; font-size: .94rem; font-weight: 700; }
.guide-filters label { margin-bottom: .25rem; }
.guide-filters p { padding-bottom: .58rem; }
.guide-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.guide-list li { display: flex; align-items: flex-start; justify-content: space-between; gap: .4rem 1.5rem; padding: 1.06rem 0; border-bottom: 1px solid var(--line); }
.guide-list h3 { font-size: clamp(1.26rem, 2.6vw, 1.86rem); }
.guide-list .topic-label { flex: 0 0 auto; }
.table-scroller { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .96rem; }
td, th { padding: .6rem .7rem; border: 1px solid var(--line); vertical-align: top; }
thead { background: var(--soft); }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.tool { align-self: start; background: var(--surface); border: 1px solid var(--line); padding: clamp(1.1rem, 3vw, 2.2rem); }
.tool p { color: var(--muted); }
.tool-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin-block: 1rem; }
.tool input, .tool select { margin-top: .24rem; display: block; }
.results { border-top: 1px solid var(--line); padding-top: .8rem; }
.results output { display: block; min-height: 2rem; font-weight: 750; color: var(--green); }
.footer { border-top: 1px solid var(--line); background: var(--soft); }
.footer-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem 2rem; padding-block: 2rem; }
.footer p { color: var(--muted); max-width: 47ch; margin-top: .6rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 0 1.1rem; }
.footer nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
@media (max-width: 59rem) {
  .wrap { width: calc(100% - 3rem); }
  .header-row { flex-wrap: wrap; gap: 0 1rem; padding-top: .55rem; }
  .nav { order: 3; justify-content: space-between; width: 100%; }
  .hero-photo { min-height: 22rem; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 44rem) {
  .wrap { width: calc(100% - 2rem); }
  .hero { grid-template-columns: 1fr; gap: 1.1rem; padding-block: 1.8rem 1.35rem; }
  .hero h1 { font-size: clamp(3.3rem, 11vw, 5.2rem); }
  .hero-copy { padding-block: 0; }
  .hero-photo { min-height: 0; }
  .hero-photo img { height: auto; aspect-ratio: 1.48; }
  .eyebrow { margin-bottom: .7rem; }
  .hero-subtitle { margin-top: 1rem; }
  .section-heading, .footer-row { flex-direction: column; align-items: start; gap: .4rem; }
  .articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem .9rem; }
  .reading, .tool-grid { grid-template-columns: 1fr; }
  .guide-filters { grid-template-columns: 1fr; }
  .guide-list li { flex-direction: column; }
}
@media (max-width: 28rem) {
  .nav { gap: 0 .58rem; flex-wrap: wrap; justify-content: flex-start; }
  .nav a, .nav summary { font-size: .82rem; }
  .identity span { font-size: 1.05rem; }
  .identity img { width: 34px; height: 34px; }
  .category-picker { flex-wrap: wrap; width: 100%; }
  .category-picker select { flex: 1 1 8rem; min-width: 0; }
  .articles-grid { grid-template-columns: 1fr; }
  .topic-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .story img { transition: none; } }
