/* Our Roots landing page; chapter reading styles are preserved below. */
.roots-cover { position:relative; isolation:isolate; overflow:hidden; min-height:clamp(390px,34vw,510px); color:#fffaf0; background:#2a111b; border-bottom:3px solid #bd9048; }
.roots-cover-art { position:absolute; inset:0 0 0 auto; z-index:-2; width:72%; height:100%; display:block; object-fit:cover; object-position:50% 26%; -webkit-mask-image:linear-gradient(90deg,transparent,#000 32%); mask-image:linear-gradient(90deg,transparent,#000 32%); }
.roots-cover::before { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#2a0e1bef 0%,#350f1fe8 30%,#39162398 53%,#2a101731 75%),linear-gradient(0deg,#240c18a8,transparent 46%); }
.cover-inner { min-height:inherit; display:flex; align-items:center; padding-block:2.4rem 3rem; }
.cover-copy { max-width:35.5rem; }
.cover-copy .eyebrow { color:#f2ce83; }
.cover-copy .eyebrow::before { content:''; width:2.5rem; height:1px; background:currentColor; }
.cover-copy h1,.article-title h1 { font:500 clamp(4rem,7vw,7rem)/1.02 var(--serif); letter-spacing:-.05em; margin:.45rem 0 .2rem; }
.cover-subtitle { font:italic clamp(1.38rem,2.25vw,2.35rem)/1.25 var(--serif); color:#f5d790; }
.cover-lead { max-width:33rem; margin-top:.95rem; font-size:clamp(1rem,1.23vw,1.2rem); line-height:1.53; }
.cover-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.75rem; margin-top:1.45rem; }
.cover-actions .button { background:linear-gradient(#fff7e8,#f2d79f); color:#421525; border:1px solid #d4ae68; }
.cover-actions .button:hover { background:#fff9e9; }
.root-outline-button { display:inline-flex; align-items:center; justify-content:center; gap:1rem; min-height:46px; padding:.65rem 1.15rem; border:1px solid #d8b86e; border-radius:3px; color:#ffe9b6; font-weight:700; }
.root-outline-button:hover { background:#f4dca425; }
.roots-hero-credit { position:absolute; bottom:.35rem; right:1rem; max-width:52%; color:#fff0d1; font-size:.67rem; text-align:right; text-shadow:0 1px 2px #211014; }
.roots-hero-credit a,.index-intro figcaption a,.root-art-credits a { text-decoration:underline; text-underline-offset:.18em; }
.root-highlights { background:#fffaf1; border-bottom:1px solid #dbcbb0; }
.root-highlights-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); padding-block:1rem; }
.root-highlight { display:flex; align-items:center; gap:.85rem; border-right:1px solid #ddc9a9; padding:.4rem 1.1rem; }
.root-highlight:first-child { padding-left:0; }
.root-highlight:last-child { padding-right:0; border-right:0; }
.root-highlight>span { min-width:2.4rem; color:#a8792c; font:2.65rem/.9 var(--serif); text-align:center; }
.root-highlight h2 { color:#311822; font:700 .97rem/1.2 var(--serif); }
.root-highlight p { margin-top:.25rem; font-size:.78rem; line-height:1.32; color:#574b42; }
.root-index.wrap { width:min(91%,1380px); }
.root-index { display:grid; grid-template-columns:minmax(0,.77fr) minmax(0,1.23fr); gap:clamp(2rem,4vw,4.4rem); padding-block:clamp(2.35rem,4vw,4rem); }
.index-intro { position:relative; border-right:1px solid #c8ac7f; padding:0 clamp(1.4rem,3.3vw,3.5rem) 0 0; }
.index-intro .eyebrow { color:#8d5e24; }
.index-intro h2,.root-chapters h2 { color:#3d1422; font:500 clamp(2.25rem,3.15vw,3.7rem)/1.04 var(--serif); letter-spacing:-.042em; margin:.35rem 0 1.15rem; }
.index-intro>p:not(.eyebrow) { font:clamp(1rem,1.18vw,1.15rem)/1.55 var(--serif); margin:.75rem 0; }
.index-intro figure { margin:1.2rem 0 0; }
.index-intro figure img { display:block; width:100%; height:clamp(115px,12.5vw,190px); object-fit:cover; object-position:center 53%; border:1px solid #b99961; filter:saturate(.85) sepia(.11); }
.index-intro figcaption { color:#675b50; font-size:.69rem; margin-top:.35rem; }
.root-chapters h2 { margin:.12rem 0 .8rem; }
.chapter-list { list-style:none; padding:0; margin:0; display:grid; gap:.42rem; }
.chapter-list li { min-width:0; }
.chapter-list a { display:grid; grid-template-columns:clamp(86px,8vw,120px) 2rem minmax(0,1fr) 1.3rem; align-items:center; gap:.75rem; min-height:72px; padding:.35rem .65rem .35rem .35rem; border:1px solid #e2d2b6; border-radius:3px; background:#fffaf1; box-shadow:0 2px 4px #39210d10; color:#4a1426; transition:background .18s ease,border-color .18s ease,transform .18s ease; }
.chapter-list a:hover { background:#f7eddd; border-color:#bd9757; transform:translateX(2px); }
.chapter-list img { width:100%; height:62px; display:block; object-fit:cover; object-position:center 30%; border-radius:2px; }
.chapter-number { align-self:start; padding-top:.38rem; color:#744715; font:500 1.05rem var(--serif); }
.chapter-copy { min-width:0; display:grid; gap:.1rem; }
.chapter-copy strong { font:600 clamp(1.1rem,1.55vw,1.62rem)/1.13 var(--serif); letter-spacing:-.02em; }
.chapter-copy small { color:#4e433c; font:clamp(.76rem,.89vw,.93rem)/1.22 var(--sans); }
.chapter-arrow { color:#721f37; font:1.35rem var(--serif); }
.chronology { position:relative; isolation:isolate; overflow:hidden; background:#35101e; color:#fff9ed; border-block:2px solid #b58a45; padding-block:clamp(2.2rem,3.5vw,3.4rem); }
.chronology::before { content:''; position:absolute; inset:0; z-index:-1; opacity:.13; background:url('/assets/saints/valldecrist-small.webp') center 41%/cover; filter:grayscale(1); }
.chronology .wrap { width:min(92%,1380px); }
.timeline-intro { text-align:center; }
.timeline-intro .eyebrow { display:block; color:#f4d591; }
.timeline-intro h2 { font:500 clamp(2.7rem,4.2vw,4.5rem)/1.04 var(--serif); letter-spacing:-.045em; margin:.3rem 0 .15rem; }
.timeline-subtitle { color:#f2d38e; font:italic clamp(1.15rem,1.75vw,1.7rem)/1.3 var(--serif); }
.timeline-intro>p:last-child { margin:.45rem auto 1.25rem; max-width:63rem; color:#e3d4cb; font-size:.85rem; }
.root-milestones { position:relative; list-style:none; padding:0; margin:1.5rem 0 1.75rem; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); }
.root-milestones::before { content:''; position:absolute; top:calc(clamp(78px,7vw,110px) + .42rem); left:10%; right:10%; height:2px; background:#cda14d; }
.root-milestones li { position:relative; min-width:0; text-align:center; }
.root-milestones a { display:flex; flex-direction:column; align-items:center; padding:.15rem .5rem .3rem; height:100%; }
.root-milestones a:hover strong { text-decoration:underline; }
.milestone-art { display:block; width:clamp(78px,7vw,110px); height:clamp(78px,7vw,110px); padding:3px; background:#eddbb1; border:2px solid #c99a41; border-radius:50%; overflow:hidden; box-shadow:0 1px 5px #19090ba8; }
.milestone-art img { display:block; width:100%; height:100%; border-radius:50%; object-fit:cover; }
.root-milestones a::after { content:''; order:1; width:10px; height:10px; border-radius:50%; background:#eac15f; margin:.48rem 0 .3rem; }
.milestone-date { order:2; color:#f3d377; font:700 .87rem/1.2 var(--serif); }
.root-milestones strong { order:3; font:600 clamp(1rem,1.26vw,1.35rem)/1.12 var(--serif); margin:.14rem 0; }
.root-milestones small { order:4; font-size:clamp(.76rem,.87vw,.92rem); line-height:1.3; color:#f0e9e1; }
.root-archive { max-width:68rem; margin:1.25rem auto 0; border:1px solid #b98c48; background:#2a101bd9; }
.root-archive>summary { list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.85rem 1rem; color:#ffe5ad; font-weight:700; }
.root-archive>summary::-webkit-details-marker,.events summary::-webkit-details-marker { display:none; }
.root-archive>summary>span { font-size:1.3rem; }
.root-archive[open]>summary>span { transform:rotate(45deg); }
.root-archive-inner { padding:0 1rem 1.3rem; }
.root-archive-inner>p { font-size:.87rem; color:#e4d3c5; }
.period-control { display:flex; flex-wrap:wrap; align-items:center; gap:.8rem; margin:1rem 0; font-size:.93rem; }
.period-control label { font-weight:650; }
.period-control select { font:inherit; color:#30151f; background:#fff8e9; padding:.55rem; border:1px solid #ad8c52; border-radius:3px; min-height:44px; }
.period-control span { color:#e9d0a7; }
.events { list-style:none; padding:0; margin:1rem 0 0; border-top:1px solid #a47a4e; }
.events li { border-bottom:1px solid #87683f; scroll-margin-top:105px; }
.events summary { list-style:none; cursor:pointer; display:grid; align-items:center; grid-template-columns:minmax(7.5rem,18%) 1fr 1.4rem; gap:.85rem; padding:.85rem .35rem; font:1.23rem/1.25 var(--serif); }
.events summary::after { content:'+'; color:#f4d38f; }
.events details[open]>summary::after { content:'−'; }
.events .date { font:700 .84rem/1.4 var(--sans); color:#f1d182; }
.event-body { padding:0 .5rem 1.25rem; max-width:48rem; }
.event-body p { line-height:1.55; }
.event-source { margin:.7rem 0; font-size:.9rem; }
.event-source a,.read-link { color:#ffe2a2; text-decoration:underline; text-underline-offset:.2em; }
.read-link { font-weight:650; }
.root-features.wrap { width:min(92%,1380px); }
.root-features { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.8rem; padding-block:clamp(1.5rem,3vw,2.6rem); }
.root-feature { display:grid; grid-template-columns:40% minmax(0,1fr); overflow:hidden; border:1px solid #dec9a7; background:#fffaf1; border-radius:4px; min-height:230px; box-shadow:0 3px 7px #3b210d12; }
.root-feature img { width:100%; height:100%; min-height:230px; display:block; object-fit:cover; }
.root-feature>div { display:flex; flex-direction:column; padding:1.05rem .95rem; }
.root-feature h2 { color:#4a1727; font:600 clamp(1.37rem,1.7vw,1.9rem)/1.1 var(--serif); }
.root-feature p { margin:.5rem 0 .75rem; font-size:.87rem; line-height:1.38; }
.root-feature a { color:#5c1b30; font-weight:700; font-size:.81rem; text-decoration:underline; text-underline-offset:.2em; }
.root-feature-main { margin-top:auto; }
.root-feature-secondary { margin-top:.4rem; }
.root-art-credits { padding-bottom:2rem; color:#665b50; font-size:.8rem; }
.root-art-credits details { border-top:1px solid #d7c6a8; padding-top:.8rem; }
.root-art-credits summary { cursor:pointer; font-weight:700; color:#551c2b; }
.root-art-credits p { margin:.6rem 0; }
.root-art-credits ul { padding-left:1.2rem; }
.root-art-credits li { margin:.4rem 0; }
.cover-actions>a:not(.button),.chapter-end>a:not(.button),#sources a,.breadcrumb a { text-decoration:underline; text-underline-offset:.22em; }
.root-article { padding-block:2rem clamp(3rem,6vw,6rem); }
.breadcrumb { font-size:.9rem; color:var(--muted); }
.article-title { max-width:58rem; margin:clamp(2rem,5vw,5rem) 0 2rem; }
.article-title h1 { font-size:clamp(2.9rem,5.8vw,5.9rem); }
.dek { font:clamp(1.22rem,2vw,1.6rem)/1.55 var(--serif); color:var(--muted); }
.reading-grid { display:grid; grid-template-columns:minmax(13rem,1fr) 2.3fr; gap:8%; padding-top:2rem; border-top:1px solid #d4c3a5; }
.reading-grid aside img { width:100%; height:auto; aspect-ratio:1.65; object-fit:cover; object-position:center 17%; }
.reading-grid aside nav { display:grid; margin:1rem 0; gap:.1rem; }
.reading-grid aside a { color:var(--wine); padding:.38rem 0; }
.reading-grid aside a:hover { text-decoration:underline; }
.reading-body { max-width:45rem; }
.reading-body h2 { font-size:clamp(1.7rem,3vw,2.4rem); margin:0 0 .75rem; }
.reading-body section { margin-bottom:2.5rem; }
.reading-body p { font:1.19rem/1.75 var(--serif); }
.reading-body sup a { color:var(--wine); }
#sources { border-top:1px solid #cdbf9e; padding-top:1.6rem; }
#sources ol { padding-left:1.65rem; }
#sources li { margin-block:.7rem; }
#sources li:target { background:#efe2cb; }
.chapter-end { display:flex; flex-wrap:wrap; align-items:center; gap:1.4rem; margin-top:1.65rem; }

@media(max-width:1050px) {
 .root-highlights-grid { grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:.55rem; }
 .root-highlight:nth-child(2) { border-right:0; }
 .root-features { grid-template-columns:1fr 1fr; }
 .root-feature:last-child { grid-column:1/-1; }
}
@media(max-width:900px) {
 .root-milestones { grid-template-columns:1fr; gap:.1rem; margin:1rem 0; }
 .root-milestones::before { top:1rem; bottom:1rem; left:42px; right:auto; width:2px; height:auto; }
 .root-milestones li { text-align:left; }
 .root-milestones a { display:grid; grid-template-columns:85px minmax(0,1fr); grid-template-rows:auto auto auto; justify-items:start; align-items:center; column-gap:.75rem; padding:.55rem 0; }
 .milestone-art { grid-column:1; grid-row:1/4; width:82px; height:82px; }
 .root-milestones a::after { display:none; }
 .milestone-date,.root-milestones strong,.root-milestones small { grid-column:2; }
 .milestone-date { grid-row:1; align-self:end; }
 .root-milestones strong { grid-row:2; }
 .root-milestones small { grid-row:3; align-self:start; }
}
@media(max-width:760px) {
 .roots-cover-art { width:100%; object-position:54% 28%; }
 .roots-cover::before { background:linear-gradient(90deg,#2a0e1bef,#2d101bc8),linear-gradient(0deg,#240c18ae,transparent); }
 .root-index,.reading-grid { grid-template-columns:1fr; gap:1.7rem; }
 .index-intro { border-right:0; border-bottom:1px solid #c8ac7f; padding:0 0 1.4rem; }
 .index-intro figure img { height:190px; }
 .reading-grid aside img { display:none; }
 .reading-grid aside nav { margin:0; }
}
@media(max-width:570px) {
 .roots-cover { min-height:480px; }
 .roots-cover-art { inset:0 0 auto; width:100%; height:clamp(290px,73vw,380px); object-position:54% 18%; -webkit-mask-image:linear-gradient(180deg,#000 0%,#000 34%,transparent 100%); mask-image:linear-gradient(180deg,#000 0%,#000 34%,transparent 100%); }
 .roots-cover::before { background:linear-gradient(180deg,#2a0e1b36 0%,#2a0e1ba8 22%,#2a0e1b 55%,#2a0e1b 100%); }
 .cover-inner { padding-block:clamp(9.5rem,39vw,12rem) 4rem; }
 .cover-copy h1 { font-size:clamp(3.8rem,14vw,5.2rem); }
 .roots-hero-credit { max-width:92%; font-size:.62rem; }
 .root-highlights-grid { grid-template-columns:1fr; row-gap:0; padding-block:.5rem; }
 .root-highlight,.root-highlight:first-child,.root-highlight:last-child { padding:.65rem 0; border-right:0; border-bottom:1px solid #e0d4bf; }
 .root-highlight:last-child { border-bottom:0; }
 .chapter-list a { grid-template-columns:76px 1.5rem minmax(0,1fr) 1rem; gap:.55rem; padding:.3rem; }
 .chapter-list img { height:64px; }
 .chapter-copy strong { font-size:1.18rem; }
 .chapter-copy small { font-size:.74rem; }
 .root-features { grid-template-columns:1fr; }
 .root-feature:last-child { grid-column:auto; }
 .events summary { grid-template-columns:1fr auto; }
 .events .date { grid-column:1/-1; }
}
@media(max-width:370px) {
 .cover-actions { align-items:stretch; }
 .cover-actions>a { width:100%; }
 .chapter-list a { grid-template-columns:66px minmax(0,1fr) 1rem; }
 .chapter-number { display:none; }
 .chapter-list img { height:72px; }
 .root-feature { grid-template-columns:35% 1fr; }
 .root-feature>div { padding:.7rem; }
 .root-feature h2 { font-size:1.3rem; }
 .root-feature p { font-size:.79rem; }
}
@media(prefers-reduced-motion:reduce) { .chapter-list a { transition:none; } .chapter-list a:hover { transform:none; } }
