/*
Theme Name: Recollections First Draft
Description: Local public first draft for Recollections Family Stories.
Version: 0.1.0
*/
:root{--paper:#f7f3ea;--paper-deep:#eee5d8;--ink:#1f2721;--muted:#687064;--line:#d8cdbf;--olive:#53624a;--olive-dark:#2f3a2b;--rust:#8b4a31;--white:#fffaf1;--shadow:0 20px 60px rgba(38,30,22,.16)}*{box-sizing:border-box}html{background:var(--paper);scroll-behavior:smooth}body{margin:0;min-width:320px;color:var(--ink);font-family:Arial,sans-serif;background:var(--paper)}img{display:block;max-width:100%}a{color:inherit;text-decoration:none}.site-header{position:fixed;z-index:20;top:0;right:0;left:0;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px clamp(18px,4vw,54px);color:var(--white);background:rgba(25,31,24,.72);border-bottom:1px solid rgba(255,250,241,.2);backdrop-filter:blur(12px)}.brand{display:inline-flex;align-items:center;gap:12px}.brand-mark{display:grid;width:42px;height:42px;place-items:center;border:1px solid rgba(255,250,241,.75);border-radius:50%;font-family:Georgia,serif;font-size:20px}.brand strong,.site-footer strong{display:block;font-family:Georgia,serif;font-size:22px;font-weight:500}.brand small{display:block;margin-top:4px;color:rgba(255,250,241,.78);font-size:12px}.top-nav{display:flex;gap:clamp(12px,2vw,28px);font-size:13px;font-weight:700}.top-nav a{color:rgba(255,250,241,.88)}.top-nav a:hover,.top-nav a:focus{color:var(--white)}.hero{position:relative;display:grid;min-height:88vh;align-items:end;overflow:hidden;background:var(--olive-dark)}.hero-collage{position:absolute;inset:0;display:grid;grid-template-columns:1.05fr .75fr .9fr .8fr;grid-template-rows:1fr .95fr;gap:10px;padding:10px;opacity:.95}.hero-tile{width:100%;height:100%;object-fit:cover;filter:saturate(.86) contrast(.95)}.hero-tile:nth-child(1){grid-column:1 / span 2;grid-row:1 / span 2}.hero-tile:nth-child(2){grid-column:3;grid-row:1 / span 2}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(21,25,19,.9),rgba(21,25,19,.68) 38%,rgba(21,25,19,.24) 72%,rgba(21,25,19,.1)),linear-gradient(0deg,rgba(21,25,19,.58),rgba(21,25,19,.08) 48%)}.hero-content{position:relative;width:min(760px,calc(100% - 36px));margin:0 clamp(18px,6vw,86px) clamp(58px,10vh,110px);color:var(--white)}.eyebrow{margin:0 0 12px;color:var(--rust);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.hero .eyebrow,.browse-band .eyebrow{color:#f0c58b}h1,h2,h3{margin:0;font-family:Georgia,serif;font-weight:500}h1{max-width:690px;font-size:clamp(48px,8vw,92px);line-height:.95}h2{font-size:clamp(31px,4vw,54px);line-height:1.02}h3{font-size:22px;line-height:1.1}p{line-height:1.58}.hero-copy{max-width:590px;margin:22px 0 0;color:rgba(255,250,241,.88);font-size:clamp(18px,2vw,22px)}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.button{display:inline-flex;align-items:center;min-height:46px;padding:13px 18px;border:1px solid rgba(255,250,241,.56);font-size:14px;font-weight:800}.button.primary{color:var(--ink);background:var(--white);border-color:var(--white)}.button.ghost{color:var(--white)}.section-wrap{width:min(1180px,calc(100% - 36px));margin:0 auto}.featured-story{display:grid;grid-template-columns:minmax(280px,.88fr) minmax(320px,1.12fr);gap:clamp(28px,5vw,72px);align-items:center;padding:clamp(54px,8vw,96px) 0}.feature-text p:not(.eyebrow),.story-summary{color:var(--muted);font-size:18px}.meta-line{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.meta-line span{padding:7px 10px;color:var(--olive-dark);background:#e6dccb;border:1px solid var(--line);font-size:13px;font-weight:700}.text-link{display:inline-flex;padding-bottom:4px;color:var(--rust);border-bottom:2px solid var(--rust);font-weight:800}.feature-media{display:grid;grid-template-columns:1fr .72fr;gap:14px;align-items:stretch}.feature-media img{width:100%;height:460px;object-fit:cover;box-shadow:var(--shadow)}.feature-media img:nth-child(2){height:380px;align-self:end}.threads{padding:28px 0 clamp(62px,9vw,110px)}.section-heading{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(280px,1.1fr);gap:28px;align-items:end;margin-bottom:28px}.section-heading>p:last-child{color:var(--muted);font-size:17px}.thread-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:minmax(260px,28vw);gap:14px}.thread-card{position:relative;display:flex;min-height:260px;flex-direction:column;justify-content:flex-end;overflow:hidden;isolation:isolate;color:var(--white);background:var(--olive-dark)}.thread-card.wide{grid-column:span 2;grid-row:span 2}.thread-card img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;transition:transform .26s ease}.thread-card:after{position:absolute;inset:0;z-index:-1;content:"";background:linear-gradient(0deg,rgba(18,24,18,.86),rgba(18,24,18,.24) 58%,rgba(18,24,18,.08))}.thread-card:hover img{transform:scale(1.035)}.thread-card span,.thread-card small{display:block;width:min(88%,520px);margin-right:20px;margin-left:20px}.thread-card span{font-family:Georgia,serif;font-size:clamp(24px,3vw,40px);line-height:1}.thread-card small{margin-top:9px;margin-bottom:22px;color:rgba(255,250,241,.84);font-size:14px;line-height:1.45}.browse-band{padding:clamp(52px,8vw,88px) 0;color:var(--white);background:var(--olive-dark)}.browse-layout{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(320px,1.2fr);gap:clamp(28px,5vw,70px)}.browse-intro p:not(.eyebrow){color:rgba(255,250,241,.76)}.browse-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.browse-grid a{min-height:118px;padding:18px;border:1px solid rgba(255,250,241,.18);background:rgba(255,250,241,.08);font-family:Georgia,serif;font-size:25px}.browse-grid span{display:block;margin-top:10px;color:rgba(255,250,241,.68);font-family:Arial,sans-serif;font-size:13px;line-height:1.35}.recent,.stories-page{padding:clamp(56px,9vw,104px) 0}.section-heading.compact{display:block}.recent-grid,.story-list{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}.story-card{overflow:hidden;background:var(--white);border:1px solid var(--line);box-shadow:0 12px 34px rgba(38,30,22,.08)}.story-card img{width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--paper-deep)}.story-card div{padding:18px}.date{margin:0 0 8px;color:var(--rust);font-size:12px;font-weight:800;text-transform:uppercase}.story-card p:last-child{margin-bottom:0;color:var(--muted)}.site-footer{display:grid;grid-template-columns:1fr auto;gap:18px;padding:32px clamp(18px,4vw,54px);color:rgba(255,250,241,.76);background:#1b2119}.site-footer strong{color:var(--white)}.site-map{display:flex;flex-wrap:wrap;gap:10px 18px;align-content:start}.site-map a{text-decoration:underline;text-underline-offset:3px}.story-header{padding:150px 0 44px;background:var(--olive-dark);color:var(--white)}.story-header .eyebrow{color:#f0c58b}.story-content{width:min(760px,calc(100% - 36px));margin:0 auto;padding:52px 0 90px;font-size:18px}.story-content img{height:auto;margin:28px auto;box-shadow:0 12px 34px rgba(38,30,22,.14)}.story-content a{color:var(--rust);text-decoration:underline}.pagination{grid-column:1/-1;margin-top:28px}.screen-reader-text{position:absolute;overflow:hidden;width:1px;height:1px;clip:rect(1px,1px,1px,1px)}@media(max-width:980px){.site-header{position:absolute;align-items:flex-start}.top-nav{display:none}.featured-story,.section-heading,.browse-layout{grid-template-columns:1fr}.thread-grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:minmax(250px,42vw)}.recent-grid,.story-list{grid-template-columns:1fr}.feature-media img,.feature-media img:nth-child(2){height:340px}.hero-collage{grid-template-columns:1fr .85fr;grid-template-rows:1fr .8fr .72fr}.hero-tile:nth-child(1){grid-column:1/span 2;grid-row:1/span 2}.hero-tile:nth-child(2){grid-column:2;grid-row:2/span 2}.hero-tile:nth-child(3){grid-column:1;grid-row:3}}@media(max-width:640px){.hero{min-height:760px}.hero-content{margin-bottom:44px}.hero-actions{align-items:stretch;flex-direction:column}.button{justify-content:center}.feature-media,.thread-grid,.browse-grid{grid-template-columns:1fr}.thread-card.wide{grid-column:span 1;grid-row:span 1}.hero-collage{display:block;padding:0}.hero-tile{display:none}.hero-tile:nth-child(1){position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;filter:saturate(.78) contrast(1.04) brightness(1.32)}.site-footer{grid-template-columns:1fr}}
.hero-title{font-size:clamp(44px,7vw,78px)}.hero-subtitle{margin:14px 0 0;font-family:Georgia,serif;font-size:clamp(26px,4vw,44px);line-height:1.08}.thread-more{margin-top:28px}.landing-page{padding:148px 0 88px}.landing-intro{max-width:760px;margin-bottom:42px;font-size:18px}.landing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.landing-note{padding:24px;margin-top:34px;background:var(--paper-deep);border-left:4px solid var(--rust)}@media(max-width:980px){.landing-grid{grid-template-columns:1fr}}
.story-feature{margin-top:clamp(28px,5vw,56px);margin-bottom:0}.story-feature img{width:100%;max-height:min(68vh,760px);object-fit:contain;background:var(--paper-deep);box-shadow:var(--shadow)}.story-content{width:min(700px,calc(100% - 40px));margin:0 auto;padding:clamp(42px,7vw,76px) 0 104px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(19px,1.5vw,21px);line-height:1.75}.story-content>*:first-child{margin-top:0}.story-content p,.story-content li{line-height:1.75}.story-content p{margin:0 0 1.45em}.story-content h2,.story-content h3,.story-content h4{margin:2.1em 0 .7em;font-family:Georgia,"Times New Roman",serif;color:var(--olive-dark)}.story-content h2{font-size:clamp(30px,3.5vw,42px);line-height:1.12}.story-content h3{font-size:clamp(24px,2.8vw,31px);line-height:1.18}.story-content h4{font-size:22px}.story-content ul,.story-content ol{padding-left:1.25em;margin:0 0 1.55em}.story-content img{height:auto;margin:2.1em auto;box-shadow:0 12px 34px rgba(38,30,22,.14)}.story-content figure{width:auto!important;max-width:100%;margin:2.4em auto;text-align:center}.story-content figcaption,.story-content .wp-caption-text{margin:.75em auto 0;color:var(--muted);font-family:Arial,sans-serif;font-size:13px;line-height:1.45;text-align:left}.story-content blockquote{margin:2em 0;padding:.2em 0 .2em 1.2em;color:var(--olive-dark);border-left:3px solid var(--rust);font-size:1.14em;font-style:italic}.story-content a{color:var(--rust);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}@media(max-width:640px){.story-content{width:min(100% - 32px,700px);padding-top:36px;font-size:19px;line-height:1.7}.story-content p,.story-content li{line-height:1.7}.story-feature{width:min(100% - 24px,1180px)}}
.mobile-nav{display:none}@media(max-width:980px){.mobile-nav{display:block;position:relative;margin-left:auto;color:var(--white);font-size:13px;font-weight:800}.mobile-nav summary{padding:10px 0;cursor:pointer;list-style:none}.mobile-nav summary::-webkit-details-marker{display:none}.mobile-links{position:absolute;top:44px;right:0;display:grid;min-width:178px;padding:8px;background:var(--olive-dark);border:1px solid rgba(255,250,241,.3);box-shadow:var(--shadow)}.mobile-links a{padding:10px 12px;color:var(--white)}.mobile-links a:hover,.mobile-links a:focus{background:rgba(255,250,241,.12)}}
/* Reading correction: imported RapidWeaver content carries small inline type and spacer-only breaks. */
.story-content{width:min(720px,calc(100% - 44px));padding:clamp(38px,5vw,60px) 0 88px;font-size:clamp(21px,1.42vw,23px);line-height:1.55}.story-content p,.story-content li{line-height:1.55}.story-content p{margin:0 0 1em}.story-content h2,.story-content h3,.story-content h4{margin:1.65em 0 .55em}.story-content h2{font-size:clamp(28px,2.7vw,35px);line-height:1.16}.story-content h3{font-size:clamp(23px,2.2vw,28px);line-height:1.2}.story-content h4{font-size:20px;line-height:1.25}.story-content span[style*="font-size"]{font-size:.9em!important;line-height:1.5!important}.story-content span[style*="font-size"]:has(> br:only-child){display:none}.story-content img{margin:1.25em auto}.story-content figure{margin:1.5em auto}.story-content figcaption,.story-content .wp-caption-text{margin:.55em auto 0;color:#4d584e;font-size:15px;line-height:1.42}.story-content blockquote{margin:1.35em 0;padding:.1em 0 .1em 1em;font-size:1.04em;line-height:1.48}.story-content iframe{display:block;width:min(100%,620px);min-height:166px;margin:1.2em auto;border:0}.story-content audio{display:block;width:100%;margin:1em 0}.story-content :is(.wp-block-embed,.wp-block-audio,.soundcloud){margin:1.2em 0!important}@media(max-width:640px){.story-content{width:min(100% - 32px,720px);padding:30px 0 64px;font-size:20px;line-height:1.55}.story-content p,.story-content li{line-height:1.55}.story-content p{margin-bottom:.95em}.story-content h2{font-size:29px}.story-content h3{font-size:24px}.story-content figcaption,.story-content .wp-caption-text{font-size:14px}.story-content iframe{min-height:152px;margin:1em auto}}
.story-header{position:relative;display:flex;min-height:clamp(410px,52vw,620px);align-items:flex-end;padding:clamp(158px,18vw,250px) 0 clamp(48px,6vw,78px);background-color:var(--olive-dark);background-position:center;background-size:cover;isolation:isolate}.story-header.has-story-image{background-image:linear-gradient(90deg,rgba(18,27,19,.9),rgba(18,27,19,.62) 52%,rgba(18,27,19,.34)),linear-gradient(0deg,rgba(18,27,19,.64),rgba(18,27,19,.08) 65%),var(--story-image)}.story-header .section-wrap{position:relative;z-index:1}.story-header h1{max-width:760px;text-shadow:0 2px 18px rgba(0,0,0,.38)}@media(max-width:640px){.story-header{min-height:400px;padding:148px 0 42px;background-position:center}.story-header.has-story-image{background-image:linear-gradient(90deg,rgba(18,27,19,.88),rgba(18,27,19,.6)),linear-gradient(0deg,rgba(18,27,19,.66),rgba(18,27,19,.08)),var(--story-image)}}
.brand-mark{width:46px;height:46px;border:0;border-radius:0;object-fit:contain;background:transparent}.brand strong{font-size:24px}.brand small{margin-top:1px}.hero-title{max-width:800px;font-size:clamp(58px,8.2vw,112px);line-height:.94;letter-spacing:-.035em}.hero-copy{max-width:690px;font-size:clamp(20px,2vw,27px);line-height:1.35}@media(max-width:640px){.brand-mark{width:44px;height:44px}.brand strong{font-size:22px}.hero-title{font-size:clamp(54px,15vw,72px);line-height:.95}.hero-copy{font-size:20px;line-height:1.36}}
/* Normalise a second legacy form: `font:14px HelveticaNeue` bypasses font-size rules. */
.story-content span[style*="font:"]{font-family:inherit!important;font-size:.9em!important;line-height:1.5!important;color:inherit!important}.story-content a:has(> img){display:block;width:fit-content;max-width:100%;margin:1.1em auto}.story-content a:has(> img) img{margin:0}.story-content a:has(> img)+span:has(> br:first-child)>br:first-child{display:none}
/* Collection-wide legacy-font normalisation. It leaves colour and explicit emphasis alone. */
.story-content [style*="font-family"],.story-content [style*="font-size"],.story-content [style*="font:"]{font-family:inherit!important;font-size:inherit!important;line-height:inherit!important}.story-content [style*="bold" i]{font-weight:700!important}.story-content [style*="italic" i]{font-style:italic!important}
.story-content span[style*="font-family"],.story-content span[style*="font-size"],.story-content span[style*="font:"]{font-family:inherit!important;font-size:inherit!important;line-height:inherit!important}

/* Keep the front-page title readable over light archive photographs on phones. */
@media(max-width:640px){.hero-tile:nth-child(1){filter:saturate(.78) contrast(1.04) brightness(.64)}}

/* The title occupies only the first collage tile at desktop widths. */
@media(min-width:981px){.hero-content{width:min(760px,calc(51.4286vw - clamp(18px,6vw,86px) - 6px))}.hero-title{max-width:calc(51.4286vw - clamp(18px,6vw,86px) - 6px);font-size:clamp(48px,6vw,88px)}}

/*
 * Editorial image layouts
 *
 * Imported stories opt into these roles through the `_rfs_story_image_layouts`
 * post meta. They deliberately affect only selected linked images, retaining
 * a calm, single-column treatment for the rest of the archive.
 */
.story-content .rfs-story-image{display:block;width:fit-content;max-width:100%;margin:1.45em auto;clear:both}.story-content .rfs-story-image img{margin:0}.story-content .image-offset-left{margin-left:clamp(-46px,-5vw,-14px);margin-right:auto}.story-content .image-offset-right{margin-right:clamp(-46px,-5vw,-14px);margin-left:auto}.story-content .image-breakout{width:min(780px,calc(100vw - 32px));max-width:none;margin-top:1.8em;margin-bottom:1.8em;margin-left:50%;transform:translateX(-50%)}.story-content .image-breakout img{width:100%;height:auto}.story-content .image-aside-left,.story-content .image-aside-right{width:min(43%,290px);margin-top:.38em;margin-bottom:1.05em}.story-content .image-aside-left{float:left;margin-right:1.35em;margin-left:0}.story-content .image-aside-right{float:right;margin-right:0;margin-left:1.35em}.story-content .image-quiet{box-shadow:none}@media(max-width:640px){.story-content .image-offset-left,.story-content .image-offset-right,.story-content .image-breakout{width:100%;margin-right:auto;margin-left:auto;transform:none}.story-content .image-aside-left,.story-content .image-aside-right{float:none;width:100%;margin:1.25em auto}}

/* Wide desktop stories use an editorial image rail, not a succession of centred cards. */
@media(min-width:981px){.story-content{width:min(1120px,calc(100% - 72px))}.story-content> :is(p,ul,ol,h2,h3,h4,blockquote,iframe,audio,.wp-block-embed,.wp-block-audio,.soundcloud){width:min(720px,100%);margin-right:auto;margin-left:auto}.story-content .image-offset-left,.story-content .image-aside-left{float:none;width:fit-content;max-width:100%;margin-right:auto;margin-left:0;transform:translateX(clamp(-200px,calc((792px - 100vw)/2),-48px))}.story-content .image-offset-right,.story-content .image-aside-right{float:none;width:fit-content;max-width:100%;margin-right:0;margin-left:auto;transform:translateX(clamp(48px,calc((100vw - 792px)/2),200px))}.story-content .image-breakout{width:min(780px,calc(100vw - 72px));margin-right:auto;margin-left:auto;transform:translateX(-30px)}.story-content .image-aside-left,.story-content .image-aside-right{margin-top:1.45em;margin-bottom:1.45em}}

/* A paired image and its immediately following copy can use the desktop stage as a true composition. */
@media(min-width:981px){.story-content>p:has(> .image-with-copy-left),.story-content>p:has(> .image-with-copy-right){display:grid;width:min(1080px,100%);max-width:none;grid-template-columns:minmax(360px,.94fr) minmax(360px,1.06fr);gap:clamp(34px,5vw,74px);align-items:start;margin-top:1.7em;margin-bottom:2.15em}.story-content>p:has(> .image-with-copy-left)>span{grid-column:2}.story-content>p:has(> .image-with-copy-right)>span{grid-column:1}.story-content .image-with-copy-left,.story-content .image-with-copy-right{width:100%;max-width:none;grid-row:1;margin:0;transform:none}.story-content .image-with-copy-left{grid-column:1}.story-content .image-with-copy-right{grid-column:2}.story-content .image-with-copy-left img,.story-content .image-with-copy-right img{width:100%;height:auto}}

/* Legacy spacer spans should not occupy the first row of an image-and-copy composition. */
@media(min-width:981px){.story-content>p:has(> .image-with-copy-left)>span:has(>br:only-child),.story-content>p:has(> .image-with-copy-right)>span:has(>br:only-child){display:none}.story-content>p:has(> .image-with-copy-left)>span:not(:has(>br:only-child)),.story-content>p:has(> .image-with-copy-right)>span:not(:has(>br:only-child)){align-self:start}.story-content>p:has(> .image-with-copy-left)>span>br:first-child,.story-content>p:has(> .image-with-copy-right)>span>br:first-child{display:none}.story-content .image-breakout{display:block;width:100vw;max-width:none;padding:clamp(28px,4vw,64px) clamp(28px,9vw,160px);margin-top:2.25em;margin-right:0;margin-bottom:2.25em;margin-left:50%;border-top:1px solid rgba(208,199,181,.38);border-bottom:1px solid rgba(208,199,181,.38);background:linear-gradient(90deg,#202622,#2b312c 22%,#343b34 50%,#2b312c 78%,#202622);box-shadow:inset 0 1px rgba(255,250,241,.08),inset 0 -1px rgba(0,0,0,.26);transform:translateX(-50%)}.story-content .image-breakout img{width:auto;max-width:min(100%,720px);height:auto;margin:0 auto;box-shadow:0 18px 42px rgba(0,0,0,.34)}}

/* Let the paragraph after a right-hand photograph use the remaining left-hand space. */
@media(min-width:981px){.story-content>p:has(> .image-with-copy-right){display:block;width:min(1080px,100%);max-width:none}.story-content .image-with-copy-right{float:right;clear:none;width:min(50%,540px);max-width:none;margin:0 0 1.1em clamp(34px,5vw,74px);transform:none}.story-content>p:has(> .image-with-copy-right)>span{display:block;width:auto}.story-content>p:has(> .image-with-copy-right)+p{clear:none}}

/* A quiet side placement steps only the photograph out of the reading measure. */
@media(min-width:981px){.story-content>p:has(> .image-side-right){width:min(720px,100%);max-width:100%}.story-content .image-side-right{display:block;float:none;clear:both;width:min(76%,540px);max-width:none;margin:1.45em 0 1.45em auto;transform:translateX(clamp(48px,calc((100vw - 792px)/2),200px))}.story-content .image-breakout-wide{display:block;width:100vw;max-width:none;padding:clamp(28px,4vw,64px) clamp(28px,7vw,132px);margin-top:2.25em;margin-right:0;margin-bottom:2.25em;margin-left:50%;clear:both;border-top:1px solid rgba(208,199,181,.38);border-bottom:1px solid rgba(208,199,181,.38);background:linear-gradient(90deg,#202622,#2b312c 22%,#343b34 50%,#2b312c 78%,#202622);box-shadow:inset 0 1px rgba(255,250,241,.08),inset 0 -1px rgba(0,0,0,.26);transform:translateX(-50%)}.story-content .image-breakout-wide img{display:block;width:auto;max-width:min(100%,1040px);height:auto;margin:0 auto;box-shadow:0 18px 42px rgba(0,0,0,.34)}}

/* Moore Street pilot: a calm book-like reading rhythm with a small image vocabulary. */
.story-content{font-size:clamp(20px,1.28vw,22px);line-height:1.62}.story-content p,.story-content li{line-height:1.62}.story-content p{margin-bottom:1.25em}.story-content .rfs-story-part{margin:3.3em auto 1.15em;padding-top:1.05em;border-top:1px solid var(--line);color:var(--olive-dark);font-size:clamp(32px,3vw,43px);line-height:1.08}.story-content .rfs-room{width:min(660px,100%);margin:2.7em auto}.story-content .rfs-room h3{margin:0 0 .75em;color:var(--olive-dark);font-size:clamp(25px,2.1vw,30px);line-height:1.15}.story-content .rfs-room h3:after{display:block;width:2.5em;margin-top:.6em;border-bottom:1px solid #bda993;content:""}.story-content .rfs-room p{margin-bottom:.9em}.story-content .rfs-story-image{box-shadow:none}.story-content .image-opening,.story-content .image-feature,.story-content .image-portrait{border:1px solid rgba(116,99,77,.16);background:#fffaf3;box-shadow:0 14px 32px rgba(50,40,29,.10)}.story-content .image-opening{padding:10px}.story-content .image-feature{padding:clamp(10px,1.1vw,16px);background:#efe8dc}.story-content .image-portrait{padding:9px}.story-content .image-opening img,.story-content .image-feature img,.story-content .image-portrait img{width:100%;height:auto}.story-content .image-breakout-wide{border-radius:0}.story-content .image-breakout-wide img{border:1px solid rgba(255,250,241,.2)}
@media(min-width:981px){.story-content{width:min(1060px,calc(100% - 80px));padding-top:clamp(68px,7vw,112px);padding-bottom:120px}.story-content> :is(p,ul,ol,h2,h3,h4,blockquote,iframe,audio,.wp-block-embed,.wp-block-audio,.soundcloud),.story-content .rfs-room{width:min(660px,100%)}.story-content>p:has(> .image-opening){display:grid;width:min(1040px,100%);max-width:none;grid-template-columns:minmax(390px,1.08fr) minmax(330px,.92fr);gap:clamp(46px,6vw,88px);align-items:start;margin-top:2.4em;margin-bottom:3.7em}.story-content>p:has(> .image-opening)>span:has(>br:only-child){display:none}.story-content>p:has(> .image-opening)>span:not(.rfs-story-image):not(:has(>br:only-child)){grid-column:2;align-self:start;padding-top:.35em}.story-content>p:has(> .image-opening)>span:not(.rfs-story-image)>br:first-child{display:none}.story-content .image-opening{grid-column:1;grid-row:1;width:100%;max-width:none;margin:0;transform:none}.story-content .image-feature{position:relative;left:50%;width:min(820px,calc(100vw - 160px));max-width:none;margin:3.6em auto;transform:translateX(-50%)}.story-content .image-portrait{width:min(380px,100%);margin:2.8em auto}.story-content .image-breakout-wide{margin-top:4em;margin-bottom:4em;padding-top:clamp(38px,5vw,78px);padding-bottom:clamp(38px,5vw,78px)}.story-content .image-breakout-wide img{max-width:min(100%,980px)}}
@media(max-width:980px){.story-content .image-opening,.story-content .image-feature,.story-content .image-portrait{width:100%;max-width:100%;margin-top:2em;margin-bottom:2em;transform:none}.story-content .rfs-story-part{margin-top:2.5em}.story-content .rfs-room{margin-top:2.25em;margin-bottom:2.25em}}

/* Gutenberg places image treatments on a figure; override the legacy figure width. */
@media(min-width:981px){.story-content figure.rfs-story-image.image-opening{width:100%!important;max-width:none!important}.story-content figure.rfs-story-image.image-feature{position:static;left:auto;width:min(820px,calc(100vw - 160px))!important;max-width:none!important;margin-right:auto;margin-left:auto;transform:none}.story-content figure.rfs-story-image.image-portrait{width:min(380px,100%)!important;max-width:none!important}.story-content figure.rfs-story-image.image-breakout-wide{width:100vw!important;max-width:none!important}}

/* The family editor has four deliberately plain image choices: Default, Stage, Left and Right. */
.story-content figure.wp-block-image.rfs-image-treatment-standard,.story-content figure.wp-block-image:not(.rfs-story-image){display:table!important;width:auto!important;max-width:calc(100vw - 32px)!important;padding:0!important;margin:1.8em auto!important;clear:both;background:transparent!important;box-shadow:none!important}.story-content figure.wp-block-image.rfs-image-treatment-standard img,.story-content figure.wp-block-image:not(.rfs-story-image) img{display:block;width:auto!important;max-width:min(880px,calc(100vw - 48px))!important;height:auto!important;max-height:min(72svh,720px)!important;margin:0!important;background:transparent!important;box-shadow:0 12px 34px rgba(38,30,22,.24)!important;object-fit:initial!important}.story-content figure.wp-block-image.image-stage{box-sizing:border-box;display:block;width:100vw!important;max-width:none!important;padding:clamp(28px,4vw,64px) clamp(24px,7vw,132px);margin:3.25em 0!important;margin-left:50%!important;clear:both;border-top:1px solid rgba(208,199,181,.38);border-bottom:1px solid rgba(208,199,181,.38);background:linear-gradient(90deg,#202622,#2b312c 22%,#343b34 50%,#2b312c 78%,#202622);box-shadow:inset 0 1px rgba(255,250,241,.08),inset 0 -1px rgba(0,0,0,.26);transform:translateX(-50%)}.story-content figure.wp-block-image.image-stage img{display:block;width:auto;max-width:min(100%,1040px);max-height:min(76svh,820px);height:auto;margin:0 auto;box-shadow:0 18px 42px rgba(0,0,0,.34)}.story-content figure.wp-block-image.image-float-left,.story-content figure.wp-block-image.image-float-right{width:min(46%,460px)!important;max-width:100%;margin-top:.4em!important;margin-bottom:1em!important;clear:none}.story-content figure.wp-block-image.image-float-left{float:left;margin-right:1.5em!important;margin-left:0!important}.story-content figure.wp-block-image.image-float-right{float:right;margin-right:0!important;margin-left:1.5em!important}.story-content figure.wp-block-image.image-float-left img,.story-content figure.wp-block-image.image-float-right img{width:100%;height:auto;margin:0}@media(max-width:980px){.story-content figure.wp-block-image.rfs-image-treatment-standard,.story-content figure.wp-block-image:not(.rfs-story-image){max-width:calc(100vw - 32px)!important}.story-content figure.wp-block-image.rfs-image-treatment-standard img,.story-content figure.wp-block-image:not(.rfs-story-image) img{max-width:min(100%,680px)!important;max-height:min(68svh,640px)!important}.story-content figure.wp-block-image.image-stage{width:100vw!important;padding:28px 16px;margin-top:2em!important;margin-bottom:2em!important}.story-content figure.wp-block-image.image-float-left,.story-content figure.wp-block-image.image-float-right{float:none;width:100%!important;max-width:100%!important;margin:1.5em auto!important}}

/* Keep the public header clear of WordPress's logged-in admin toolbar. */
body.admin-bar .site-header{top:32px}
@media(max-width:782px){body.admin-bar .site-header{top:46px}}

/* Header search is deliberately compact until requested, leaving the archive navigation calm. */
.header-tools{display:flex;align-items:center;gap:14px}.site-search{position:relative}.site-search summary{display:grid;width:38px;height:38px;place-items:center;cursor:pointer;list-style:none;color:var(--white);border:1px solid rgba(255,250,241,.46);border-radius:50%}.site-search summary::-webkit-details-marker{display:none}.site-search summary:hover,.site-search summary:focus{background:rgba(255,250,241,.14)}.site-search summary:focus-visible{outline:2px solid #f0c58b;outline-offset:3px}.site-search summary svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.site-search form{position:absolute;top:calc(100% + 12px);right:0;display:flex;width:min(390px,calc(100vw - 36px));gap:8px;padding:10px;background:var(--white);border:1px solid var(--line);box-shadow:var(--shadow)}.site-search input{min-width:0;flex:1;padding:10px 12px;color:var(--ink);font:inherit;background:var(--paper);border:1px solid var(--line)}.site-search button{padding:10px 14px;color:var(--white);font:inherit;font-weight:700;background:var(--olive-dark);border:1px solid var(--olive-dark);cursor:pointer}.site-search input:focus,.site-search button:focus-visible{outline:2px solid var(--rust);outline-offset:2px}@media(max-width:980px){.header-tools{margin-left:auto}.mobile-nav{margin-left:0}}@media(max-width:640px){.header-tools{gap:10px}.site-search form{width:calc(100vw - 36px)}}

/* A line break can be the only element in a span that also contains text. */
.story-content span[style*="font-size"]:has(> br:only-child){display:inline!important}

/* 404 */
.not-found{min-height:calc(100vh - 142px);padding-top:clamp(160px,22vw,250px);padding-bottom:clamp(74px,12vw,150px)}.not-found h1{max-width:850px}.not-found-copy{max-width:620px;margin:26px 0 0;color:var(--muted);font-size:clamp(18px,2vw,22px)}.not-found-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}.not-found .button.secondary{color:var(--olive-dark);border-color:var(--olive-dark)}.not-found-search{max-width:620px;margin-top:72px;padding-top:30px;border-top:1px solid var(--line)}.not-found-search h2{font-size:clamp(26px,3vw,38px)}.not-found-search form{display:flex;gap:10px;margin-top:18px}.not-found-search input[type="search"]{min-width:0;flex:1;padding:13px 14px;color:var(--ink);font:inherit;background:var(--white);border:1px solid var(--line)}.not-found-search input[type="submit"]{padding:13px 18px;color:var(--white);font:inherit;font-weight:700;background:var(--olive-dark);border:1px solid var(--olive-dark);cursor:pointer}@media(max-width:640px){.not-found-search form{flex-direction:column}.not-found-search input[type="submit"]{width:100%}}

/* Search results foreground matching archival text instead of browse cards. */
main.search-results{width:min(980px,calc(100% - 36px));padding:clamp(150px,18vw,210px) 0 clamp(70px,10vw,120px);margin-right:auto;margin-left:auto}main.search-results h1{font-size:clamp(48px,7vw,78px)}.search-results-summary{margin:26px 0 0;color:var(--muted);font-size:18px}.search-results-summary strong{color:var(--ink);font-family:Georgia,serif;font-weight:500}.search-results-form{display:flex;gap:10px;margin:30px 0 42px;padding-bottom:30px;border-bottom:1px solid var(--line)}.search-results-form input{min-width:0;flex:1;padding:13px 14px;color:var(--ink);font:inherit;background:var(--white);border:1px solid var(--line)}.search-results-form button{padding:13px 18px;color:var(--white);font:inherit;font-weight:700;background:var(--olive-dark);border:1px solid var(--olive-dark);cursor:pointer}.search-results-form input:focus,.search-results-form button:focus-visible{outline:2px solid var(--rust);outline-offset:2px}.search-result-list{border-top:1px solid var(--line)}.search-result{padding:32px 0 34px;border-bottom:1px solid var(--line)}.search-result--with-image{display:grid;grid-template-columns:174px minmax(0,1fr);gap:28px}.search-result-thumbnail{align-self:start;overflow:hidden;background:var(--paper-deep)}.search-result-thumbnail img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .25s ease}.search-result-thumbnail:hover img,.search-result-thumbnail:focus img{transform:scale(1.035)}.search-result h2{font-size:clamp(28px,3.5vw,40px)}.search-result h2 a:hover,.search-result h2 a:focus{color:var(--rust);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}.search-result-passages{max-width:740px;margin-top:18px;color:var(--muted);font-family:Georgia,"Times New Roman",serif;font-size:19px;line-height:1.65}.search-result-passages p{margin:0 0 14px}.search-result mark{padding:0 .08em;color:inherit;background:#f0c58b;box-decoration-break:clone;-webkit-box-decoration-break:clone}.search-result-link{display:inline-block;margin-top:6px;padding-bottom:3px;color:var(--rust);border-bottom:2px solid var(--rust);font-size:14px;font-weight:800}.search-no-results{padding:36px 0;border-top:1px solid var(--line);color:var(--muted)}.search-no-results h2{color:var(--ink)}@media(max-width:640px){main.search-results{width:min(100% - 32px,980px);padding-top:140px}.search-results-form{flex-direction:column}.search-results-form button{width:100%}.search-result{padding:27px 0}.search-result--with-image{grid-template-columns:112px minmax(0,1fr);gap:16px}.search-result-passages{font-size:18px}}

/* End-of-story discovery and editorial Story Threads. */
.story-discovery{margin-top:clamp(24px,5vw,62px);padding:clamp(58px,8vw,110px) 0;color:var(--white);background:linear-gradient(120deg,#263224,#2f3a2b 58%,#354133);border-top:7px solid var(--rust)}.story-discovery h2{max-width:820px;font-size:clamp(42px,4.5vw,70px)}.story-discovery .eyebrow{color:#efc27f}.discovery-all{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin:25px 0 34px;color:rgba(255,250,241,.66);font-size:14px}.discovery-all span{margin-right:4px}.discovery-all a{padding-bottom:3px;color:#f4cc8d;border-bottom:1px solid rgba(244,204,141,.6);font-weight:800}.story-terms{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;margin:0 0 62px}.story-terms section{display:flex;min-height:184px;flex-direction:column;padding:24px;background:linear-gradient(145deg,rgba(255,250,241,.12),rgba(255,250,241,.055));border:1px solid rgba(255,250,241,.16);border-top:3px solid rgba(240,197,139,.72);box-shadow:inset 0 1px rgba(255,250,241,.08)}.story-terms h3{margin-bottom:19px;color:#fffaf1;font-size:clamp(25px,2vw,31px)}.story-terms section>div{display:flex;flex-wrap:wrap;gap:8px}.story-terms section>div a{padding:8px 10px;color:#283128;background:#f0e8da;border:1px solid rgba(255,255,255,.25);font-size:13px;font-weight:800;line-height:1.25}.axis-link{display:inline-block;margin-top:auto;padding-top:20px;color:#f4cc8d;text-decoration:none;font-size:13px;font-weight:800}.axis-link:after{margin-left:7px;content:'→'}.related-stories{padding-top:44px;border-top:1px solid rgba(255,250,241,.24)}.related-stories .recent-grid{margin-top:26px}.thread-context{padding-bottom:38px;margin-bottom:42px;border-bottom:1px solid rgba(255,250,241,.25)}.thread-context p:not(.eyebrow){max-width:650px;color:rgba(255,250,241,.8)}.thread-context .text-link{color:#f0c58b;border-color:#f0c58b}.thread-page-header{padding:160px 0 68px;color:var(--white);background:var(--olive-dark)}.thread-page-header .eyebrow{color:#f0c58b}.thread-page-header .landing-intro{color:rgba(255,250,241,.8)}.thread-feature{padding-top:62px;padding-bottom:24px}.thread-feature .story-card{max-width:420px}.story-discovery .story-card{color:var(--ink)}.story-discovery .story-card h3{color:var(--olive-dark)}@media(max-width:980px){.story-terms{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.story-terms{grid-template-columns:1fr;margin-bottom:46px}.story-discovery{border-top-width:6px}.discovery-all{gap:8px 14px}}

/* Taxonomy discovery */
.taxonomy-index h1,.taxonomy-archive h1{margin-bottom:18px}.taxonomy-term-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:0;margin:34px 0 0;list-style:none}.taxonomy-term-list a{position:relative;display:flex;height:270px;flex-direction:column;justify-content:flex-end;isolation:isolate;color:var(--white);background:var(--olive-dark);border:1px solid var(--line);font-family:Georgia,serif;text-decoration:none;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease}.taxonomy-term-list a:after{position:absolute;inset:0;z-index:-1;content:"";background:linear-gradient(to top,rgba(18,24,18,.78) 0%,rgba(18,24,18,.46) 34%,rgba(18,24,18,0) 68%)}.taxonomy-term-list a:hover,.taxonomy-term-list a:focus{box-shadow:0 12px 30px rgba(38,30,22,.12);transform:translateY(-2px)}.taxonomy-term-list>li>a>img,.taxonomy-term-card-placeholder{position:absolute;inset:0;z-index:-2;width:100%;height:100%;background:var(--paper-deep)}.taxonomy-term-list>li>a>img{object-fit:cover;transition:transform .26s ease}.taxonomy-term-list>li>a:hover>img{transform:scale(1.035)}.taxonomy-term-card-placeholder{display:grid;place-items:center;background:var(--olive)}.taxonomy-term-card-placeholder img{width:58px;height:58px;object-fit:contain;opacity:.8}.taxonomy-term-card-copy{display:flex;flex-direction:column;align-items:flex-start;padding:16px 18px;text-shadow:0 1px 7px rgba(0,0,0,.9)}.taxonomy-term-card-copy strong{font-size:22px;font-weight:normal;line-height:1.12}.taxonomy-term-count{margin-top:7px;color:rgba(255,250,241,.92);font-family:Arial,sans-serif;font-size:12px;font-weight:800;text-transform:uppercase}.taxonomy-archive .eyebrow a{color:var(--rust);text-decoration:underline;text-underline-offset:3px}@media(max-width:980px){.taxonomy-term-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.taxonomy-term-list{grid-template-columns:1fr}}

/* Signed-in taxonomy directory ordering. */
.taxonomy-term-list>li{position:relative}.taxonomy-term-list.is-sortable>li,.taxonomy-term-list.is-sortable>li>a{cursor:grab}.taxonomy-term-list.is-sortable>li:active,.taxonomy-term-list.is-sortable>li:active>a{cursor:grabbing}.taxonomy-term-list.is-sortable img{-webkit-user-drag:none}.taxonomy-card-drag-handle{position:absolute;z-index:3;top:10px;right:10px;display:inline-flex;align-items:center;gap:6px;padding:8px 10px;color:var(--olive-dark);background:rgba(255,250,241,.94);border:1px solid rgba(255,250,241,.7);border-radius:2px;box-shadow:0 3px 12px rgba(18,24,18,.22);font:700 12px Arial,sans-serif;cursor:grab;touch-action:none}.taxonomy-card-drag-handle:active{cursor:grabbing}.taxonomy-card-drag-handle:focus-visible{outline:3px solid #f0c58b;outline-offset:2px}.taxonomy-term-list.is-sortable>li.is-dragging{opacity:.42}.taxonomy-term-list.is-sortable[aria-busy="true"] .taxonomy-card-drag-handle{pointer-events:none}

/* Story Threads are editorial sequences, led by their first Story. */
.thread-card em{display:block;margin-bottom:9px;color:var(--rust);font-family:Arial,sans-serif;font-size:11px;font-style:normal;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.thread-page .thread-source{margin:22px 0 0;color:rgba(255,250,241,.84);font-weight:700}.thread-next{display:grid;gap:5px;max-width:620px;margin:26px 0;padding:22px 24px;color:var(--olive-dark);background:var(--paper);border-left:4px solid #efc27f;box-shadow:0 10px 26px rgba(0,0,0,.13);text-decoration:none}.thread-next span{color:var(--rust);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.thread-next strong{font-family:Georgia,serif;font-size:clamp(23px,3vw,32px);line-height:1.12}.thread-next b{margin-top:5px;color:var(--rust);font-size:14px}.thread-complete{max-width:620px;padding:18px 0;margin:26px 0;color:rgba(255,250,241,.9);border-top:1px solid rgba(255,250,241,.3);border-bottom:1px solid rgba(255,250,241,.3)}.thread-complete a{color:#f0c58b;text-decoration:underline;text-underline-offset:3px}

/* Archive pagination */
.pagination{display:flex;justify-content:center;margin-top:40px}.pagination .nav-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px}.pagination .page-numbers{display:inline-flex;min-width:42px;height:42px;align-items:center;justify-content:center;padding:0 12px;color:var(--olive-dark);background:var(--white);border:1px solid var(--line);font-size:14px;font-weight:800;line-height:1;transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease}.pagination a.page-numbers:hover,.pagination a.page-numbers:focus{color:var(--white);background:var(--olive);border-color:var(--olive);outline:none;transform:translateY(-2px)}.pagination .page-numbers.current{color:var(--white);background:var(--olive-dark);border-color:var(--olive-dark)}.pagination .page-numbers.dots{min-width:auto;padding:0 3px;background:transparent;border-color:transparent}.pagination .page-numbers.prev,.pagination .page-numbers.next{gap:8px;padding:0 15px;color:var(--rust);border-color:rgba(139,74,49,.42)}.pagination a.page-numbers:focus-visible{outline:3px solid rgba(139,74,49,.46);outline-offset:3px}@media(max-width:640px){.pagination{margin-top:32px}.pagination .nav-links{gap:6px}.pagination .page-numbers{min-width:40px;height:40px}.pagination .page-numbers.prev,.pagination .page-numbers.next{padding:0 12px}}

/* Footer archive guide */
.site-footer{display:block;padding:clamp(48px,7vw,88px) clamp(18px,4vw,54px) 20px;color:rgba(255,250,241,.74);background:#1b2119}.footer-guide{display:grid;grid-template-columns:minmax(205px,.9fr) minmax(180px,.72fr) minmax(390px,1.5fr) minmax(155px,.58fr);gap:clamp(28px,4vw,62px);width:min(1320px,100%);margin:0 auto}.site-footer strong,.site-footer h2{display:block;margin:0;color:var(--white);font-family:Georgia,serif;font-weight:500}.site-footer strong{font-size:clamp(24px,2.2vw,32px);line-height:1.05}.site-footer h2{margin-top:7px;font-size:24px;line-height:1.1}.footer-introduction p{max-width:240px;margin:13px 0 20px;font-size:14px;line-height:1.55}.footer-heading{margin:0;color:#f0c58b;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.site-footer ul{margin:18px 0 0;padding:0;list-style:none}.site-footer li+li{margin-top:10px}.site-footer a{color:rgba(255,250,241,.78);text-decoration:underline;text-decoration-color:rgba(255,250,241,.3);text-underline-offset:4px;transition:color .18s ease,text-decoration-color .18s ease}.site-footer a:hover,.site-footer a:focus{color:var(--white);text-decoration-color:#f0c58b}.footer-about,.footer-more{color:var(--white)!important;font-size:13px;font-weight:800}.footer-threads li a{font-family:Georgia,serif;font-size:18px}.footer-more{display:inline-block;margin-top:20px}.footer-axis-grid{display:grid;grid-template-columns:repeat(2,minmax(145px,1fr));gap:24px 32px;margin-top:18px}.footer-axis-grid h3{font-family:Arial,sans-serif;font-size:13px;font-weight:800}.footer-axis-grid ul{margin-top:10px}.footer-axis-grid li{font-size:13px}.footer-axis-grid li+li{margin-top:7px}.footer-axis-more{display:inline-block;margin-top:11px;color:#f0c58b!important;font-size:11px;font-weight:800;text-decoration:none!important;text-transform:uppercase;letter-spacing:.04em}.footer-utility li{font-size:13px}.footer-bottom{display:flex;justify-content:space-between;gap:20px;width:min(1320px,100%);margin:clamp(36px,6vw,68px) auto 0;padding-top:17px;color:rgba(255,250,241,.45);border-top:1px solid rgba(255,250,241,.16);font-size:12px}.footer-bottom a{font-weight:800;text-decoration:none}@media(max-width:1080px){.footer-guide{grid-template-columns:minmax(220px,.9fr) minmax(330px,1.25fr) minmax(155px,.55fr)}.footer-threads{grid-column:1}.footer-browse{grid-column:2;grid-row:1/span 2}.footer-utility{grid-column:1;grid-row:2}}@media(max-width:700px){.footer-guide{grid-template-columns:1fr 1fr}.footer-introduction,.footer-browse{grid-column:1/-1;grid-row:auto}.footer-threads,.footer-utility{grid-column:auto;grid-row:auto}}@media(max-width:640px){.footer-guide,.footer-axis-grid{grid-template-columns:1fr}.footer-guide{gap:34px}.footer-bottom{align-items:flex-start;flex-direction:column}.footer-axis-grid{gap:25px}}

/* Keep the footer's dense discovery links calm; emphasis appears on interaction. */
.site-footer a{color:rgba(255,250,241,.72);text-decoration:none;transition:color .18s ease,transform .18s ease}.site-footer a:hover,.site-footer a:focus{color:var(--white);text-decoration:none}.site-footer a:focus-visible{outline:2px solid #f0c58b;outline-offset:4px}.footer-about,.footer-more{padding-bottom:4px;border-bottom:1px solid rgba(240,197,139,.7)}.footer-about:hover,.footer-about:focus,.footer-more:hover,.footer-more:focus{border-color:#fffaf1}.footer-threads li{padding-left:0;transition:padding-left .18s ease}.footer-threads li:hover,.footer-threads li:focus-within{padding-left:8px}.footer-threads li a{display:inline-block;line-height:1.22}.footer-threads li a:after{margin-left:7px;color:#f0c58b;content:'→';font-family:Arial,sans-serif;font-size:13px;opacity:0;transition:opacity .18s ease}.footer-threads li:hover a:after,.footer-threads li:focus-within a:after{opacity:1}.footer-axis-grid h3 a{color:rgba(255,250,241,.88)}.footer-axis-grid h3 a:hover,.footer-axis-grid h3 a:focus{color:#f0c58b}.footer-axis-grid li a,.footer-utility li a{display:inline-block}.footer-axis-grid li a:hover,.footer-axis-grid li a:focus,.footer-utility li a:hover,.footer-utility li a:focus{color:#f0c58b;transform:translateX(3px)}

.story-content img{border-radius:5px}
.story-content figure.wp-block-image.image-stage figcaption{max-width:min(100%,1040px);margin-right:auto;margin-left:auto}.story-content figure.wp-block-image.image-stage figcaption.rfs-stage-caption-aligned{margin-right:auto}
.entry-content{width:min(1240px,calc(100% - 36px));margin:0 auto;font-family:Georgia,"Times New Roman",serif;font-size:clamp(19px,1.5vw,21px)}.entry-content h2,.entry-content .rfs-supporting-material-intro,.entry-content .rfs-supporting-material-note{max-width:680px;margin-right:auto;margin-left:auto}.entry-content h2{margin-top:2.2em;margin-bottom:.72em;color:var(--olive-dark);font-size:clamp(28px,3.5vw,40px);line-height:1.12}.entry-content .rfs-supporting-material-intro{margin-top:0;margin-bottom:.45em;font-size:clamp(20px,1.8vw,24px);line-height:1.45}.entry-content .rfs-supporting-material-note{margin-top:0;margin-bottom:2.5em;color:var(--muted);font-family:Arial,sans-serif;font-size:14px}.rfs-document-gallery{display:grid;gap:42px;margin:0 auto 4.2em}.rfs-document-scan{display:grid;grid-template-columns:minmax(0,1fr) 500px minmax(280px,360px) minmax(0,1fr);gap:clamp(28px,4vw,56px);align-items:start;margin:0}.rfs-document-image{grid-column:2}.rfs-document-image img{width:100%;height:auto;padding:14px;background:var(--white);border:1px solid var(--line);box-shadow:0 10px 26px rgba(38,30,22,.1)}.rfs-document-scan figcaption{margin:12px 2px 1px;color:var(--muted);font-family:Arial,sans-serif;font-size:13px;line-height:1.4}.rfs-document-transcript{grid-column:3;padding:20px 22px;background:var(--white);border-left:3px solid var(--rust);font-family:Georgia,"Times New Roman",serif;font-size:17px;line-height:1.5}.rfs-document-transcript p{margin:0}.rfs-document-transcript-label{margin-bottom:12px!important;color:var(--rust);font-family:Arial,sans-serif;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}@media(max-width:1120px){.rfs-document-scan{grid-template-columns:500px minmax(280px,360px);justify-content:center}.rfs-document-image,.rfs-document-transcript{grid-column:auto}}@media(max-width:820px){.rfs-document-scan{grid-template-columns:minmax(0,500px);gap:20px}.rfs-document-image,.rfs-document-transcript{grid-column:1}.rfs-document-transcript{font-size:16px}}@media(max-width:640px){.entry-content{width:min(100% - 32px,1240px);font-size:19px}.rfs-document-gallery{gap:30px;margin-bottom:3em}.rfs-document-image img{padding:10px}.rfs-document-transcript{padding:17px}}
.rfs-document-gallery{max-width:680px;gap:28px;margin-bottom:3.8em}.rfs-document-scan{display:block;margin:0;padding:14px;background:var(--white);border:1px solid var(--line);box-shadow:0 10px 26px rgba(38,30,22,.1)}.rfs-document-scan>img{display:block;width:100%;height:auto}.rfs-document-scan figcaption{margin:12px 2px 1px}.rfs-document-image,.rfs-document-transcript{display:none}@media(max-width:640px){.rfs-document-gallery{gap:20px;margin-bottom:3em}.rfs-document-scan{padding:10px}}
.taxonomy-view-switcher{display:inline-flex;margin-top:12px;border:1px solid var(--olive-dark)}.taxonomy-view-switcher a{padding:10px 14px;color:var(--olive-dark);font-size:13px;font-weight:800}.taxonomy-view-switcher a[aria-current="page"]{color:var(--white);background:var(--olive-dark)}.people-timeline-wrap{width:100vw;margin-top:34px;margin-left:calc(50% - 50vw);padding:0 clamp(18px,4vw,54px)}.people-timeline-key{display:flex;flex-wrap:wrap;gap:5px 22px;max-width:1480px;padding:0 0 12px;margin:0 auto;color:var(--muted);font-size:13px}.people-timeline{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));max-width:1480px;margin:0 auto;border:1px solid var(--line);background:var(--line);gap:1px}.people-timeline-column{min-width:0;min-height:310px;background:var(--white)}.people-timeline-column:nth-child(7n+1){background:#9ca17c}.people-timeline-column:nth-child(7n+2){background:#a9ac86}.people-timeline-column:nth-child(7n+3){background:#b6b38c}.people-timeline-column:nth-child(7n+4){background:#c2bd94}.people-timeline-column:nth-child(7n+5){background:#cec9a0}.people-timeline-column:nth-child(7n+6){background:#dcd7ae}.people-timeline-column:nth-child(7n){background:#e7e2bb}.people-timeline-column details{height:100%}.people-timeline-column summary{display:block;padding:15px 14px;color:var(--white);background:rgba(47,58,43,.2);border-bottom:1px solid rgba(255,255,255,.35);font-family:Arial,sans-serif;font-size:clamp(15px,1.45vw,20px);font-weight:800;line-height:1.1;list-style:none}.people-timeline-column summary::-webkit-details-marker{display:none}.people-timeline-column ul{padding:8px 0;margin:0;list-style:none}.people-timeline-column li{border-bottom:1px solid rgba(255,255,255,.35)}.people-timeline-column a{display:block;padding:10px 14px;font-size:16px;font-weight:700}.people-timeline-column a:hover,.people-timeline-column a:focus{color:var(--white);background:rgba(47,58,43,.45)}.people-timeline-unrecorded{max-width:1480px;padding:24px;margin:22px auto 0;background:var(--paper-deep);border-left:4px solid var(--rust)}.people-timeline-unrecorded h2{color:var(--olive-dark);font-size:clamp(26px,3vw,34px)}.people-timeline-unrecorded p{max-width:600px;margin:8px 0 16px;color:var(--muted);font-size:15px}.people-timeline-unrecorded ul{display:flex;flex-wrap:wrap;gap:8px 12px;padding:0;margin:0;list-style:none}.people-timeline-unrecorded a{display:block;padding:7px 10px;color:var(--olive-dark);background:rgba(255,250,241,.6);border:1px solid var(--line);font-size:14px;font-weight:800}.people-timeline-unrecorded a:hover,.people-timeline-unrecorded a:focus{color:var(--white);background:var(--olive-dark)}@media(max-width:980px){.people-timeline{grid-template-columns:repeat(2,minmax(0,1fr))}.people-timeline-column{min-height:0}.people-timeline-column summary{font-size:19px}}@media(max-width:640px){.taxonomy-view-switcher{display:flex;width:100%}.taxonomy-view-switcher a{flex:1;text-align:center}.people-timeline-wrap{padding-right:18px;padding-left:18px}.people-timeline-key{display:block;font-size:12px}.people-timeline-key span{display:block;margin-bottom:4px}.people-timeline{grid-template-columns:1fr}.people-timeline-column summary{position:relative;padding:16px 40px 16px 15px;cursor:pointer}.people-timeline-column summary:after{position:absolute;top:50%;right:16px;width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;content:"";transform:translateY(-72%) rotate(45deg)}.people-timeline-column details:not([open]) summary:after{transform:translateY(-50%) rotate(-45deg)}.people-timeline-unrecorded{padding:20px;margin-top:16px}}
.people-timeline-chart-only{display:block;padding:10px 14px;color:rgba(31,39,33,.8);font-size:16px;font-weight:600;font-style:italic}

.family-tree-legend{display:flex;flex-wrap:wrap;gap:10px 20px;max-width:1480px;margin:14px auto 18px;padding:0;list-style:none;color:var(--olive-dark);font-size:.83rem;font-weight:700}.family-tree-legend li{display:flex;align-items:center;gap:7px}.family-tree-key{display:block;width:30px;border-top:2px solid #53624a}.family-tree-key--sibling{border-top-color:#94a186;border-top-style:dashed}.family-tree-key--partner{border-top:4px solid var(--rust)}.family-tree-lines .family-tree-parent-line{stroke:#53624a;stroke-width:2.4}.family-tree-sibling-line{fill:none;stroke:#94a186;stroke-width:2;stroke-dasharray:7 6}.family-tree-lines .family-tree-partner-line{stroke-width:4}.family-tree-nodes .family-tree-graph-node{width:124px;height:64px;gap:0;padding:8px 10px}.family-tree-nodes .family-tree-graph-node span{font-size:16px;line-height:1.03}.family-tree-graph-wrap{padding-bottom:clamp(34px,5vw,72px);background:linear-gradient(145deg,#ebe5d6 0,#f7f3ea 46%,#ece6d8 100%)}.family-tree-graph-wrap .family-tree-controls,.family-tree-graph-wrap .family-tree-help,.family-tree-graph-wrap .family-tree-legend{max-width:none}.family-tree-graph-wrap .family-tree-controls{padding-bottom:14px;border-bottom:1px solid rgba(47,58,43,.18)}.family-tree-graph-wrap .family-tree-help{max-width:780px;margin-top:13px}.family-tree-graph-wrap .family-tree-legend{margin-bottom:12px}.family-tree-graph-wrap .family-tree-viewport{max-width:none;height:auto;margin-top:0;overflow:visible;background:transparent;border:0;box-shadow:none;cursor:default}.family-tree-graph-wrap .family-tree-canvas{min-height:0;background-image:radial-gradient(rgba(83,98,74,.12) .65px,transparent .7px);background-size:18px 18px;border-top:1px solid rgba(47,58,43,.22);border-bottom:1px solid rgba(47,58,43,.16)}.family-tree-graph-wrap .family-tree-viewport:active{cursor:default}@media(max-width:899px){.family-tree-graph-wrap .family-tree-viewport{height:62vh;min-height:420px;margin-top:14px;overflow:auto;background:rgba(255,250,241,.42);border:1px solid rgba(47,58,43,.25);box-shadow:inset 0 0 0 10px rgba(255,250,241,.22);cursor:grab}.family-tree-graph-wrap .family-tree-viewport:active{cursor:grabbing}}

.family-tree .family-tree-graph-wrap{background:linear-gradient(135deg,#1e2b23,#344536 58%,#243329);border:0;box-shadow:none}.family-tree .family-tree-graph-wrap .family-tree-controls{padding-bottom:0;border:0}.family-tree .family-tree-graph-wrap .family-tree-controls label,.family-tree .family-tree-graph-wrap .family-tree-help,.family-tree .family-tree-graph-wrap .family-tree-legend{color:#e9e4d8}.family-tree .family-tree-graph-wrap .family-tree-controls button,.family-tree .family-tree-graph-wrap .family-tree-controls select{color:#26342a;background:#f8f4e9;border-color:rgba(248,244,233,.78)}.family-tree .family-tree-graph-wrap .family-tree-controls button[data-tree-zoom="in"],.family-tree .family-tree-graph-wrap .family-tree-controls button[data-tree-zoom="out"]{color:#f8f4e9;background:#9a573d;border-color:#9a573d}.family-tree .family-tree-graph-wrap .family-tree-key{border-color:#d3dec5}.family-tree .family-tree-graph-wrap .family-tree-key--sibling{border-color:#a8b69b}.family-tree .family-tree-graph-wrap .family-tree-key--partner{border-color:#e1a080}.family-tree .family-tree-graph-wrap .family-tree-canvas{background-image:radial-gradient(rgba(248,244,233,.08) .65px,transparent .7px);border:0}.family-tree .family-tree-graph-wrap .family-tree-lines .family-tree-parent-line{stroke:#d3dec5}.family-tree .family-tree-graph-wrap .family-tree-sibling-line{stroke:#a8b69b}.family-tree .family-tree-graph-wrap .family-tree-lines .family-tree-partner-line{stroke:#e1a080}.family-tree .family-tree-graph-wrap .family-tree-nodes .family-tree-graph-node{color:#26342a;background:#f8f4e9;border-color:rgba(248,244,233,.45);box-shadow:0 9px 20px rgba(0,0,0,.22)}.family-tree .family-tree-graph-wrap .family-tree-graph-node:hover,.family-tree .family-tree-graph-wrap .family-tree-graph-node:focus,.family-tree .family-tree-graph-wrap .family-tree-graph-node.is-selected{color:#f8f4e9;background:#9a573d;box-shadow:0 12px 24px rgba(0,0,0,.3)}@media(max-width:899px){.family-tree .family-tree-graph-wrap .family-tree-viewport{background:rgba(14,22,17,.18);border:1px solid rgba(248,244,233,.2);box-shadow:none}}

/* Captions are part of the story, not fine print. */
.story-content :is(figcaption,.wp-caption-text){color:var(--olive-dark);font-size:16px;font-weight:600;line-height:1.5}.story-content figure.wp-block-image.image-stage figcaption{color:var(--white);text-shadow:0 1px 2px rgba(0,0,0,.4)}@media(max-width:640px){.story-content :is(figcaption,.wp-caption-text){font-size:15px}}
.family-tree .family-tree-graph-wrap .family-tree-graph-node.is-lineage:not(.is-selected){border-color:#e1a080;box-shadow:0 0 0 2px rgba(225,160,128,.42),0 9px 20px rgba(0,0,0,.22)}.family-tree .family-tree-graph-wrap .family-tree-graph-node.is-related:not(.is-lineage){opacity:.46;filter:saturate(.7)}
.family-tree .family-tree-graph-wrap .family-tree-graph-node.is-ancestor{outline:4px solid #f0c58b;outline-offset:4px;border-radius:9px}
.family-tree .family-tree-graph-wrap .family-tree-lines path{transition:stroke-width .14s ease,opacity .14s ease}
.family-tree .family-tree-graph-wrap .family-tree-lines path.is-emphasised{stroke:#f0c58b!important;stroke-width:6px!important;opacity:1}
.family-tree .family-tree-graph-wrap .family-tree-stage{isolation:isolate}
.family-tree .family-tree-graph-wrap .family-tree-lines{z-index:0}
.family-tree .family-tree-graph-wrap .family-tree-nodes{z-index:1}
.family-tree .family-tree-graph-wrap .family-tree-nodes .family-tree-graph-node{background:rgba(248,244,233,.88)}
.family-tree .family-tree-graph-wrap .family-tree-graph-node:hover,.family-tree .family-tree-graph-wrap .family-tree-graph-node:focus,.family-tree .family-tree-graph-wrap .family-tree-graph-node.is-selected{background:rgba(154,87,61,.94)}

.family-tree .family-tree-graph-wrap{padding-bottom:0;overflow:clip}.family-tree .family-tree-graph-wrap .family-tree-graph-node{border-radius:5px}
.family-tree .family-tree-graph-wrap .family-tree-intro{max-width:780px;margin:0 0 clamp(30px,4vw,52px)}.family-tree .family-tree-graph-wrap .family-tree-intro .eyebrow{color:#f0c58b}.family-tree .family-tree-graph-wrap .family-tree-intro h2{color:#f8f4e9;font-size:clamp(42px,5vw,66px)}.family-tree .family-tree-graph-wrap .family-tree-intro p:not(.eyebrow){color:rgba(248,244,233,.78);font-size:clamp(17px,1.5vw,20px)}
.family-tree .family-tree-graph-wrap .family-tree-intro{margin-bottom:34px}.family-tree .family-tree-graph-wrap .family-tree-viewport{margin-top:28px}
.taxonomy-index--family-tree{padding-bottom:0}

.family-tree .family-tree-graph-wrap .family-tree-lines .family-tree-partner-line--cross-level{stroke-width:2.5;stroke-dasharray:5 5;opacity:.86}
.family-tree .family-tree-graph-wrap .family-tree-graph-node--reference{color:#edf0e6!important;background:rgba(39,55,44,.84)!important;border-style:dashed!important;border-color:rgba(237,240,230,.55)!important;box-shadow:none!important;cursor:default}
.family-tree .family-tree-graph-wrap .family-tree-disclosure{position:absolute;z-index:2;display:flex;width:24px;height:24px;padding:0;align-items:center;justify-content:center;color:#1e2b23;background:#f0c58b;border:2px solid #1e2b23;border-radius:50%;box-shadow:0 2px 6px rgba(0,0,0,.25);font:800 19px/1 sans-serif;cursor:pointer}.family-tree .family-tree-graph-wrap .family-tree-disclosure-symbol{display:block;line-height:1;transform:translateY(-1px)}.family-tree .family-tree-graph-wrap .family-tree-disclosure:hover,.family-tree .family-tree-graph-wrap .family-tree-disclosure:focus{color:#f8f4e9;background:#9a573d;outline:2px solid #f0c58b;outline-offset:2px}
.family-tree .family-tree-graph-wrap .family-tree-toolbar{display:flex;align-items:center;gap:22px;max-width:1480px;margin:0 auto}.family-tree .family-tree-graph-wrap .family-tree-toolbar .family-tree-controls{flex:1;margin:0}.family-tree .family-tree-graph-wrap .family-tree-legend--compact{justify-content:flex-end;gap:8px 16px;margin:0 0 0 auto;font-size:12px;white-space:nowrap}.family-tree .family-tree-graph-wrap .family-tree-key--cross-level{border-top-style:dashed;border-top-width:3px}.family-tree .family-tree-graph-wrap .family-tree-legend--compact .family-tree-key{width:22px}@media(max-width:899px){.family-tree .family-tree-graph-wrap .family-tree-toolbar{align-items:flex-start;flex-direction:column;gap:14px}.family-tree .family-tree-graph-wrap .family-tree-legend--compact{justify-content:flex-start;margin:0;white-space:normal}}

/* Keep the map controls within reach while exploring a wide or tall tree. */
.family-tree .family-tree-zoom-controls{position:fixed;z-index:20;bottom:22px;left:22px;display:flex;gap:8px;padding:8px;background:rgba(30,43,35,.93);border:1px solid rgba(248,244,233,.34);border-radius:7px;box-shadow:0 8px 22px rgba(0,0,0,.28)}.family-tree .family-tree-zoom-controls button{min-width:40px;min-height:40px;padding:8px 12px;color:#26342a;background:#f8f4e9;border:1px solid rgba(248,244,233,.78);font:inherit;font-size:14px;font-weight:800;cursor:pointer}.family-tree .family-tree-zoom-controls button[data-tree-zoom="in"],.family-tree .family-tree-zoom-controls button[data-tree-zoom="out"]{padding:6px;color:#f8f4e9;background:#9a573d;border-color:#9a573d;font-size:22px;line-height:1}.family-tree .family-tree-zoom-controls button:disabled{cursor:not-allowed;opacity:.45}@media(max-width:640px){.family-tree .family-tree-zoom-controls{bottom:12px;left:12px;gap:5px;padding:6px}.family-tree .family-tree-zoom-controls button{min-width:36px;min-height:36px;padding:6px 9px}}

/* People family tree: a complete graph, fitted initially and explorable by zoom and pan. */
.family-tree{margin-top:34px}.family-tree-intro{max-width:760px}.family-tree-intro h2{color:var(--olive-dark);font-size:clamp(36px,4vw,56px)}.family-tree-intro p:not(.eyebrow){margin:14px 0 0;color:var(--muted);font-size:17px}.family-tree-graph-wrap{width:100vw;padding:clamp(24px,4vw,54px);margin-top:30px;margin-left:calc(50% - 50vw);background:linear-gradient(145deg,#ebe5d6,#f7f3ea 58%,#e6dfce);border-top:5px solid var(--olive-dark);border-bottom:1px solid var(--line);box-shadow:0 15px 36px rgba(38,30,22,.08)}.family-tree-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;max-width:1480px;margin:0 auto}.family-tree-controls button,.family-tree-controls select{min-height:40px;padding:8px 12px;color:var(--olive-dark);background:var(--white);border:1px solid var(--olive-dark);font:inherit;font-size:14px;font-weight:800}.family-tree-controls button{cursor:pointer}.family-tree-controls button:disabled{cursor:not-allowed;opacity:.45}.family-tree-controls button[data-tree-zoom="in"],.family-tree-controls button[data-tree-zoom="out"]{min-width:40px;color:var(--white);background:var(--olive-dark);font-size:22px;line-height:1}.family-tree-controls label{margin-left:12px;font-size:13px;font-weight:800}.family-tree-controls select{min-width:240px}.family-tree-help{max-width:1480px;margin:12px auto 0;color:var(--muted);font-size:13px}.family-tree-viewport{position:relative;max-width:1480px;height:clamp(430px,62vh,760px);margin:20px auto 0;overflow:auto;overscroll-behavior:contain;background:rgba(255,250,241,.48);border:1px solid rgba(47,58,43,.25);box-shadow:inset 0 0 0 10px rgba(255,250,241,.22);cursor:grab}.family-tree-viewport:active{cursor:grabbing}.family-tree-canvas{position:relative;min-width:100%;min-height:100%}.family-tree-stage{position:absolute;top:0;left:0;transform-origin:top left}.family-tree-lines{position:absolute;inset:0;overflow:visible;pointer-events:none}.family-tree-parent-line{fill:none;stroke:#667158;stroke-width:2}.family-tree-partner-line{fill:none;stroke:var(--rust);stroke-width:3}.family-tree-nodes{position:absolute;inset:0}.family-tree-graph-node{position:absolute;display:grid;width:206px;height:106px;align-content:center;gap:7px;padding:14px 16px;color:var(--olive-dark);background:var(--white);border:1px solid rgba(47,58,43,.42);box-shadow:0 8px 18px rgba(38,30,22,.1);font:inherit;text-align:left;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.family-tree-graph-node:hover,.family-tree-graph-node:focus,.family-tree-graph-node.is-selected{color:var(--white);background:var(--olive-dark);box-shadow:0 13px 26px rgba(38,30,22,.2);outline:0;transform:translateY(-2px)}.family-tree-graph-node span{font-family:Georgia,serif;font-size:22px;line-height:1.04}.family-tree-graph-node small{color:var(--rust);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.family-tree-graph-node:hover small,.family-tree-graph-node:focus small,.family-tree-graph-node.is-selected small{color:#f0c58b}.family-tree-empty{padding:30px 0 0;color:var(--muted)}@media(max-width:640px){.taxonomy-view-switcher a{padding-right:9px;padding-left:9px;font-size:12px}.family-tree-graph-wrap{padding:20px 18px}.family-tree-controls{gap:7px}.family-tree-controls label{width:100%;margin:8px 0 0}.family-tree-controls select{width:100%;min-width:0}.family-tree-help{font-size:12px}.family-tree-viewport{height:62vh;min-height:420px;margin-top:14px}.family-tree-graph-node span{font-size:22px}}

/* On a phone, start with a readable immediate family rather than a thumbnail of the full graph. */
.family-tree-mobile,.family-tree-mobile-close{display:none}
@media(max-width:899px){
    .family-tree .family-tree-graph-wrap{padding:24px 20px 34px;overflow:visible}
    .family-tree .family-tree-toolbar,.family-tree .family-tree-zoom-controls,.family-tree .family-tree-viewport{display:none!important}
    .family-tree-mobile{display:block;max-width:560px;margin:0 auto;color:#f8f4e9}
    .family-tree-mobile-intro label{display:block;margin-bottom:8px;color:#f0c58b;font-size:13px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
    .family-tree-mobile-intro select{box-sizing:border-box;width:100%;min-height:48px;padding:10px 13px;color:#26342a;background:#f8f4e9;border:0;border-radius:5px;font:700 17px/1.2 Arial,sans-serif}
    .family-tree-mobile-intro p{margin:10px 0 24px;color:rgba(248,244,233,.72);font-size:14px;line-height:1.4}
    .family-tree-mobile-section{position:relative;padding:0 0 24px;margin:0 0 20px;border-bottom:1px solid rgba(248,244,233,.18)}
    .family-tree-mobile-section:not(:first-of-type):before{position:absolute;top:-21px;left:20px;width:2px;height:21px;background:#d3dec5;content:""}
    .family-tree-mobile-section h2{margin:0 0 10px;color:#f0c58b;font:800 12px/1.1 Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase}
    .family-tree-mobile-cards{display:flex;flex-wrap:wrap;gap:9px}
    .family-tree-mobile-person{min-width:min(100%,170px);padding:11px 13px;color:#26342a;background:rgba(248,244,233,.92);border:1px solid rgba(248,244,233,.72);border-radius:5px;box-shadow:0 7px 16px rgba(0,0,0,.18);font:700 16px/1.08 Georgia,serif;text-align:left}
    button.family-tree-mobile-person{cursor:pointer}
    button.family-tree-mobile-person:hover,button.family-tree-mobile-person:focus{color:#f8f4e9;background:#9a573d;outline:2px solid #f0c58b;outline-offset:2px}
    .family-tree-mobile-person--reference{color:#edf0e6;background:rgba(39,55,44,.84);border-style:dashed;box-shadow:none}
    .family-tree-mobile-help{margin:0 0 18px;color:rgba(248,244,233,.75);font-size:14px;line-height:1.45}
    .family-tree-mobile-help summary{color:#f0c58b;font-weight:800;cursor:pointer}
    .family-tree-mobile-help p{margin:8px 0 0}
    .family-tree-mobile-map-button{width:100%;min-height:50px;padding:12px 16px;color:#26342a;background:#f0c58b;border:0;border-radius:5px;font:800 16px/1 Arial,sans-serif;cursor:pointer}
    .family-tree-mobile-map-button:hover,.family-tree-mobile-map-button:focus{color:#f8f4e9;background:#9a573d;outline:2px solid #f0c58b;outline-offset:2px}
    .family-tree .family-tree-graph-wrap.is-mobile-map-open{position:static}
    .family-tree .family-tree-graph-wrap.is-mobile-map-open .family-tree-mobile{display:none}
    .family-tree .family-tree-graph-wrap.is-mobile-map-open .family-tree-viewport{position:fixed;z-index:90;inset:0;display:block!important;height:100dvh!important;min-height:0;margin:0;overflow:auto;background:#1e2b23;border:0;box-shadow:none}
    .family-tree .family-tree-graph-wrap.is-mobile-map-open .family-tree-zoom-controls{position:fixed;z-index:92;bottom:12px;left:12px;display:flex!important}
    .family-tree .family-tree-graph-wrap.is-mobile-map-open .family-tree-mobile-close{position:fixed;z-index:92;top:14px;right:14px;display:block;min-height:42px;padding:9px 13px;color:#26342a;background:#f8f4e9;border:0;border-radius:5px;font:800 14px/1 Arial,sans-serif;cursor:pointer}
}

/* A zoomed desktop tree needs a real two-axis viewport: keep the wide canvas
   inside its own scroll area rather than letting it spill into the page. */
@media(min-width:900px){
    .family-tree .family-tree-graph-wrap .family-tree-viewport{
        overflow:auto;
        overscroll-behavior:contain;
        touch-action:pan-x pan-y;
        cursor:grab;
    }
    .family-tree .family-tree-graph-wrap .family-tree-viewport:active{cursor:grabbing}
}

/* Story paths keep the overview legible; the other two controls deliberately
   act on every branch when a reader wants more or less detail. */
.family-tree .family-tree-detail-controls{display:inline-flex;align-items:center;gap:0;margin-left:8px;border:1px solid rgba(248,244,233,.6);border-radius:5px;overflow:hidden}.family-tree .family-tree-detail-controls button{min-height:34px!important;padding:7px 9px!important;margin:0!important;color:#f8f4e9!important;background:transparent!important;border:0!important;border-right:1px solid rgba(248,244,233,.38)!important;font-size:12px!important}.family-tree .family-tree-detail-controls button:last-child{border-right:0!important}.family-tree .family-tree-detail-controls button:hover,.family-tree .family-tree-detail-controls button:focus{color:#26342a!important;background:#f0c58b!important;outline:none}.family-tree .family-tree-disclosure--paths .family-tree-disclosure-symbol{font-size:17px;transform:translateY(-2px)}
@media(max-width:1120px){.family-tree .family-tree-detail-controls{width:100%;margin:2px 0 0}.family-tree .family-tree-detail-controls button{flex:1}}
.family-tree .family-tree-disclosure--paths .family-tree-disclosure-symbol{font-size:15px;transform:translateY(1px)}
.family-tree .family-tree-disclosure-symbol--minus{transform:translateY(1px)}
.family-tree .family-tree-detail-controls button.is-active{color:#26342a!important;background:#f0c58b!important}
.family-tree .family-tree-graph-wrap .family-tree-graph-node--reference.is-hovered{color:#f8f4e9!important;background:rgba(154,87,61,.94)!important;border-style:solid!important;border-color:rgba(248,244,233,.68)!important;box-shadow:0 12px 24px rgba(0,0,0,.3)!important;transform:translateY(-2px)}
.family-tree .family-tree-graph-wrap .family-tree-graph-node.is-hover-lineage{outline:3px solid #f0c58b;outline-offset:4px}
.family-tree .family-tree-graph-wrap .family-tree-lines path{pointer-events:stroke;cursor:pointer}
.family-tree .family-tree-graph-wrap .family-tree-graph-node.is-line-connected{outline:3px solid #f0c58b;outline-offset:4px}
.family-tree .family-tree-graph-wrap .family-tree-lines{pointer-events:auto}
.family-tree .family-tree-graph-wrap .family-tree-nodes{pointer-events:none}
.family-tree .family-tree-graph-wrap .family-tree-graph-node,.family-tree .family-tree-graph-wrap .family-tree-disclosure{pointer-events:auto}
.family-tree .family-tree-graph-wrap .family-tree-line-hit-area{fill:none;stroke:transparent;stroke-width:18px;pointer-events:stroke;cursor:pointer}

/* Keep the article discovery heading visible below the fixed site header. */
#explore-further{scroll-margin-top:96px}
