@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Literata:opsz,wght@7..72,400;7..72,500;7..72,600&display=swap');

:root {
  color-scheme: light;
  --paper: #f4f0e7;
  --paper-deep: #e9e1d2;
  --ink: #20231f;
  --muted: #696a62;
  --green: #183a35;
  --green-soft: #dce5dc;
  --red: #b34c38;
  --line: #d6cdbd;
  --white: #fffdf8;
  --serif: "Literata", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  --content: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 var(--sans); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--red); }
button, input { font: inherit; }
::selection { background: #c6533e; color: #fffdf8; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 10px 14px; background: var(--ink); color: white; }
.skip-link:focus { left: 10px; }
.site-header { max-width: var(--content); height: 92px; margin: auto; padding: 0 36px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 42px; height: 42px; }
.brand span { display: grid; line-height: 1.2; }
.brand strong { font-size: 12px; letter-spacing: .18em; color: var(--green); }
.brand small { margin-top: 5px; color: var(--muted); font-size: 10px; letter-spacing: .03em; }
.primary-nav { display: flex; gap: 30px; align-items: center; }
.primary-nav a { color: #494d45; font-size: 12px; text-decoration: none; letter-spacing: .03em; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--red); }
.primary-nav .nav-about { padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; }
.menu-toggle { display: none; border: 1px solid var(--line); background: none; padding: 8px 12px; color: var(--ink); }
main { max-width: var(--content); margin: 0 auto; padding: 0 36px 76px; }

.hero { min-height: 555px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-copy { padding: 56px 0 58px 26px; position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--red); font-size: 9px; font-weight: 700; letter-spacing: .17em; line-height: 1.5; }
.eyebrow i { width: 25px; height: 1px; background: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
.hero h1 { margin: 27px 0 20px; font-size: clamp(48px, 6.8vw, 78px); line-height: 1.04; }
h1 em, h2 em { color: var(--green); font-weight: 400; }
.hero-deck { max-width: 510px; color: #54584f; font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; gap: 24px; padding: 13px 18px; border-radius: 2px; text-decoration: none; font-size: 11px; letter-spacing: .04em; }
.button span { font-size: 16px; line-height: 1; }
.button-dark { background: var(--green); color: var(--white); }
.button-dark:hover { background: var(--red); color: white; }
.text-link { font-size: 11px; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.text-link span { color: var(--red); }
.hero-footnote { margin: 28px 0 0; color: #818176; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.hero-art { width: min(100%, 470px); aspect-ratio: 1; margin: auto; position: relative; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle at 50% 49%, rgba(24,58,53,.05) 0 31%, transparent 32%), repeating-conic-gradient(from 0deg, rgba(24,58,53,.10) 0deg 1deg, transparent 1deg 15deg); mask-image: radial-gradient(circle, transparent 0 47%, #000 48% 53%, transparent 54%); }
.orbit { position: absolute; border: 1px solid rgba(24,58,53,.34); border-radius: 50%; }
.orbit-one { inset: 9%; }
.orbit-two { inset: 18%; border-style: dashed; border-color: rgba(179,76,56,.48); transform: rotate(22deg) scaleX(.77); }
.orbit-three { inset: 25%; border-color: rgba(24,58,53,.5); transform: rotate(-28deg) scaleX(.77); }
.hero-mark { width: 134px; height: 134px; display: grid; place-content: center; border: 1px solid var(--green); border-radius: 50%; background: var(--paper); color: var(--green); font: 62px/1 var(--serif); text-align: center; box-shadow: 0 0 0 9px var(--paper), 0 0 0 10px rgba(24,58,53,.35); }
.hero-mark span { display: block; margin-top: 5px; font: 8px/1 var(--sans); letter-spacing: .24em; }
.orbit-label { position: absolute; color: var(--muted); font-size: 8px; letter-spacing: .18em; }
.label-top { top: 5%; left: 50%; transform: translateX(-50%); }
.label-right { right: 0; top: 50%; transform: translateY(-50%) rotate(90deg); }
.label-bottom { bottom: 5%; left: 50%; transform: translateX(-50%); }
.label-left { left: -2%; top: 50%; transform: translateY(-50%) rotate(-90deg); }
.hero-cross::before, .hero-cross::after { content: ""; position: absolute; background: rgba(179,76,56,.8); }
.hero-cross::before { width: 5px; height: 5px; border-radius: 50%; top: 17%; left: 34%; }
.hero-cross::after { width: 4px; height: 4px; border-radius: 50%; bottom: 19%; right: 29%; }

.intro-strip { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 25px 26px; background: var(--green); color: #f5f1e8; }
.intro-strip p { max-width: 710px; margin: 0; font: 17px/1.5 var(--serif); }
.intro-strip a { flex: 0 0 auto; font-size: 10px; text-decoration: none; letter-spacing: .08em; }
.intro-strip a span { color: #e7a18b; margin-left: 8px; }
.section-block { padding: 65px 0 6px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 42px); line-height: 1.15; }
.section-heading .text-link { margin-bottom: 4px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.card { min-height: 210px; padding: 21px 22px; border: 1px solid var(--line); background: rgba(255,253,248,.42); display: flex; flex-direction: column; align-items: flex-start; }
.card:hover { border-color: #8d9588; background: var(--white); }
.card-kicker { margin: 0 0 15px; color: var(--red); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.card h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.25; }
.card h3 a { text-decoration: none; }
.card p:not(.card-kicker) { margin: 0 0 14px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.card small { margin-top: auto; color: #8c897e; font-size: 9px; letter-spacing: .05em; }
.course-callout { display: grid; grid-template-columns: 140px 1fr auto; align-items: center; gap: 25px; margin: 80px 0 7px; padding: 37px 35px; background: var(--green); color: var(--white); }
.course-callout-number { display: grid; place-content: center; width: 111px; height: 111px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: #f0dcc5; font: 42px/1 var(--serif); text-align: center; }
.course-callout-number span { display: block; margin-top: 8px; color: #c5c9bb; font: 8px/1 var(--sans); letter-spacing: .18em; }
.course-callout .eyebrow { color: #d58d74; }
.course-callout h2 { margin: 2px 0 8px; font-size: 28px; }
.course-callout p:not(.eyebrow) { max-width: 590px; margin: 0; color: #d7ded3; font-size: 12px; }
.button-paper { border: 1px solid rgba(255,255,255,.45); color: var(--white); }
.button-paper:hover { background: var(--paper); color: var(--green); }
.topic-block { padding-top: 60px; }
.topic-list { border-top: 1px solid var(--line); }
.topic-list a { min-height: 73px; display: grid; grid-template-columns: 44px 1fr 1.25fr 24px; gap: 18px; align-items: center; border-bottom: 1px solid var(--line); text-decoration: none; }
.topic-list span { color: var(--red); font-size: 9px; letter-spacing: .1em; }
.topic-list b { font: 18px var(--serif); font-weight: 400; }
.topic-list small { color: var(--muted); font-size: 11px; }
.topic-list i { color: var(--red); font-style: normal; }
.topic-list a:hover b { color: var(--red); }
.closing-note { margin: 70px 0 0; padding: 28px 32px; display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.note-symbol { color: var(--red); font: 36px var(--serif); }
.closing-note p { max-width: 720px; margin: 0; font: 20px/1.4 var(--serif); }
.closing-note a { font-size: 10px; text-decoration: none; white-space: nowrap; }

.page-hero { padding: 77px 7% 52px; border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero h1 { margin: 0 0 20px; font-size: clamp(48px, 7vw, 74px); line-height: 1.05; }
.page-hero > p:last-child { max-width: 690px; margin: 0; color: var(--muted); font-size: 15px; }
.page-hero.compact-hero { padding-bottom: 36px; }
.guide-group { padding-top: 47px; }
.guide-group .section-heading { margin-bottom: 18px; }
.course-hero { padding-bottom: 42px; }
.progress-note { max-width: 640px; margin-top: 30px; display: flex; align-items: center; gap: 14px; color: var(--muted); }
.progress-rule { width: 82px; height: 3px; background: var(--line); }
.progress-rule i { display: block; height: 100%; width: 10%; background: var(--red); }
.progress-note small { font-size: 10px; }
.course-grid { padding-top: 28px; }
.course-card { min-height: 195px; }
.course-pending { background: rgba(233,225,210,.35); }
.course-pending h3 { color: #67685f; }

.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 215px; justify-content: center; gap: 60px; padding: 64px 0 0; }
.article-main { min-width: 0; }
.article-main > .eyebrow { margin-bottom: 14px; }
.article-main h1 { margin: 0 0 15px; font-size: clamp(38px, 5vw, 57px); line-height: 1.1; }
.article-deck { margin: 0 0 27px; color: var(--muted); font: 19px/1.55 var(--serif); }
.article-main > h2 { margin: 42px 0 12px; color: var(--green); font-size: 31px; line-height: 1.2; }
.article-main > h3 { margin: 30px 0 8px; font-size: 23px; }
.article-main p, .article-main li { color: #42453f; font-size: 14px; line-height: 1.85; }
.article-main ul, .article-main ol { padding-left: 23px; }
.article-main li { margin: 5px 0; }
.article-main blockquote { margin: 25px 0; padding: 14px 21px; border-left: 2px solid var(--red); background: rgba(233,225,210,.55); }
.article-main blockquote p { margin: 0; color: #4c4d46; font: 16px/1.7 var(--serif); }
.article-main table { width: 100%; border-collapse: collapse; font-size: 12px; }
.article-main th, .article-main td { padding: 9px 11px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-main th { background: var(--paper-deep); color: var(--green); }
.article-main hr { margin: 36px 0; border: 0; border-top: 1px solid var(--line); }
.article-toc { margin: 27px 0 37px; padding: 16px 20px; border: 1px solid var(--line); background: rgba(255,253,248,.38); }
.article-toc p { margin: 0 0 8px; color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.article-toc ul { margin: 0; padding: 0; list-style: none; columns: 2; }
.article-toc li { margin: 2px 0; font-size: 11px; }
.article-toc .depth-3 { padding-left: 12px; }
.article-toc a { color: var(--muted); text-decoration: none; }
.article-toc a:hover { color: var(--red); }
.heading-link { margin-left: 7px; color: transparent; font: 13px var(--sans); text-decoration: none; }
h2:hover .heading-link, h3:hover .heading-link, .heading-link:focus { color: var(--red); }
.article-aside { align-self: start; position: sticky; top: 24px; padding: 18px 0 0 17px; border-left: 1px solid var(--line); }
.aside-label { color: var(--red); font-size: 8px; letter-spacing: .16em; font-weight: 700; }
.article-aside p:not(.aside-label) { color: var(--muted); font: 15px/1.55 var(--serif); }
.article-aside a { display: block; margin-top: 12px; color: var(--green); font-size: 10px; text-decoration: none; }
.article-end { display: flex; justify-content: space-between; gap: 22px; margin: 40px 0 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.article-end a { color: var(--green); font-size: 11px; text-decoration: none; }
.related { margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line); }
.related .eyebrow { margin-bottom: 16px; }
.related .card-grid { grid-template-columns: repeat(3, 1fr); }
.related .card { min-height: 165px; }
.related .card p:not(.card-kicker) { display: none; }

.table-tools { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin: 24px 0 10px; color: var(--muted); font-size: 10px; }
.table-tools input { width: min(290px, 65vw); padding: 9px 11px; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.glossary-table { width: 100%; min-width: 800px; border-collapse: collapse; background: rgba(255,253,248,.48); }
.glossary-table th { padding: 12px 14px; background: var(--green); color: var(--white); font-size: 9px; letter-spacing: .12em; text-align: left; text-transform: uppercase; }
.glossary-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); color: #51544d; font-size: 11px; vertical-align: top; }
.glossary-table tr:last-child td { border-bottom: 0; }
.glossary-table td strong { display: block; color: var(--ink); font-size: 12px; }
.glossary-table td small { display: block; margin-top: 4px; color: #8c897e; font-size: 10px; }
.glossary-table a { color: var(--green); }
.small-note { color: var(--muted); font-size: 10px; }
.prose-page { max-width: 790px; margin: auto; padding: 75px 0; }
.prose-page h1 { margin: 0 0 28px; font-size: clamp(42px, 6vw, 66px); line-height: 1.08; }
.prose-body h2 { margin: 34px 0 9px; color: var(--green); font: 28px var(--serif); }
.prose-body p, .prose-body li { color: #4a4d46; font-size: 14px; line-height: 1.85; }
.prose-body ul { padding-left: 23px; }
.source-note { padding: 15px 18px; border-left: 2px solid var(--red); background: rgba(233,225,210,.6); }

.site-footer { max-width: var(--content); margin: auto; padding: 40px 36px 30px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-main { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.footer-brand { color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-decoration: none; }
.footer-main p { font: 14px var(--serif); }
.site-footer nav { display: flex; gap: 22px; margin: 10px 0 18px; }
.site-footer nav a, .site-footer small { color: #77786f; font-size: 9px; text-decoration: none; }
.footer-note { max-width: 760px; margin: 18px 0; font-size: 10px; }

@media (max-width: 820px) {
  .site-header { height: 78px; padding: 0 22px; }
  .menu-toggle { display: block; }
  .primary-nav { display: none; position: absolute; z-index: 5; top: 77px; left: 0; right: 0; padding: 18px 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .primary-nav.is-open { display: grid; gap: 17px; }
  .primary-nav .nav-about { width: max-content; }
  main { padding: 0 22px 52px; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding: 28px 0 34px; }
  .hero-copy { padding: 28px 4px 8px; }
  .hero h1 { font-size: clamp(48px, 11vw, 72px); }
  .hero-art { width: min(82vw, 400px); margin: 5px auto 2px; }
  .intro-strip { display: block; padding: 22px; }
  .intro-strip a { display: inline-block; margin-top: 12px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-callout { grid-template-columns: 85px 1fr; gap: 16px; margin-top: 58px; padding: 24px; }
  .course-callout-number { width: 78px; height: 78px; font-size: 31px; }
  .course-callout .button { grid-column: 2; width: max-content; }
  .closing-note { grid-template-columns: 40px 1fr; padding: 22px 3px; }
  .closing-note p { font-size: 18px; }
  .closing-note a { grid-column: 2; }
  .page-hero { padding: 55px 2% 35px; }
  .article-layout { grid-template-columns: 1fr; gap: 22px; padding-top: 45px; }
  .article-aside { position: static; padding: 15px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .related .card-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer { padding: 32px 22px 24px; }
}
@media (max-width: 520px) {
  body { font-size: 15px; }
  .brand img { width: 36px; height: 36px; }
  .brand strong { font-size: 10px; }
  .brand small { font-size: 9px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
  .card-grid, .related .card-grid { grid-template-columns: 1fr; }
  .card { min-height: 175px; }
  .section-block { padding-top: 48px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .course-callout { grid-template-columns: 1fr; margin: 54px 0 0; padding: 23px; }
  .course-callout .button { grid-column: auto; }
  .topic-list a { grid-template-columns: 30px 1fr 22px; gap: 10px; padding: 12px 0; }
  .topic-list small { grid-column: 2; grid-row: 2; }
  .topic-list i { grid-column: 3; grid-row: 1 / span 2; }
  .closing-note { grid-template-columns: 35px 1fr; }
  .page-hero { padding-top: 43px; }
  .page-hero h1 { font-size: 46px; }
  .article-main h1 { font-size: 41px; }
  .article-toc ul { columns: 1; }
  .article-main p, .article-main li { font-size: 13px; }
  .article-end { gap: 13px; }
  .article-end a { max-width: 48%; }
  .footer-main { display: block; }
  .footer-main p { margin-top: 12px; }
  .site-footer nav { flex-wrap: wrap; gap: 12px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
