:root { color-scheme: light; --paper: #f6f0e7; --white: #fffaf2; --ink: #242019; --muted: #675d51; --forest: #163e31; --copper: #895233; --line: #d9cbba; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; line-height: 1.55; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #a05b2e; outline-offset: 4px; }
.wrap { width: min(1180px, calc(100% - 72px)); margin-inline: auto; }
.mast { background: var(--forest); color: var(--white); }
.mast .wrap, .footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; min-height: 64px; }
.mast a { font-size: .88rem; }
.mast .identity { font-size: 1.02rem; font-weight: 780; text-decoration: none; }
.feed { padding-block: clamp(38px, 7vw, 85px) 80px; }
.feed-head { max-width: 790px; padding-bottom: 32px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
h1, h2, p { margin: 0; }
h1, .card h2 { letter-spacing: -.045em; line-height: 1.06; }
h1 { font-size: clamp(2.65rem, 6vw, 5.2rem); font-weight: 820; overflow-wrap: anywhere; }
.feed-head p { color: var(--muted); font-size: clamp(1rem, 2vw, 1.22rem); margin-top: 14px; max-width: 36rem; }
.feed-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(22px, 4vw, 55px); align-items: start; }
.rubrics { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: #efe6d9; }
.rubrics summary { cursor: pointer; color: var(--forest); font-weight: 800; }
.rubric-links { display: grid; gap: 3px; margin-top: 8px; }
.rubrics a { display: block; padding: 4px 6px; border-radius: 6px; text-decoration: none; font-size: .87rem; line-height: 1.38; }
.rubrics a.active, .rubrics a:hover { background: var(--forest); color: var(--white); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.card-cover { display: block; aspect-ratio: 4 / 3; background: #d8c7b3; overflow: hidden; }
.card img, .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-cover img { transition: transform .24s ease; }
.card:hover img { transform: scale(1.035); }
.card-body { padding: 15px 15px 20px; }
.card-meta { display: flex; gap: 6px 12px; justify-content: space-between; flex-wrap: wrap; color: var(--muted); font-size: .71rem; }
.card-meta a { font-weight: 760; color: var(--copper); }
.card h2 { font-size: clamp(1.18rem, 2.2vw, 1.62rem); margin-block: 10px 9px; }
.card h2 a { text-decoration: none; }
.card h2 a:hover { text-decoration: underline; }
.card p { color: var(--muted); font-size: .92rem; }
.topics, .pages, .crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.topics { margin-bottom: 20px; }
.topics a, .pages a { padding: 5px 11px; border: 1px solid var(--line); border-radius: 50px; text-decoration: none; font-size: .87rem; }
.topics a[aria-current], .topics a:hover, .pages a:hover { background: var(--forest); border-color: var(--forest); color: var(--white); }
.pages { justify-content: center; margin-top: 30px; }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.empty { padding-block: 30px; color: var(--muted); }
.footer { background: var(--forest); color: var(--white); font-size: .88rem; }
.article-wrap { padding-block: 28px 64px; }
.story { max-width: 920px; margin-inline: auto; }
.story-head { max-width: 850px; margin: 34px auto 24px; }
.story-head h1 { font-size: clamp(2.35rem, 5.2vw, 4.6rem); margin-block: 13px 14px; }
.story-meta { display: flex; flex-wrap: wrap; gap: 6px 15px; color: var(--muted); font-size: .86rem; }
.story-meta a { color: var(--copper); font-weight: 780; }
.deck { font-size: clamp(1.1rem, 2vw, 1.38rem); color: var(--muted); }
.byline { margin-top: 14px; color: var(--muted); font-size: .92rem; }
.byline a { margin-left: 4px; color: var(--forest); font-weight: 760; }
.guide-links { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 15px; margin: 0 0 20px; padding-bottom: 13px; border-bottom: 1px solid var(--line); font-size: .88rem; }
.guide-links span, .guide-back a { color: var(--forest); font-weight: 760; }
.guide-back { margin-top: 24px; }
.author-card { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 15px; margin-top: 30px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); font-size: .9rem; }
.author-card img { width: 72px; height: 72px; object-fit: cover; object-position: center 30%; border-radius: 8px; }
.author-card strong { font-size: 1.08rem; }
.author-card p { color: var(--muted); margin: 4px 0 7px; }
.author-profile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 300px); align-items: center; gap: clamp(20px, 5vw, 62px); margin: 28px auto 0; max-width: 920px; }
.author-profile h1 { font-size: clamp(2.55rem, 6vw, 4.6rem); }
.author-profile .deck { margin: 12px 0; }
.author-profile .topics { margin: 18px 0 0; }
.author-profile img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; border-radius: 16px; background: #d8c7b3; }
.profile-copy { margin-inline: auto; }
.reading-links { padding-left: 1.35rem; }
.photo { margin: 0; }
.photo img { border-radius: 16px; aspect-ratio: 16 / 9; background: #d8c7b3; }
.photo figcaption { margin-top: 7px; color: var(--muted); font-size: .78rem; }
.story-copy { max-width: 695px; margin: 26px auto 0; font-size: 1.07rem; }
.story-copy section { margin-block: 29px; }
.story-copy h2, .related > h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.13; letter-spacing: -.035em; margin-bottom: 12px; }
.story-copy p + p { margin-top: 11px; }
.story-copy .photo { margin-top: 16px; }
.story-copy li + li { margin-top: 6px; }
.story-copy .sources { border-top: 1px solid var(--line); padding-top: 17px; font-size: .92rem; }
.sources h2 { font-size: 1.15rem; }
.callout { background: #e6ede4; border-radius: 12px; padding: 15px 18px; }
.return { display: inline-block; margin-top: 25px; font-weight: 760; }
.related { margin-top: 55px; padding-top: 26px; border-top: 1px solid var(--line); }
@media (max-width: 1020px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .wrap { width: calc(100% - 36px); } .feed-layout { grid-template-columns: minmax(0, 1fr); } .rubric-links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; } .rubrics .all { grid-column: 1 / -1; } .author-profile { grid-template-columns: minmax(0, 1fr); } .author-profile img { max-width: 280px; } }
@media (max-width: 450px) { .cards { grid-template-columns: minmax(0, 1fr); } .card-cover { aspect-ratio: 16 / 9; } }
@media (prefers-reduced-motion: reduce) { .card-cover img { transition: none; } }
