/* Shared site shell and the remaining Atlas pages. */
.home-research { padding-block: 70px 75px; border-top: 1px solid var(--line); }
.home-research .section-marker, .home-research .site-section-heading p { color: var(--muted); }
.home-research h2 em { color: var(--lime); }
.home-research .site-section-heading { grid-template-columns: 1.2fr 1fr; }
.home-research > .arrow-link { margin-top: 35px; }
.research-entry-links { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid #69745f; }
.research-entry-links > a { display: block; padding: 27px 28px; border-right: 1px solid #69745f; }
.research-entry-links > a:last-child { border: 0; }
.research-entry-links > a:hover { background: #252e24; }
.research-entry-links > a > span:first-child { font-size: 12px; color: var(--muted); }
.research-entry-links h3 { font-size: 28px; line-height: 1.25; letter-spacing: -.035em; margin-top: 24px; }
.research-entry-links > a > span:last-child { display: block; font-size: 28px; color: var(--lime); margin-top: 22px; }
.practice-intro-expanded > div { font-size: 18px; line-height: 1.72; color: var(--muted); }
.practice-intro-expanded > div > p + p { margin-top: 24px; }
.domain-link { display: inline-block; font-size: 15px; margin-top: 22px; border-bottom: 1px solid currentColor; padding-bottom: 5px; }
.domain-link:hover { color: var(--lime); }
.about-writing { padding-block: 70px; }
.about-writing .section-marker, .about-writing .site-two-column p { color: var(--muted); }
.about-writing h2 em { color: var(--lime); }
.about-reading-links { display: flex; gap: 25px 35px; flex-wrap: wrap; margin-top: 30px; }
.about-reading-links .arrow-link { font-size: 15px; }
.site-header #navigation { gap: 23px; font-size: 15px; }
.site-header #navigation a[aria-current] { color: var(--lime); }
.site-header .header-cta { white-space: nowrap; }
.study-bar > a { text-align: left; }
.study-bar > span { text-align: right; }
.site-footer { display: grid; grid-template-columns: 1fr 1.3fr; gap: 35px 70px; padding-block: 42px 24px; align-items: start; border-top: 1px solid var(--line); }
.site-footer .footer-identity { display: block; }
.site-footer .footer-identity > p { margin-top: 13px; color: var(--muted); font-size: 14px; }
.site-footer .footer-links { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px 25px; font-size: 14px; padding-top: 8px; }
.site-footer .footer-links a:hover, .site-footer .footer-links a[aria-current], .site-footer .privacy-link[aria-current] { color: var(--lime); }
.site-footer .site-copyright { grid-column: 1 / -1; width: 100%; margin-top: 0; border-top: 1px solid var(--line); padding-top: 22px; font-size: 12px; color: var(--muted); }
.book-section figure { background: none; }
.book-section img { transform: none; filter: none; width: auto; height: 100%; max-width: 100%; object-fit: contain; }
.site-light { background: var(--paper); color: var(--dark); padding-block: 74px; }
.site-two-column { display: grid; grid-template-columns: 1fr 1.2fr; gap: 90px; margin-top: 40px; align-items: start; }
.site-two-column h2 { font-size: 57px; }
.site-two-column p { font-size: 18px; line-height: 1.7; margin-top: 23px; }
.site-two-column > div > p:first-child { margin-top: 0; }
.site-two-column > div > h2 + p { margin-top: 25px; }
.site-light .site-two-column p { color: #535d51; }
.site-two-column p.site-large-copy, p.site-large-copy { font-size: 24px; line-height: 1.6; }
.site-light .site-two-column p.site-large-copy { color: var(--dark); }
.site-section-heading { display: grid; grid-template-columns: 1.15fr 1fr; gap: 90px; align-items: end; margin: 40px 0; }
.site-section-heading h2 { font-size: 58px; }
.site-section-heading p { max-width: 460px; font-size: 18px; line-height: 1.7; }
.site-light .site-section-heading p { color: #535d51; }
.site-three-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; margin-top: 40px; }
.site-three-cards article { border-top: 1px solid #a7b198; padding-top: 22px; }
.site-three-cards article > span { font-size: 12px; color: #59654f; }
.site-three-cards h3 { font-size: 29px; line-height: 1.2; letter-spacing: -.035em; margin-top: 22px; }
.site-three-cards p { font-size: 17px; line-height: 1.7; color: #535d51; margin-top: 21px; }
.site-closing { padding-block: 70px 76px; display: flex; justify-content: space-between; align-items: center; gap: 70px; }
.site-closing > div { max-width: 740px; }
.site-closing h2 { font-size: 54px; margin-top: 26px; }
.site-closing em { color: var(--lime); }
.site-closing p { font-size: 18px; line-height: 1.7; color: var(--muted); margin-top: 24px; max-width: 670px; }
.book-hero { padding-block: 34px 67px; }
.book-hero-grid { display: grid; grid-template-columns: 1.3fr .8fr; align-items: center; gap: 90px; margin-top: 37px; }
.book-hero h1 { font-size: clamp(68px,6.8vw,101px); line-height: 1.04; letter-spacing: -.065em; }
.page-book h1 em::after, .page-about h1 em::after, .page-engage h1 em::after, .page-contact h1 em::after, .essay-ai h1 em::after { display: none; }
.book-subtitle { font-size: 27px; line-height: 1.45; margin-top: 28px; }
.book-description { font-size: 18px; line-height: 1.7; color: var(--muted); margin-top: 24px; max-width: 625px; }
.book-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px 35px; margin-top: 30px; }
.book-edition-line { font-size: 13px; line-height: 1.62; color: var(--muted); margin-top: 27px; }
.flat-cover { justify-self: end; width: min(100%,340px); }
.flat-cover img { width: 100%; height: auto; display: block; border: 1px solid #7f8775; object-fit: contain; }
.book-statement { font: 34px/1.5 Georgia,serif; letter-spacing: -.02em; margin: 42px 0 52px; padding-left: 27px; border-left: 3px solid #8a9e5e; }
.book-statement em { color: #596b43; font-style: italic; }
.book-contents, .edition-section { padding-block: 72px; }
.book-contents .section-marker, .book-contents .site-section-heading p { color: var(--muted); }
.book-contents h2 em, .edition-section h2 em { color: var(--lime); }
.book-contents-grid { display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: 40px; }
.book-contents-grid article { border-top: 1px solid #58674c; padding-top: 23px; }
.book-contents-grid .kicker { color: var(--muted); }
.book-contents-grid ul { list-style: square; padding-left: 21px; margin: 24px 0 0; }
.book-contents-grid li { font-size: 17px; line-height: 1.65; padding-left: 5px; margin-bottom: 17px; }
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.preview-grid article { background: #f6f6ee; border: 1px solid #adb8a0; padding: 33px; }
.preview-grid .kicker { color: #59654f; }
.preview-grid h3 { font-size: 45px; margin-top: 27px; }
.preview-grid p { font-size: 18px; line-height: 1.62; color: #535d51; margin-top: 19px; }
.preview-grid article > div { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 22px; margin-top: 32px; }
.preview-download { font-size: 14px; }
.edition-details { margin: 0; }
.edition-details > div { border-top: 1px solid #58674c; padding: 18px 0; display: grid; grid-template-columns: 125px 1fr; gap: 25px; }
.edition-details dt { font-size: 13px; color: var(--muted); }
.edition-details dd { font-size: 17px; line-height: 1.62; margin: 0; }
.book-order { padding-block: 64px 70px; background: var(--lime); color: var(--dark); }
.book-order h2 em { color: #61733f; }
.book-order .site-two-column { align-items: start; }
.book-order .arrow-link { margin-top: 25px; }
.retailer-list { border-top: 1px solid #9eb45e; }
.retailer-list > a { display: flex; justify-content: space-between; gap: 25px; padding: 22px 0; border-bottom: 1px solid #9eb45e; font-size: 20px; line-height: 1.5; }
.retailer-list > a > span { font-size: 24px; }
.retailer-list > a:hover { background: #d3ed82; }
.practice-hero, .engage-hero, .contact-hero { padding-block: 34px 65px; }
.practice-hero h1, .engage-hero h1, .contact-hero h1 { font-size: clamp(70px,7.3vw,112px); line-height: 1.04; letter-spacing: -.065em; margin-top: 38px; }
.practice-intro { display: grid; grid-template-columns: 1fr 1.3fr; gap: 85px; margin-top: 37px; max-width: 1160px; }
.practice-intro > p { font-size: 18px; line-height: 1.72; color: var(--muted); }
.practice-intro > p.site-large-copy { font-size: 25px; line-height: 1.6; color: var(--white); }
.orientation-list { list-style: none; padding: 0; margin: 0; }
.orientation-list li { display: flex; gap: 24px; padding: 22px 0; border-top: 1px solid #a7b198; }
.orientation-list li > span { font-size: 12px; color: #59654f; padding-top: 6px; }
.orientation-list li > p { font-size: 18px; line-height: 1.7; margin: 0; color: #3e4937; }
.practice-domains { padding-block: 72px; }
.practice-domains .section-marker, .practice-domains .site-section-heading p { color: var(--muted); }
.practice-domains h2 em { color: var(--lime); }
.domain-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.domain-grid article { border-top: 1px solid #58674c; padding-top: 25px; }
.domain-grid h3 { font-size: 29px; line-height: 1.2; letter-spacing: -.035em; }
.domain-grid p { font-size: 17px; line-height: 1.7; color: var(--muted); margin-top: 22px; }
.engage-hero > .pill { margin-top: 32px; }
.review-includes { list-style: none; padding: 0; margin: 0; }
.review-includes li { display: flex; gap: 25px; border-top: 1px solid #a7b198; padding: 22px 0; }
.review-includes li > span { color: #59654f; font-size: 12px; padding-top: 5px; }
.review-includes h3 { font-size: 25px; line-height: 1.25; letter-spacing: -.03em; }
.review-includes p { font-size: 17px; line-height: 1.7; margin-top: 15px; }
.page-engage .site-two-column .arrow-link { margin-top: 26px; }
.review-outputs { background: #dbe3cd; padding: 31px; margin-top: 35px; }
.review-outputs ul { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 50px; list-style: square; padding-left: 20px; margin: 25px 0 0; }
.review-outputs li { font-size: 17px; line-height: 1.62; padding-left: 5px; }
.engagement-scope, .how-to-begin { padding-block: 72px; }
.engagement-scope .section-marker, .engagement-scope .site-two-column p, .how-to-begin .section-marker, .how-to-begin .site-section-heading p { color: var(--muted); }
.engagement-scope .site-two-column p.site-large-copy { color: var(--white); }
.engagement-scope h2 em, .how-to-begin h2 em { color: var(--lime); }
.controlled-note { max-width: 850px; border-left: 2px solid #839a59; padding-left: 23px; font-size: 17px; line-height: 1.7; color: var(--muted); margin: 32px 0; }
.direct-contact { border-top: 1px solid var(--line); padding-top: 27px; margin-top: 37px; display: flex; flex-direction: column; align-items: start; gap: 15px; }
.direct-contact > a { display: flex; align-items: baseline; gap: 30px; font-size: clamp(22px,2.7vw,37px); line-height: 1.3; letter-spacing: -.035em; color: var(--lime); }
.direct-contact > span { font-size: 14px; color: var(--muted); }
.contact-layout { display: grid; grid-template-columns: .85fr 1.25fr; gap: 100px; }
.contact-start { margin-top: 37px; }
.contact-guidance h2 { font-size: 56px; margin-top: 28px; }
.contact-guidance > p { font-size: 18px; line-height: 1.7; color: #535d51; margin-top: 25px; }
.contact-guidance .arrow-link { margin-top: 30px; }
.contact-guidance p.existing-form-caption { font-size: 14px; line-height: 1.62; margin-top: 14px; }
#inquiry-form label, .draft-preview label { display: block; font-size: 15px; line-height: 1.6; margin-bottom: 10px; }
#inquiry-form label > span { font-size: 12px; color: #59654f; margin-left: 8px; }
#inquiry-form input, #inquiry-form select, #inquiry-form textarea, .draft-preview textarea { display: block; width: 100%; border: 1px solid #a7b198; border-radius: 0; background: #f6f6ee; color: var(--dark); padding: 14px 15px; font: 17px/1.65 var(--sans); margin: 0 0 24px; }
#inquiry-form textarea, .draft-preview textarea { resize: vertical; }
#inquiry-form select { min-height: 57px; }
#inquiry-form input:focus, #inquiry-form textarea:focus, #inquiry-form select:focus, .draft-preview textarea:focus { outline: 2px solid #718d3f; outline-offset: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
#inquiry-form > .pill { border: 0; cursor: pointer; margin-top: 5px; }
.form-status, .copy-status { font-size: 14px; line-height: 1.62; color: #3f552e; margin-top: 20px; }
.form-note { font-size: 15px; line-height: 1.62; color: #535d51; margin-bottom: 22px; }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
#inquiry-form .form-status { font-size: 16px; }
.form-status:empty { display: none; }
#inquiry-form .form-status:not(:empty) { padding: 20px; margin: 0 0 25px; background: #f6f6ee; border: 1px solid #a7b198; }
#inquiry-form .form-status[data-state="success"] { background: var(--lime); border-color: #718d3f; color: var(--dark); font-size: 20px; }
.form-status[data-state="error"] { color: #843e2f; }
#inquiry-form button:disabled { opacity: .65; cursor: wait; }
.draft-preview { border: 1px solid #a7b198; background: #f6f6ee; padding: 28px; margin-top: 29px; scroll-margin-top: 30px; }
.draft-preview h3 { font-size: 33px; margin-top: 23px; }
#draft-subject { font-size: 15px; line-height: 1.65; margin-top: 20px; margin-bottom: 25px; overflow-wrap: anywhere; }
.draft-preview textarea { margin-bottom: 20px; background: #eef0e5; font-size: 16px; }
#draft-delivery-note { font-size: 15px; line-height: 1.7; color: #535d51; }
.draft-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 25px; margin-top: 25px; }
.copy-draft { font-size: 15px; border: 0; border-bottom: 1px solid currentColor; padding: 6px 0; background: transparent; color: var(--dark); cursor: pointer; }
.essay-ai .essay-hero { padding-top: 34px; }
.essay-ai .essay-hero h1 { font-size: clamp(68px,7.1vw,108px); }
.essay-reference { border-top: 1px solid #b8c1aa; padding-top: 25px; margin-top: 35px; scroll-margin-top: 35px; }
.essay-reference > p { font: 17px/1.8 Georgia,serif; color: #3e4937; margin-top: 18px; }
.essay-reference > a { display: inline-block; font-size: 13px; color: #59654f; margin-top: 18px; }
.essay-ai .related-notes-grid { grid-template-columns: 1fr 1fr; }
.essay-ai .continuation-link { margin-top: 25px; }
@media(max-width:1100px) {
  .site-header #navigation { gap: 18px; font-size: 14px; }
  .site-footer { gap: 35px 45px; }
  .site-two-column, .site-section-heading { gap: 55px; }
  .site-two-column h2, .site-section-heading h2 { font-size: 50px; }
  .book-hero-grid { gap: 55px; }
  .book-hero h1 { font-size: 74px; }
  .book-subtitle { font-size: 25px; }
  .flat-cover { max-width: 300px; }
  .site-three-cards, .domain-grid, .book-contents-grid { gap: 30px; }
  .practice-intro { gap: 55px; }
  .contact-layout { gap: 60px; }
}
@media(max-width:900px) {
  .book-hero-grid { grid-template-columns: 1.2fr .8fr; gap: 40px; }
  .book-hero h1 { font-size: 64px; }
  .flat-cover { max-width: 260px; }
  .site-two-column, .site-section-heading { grid-template-columns: 1fr 1.15fr; gap: 40px; }
  .site-two-column h2, .site-section-heading h2 { font-size: 43px; }
  .preview-grid article { padding: 27px; }
  .site-three-cards h3, .domain-grid h3 { font-size: 25px; }
  .site-footer { grid-template-columns: 1fr; gap: 26px; }
  .site-footer .footer-links { grid-template-columns: repeat(4,1fr); }
  .site-closing { flex-direction: column; align-items: start; gap: 30px; }
  .practice-intro { gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-guidance { max-width: 700px; }
}
@media(max-width:800px) {
  .site-header { height: 105px; position: relative; }
  .site-header .menu { display: block; border: 0; background: none; color: var(--white); padding: 10px 0 10px 20px; font-size: 16px; }
  .site-header #navigation { display: none; position: absolute; left: -32px; right: -32px; top: 104px; background: var(--dark); border-bottom: 1px solid var(--line); padding: 24px 32px; z-index: 12; flex-direction: column; gap: 23px; max-height: calc(100vh - 145px); overflow-y: auto; font-size: 18px; }
  .site-header #navigation.open { display: flex; }
}
@media(max-width:600px) {
  .home-research { padding-block: 44px 48px; }
  .home-research .site-section-heading { display: block; }
  .research-entry-links { grid-template-columns: 1fr; }
  .research-entry-links > a { padding: 24px 22px; border-right: 0; border-bottom: 1px solid #69745f; }
  .research-entry-links h3 { font-size: 29px; margin-top: 18px; }
  .research-entry-links > a > span:first-child { font-size: 13px; }
  .research-entry-links > a > span:last-child { margin-top: 17px; }
  .practice-intro-expanded > div { margin-top: 25px; }
  .about-writing { padding-block: 44px; }
  .about-reading-links { flex-direction: column; align-items: start; }
  .site-header #navigation { left: -20px; right: -20px; padding-inline: 24px; }
  .study-bar > a { max-width: 175px; text-align: left; }
  .study-bar > span { max-width: 140px; text-align: right; }
  .site-footer { padding-block: 31px 24px; gap: 25px; }
  .site-footer .footer-links { grid-template-columns: 1fr 1fr; font-size: 15px; gap: 18px 25px; }
  .site-footer .site-copyright { margin-top: 0; font-size: 12px; line-height: 1.7; }
  .site-footer .footer-identity > p { font-size: 14px; }
  .site-light { padding-block: 44px; }
  .site-two-column, .site-section-heading { display: block; margin-top: 29px; }
  .site-two-column h2, .site-section-heading h2 { font-size: 41px; }
  .site-two-column > div + div, .site-two-column > h2 + div { margin-top: 26px; }
  .site-two-column p, .site-section-heading p { font-size: 18px; line-height: 1.7; }
  .site-two-column p.site-large-copy, p.site-large-copy { font-size: 23px; }
  .site-section-heading { margin-bottom: 29px; }
  .site-section-heading p { margin-top: 24px; }
  .site-three-cards { grid-template-columns: 1fr; gap: 29px; margin-top: 30px; }
  .site-three-cards h3 { font-size: 30px; margin-top: 19px; }
  .site-three-cards p { font-size: 17px; margin-top: 19px; }
  .site-closing { padding-block: 45px 49px; gap: 28px; }
  .site-closing h2 { font-size: 41px; }
  .site-closing p { font-size: 18px; }
  .book-hero { padding-block: 24px 45px; }
  .book-hero-grid { display: flex; flex-direction: column; gap: 25px; margin-top: 29px; align-items: stretch; }
  .book-hero-grid > div { display: contents; }
  .book-hero h1 { font-size: clamp(49px,13.2vw,74px); order: 0; }
  .book-subtitle { font-size: 24px; line-height: 1.5; order: 1; margin-top: 0; }
  .flat-cover { order: 2; width: 76%; max-width: 280px; align-self: center; margin-block: 3px; }
  .book-description { order: 3; font-size: 18px; margin-top: 0; }
  .book-actions { order: 4; gap: 25px; margin-top: 0; }
  .book-edition-line { order: 5; font-size: 13px; margin-top: 0; }
  .book-statement { font-size: 28px; line-height: 1.55; margin: 31px 0 37px; padding-left: 21px; }
  .book-contents, .edition-section { padding-block: 44px; }
  .book-contents-grid { grid-template-columns: 1fr; gap: 29px; }
  .book-contents-grid li { font-size: 18px; line-height: 1.62; margin-bottom: 17px; }
  .preview-grid { grid-template-columns: 1fr; gap: 22px; }
  .preview-grid article { padding: 26px 22px; }
  .preview-grid h3 { font-size: 43px; margin-top: 23px; }
  .preview-grid article > div { gap: 23px; flex-direction: column; align-items: start; }
  .preview-download { font-size: 15px; }
  .edition-details { margin-top: 29px; }
  .edition-details > div { grid-template-columns: 1fr; gap: 8px; padding-block: 17px; }
  .edition-details dd { font-size: 17px; }
  .book-order { padding-block: 44px 49px; }
  .retailer-list { margin-top: 30px; }
  .retailer-list > a { font-size: 19px; line-height: 1.6; }
  .practice-hero, .engage-hero, .contact-hero { padding-block: 24px 45px; }
  .practice-hero h1, .engage-hero h1, .contact-hero h1 { font-size: clamp(54px,14.5vw,82px); margin-top: 29px; }
  .practice-intro { display: block; margin-top: 28px; }
  .practice-intro > p { font-size: 18px; line-height: 1.72; }
  .practice-intro > p.site-large-copy { font-size: 24px; line-height: 1.6; }
  .practice-intro > p + p { margin-top: 22px; }
  .orientation-list { margin-top: 30px; }
  .orientation-list li { gap: 20px; padding-block: 20px; }
  .orientation-list li > p { font-size: 18px; }
  .practice-domains { padding-block: 44px; }
  .domain-grid { grid-template-columns: 1fr; gap: 29px; }
  .domain-grid h3 { font-size: 30px; }
  .domain-grid p { font-size: 18px; margin-top: 20px; }
  .review-includes { margin-top: 30px; }
  .review-includes li { gap: 18px; }
  .review-includes h3 { font-size: 27px; }
  .review-includes p { font-size: 17px; }
  .review-outputs { padding: 25px 22px; margin-top: 29px; }
  .review-outputs ul { grid-template-columns: 1fr; gap: 16px; }
  .engagement-scope, .how-to-begin { padding-block: 44px; }
  .controlled-note { font-size: 17px; margin-block: 27px; }
  .direct-contact { margin-top: 29px; padding-top: 25px; }
  .direct-contact > a { font-size: 23px; gap: 18px; flex-wrap: wrap; }
  .direct-contact > span { font-size: 14px; line-height: 1.62; }
  .contact-layout { gap: 33px; }
  .contact-guidance h2 { font-size: 42px; margin-top: 24px; }
  .contact-guidance > p { font-size: 18px; margin-top: 23px; }
  .contact-guidance .arrow-link { font-size: 15px; margin-top: 26px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  #inquiry-form label, .draft-preview label { font-size: 15px; }
  #inquiry-form input, #inquiry-form select, #inquiry-form textarea { font-size: 17px; padding: 13px; }
  .draft-preview { padding: 25px 20px; }
  .draft-preview h3 { font-size: 32px; }
  .draft-actions { align-items: start; flex-direction: column; gap: 20px; }
  .essay-ai .essay-hero h1 { font-size: clamp(52px,14.3vw,81px); }
  .essay-ai .related-notes-grid { grid-template-columns: 1fr; }
  .essay-reference > p { font-size: 17px; }
}

/* Long-page navigation and a subtle edge for the flat book cover. */
.back-to-top { position: fixed; z-index: 45; right: 24px; bottom: max(24px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 12px; min-height: 46px; padding: 11px 17px; border: 1px solid #171b19; border-radius: 999px; background: var(--lime); color: #171b19; font: 500 14px/1.4 var(--sans); box-shadow: 0 3px 16px #0002; }
.back-to-top[hidden] { display: none; }
.back-to-top:hover { background: #eeffc0; }
.back-to-top:focus-visible { outline: 3px solid #718b3e; outline-offset: 4px; }
.book-section img, .flat-cover img { border: 1px solid #a4ac96; }
@media(max-width:900px) {
 .reading-sidebar { position: sticky; top: 0; z-index: 40; background: #f6f6ee; }
 .contents { background: #f6f6ee; border-bottom: 1px solid #b8c1aa; }
 .contents summary { padding-block: 17px; min-height: 56px; }
 .contents > ol { max-height: min(62vh,420px); max-height: min(62dvh,420px); overflow-y: auto; overscroll-behavior: contain; margin-top: 0; padding-bottom: 12px; }
 .contents ol ol { max-height: none; overflow: visible; padding-bottom: 0; }
 .essay-body [id] { scroll-margin-top: 86px; }
 .back-to-top { right: 16px; bottom: max(16px,env(safe-area-inset-bottom)); min-height: 44px; padding: 10px 15px; }
}
@media print { .back-to-top { display: none; } .reading-sidebar { position: static; } }

/* A quiet, consistent researcher identity on About and Research. */
.researcher-id { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 32px; font: 400 15px/1.5 var(--sans); }
.researcher-id > span { color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.researcher-id a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; max-width: 100%; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; }
@media(max-width:600px) { .researcher-id { display: block; } .researcher-id > span { display: block; } .researcher-id a { font-size: 13px; } }

/* Pair the Contact introduction with its heading; stack it at smaller widths. */
.contact-hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 90px; align-items: start; margin-top: 38px; }
.contact-hero-grid h1 { margin-top: 0; }
.contact-hero .contact-hero-copy { display: block; margin-top: 0; max-width: 560px; }
.contact-hero-copy > p + p { margin-top: 20px; }
.contact-hero-copy .contact-start { margin-top: 30px; }
@media(max-width:1100px) { .contact-hero-grid { gap: 60px; } }
@media(max-width:800px) { .contact-hero-grid { grid-template-columns: 1fr; gap: 30px; } }
@media(max-width:600px) { .contact-hero-grid { margin-top: 29px; gap: 28px; } }
