/* Interior pages share the homepage's palette, type and navigation.
   Policy text remains fully readable without scripts or disclosure widgets. */
.page-tabs { display: flex; gap: 30px; border-bottom: 1px solid var(--line); }
.page-tabs a { padding: 19px 0 16px; color: var(--muted); text-decoration: none; font-size: 12px; border-bottom: 2px solid transparent; }
.page-tabs a:hover { color: var(--forest); }
.page-tabs a[aria-current="page"] { color: var(--forest); border-bottom-color: var(--forest); font-weight: 600; }
.page-hero { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 63px 48px; }
.page-hero h1 { margin-top: 19px; font-size: clamp(48px, 5.5vw, 70px); letter-spacing: -2.8px; }
.page-hero h1 em::after, .contact-copy h1 em::after, .not-found h1 em::after { display: none; }
.page-lede { color: var(--muted); font-size: 16px; line-height: 1.8; margin-top: 22px; }
.doc-meta { font-size: 11px; color: var(--muted); margin-top: 19px; max-width: 420px; line-height: 1.8; }
.doc-meta strong { font-weight: 500; }
.page-emblem { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; width: 180px; height: 180px; background: #eaf0e2; border: 1px solid #dbe3d2; border-radius: 50%; transform: rotate(7deg); }
.page-emblem svg { width: 65px; height: 65px; color: #56755b; }
.page-emblem span { font-size: 6px; letter-spacing: 1.2px; color: #56755b; }
.overview { padding: 26px 0 34px; border-block: 1px solid var(--line); }
.overview > .eyebrow { color: var(--muted); font-size: 9px; }
.overview-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin: 21px 0 0; padding: 0; list-style: none; }
.overview-cards li { position: relative; padding-left: 27px; }
.overview-number { position: absolute; top: 3px; left: 0; color: #6a8264; font-size: 10px; }
.overview-cards h2 { font: 600 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -.15px; margin: 0 0 6px; }
.overview-cards p { color: var(--muted); font-size: 12px; line-height: 1.8; max-width: 290px; }
.document-layout { display: grid; grid-template-columns: 245px minmax(0, 720px); justify-content: space-between; align-items: start; gap: 70px; padding-block: 52px 80px; }
.document-sidebar { position: sticky; top: 28px; max-height: calc(100vh - 56px); overflow-y: auto; padding: 5px 6px 8px 0; }
.document-sidebar ol { list-style: none; margin: 18px 0 0; padding: 0; }
.document-sidebar li + li { margin-top: 2px; }
.document-sidebar li a { display: flex; align-items: baseline; gap: 10px; padding-block: 6px; text-decoration: none; font-size: 12px; color: var(--muted); }
.document-sidebar li a:hover { color: var(--forest); text-decoration: underline; }
.document-sidebar li span { font-size: 9px; color: #71836a; font-variant-numeric: tabular-nums; }
.sidebar-help { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 20px; }
.sidebar-help > span { float: right; color: #708268; }
.sidebar-help p { font: italic 19px/1.4 Georgia, serif; }
.sidebar-help a { display: inline-block; font-size: 11px; margin-top: 7px; }
.document-body { min-width: 0; color: #475a4c; font-size: 15px; line-height: 1.9; overflow-wrap: anywhere; }
.document-body p + p { margin-top: 16px; }
.document-body strong { font-weight: 600; color: var(--ink); }
.document-body .notice { background: #f1eee2; border: 1px solid #e3dbc4; border-left: 3px solid #b49a5f; border-radius: 0 7px 7px 0; padding: 24px 27px; font-size: 13px; line-height: 1.85; }
.document-body .notice p + p { margin-top: 12px; }
.document-section { margin-top: 37px; padding-top: 29px; border-top: 1px solid var(--line); }
.document-section h2 { color: var(--ink); margin: 0 0 18px; font-size: 30px; line-height: 1.25; letter-spacing: -.75px; scroll-margin-top: 28px; }
.document-section h3 { font-size: 16px; color: var(--ink); margin-block: 23px 10px; }
.document-section ul { margin: 13px 0 19px; padding-left: 21px; }
.document-section li { padding-left: 5px; margin-top: 8px; }
.document-section li::marker { color: #7b946e; }
.document-section code { font-size: .85em; padding: 2px 5px; border-radius: 3px; background: #ecede4; }
.document-section .facts { display: grid; grid-template-columns: 85px minmax(0, 1fr); gap: 20px; margin: 23px 0; padding: 21px 0; border-block: 1px solid var(--line); }
.document-section dt { font-weight: 600; color: var(--ink); }
.document-section dd { margin: 0; }
.back-to-top { margin-top: 35px; padding-block: 10px; }

/* Contact: a note from the classroom, built entirely from local HTML and SVG. */
.contact-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 35px; align-items: center; padding-block: 63px 76px; }
.contact-copy h1 { font-size: clamp(46px, 4.9vw, 67px); letter-spacing: -2.6px; }
.contact-copy .button { margin-top: 28px; }
.contact-address { display: block; width: fit-content; font-size: 12px; color: var(--muted); margin-top: 16px; }
.contact-location { font-size: 10px; color: var(--muted); margin-top: 27px; display: flex; align-items: center; gap: 8px; }
.contact-location span { font-size: 18px; color: #75906b; }
.letter-scene { height: 420px; position: relative; isolation: isolate; }
.letter-orbit { position: absolute; width: 360px; height: 360px; max-width: 100%; border-radius: 50%; top: 28px; left: 35px; background: #edf0e3; background-image: radial-gradient(#cbd5bd 1px, transparent 1px); background-size: 14px 14px; z-index: -1; }
.letter { position: absolute; width: 280px; height: 320px; top: 17px; left: 53px; padding: 30px; border: 1px solid #e0dfd2; background: #fffefa; box-shadow: 0 13px 25px #29433010; transform: rotate(-7deg); }
.letter-label { font-size: 7px; letter-spacing: 1.2px; color: #6a7e60; }
.letter-spark { position: absolute; right: 20px; top: 20px; color: #b88f4e; font-size: 28px; }
.letter p { font: 29px/1.22 Georgia, serif; letter-spacing: -.9px; margin-block: 30px 23px; }
.letter p em { color: #66816a; }
.letter-line { height: 1px; background: #dee3d7; margin-top: 12px; }
.letter-line.short { width: 70%; }
.letter-signoff { display: inline-block; font: italic 10px Georgia, serif; color: #718469; margin-top: 21px; }
.envelope { position: absolute; width: 320px; height: 180px; left: 73px; top: 218px; background: #dce6d1; border: 1px solid #b9c9ad; border-radius: 4px; transform: rotate(6deg); box-shadow: 0 15px 28px #2943300e; }
.envelope svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.envelope > span { position: absolute; bottom: 23px; left: 122px; font-size: 8px; letter-spacing: 1.7px; color: #55754d; }
.letter-stamp { position: absolute; right: 16px; bottom: 39px; display: grid; place-items: center; width: 51px; height: 51px; border-radius: 50%; border: 5px solid var(--paper); background: #e9c583; font-size: 25px; color: var(--forest); transform: rotate(9deg); }
.contact-topics { padding-block: 52px 66px; border-top: 1px solid var(--line); }
.contact-topics h2 { font-size: 38px; }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.topic-card { display: flex; flex-direction: column; align-items: flex-start; padding: 29px 25px; border: 1px solid #e0e4d8; border-radius: 8px; background: #edf1e7; }
.topic-card:nth-child(2) { background: #f1eee2; border-color: #e5dfcf; }
.topic-card:nth-child(3) { background: #eaf0ec; border-color: #dfe5df; }
.topic-icon { font-size: 27px; color: #6e8968; margin-bottom: 22px; line-height: 1; }
.topic-card:nth-child(2) .topic-icon { color: #a58b55; }
.topic-card h3 { font-size: 17px; }
.topic-card p { font-size: 13px; line-height: 1.8; color: var(--muted); margin: 12px 0 25px; }
.topic-card a { margin-top: auto; line-height: 1.5; gap: 12px; }
.contact-resources { display: grid; grid-template-columns: 1fr 1.1fr; align-items: start; gap: 70px; padding: 38px 0 66px; }
.contact-resources h2 { font-size: 35px; }
.contact-resources nav { border-top: 1px solid var(--line); }
.contact-resources nav a { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); padding: 18px 0; font-size: 14px; font-weight: 500; text-decoration: none; }
.contact-resources nav a:hover { color: #568067; }
.contact-resources small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); margin-top: 3px; }
.not-found { text-align: center; padding-block: 60px 80px; }
.not-found-mark { display: inline-block; font: italic 95px/1 Georgia, serif; color: #c2ceb4; margin-bottom: 28px; }
.not-found h1 { font-size: clamp(43px, 5.5vw, 67px); }
.not-found-actions { display: flex; align-items: center; justify-content: center; gap: 25px; margin-top: 30px; }

@media (max-width: 1100px) {
  .document-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 40px; }
  .contact-hero { grid-template-columns: 1.2fr 1fr; gap: 15px; }
  .contact-copy h1 { font-size: 53px; }
  .letter-orbit { left: 0; width: 320px; height: 340px; }
  .letter { left: 24px; width: 260px; }
  .envelope { left: 30px; width: 290px; height: 164px; }
  .envelope > span { left: 110px; }
  .letter-stamp { right: 0; bottom: 52px; }
  .topic-card { padding: 25px 20px; }
}
@media (max-width: 850px) {
  .page-hero { padding-block: 45px 37px; gap: 20px; }
  .page-emblem { width: 135px; height: 135px; }
  .page-emblem svg { width: 50px; height: 50px; }
  .page-emblem span { font-size: 5px; }
  .page-hero h1 { font-size: 52px; }
  .overview-cards { gap: 22px; }
  .overview-cards li { padding-left: 0; }
  .overview-number { position: static; display: block; margin-bottom: 8px; }
  .document-layout { grid-template-columns: 1fr; gap: 30px; padding-block: 35px 50px; }
  .document-sidebar { position: static; max-height: none; overflow: visible; padding: 0 0 25px; border-bottom: 1px solid var(--line); }
  .document-sidebar ol { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 24px; margin-top: 14px; }
  .sidebar-help { display: none; }
  .contact-hero { grid-template-columns: minmax(0, 1fr); gap: 25px; padding-block: 45px; }
  .contact-copy { text-align: center; }
  .contact-copy h1 { font-size: 62px; }
  .contact-address { margin-inline: auto; }
  .contact-location { justify-content: center; }
  .letter-scene { width: 380px; max-width: 100%; height: 400px; margin-inline: auto; }
  .letter-orbit { left: 10px; width: 360px; height: 350px; }
  .letter { left: 42px; width: 280px; }
  .envelope { width: 300px; height: 170px; left: 52px; }
  .letter-stamp { right: 0; bottom: 22px; }
  .topic-grid { gap: 15px; }
  .topic-card { padding: 23px 17px; }
  .topic-card h3 { font-size: 16px; }
  .topic-card p { font-size: 12px; }
  .topic-card a { font-size: 11px; }
  .contact-resources { gap: 25px; padding-top: 12px; }
  .contact-resources h2 { font-size: 31px; }
}
@media (max-width: 620px) {
  .page-tabs { gap: 25px; }
  .page-tabs a { font-size: 11px; padding-block: 17px 14px; }
  .page-hero { padding-block: 37px 30px; }
  .page-hero h1 { font-size: clamp(41px, 8.4vw, 52px); letter-spacing: -1.8px; }
  .page-emblem { display: none; }
  .page-lede { font-size: 14px; margin-top: 17px; }
  .doc-meta { font-size: 10px; }
  .overview { padding-block: 23px; }
  .overview-cards { grid-template-columns: 1fr; gap: 21px; margin-top: 20px; }
  .overview-cards li { padding-left: 27px; }
  .overview-number { position: absolute; }
  .overview-cards h2 { font-size: 14px; margin-bottom: 3px; }
  .overview-cards p { max-width: none; font-size: 12px; }
  .document-sidebar ol { column-gap: 14px; }
  .document-sidebar li a { font-size: 11px; gap: 7px; line-height: 1.5; min-height: 35px; }
  .document-body { font-size: 14px; line-height: 1.85; }
  .document-body .notice { padding: 20px 18px; font-size: 12px; }
  .document-section { margin-top: 27px; padding-top: 25px; }
  .document-section h2 { font-size: 27px; margin-bottom: 15px; }
  .document-section h3 { font-size: 15px; }
  .document-section .facts { grid-template-columns: 1fr; gap: 6px; }
  .document-section dd + dt { margin-top: 13px; }
  .contact-copy h1 { font-size: clamp(38px, 8.8vw, 53px); letter-spacing: -1.8px; }
  .contact-copy .page-lede br { display: none; }
  .contact-copy .page-lede { max-width: 320px; margin-inline: auto; }
  .contact-hero { padding-top: 38px; }
  .letter-scene { width: min(300px, 100%); height: 365px; }
  .letter-orbit { left: 0; width: 100%; height: 295px; top: 32px; }
  .letter { left: calc(50% - 125px); width: 240px; height: 280px; padding: 25px; top: 22px; }
  .letter p { font-size: 26px; margin-block: 24px 17px; }
  .letter-spark { font-size: 23px; right: 16px; top: 18px; }
  .letter-label { font-size: 6px; }
  .letter-signoff { font-size: 9px; margin-top: 16px; }
  .envelope { left: calc(50% - 119px); top: 201px; width: 253px; height: 144px; }
  .envelope > span { left: 92px; font-size: 7px; }
  .letter-stamp { right: 0; bottom: 20px; width: 44px; height: 44px; font-size: 22px; }
  .contact-topics { padding-block: 38px 43px; }
  .contact-topics h2 { font-size: 34px; }
  .topic-grid { grid-template-columns: 1fr; gap: 17px; }
  .topic-card { padding: 25px; }
  .topic-icon { margin-bottom: 20px; }
  .topic-card h3 { font-size: 18px; }
  .topic-card p { font-size: 13px; margin-block: 11px 20px; }
  .topic-card a { font-size: 12px; }
  .contact-resources { grid-template-columns: 1fr; gap: 25px; padding-block: 5px 45px; }
  .contact-resources h2 { font-size: 32px; }
  .not-found { padding-block: 45px 60px; }
  .not-found h1 { letter-spacing: -1.8px; }
  .not-found .page-lede br { display: none; }
  .not-found-actions { flex-direction: column; gap: 20px; }
}
@media print {
  .masthead, .page-tabs, .document-sidebar, .page-emblem, .overview, .footer, .back-to-top { display: none; }
  :root { background: white; color: black; }
  .container { width: 100%; }
  .page-hero, .document-layout { display: block; padding: 0; }
  .page-hero { margin-bottom: 25px; }
  .page-hero h1 { font-size: 35px; }
  .document-body { color: black; font-size: 11pt; }
  .document-section h2 { break-after: avoid; font-size: 20pt; }
  .document-body .notice { break-inside: avoid; }
}
