/* Warm paper for reading, with the original dark and amber brand at the edges. */
:root {
  --paper: #fbf8f2;
  --cream: #f1ebe0;
  --rule: #d9cebe;
  --text: #2a231d;
  --body-text: #534a40;
  --copper: #76451e;
  --night: #201914;
  --shell: min(1160px, calc(100% - 64px));
}
.site-head { background: var(--night); }
main { background: var(--paper); color: var(--text); }
.hero, .callout, .mast-band { color: var(--ink); background-color: var(--night); }
.hero { min-height: clamp(420px, 37vw, 540px); }
.hero-copy { padding-block: 54px; }
.hero h1 { font-size: clamp(54px, 6.6vw, 90px); }
.hero .eyebrow { letter-spacing: .12em; }
.home-routes { background: var(--night); color: var(--ink); }
.home-routes nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #66513b; }
.home-routes a { position: relative; display: grid; gap: 3px; padding: 18px 36px 18px 0; text-decoration: none; }
.home-routes a+a { border-left: 1px solid #66513b; padding-left: 32px; }
.home-routes a::after { content: '↗'; position: absolute; right: 22px; top: 22px; color: var(--amber); }
.home-routes span { color: #d7c8b5; font-size: 14px; }
main .section { padding-block: clamp(38px, 5vw, 70px); }
main .section-alt, .ed-notes { background: var(--cream); }
main .section+.section { border-color: var(--rule); }
main .section .eyebrow, .ed-kicker { color: var(--copper); }
main .section-title h2, main .feature h2 { font-size: clamp(28px, 3.5vw, 46px); }
main .section-title p:last-child, main .feature-copy>p:not(.eyebrow), main .questions details p, main .prose p, main .prose li { color: var(--body-text); }
main .section .card { background: #fffcf6; border-color: var(--rule); }
main .card p:not(.eyebrow) { color: var(--body-text); }
main .questions, main .questions details, main .feature img { border-color: var(--rule); }
main .questions summary::after, main .text-link { color: var(--copper); }
main .section-title { margin-bottom: 25px; }
.mast-band { border-bottom: 4px solid #cba36f; }
.ed-mast { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,72px); align-items: center; padding-block: clamp(30px,4.5vw,64px); }
.ed-intro h1 { font-size: clamp(36px,4.7vw,64px); line-height: 1.14; margin: 15px 0; letter-spacing: -.055em; }
.ed-intro .journal-title { display: block; color: #f3e6d4; margin-top: .4em; font-size: .55em; line-height: 1.38; }
.ed-intro p { max-width: 47ch; color: #e0d0bc; line-height: 1.78; }
.ed-intro .btn { margin-top: 20px; }
.ed-intro .ed-kicker,.ed-intro .crumb { color: #e8c59a; font-size: 14px; }
.ed-intro a,.ed-next a { text-underline-offset: 4px; }
.ed-mast-photo img,.ed-sidepic img,.article-photo,.ed-thumb img { width: 100%; display: block; object-fit: cover; border-radius: 3px; }
.ed-mast-photo img { aspect-ratio: 1.88; height: auto; }
.ed-index { background: var(--cream); padding-block: clamp(42px,6vw,80px); }
.ed-index-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.ed-index-head h2 { font-size: clamp(28px,3.3vw,42px); }
.browse-all { color: var(--copper); font-size: 14px; text-underline-offset: 4px; }
.guide-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); grid-auto-rows: 1fr; gap: clamp(14px,1.7vw,24px); }
.ed-entry { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--rule); border-radius: 4px; background: #fffcf7; overflow: hidden; text-decoration: none; }
.ed-entry:hover, .ed-entry:focus-visible { border-color: #996938; }
.ed-thumb { overflow: hidden; }
.ed-thumb img { aspect-ratio: 1.76; height: auto; border-radius: 0; }
.ed-entry-copy { padding: 16px clamp(13px,1.35vw,20px) 21px; }
.ed-kicker { font-size: 12px; font-weight: 750; }
.ed-entry h3 { margin: 6px 0 9px; font-size: clamp(17px,1.4vw,21px); line-height: 1.46; letter-spacing: -.04em; }
.ed-entry-copy p { color: var(--body-text); font-size: 14px; line-height: 1.65; }
.ed-story h2,.ed-notes h2 { font-size: clamp(23px,2.25vw,32px); line-height: 1.38; margin-bottom: 15px; }
.ed-story p,.ed-notes p { color: var(--body-text); font-size: 16px; line-height: 1.89; }
.ed-story p+p { margin-top: 14px; }
.ed-split,.page-reading>.ed-story { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.2fr); align-items: start; gap: clamp(28px,5vw,70px); padding-block: clamp(35px,4.8vw,66px); }
.page-reading>.ed-story { border-top: 1px solid var(--rule); }
.page-reading h2 { border-left: 3px solid #b98b56; padding-left: 15px; }
.ed-sidepic img { aspect-ratio: 1.55; height: auto; }
.ed-split .shell.prose { width: 100%; }
.ed-notes { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; padding: 32px; }
.ed-notes h2 { font-size: 21px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 2.55fr) minmax(0,1fr); gap: clamp(32px,5vw,76px); padding-block: clamp(32px,5vw,70px); align-items: start; }
.article-column { min-width: 0; }
.article-toc { background: var(--cream); border-top: 2px solid #a78154; padding: 18px 24px; }
.article-toc strong { font-size: 16px; }
.article-toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 27px; margin: 12px 0 0; padding-left: 1.4em; font-size: 14px; color: var(--body-text); }
.article-toc a { text-decoration-color: #bca58a; text-underline-offset: 3px; }
.article-column .ed-story { padding-block: clamp(24px,3.2vw,44px); }
.article-column .ed-story+.ed-story { border-top: 1px solid var(--rule); }
.article-column h2[id] { scroll-margin-top: 20px; }
.article-photo { aspect-ratio: 2.1; height: auto; }
.article-side { position: sticky; top: 24px; background: var(--cream); border-top: 2px solid #a78154; padding: 20px 22px; }
.article-side h2 { font-size: 19px; margin-bottom: 9px; }
.article-side a { display: block; padding-block: 10px; border-bottom: 1px solid var(--rule); text-decoration: none; font-size: 14px; line-height: 1.55; }
.article-side a:hover { color: var(--copper); text-decoration: underline; }
.ed-next { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-block: 20px 38px; border-top: 1px solid var(--rule); color: var(--copper); }
@media(max-width:1050px) { .guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:780px) {
 :root { --shell: calc(100% - 40px); }
 .ed-mast,.ed-split,.page-reading>.ed-story,.ed-notes,.article-layout { grid-template-columns: 1fr; gap: 18px; }
 .article-side { position: static; }
 .article-layout { gap: 24px; }
 .ed-mast { padding-block: 30px 24px; }
 .ed-mast-photo img,.ed-sidepic img { aspect-ratio: 1.8; }
 .home-routes a+a { padding-left: 14px; }
 .home-routes a::after { right: 8px; }
 .home-routes a { padding-right: 24px; }
 .home-routes span { font-size: 12px; }
 .hero-copy { padding-block: 100px 42px; }
 .page-reading h2 { margin: 0; }
 .ed-flow { margin: 0; }
 .ed-notes { padding: 22px; }
 .article-toc ol { grid-template-columns: 1fr; }
}
@media(max-width:550px) {
 .guide-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 17px; }
 .ed-entry-copy { padding: 14px 17px 18px; }
 .ed-entry h3 { font-size: 20px; }
 .ed-thumb img { aspect-ratio: 1.9; }
 .ed-next { flex-direction: column; }
}
@media(min-width:551px) {
  .ed-entry-copy { display: flex; flex: 1; flex-direction: column; }
  .ed-entry-copy p { min-height: 3.3em; margin-top: auto; }
}
