@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap');
:root{--paper:#faf8f0;--ink:#172c42;--muted:#64717a;--line:#cad0cc;--gold:#efb827;--rail:248px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.75 'DM Sans',Arial,sans-serif}a{color:inherit;text-underline-offset:5px}a:hover{color:#9d6500}a:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:5px}img{max-width:100%;display:block}h1,h2,h3,h4,h5,p{margin-top:0}h1,h2{font-family:'Libre Caslon Display',Georgia,serif;font-weight:400}h1{font-size:clamp(38px,4.6vw,72px);line-height:1.06;letter-spacing:-.035em}h2{font-size:clamp(30px,3vw,46px);line-height:1.17;letter-spacing:-.02em}h3{font-size:23px;line-height:1.3;margin-top:42px}p{margin-bottom:24px}button,input,summary{font:inherit}.skip-link{position:fixed;left:12px;top:-100px;z-index:99;background:var(--gold);padding:12px}.skip-link:focus{top:12px}.rd-header{width:var(--rail);position:fixed;inset:0 auto 0 0;padding:47px 27px;background:var(--ink);color:var(--paper);border-right:1px solid #394b5c;z-index:10;overflow-y:auto}.rd-brand{display:block;font-size:26px;line-height:1.2;letter-spacing:-.03em;text-decoration:none;font-weight:600}.brand-line{display:block;width:42px;height:5px;background:var(--gold);margin-top:28px}.rd-desktop-nav{display:flex;flex-direction:column;margin-top:46px;gap:16px}.rd-desktop-nav>a{font-size:14px;text-decoration:none;border-bottom:1px solid #435462;padding-bottom:13px}.contents{display:flex;flex-direction:column;gap:15px;border-top:1px solid #435462;margin-top:34px;padding-top:25px}.contents a{font-size:12px;line-height:1.5;text-decoration:none;color:#bbc5ca}.rd-mobile-nav{display:none}body>main,.rd-header~.container,body>.container{margin-left:var(--rail)}.atlas-home{counter-reset:chapter}.atlas-home>article>.chapter{position:relative;padding:75px clamp(30px,6vw,100px);margin:0}.atlas-home>article>.chapter:not(:has(img)):not(:first-child){counter-increment:chapter}.atlas-home>article>.chapter:not(:has(img)):not(:first-child):before{content:'0' counter(chapter);display:block;color:#9b710a;font:600 12px/1 monospace;letter-spacing:.1em;margin-bottom:25px}.atlas-home>article>.chapter>p,.atlas-home>article>.chapter>h3{max-width:68ch}.atlas-home>article>.chapter:first-child{padding-top:50px;padding-bottom:40px;border-bottom:1px solid var(--line)}.atlas-home>article>.chapter:first-child h1{max-width:980px;margin-bottom:23px}.atlas-home>article>.chapter:first-child p{color:var(--muted);font-size:18px;max-width:55ch;margin-bottom:0}.atlas-home>article>.chapter:has(>img){padding:0;border-left:8px solid var(--gold)}.atlas-home>article>.chapter>img{width:100%;height:440px;object-fit:cover;object-position:50% 45%}.atlas-home>article>.chapter-4{background:#eef0e8;border-block:1px solid var(--line)}.atlas-home>article>.chapter-4 h3{border-top:1px solid var(--line);padding-top:30px;margin-top:32px}.atlas-home>article>.chapter-7 ul{padding:0;list-style:none;max-width:820px}.atlas-home>article>.chapter-7 li{display:grid;grid-template-columns:185px 1fr;gap:35px;border-top:1px solid var(--line);padding:22px 0}.atlas-home h5{font-size:15px;margin-bottom:10px}.atlas-home>article>p{padding:35px clamp(30px,6vw,100px);font-size:12px;color:var(--muted);border-top:1px solid var(--line);margin:0}.atlas-home>.chapter{padding:40px clamp(30px,6vw,100px) 80px;background:#e9ede7}.atlas-home>.chapter>h4{font-size:12px;letter-spacing:.14em;text-transform:uppercase;margin:0 0 30px}.atlas-home>.chapter>article{padding:30px 0;border-top:1px solid #a9b7b7}.atlas-home>.chapter>article>div{position:relative;padding-left:135px;padding-right:165px;min-height:200px}.atlas-home>.chapter strong{position:absolute;left:0;top:3px;width:115px;font-size:12px;line-height:1.5;font-weight:500}.atlas-home>.chapter h4{font-family:'Libre Caslon Display',Georgia,serif;font-size:29px;line-height:1.15;max-width:25ch;margin-bottom:13px}.atlas-home>.chapter article p{max-width:62ch;font-size:14px}.atlas-home>.chapter article div div div{font-size:12px;color:var(--muted);margin-bottom:16px}.atlas-home>.chapter article img{position:absolute;right:0;top:0;width:125px;height:170px;object-fit:cover}.atlas-home>.chapter article div>div:last-child{display:none}.atlas-home svg{width:14px;height:14px}.rd-footer{margin-left:var(--rail);padding:35px clamp(30px,6vw,100px);display:flex;align-items:center;gap:30px;border-top:1px solid var(--line);font-size:12px}.rd-footer .footer-brand{margin-right:auto;font-size:16px;font-weight:600;text-decoration:none}.rd-footer nav{display:flex;gap:22px}.rd-footer>a:last-child{font-size:25px;text-decoration:none}
/* Shared runtime: chronological rows, reading rail, legal documents. */
body:not(:has(.atlas-home)) main{padding:55px clamp(26px,5vw,85px);max-width:1500px}main>h1,.archive-title,.page-title{border-bottom:1px solid var(--line);padding-bottom:32px;margin-bottom:42px}.row:has(>article){display:block}.row>article,.archive article,.posts article,.post-list article{width:100%;max-width:none;border-radius:0;border:0;border-top:1px solid var(--line);padding:28px 0;box-shadow:none;background:transparent}.row>article>div,.archive article>div{border:0!important;border-radius:0!important;box-shadow:none!important;display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:35px}.row>article img,.archive article img{width:180px;height:170px;object-fit:cover}.row>article h2,.row>article h3,.row>article h4{font-family:'Libre Caslon Display',Georgia,serif;font-size:32px;line-height:1.15}main>article:not(:has(article)){max-width:100%;display:flow-root}main>article:not(:has(article))>header{float:left;width:28%;padding-right:32px}main>article:not(:has(article))>.entry-content,main>article:not(:has(article))>.post-content{margin-left:32%;max-width:68ch}.entry-content,.post-content,.legal-content{font-size:17px;line-height:1.9}.entry-content h2,.post-content h2,.legal-content h2{margin-top:55px}.entry-content img,.post-content img{height:auto;margin:35px 0}.pagination,nav[aria-label*='pagination' i]{display:flex;gap:0;border-top:1px solid var(--line);padding-top:24px;margin-top:35px}.pagination a,.pagination span,.page-link{padding:10px 17px;background:transparent;color:var(--ink);border:1px solid var(--line);border-radius:0}.pagination .active,.pagination [aria-current]{background:var(--ink);color:var(--paper)}
@media(min-width:1700px){:root{--rail:280px}.atlas-home>article>.chapter:not(:has(img)){padding-left:110px;padding-right:160px}}@media(max-width:1000px){:root{--rail:205px}.rd-header{padding:35px 22px}.rd-brand{font-size:23px}.atlas-home>article>.chapter{padding:55px 35px}.atlas-home>article>.chapter>img{height:340px}.atlas-home>.chapter{padding:35px}.atlas-home>.chapter>article>div{padding-left:0;padding-right:145px}.atlas-home>.chapter strong{position:static;display:block;width:auto;margin-bottom:12px}.atlas-home>article>.chapter-7 li{grid-template-columns:145px 1fr;gap:20px}.rd-footer{padding:30px;flex-wrap:wrap}}@media(max-width:800px){:root{--rail:0px}.rd-header{position:relative;width:100%;height:auto;padding:22px 26px;display:flex;align-items:center;justify-content:space-between;overflow:visible}.rd-brand{font-size:20px}.brand-line{margin-top:12px;width:26px;height:3px}.rd-desktop-nav{display:none}.rd-mobile-nav{display:block}.rd-mobile-nav summary{cursor:pointer;font-size:13px;list-style:none}.rd-mobile-nav summary span{color:var(--gold);margin-left:18px}.rd-mobile-menu{position:absolute;top:100%;left:0;right:0;padding:24px 26px;background:var(--ink);border-top:1px solid #435462;display:flex;flex-direction:column;gap:15px}.rd-mobile-menu a{font-size:14px;text-decoration:none}.atlas-home>article>.chapter:first-child{padding-top:38px}.atlas-home>article>.chapter{padding:50px 26px}.atlas-home>article>.chapter>img{height:320px}.atlas-home>.chapter{padding:35px 26px}main>article:not(:has(article))>header{float:none;width:auto;padding:0}main>article:not(:has(article))>.entry-content,main>article:not(:has(article))>.post-content{margin-left:0}.rd-footer{margin-left:0}.rd-footer nav{flex-wrap:wrap}}@media(max-width:480px){h1{font-size:40px}h2{font-size:33px}body{font-size:15px}.atlas-home>article>.chapter{padding:45px 20px}.atlas-home>article>.chapter>img{height:245px}.atlas-home>article>.chapter:first-child p{font-size:16px}.atlas-home>article>.chapter-7 li{display:block}.atlas-home>article>.chapter-7 li p{margin-bottom:0}.atlas-home>.chapter{padding:30px 20px}.atlas-home>.chapter>article>div{padding:0}.atlas-home>.chapter article img{position:static;width:100%;height:180px;margin-top:25px}.atlas-home>.chapter h4{font-size:29px}.rd-footer{padding:26px 20px;gap:18px}.rd-footer .footer-brand{width:100%}.rd-footer nav{gap:16px}.row>article>div,.archive article>div{display:block}.row>article img,.archive article img{width:100%;height:200px;margin-top:20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Prototype overlay: append AFTER inner-base.css and the authored site.css.
   Doctorsamir Atlas index: continuous ledger + title rail. No content replacement. */
@media (min-width:801px) {
  :root { --rail:248px; }
  .rd-header { width:248px; padding:47px 27px; }
  .rd-header .rd-brand { font-size:26px; }
}
body > main.container:has(.rd-journal),
body > main.container:has(.rd-reading),
body > main.container:has(> .mt-4.mb-4 > h1) {
  width:calc(100% - var(--rail)); max-width:none; margin:0 0 0 var(--rail);
  padding:52px clamp(26px,4vw,64px) 70px; color:var(--ink); background:var(--paper);
}
.rd-journal { max-width:none; margin:0; padding:0; }
.rd-journal .rd-journal-head {
  display:flex; align-items:flex-end; justify-content:space-between; gap:32px;
  padding:0 0 32px; margin:0; border-bottom:1px solid var(--line);
}
.rd-journal .rd-kicker { font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); margin:0 0 17px; }
.rd-journal .rd-journal-head h1 { font:400 clamp(44px,5vw,68px)/1.05 'Libre Caslon Display',Georgia,serif; letter-spacing:-.03em; margin:0; }
.rd-journal .rd-journal-order { display:flex; flex-direction:column; flex:0 0 150px; margin:0; font-size:11px; line-height:1.6; color:var(--muted); }
.rd-journal .rd-journal-order strong { font-size:23px; font-weight:500; color:var(--ink); }
.rd-journal .rd-story-grid { display:block; gap:0; margin:0; padding:0; }
.rd-journal .rd-story-card {
  display:grid; grid-template-columns:105px minmax(0,1fr); column-gap:28px; row-gap:0;
  width:100%; max-width:none; margin:0; padding:30px 0; border:0;
  border-bottom:1px solid var(--line); border-radius:0; box-shadow:none;
  background:transparent; overflow:visible; transform:none;
}
.rd-journal .rd-story-card:hover { background:transparent; box-shadow:none; transform:none; }
.rd-journal .rd-story-copy { display:contents; }
.rd-journal .rd-story-copy > time { grid-column:1; grid-row:1 / span 3; padding-top:5px; color:var(--muted); font:500 12px/1.6 'DM Sans',Arial,sans-serif; }
.rd-journal .rd-story-copy > h2 { grid-column:2; margin:0 0 15px; max-width:32ch; font:400 clamp(27px,2.5vw,36px)/1.15 'Libre Caslon Display',Georgia,serif; letter-spacing:-.02em; overflow-wrap:anywhere; text-transform:none; }
.rd-journal .rd-story-copy > h2 a { text-decoration:none; }
.rd-journal .rd-story-copy > h2 a:hover { text-decoration:underline; }
.rd-journal .rd-story-copy > p { grid-column:2; max-width:68ch; margin:0 0 16px; font-size:14px; line-height:1.8; color:var(--muted); display:block; overflow:visible; -webkit-line-clamp:unset; }
.rd-journal .rd-story-copy > .rd-read-story { grid-column:2; justify-self:start; font-size:12px; font-weight:600; text-decoration:underline; }
/* Images are absent from the captured archive rows. If runtime supplies them,
   retain them in a restrained right-hand column rather than manufacture any. */
.rd-journal .rd-story-card:has(img) { grid-template-columns:105px minmax(0,1fr) 140px; }
.rd-journal .rd-story-card > :has(> img), .rd-journal .rd-story-card > img { grid-column:3; grid-row:1 / span 3; }
.rd-journal .rd-story-card img { width:140px; height:160px; object-fit:cover; border-radius:0; }
.rd-journal .rd-pagination { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:20px; padding:28px 0 0; margin:0; }
.rd-journal .rd-page-numbers { display:flex; flex-wrap:wrap; gap:0; }
.rd-journal .rd-page-numbers > * { display:inline-flex; align-items:center; justify-content:center; min-width:40px; min-height:44px; padding:8px 12px; border:1px solid var(--line); border-radius:0; background:transparent; color:var(--ink); }
.rd-journal .rd-page-numbers [aria-current] { background:var(--ink); color:var(--paper); }
.rd-journal .rd-page-direction { font-size:13px; }
/* Neutralize the Bootstrap nested container/8+4 split without hiding widgets. */
main.container .rd-reading.container { width:100%; max-width:none; padding:0; margin:0!important; }
.rd-reading > .row { display:block; margin:0; }
.rd-reading > .row > .col-lg-8, .rd-reading > .row > .col-lg-4 { width:100%; max-width:none; padding:0; }
.rd-reading .rd-longform { display:grid; grid-template-columns:minmax(220px,.85fr) minmax(0,1.6fr); gap:0 40px; margin:0; padding:0; border:0; background:transparent; }
.rd-reading .rd-longform > header { grid-column:1; grid-row:1 / span 2; width:auto; margin:0!important; padding:0 25px 0 0; border-right:1px solid var(--line); float:none; }
.rd-reading .rd-longform > header h1 { font:400 clamp(31px,3vw,43px)/1.1 'Libre Caslon Display',Georgia,serif; letter-spacing:-.025em; text-transform:none; overflow-wrap:anywhere; margin:0 0 26px!important; }
.rd-reading .rd-longform > header time { display:block; color:var(--muted)!important; font-size:12px; font-style:normal!important; }
.rd-reading .rd-longform > section, .rd-reading .rd-longform > figure { grid-column:2; min-width:0; width:100%; max-width:68ch; margin:0 0 35px!important; }
.rd-reading .rd-longform > section { font-size:17px; line-height:1.9; overflow-wrap:anywhere; }
.rd-reading .rd-longform p { margin-bottom:24px; }
.rd-reading .rd-longform h2 { font:400 34px/1.2 'Libre Caslon Display',Georgia,serif; margin:48px 0 22px; text-transform:none; }
.rd-reading .rd-longform h3 { font-size:23px; line-height:1.35; margin:35px 0 18px; text-transform:none; }
.rd-reading .rd-longform h4 { font-size:18px; line-height:1.4; margin:30px 0 14px; text-transform:none; }
.rd-reading .rd-longform section > :first-child { margin-top:0; }
.rd-reading .rd-longform img { max-width:100%; height:auto; border-radius:0; }
.rd-reading .rd-longform table { display:block; max-width:100%; overflow-x:auto; }
.rd-reading #comments, .rd-reading > .row > .col-lg-4 { margin-top:45px; border-top:1px solid var(--line); padding-top:28px; }
.rd-reading .card { border:0; border-radius:0; background:transparent!important; box-shadow:none; }
.rd-reading .card-body, .rd-reading .card-header { padding:16px 0; background:transparent; }
.rd-reading .col-lg-4 article { border:0; padding:0; margin:0; }
.rd-reading .col-lg-4 article h2 { font:400 23px/1.3 'Libre Caslon Display',Georgia,serif; text-transform:none; }
.rd-reading .col-lg-4 article a > div { width:auto; max-width:68ch; }
.rd-reading input, .rd-reading textarea { max-width:100%; border-radius:0; }
/* Captured legal pages use a plain direct .mt-4.mb-4 wrapper. */
main.container > .mt-4.mb-4:has(> h1) { max-width:68ch; margin:0!important; font-size:17px; line-height:1.9; overflow-wrap:anywhere; }
main.container > .mt-4.mb-4:has(> h1) > h1 { font:400 clamp(40px,5vw,64px)/1.1 'Libre Caslon Display',Georgia,serif; margin:0 0 32px; padding-bottom:26px; border-bottom:1px solid var(--line); text-transform:none; }
main.container > .mt-4.mb-4:has(> h1) > h3 { font-size:23px; line-height:1.35; margin:42px 0 20px; text-transform:none; }
.rd-mobile-menu a { min-height:32px; }
@media (max-width:1100px) {
  .rd-reading .rd-longform { display:block; }
  .rd-reading .rd-longform > header { border:0; border-bottom:1px solid var(--line); padding:0 0 30px; margin-bottom:32px!important; max-width:68ch; }
  .rd-reading .rd-longform > header h1 { max-width:24ch; }
}
@media (max-width:800px) {
  body > main.container:has(.rd-journal), body > main.container:has(.rd-reading), body > main.container:has(> .mt-4.mb-4 > h1) { width:100%; margin:0; padding:38px 26px 55px; }
  .rd-journal .rd-story-card { column-gap:24px; grid-template-columns:95px minmax(0,1fr); }
  .rd-journal .rd-story-card:has(img) { grid-template-columns:95px minmax(0,1fr) 110px; }
  .rd-journal .rd-story-card img { width:110px; height:135px; }
  .rd-reading .rd-longform > header h1 { font-size:42px; }
}
@media (max-width:480px) {
  body > main.container:has(.rd-journal), body > main.container:has(.rd-reading), body > main.container:has(> .mt-4.mb-4 > h1) { padding:32px 20px 48px; }
  .rd-journal .rd-journal-head { align-items:flex-start; flex-direction:column; gap:22px; }
  .rd-journal .rd-journal-order { flex-basis:auto; display:block; }
  .rd-journal .rd-journal-order > * { margin-right:6px; }
  .rd-journal .rd-journal-order strong { font-size:16px; }
  .rd-journal .rd-story-card, .rd-journal .rd-story-card:has(img) { display:flex; flex-direction:column; padding:26px 0; }
  .rd-journal .rd-story-copy > time { order:0; padding:0; margin-bottom:12px; }
  .rd-journal .rd-story-copy > h2 { order:1; font-size:29px; }
  .rd-journal .rd-story-copy > p { order:2; }
  .rd-journal .rd-story-copy > .rd-read-story { order:3; align-self:flex-start; }
  .rd-journal .rd-story-card > :has(> img), .rd-journal .rd-story-card > img { order:4; margin-top:20px; }
  .rd-journal .rd-story-card img { width:140px; height:140px; }
  .rd-reading .rd-longform > header h1 { font-size:34px; }
  .rd-reading .rd-longform > section, main.container > .mt-4.mb-4:has(> h1) { font-size:16px; line-height:1.85; }
  .rd-reading .rd-longform h2 { font-size:29px; }
  .rd-footer nav { gap:14px; }
}
