.public-stories-menu{position:relative;display:flex;align-items:center;gap:2px;flex-shrink:0}.stories-menu-toggle{font:inherit;color:inherit;border:0;background:transparent;cursor:pointer;padding:8px 5px;line-height:1;border-radius:6px}.stories-menu-toggle:focus-visible,.stories-dropdown a:focus-visible{outline:2px solid #aa823d;outline-offset:3px}.stories-dropdown{position:absolute;top:calc(100% + 12px);left:0;min-width:245px;padding:10px;background:#fff;border:1px solid #e1e8eb;border-radius:14px;box-shadow:0 12px 34px #1736501a;z-index:40;display:grid;gap:3px}.stories-dropdown[hidden]{display:none}.home-links .stories-dropdown a{padding:11px 12px;border-radius:8px;white-space:normal;line-height:1.45;font-size:14px}.stories-dropdown a:hover{background:#f4f8fa}.stories-footer-links{max-width:1140px;margin:0 auto;padding:22px 24px;display:flex;flex-wrap:wrap;gap:14px 24px;align-items:center}.stories-footer-links a{font-size:14px;color:inherit;text-decoration:none}.stories-footer-links a:hover{text-decoration:underline}.footer-story-categories{padding-left:14px!important;margin:8px 0 0!important;display:grid;gap:8px}.footer-story-categories a{font-size:13px}.story-author{display:grid;grid-template-columns:90px minmax(0,1fr);gap:18px;margin:32px 0;padding:24px 0;border-top:1px solid #dfe8ec;border-bottom:1px solid #dfe8ec;clear:both}.story-author .author-label{color:#967135;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;padding-top:5px}.story-author h2{margin:0 0 8px;font-size:19px;line-height:1.4;color:#12334c}.story-author p{font-size:14px;line-height:1.8;margin:0;color:#526472}.home-header .home-links{gap:12px}@media(max-width:1000px){.stories-dropdown{position:static;box-shadow:none;min-width:0;margin-top:6px;width:100%}.public-stories-menu{flex-wrap:wrap}.stories-dropdown:not([hidden]){flex-basis:100%}}@media(max-width:640px){.story-author{grid-template-columns:1fr;gap:6px;padding:20px 0}.stories-footer-links{display:grid;gap:12px}.stories-dropdown a{font-size:14px}.public-stories-menu{width:100%;justify-content:flex-start}}

.story-author.has-portrait .author-label img{display:block;width:72px;height:72px;object-fit:contain;border-radius:12px;margin-bottom:10px;background:#fff}.story-author.has-portrait .author-label{letter-spacing:.04em}@media(max-width:640px){.story-author.has-portrait{grid-template-columns:64px minmax(0,1fr);gap:14px}.story-author.has-portrait .author-label img{width:64px;height:64px}.story-author.has-portrait .author-label{font-size:9px}}

.story-byline{display:flex;align-items:center;gap:12px;margin:20px 0 26px;color:#183a51}.story-byline img{width:48px;height:48px;flex:0 0 48px;object-fit:cover;border-radius:50%;background:#fff}.story-byline strong{display:block;font-size:14px;line-height:1.5;font-weight:700}.story-byline .byline-description{display:block;font-size:12px;line-height:1.6;color:#637581;margin-top:2px}.story-byline+ .founder-body{margin-top:0}.story-information{font-size:12px;line-height:1.8;color:#667984;border-top:1px solid #e2e9ee;margin-top:28px;padding-top:18px}.story-information+.story-author{border-top:0;margin-top:12px;padding-top:16px}@media(max-width:640px){.story-byline{gap:10px;margin:18px 0 22px}.story-byline img{width:44px;height:44px;flex-basis:44px}.story-byline strong{font-size:13px}.story-byline .byline-description{font-size:11px}}

.stories-menu-toggle{font-size:11px;line-height:1;padding:7px 5px;align-self:center}.public-stories-menu{gap:3px}.home-header .public-stories-menu>a:hover,.home-header .public-stories-menu>a:focus-visible,.home-header .stories-menu-toggle:hover,.home-header .stories-menu-toggle:focus-visible,.home-header .stories-dropdown a:hover,.home-header .stories-dropdown a:focus-visible{color:#BB8A3D;background:transparent}.stories-dropdown a:focus-visible,.stories-menu-toggle:focus-visible{outline-color:#BB8A3D}

/* One responsive author profile; its DOM position follows the reading order. */
.story-author.author-profile{display:grid;grid-template-columns:80px minmax(0,1fr);align-items:start;gap:20px;margin:22px 0 28px;padding:22px;background:#fffaf1;border:1px solid #E5D6B8;border-radius:14px;clear:both}
.story-author.author-profile .author-portrait{display:block;width:80px;height:80px;object-fit:cover;object-position:center;border-radius:50%;background:#fff}
.story-author.author-profile .author-details{min-width:0}
.story-author.author-profile .author-label{padding:0;margin:0 0 4px;font-size:10px;line-height:1.5;letter-spacing:.1em;color:#8a642c}
.story-author.author-profile h2{margin:0 0 4px;font-size:18px;line-height:1.4}
.story-author.author-profile p{margin:0;font-size:14px;line-height:1.75;color:#27455c;overflow-wrap:break-word}
.story-byline{display:none}
@media(max-width:767px){
 .story-byline{display:block;margin:16px 0 22px;font-size:13px;line-height:1.65;color:#526472}
 .story-author.author-profile{grid-template-columns:64px minmax(0,1fr);gap:14px;margin:24px 0;padding:18px 14px;border-radius:12px}
 .story-author.author-profile .author-portrait{width:64px;height:64px}
 .story-author.author-profile h2{font-size:16px}
 .story-author.author-profile p{font-size:13px;line-height:1.8}
}

.story-author.author-profile .author-identity{width:80px;min-width:0;text-align:center}
.story-author.author-profile .author-identity .author-label{margin:6px 0 0;font-size:9px;line-height:1.4;letter-spacing:.06em}
@media(max-width:767px){.story-author.author-profile .author-identity{width:64px}.story-author.author-profile .author-identity .author-label{font-size:8px}}

/* P319: Digital Legacy Stories only — opening paragraph uses normal body colour. */
body:has([data-founder-bio-end]) .founder-body>p:first-child{color:inherit}

/* P322: compact one-click timeline controls, scoped to existing timeline groups. */
.timeline-sort{display:flex;flex-wrap:nowrap;gap:0;width:100%;min-width:0;border:1px solid #d1b275;border-radius:10px;overflow:hidden;margin-bottom:14px;background:#f5f9fc}
.timeline-sort>button[class]{flex:1 1 0;min-width:0;width:auto;margin:0;border:0;border-radius:0;background:transparent;color:#12334c;font:inherit;font-size:13px;line-height:1.4;min-height:44px;padding:8px 6px;white-space:nowrap;cursor:pointer}
.timeline-sort>button[class]+button{border-left:1px solid #d1b275}
.timeline-sort>button[class][aria-pressed="true"]{background:#12334c;color:#fff;font-weight:700}
.timeline-sort>button[class]:hover{background:#fff4df;color:#12334c}
.timeline-sort>button[class]:focus-visible{outline:2px solid #aa823d;outline-offset:-4px}

/* P336: match the approved Our Journey header without changing its styles. */
.story-image-header{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:12px 24px;width:100%;margin:24px 0 12px;line-height:1.5}
.story-image-brand{color:var(--gold);font-size:21px;font-weight:600;white-space:nowrap}
.story-image-navigation{display:inline-flex;align-items:center;justify-self:end;gap:8px;min-width:0;max-width:100%}
.story-image-label{flex:0 1 auto;min-width:0;overflow-wrap:anywhere;color:var(--navy);font-size:14px;font-weight:500;text-align:left}
.story-image-arrow{display:inline-flex;flex:0 0 32px;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid var(--line);border-radius:50%;background:var(--cream);color:var(--navy);font-size:24px;line-height:1;text-decoration:none}
.story-image-arrow:hover{background:var(--blue);border-color:var(--gold)}
.story-image-arrow:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.story-image-arrow[aria-disabled="true"]{opacity:.3;cursor:default;background:var(--cream);border-color:var(--line)}
.story-image-header+.editorial-cover,.story-image-header+.founder-portrait{margin-top:0}
@media(max-width:900px){.story-image-header{grid-template-columns:minmax(0,1fr)}.story-image-navigation{justify-self:start}}
@media(max-width:767px){.story-image-header{gap:6px;margin-top:20px}.story-image-brand{font-size:20px;white-space:normal;overflow-wrap:anywhere}.story-image-arrow{flex-basis:36px;width:36px;height:36px}}
.story-image-header:has(+.founder-portrait),.story-image-header:has(+.story-artwork){max-width:720px;margin-left:auto;margin-right:auto}

/* P338: Story collections only; retain existing sidebar/mobile breakpoints. */
.founder-page .story-reading-layout{max-width:1280px;width:calc(100% - 48px);grid-template-columns:240px minmax(0,1fr);gap:24px}
.founder-page .story-reading-layout .founder-body{max-width:720px;margin-left:0;margin-right:auto}
@media(max-width:640px){.founder-page .story-reading-layout{width:calc(100% - 24px)}}

/* P338 alignment: keep approved widths, remove centring inside Digital article panels. */
.digital-legacy-reading .story-reading-layout article .story-image-header:has(+.founder-portrait),
.digital-legacy-reading .story-reading-layout article .story-image-header:has(+.story-artwork),
.digital-legacy-reading .story-reading-layout article .founder-portrait,
.digital-legacy-reading .story-reading-layout article .story-artwork{margin-left:0;margin-right:auto;max-width:720px}

/* P339A: article reading typography, scoped to the three Story collections. */
.founder-page:is(.digital-legacy-reading,.founders-diary,.our-journey) .story-reading-layout article .founder-body{font-size:16px;line-height:1.65}
.founder-page:is(.digital-legacy-reading,.founders-diary,.our-journey) .story-reading-layout article .founder-body>p{font-size:inherit;line-height:inherit;margin-top:0;margin-bottom:16px}
.founder-page:is(.digital-legacy-reading,.founders-diary,.our-journey) .story-reading-layout article .founder-body>p:last-child{margin-bottom:0}
.founder-page:is(.digital-legacy-reading,.founders-diary,.our-journey) .story-reading-layout .story-explore a,
.founder-page:is(.digital-legacy-reading,.founders-diary,.our-journey) .story-reading-layout .story-explore a.timeline-card{font-size:13px;line-height:1.45;padding:10px 9px}
.founder-page:is(.digital-legacy-reading,.founders-diary,.our-journey) .story-reading-layout .story-explore nav{gap:7px}
.founder-page:is(.digital-legacy-reading,.founders-diary,.our-journey) .story-reading-layout .story-explore a>span,
.founder-page:is(.digital-legacy-reading,.founders-diary,.our-journey) .story-reading-layout .timeline-card-copy{min-width:0;word-break:normal;overflow-wrap:break-word;text-wrap:pretty}
.founder-page:is(.digital-legacy-reading,.founders-diary,.our-journey) .story-reading-layout .timeline-card-date{line-height:1.45;margin-top:4px}

/* P340: use the article panel for artwork while retaining a bounded reading measure. */
.founder-page.digital-legacy-reading .story-reading-layout article .founder-portrait,
.founder-page.digital-legacy-reading .story-reading-layout article .story-artwork,
.founder-page.digital-legacy-reading .story-reading-layout article .story-image-header{width:100%;max-width:100%;margin-left:0;margin-right:0}
.founder-page:is(.digital-legacy-reading,.founders-diary,.our-journey) .story-reading-layout article .founder-body{max-width:780px;overflow-wrap:break-word;word-break:normal}
.founder-page:is(.digital-legacy-reading,.founders-diary,.our-journey) .story-reading-layout article .legal-title{max-width:100%;text-wrap:pretty;word-break:normal;overflow-wrap:break-word}

/* P352: compact reading flow on phones; tablet and desktop retain their rules. */
@media(max-width:767px){
 .founder-page .story-reading-layout{display:block;width:calc(100% - 24px);margin-top:12px}
 .founder-page .story-reading-layout>.legal-main{padding:16px 14px}
 .founder-page .story-reading-layout .story-explore{display:none}
 .founder-page .story-category-nav{margin:0 0 8px;font-size:11px;line-height:1.4}
 .founder-page .story-category-nav a{display:none;min-height:0}
 .founder-page .story-category-nav a[aria-current=page]{display:inline;color:var(--gold);text-decoration:none}
 .founder-page .story-category-nav .category-separator{display:none}
 .founder-page .story-image-brand,.founder-page .journey-image-brand{display:none}
 .founder-page .story-image-header,.founder-page.our-journey .journey-image-header{display:none}
 .founder-page .story-reading-layout article .legal-title{margin-top:0;margin-bottom:12px;line-height:1.25}
 .founder-page .story-reading-layout article figure{margin-top:0;margin-bottom:12px}
 .founder-page .story-reading-layout .story-mobile{display:block;box-sizing:border-box;width:100%;margin:12px 0 16px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--cream)}
 .founder-page .story-mobile>label[for=storySelector]{display:block;font-size:13px;line-height:1.4;margin:0 0 6px;font-weight:600}
 .founder-page .story-mobile select{box-sizing:border-box;width:100%;max-width:100%;min-height:44px;font-size:14px}
 .founder-page .mobile-story-navigation{display:flex;align-items:center;justify-content:space-between;gap:8px;max-width:100%;margin:20px 0 12px}
 .founder-page .mobile-story-navigation a{min-width:44px;min-height:44px}
 .founder-page .diary-episode-nav,.founder-page .journey-episode-nav{display:none}
 .founder-page .featured-bottom-nav{margin-top:12px}
 .founder-page .diary-search{margin-top:0}
}
@media(max-width:767px){.founder-page .story-mobile.featured-original-hidden{display:block!important}}

/* P353: Founder’s Diary mobile reading cleanup; keep sorting controls. */
@media(max-width:767px){
 .founders-diary .story-byline,
 .founders-diary .diary-dates,
 .founders-diary .diary-search,
 .founders-diary .story-mobile>label[for=storySelector],
 .founders-diary .diary-sort-label{display:none!important}
 .founders-diary .story-mobile>.timeline-sort{margin:12px 0 16px}
}

/* P354: phone-only selector presentation and 18% smaller article H1. */
.compact-story-selector{display:none}
@media(max-width:767px){
 .founder-page:is(.digital-legacy-reading,.our-journey) .story-mobile>label[for=storySelector]{display:none}
 .founder-page .compact-story-selector{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;margin:0 0 6px}
 .founder-page .compact-story-selector .story-image-arrow{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:var(--cream);color:var(--navy);font-size:24px;line-height:1;text-decoration:none}
 .founder-page .compact-story-selector [aria-disabled=true]{opacity:.4;pointer-events:none}
 .compact-story-position{text-align:center;min-width:0;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
 .founder-page:is(.digital-legacy-reading,.founders-diary,.our-journey) .story-reading-layout article h1.legal-title{font-size:clamp(1.353rem,2.542vw,2.132rem);line-height:1.25;overflow-wrap:break-word}
}

/* P355: existing category row becomes compact only on phones. */
.mobile-category-arrow{display:none!important}
@media(max-width:767px){
 .founder-page .story-category-nav{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;align-items:center;gap:8px;margin-bottom:10px}
 .founder-page .story-category-nav a[aria-current=page]{text-align:center;white-space:nowrap;font-size:11px;line-height:1.4;min-width:0}
 .founder-page .story-category-nav .mobile-category-arrow{display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;width:36px;height:36px;border:1px solid var(--line);border-radius:50%;background:var(--cream);color:var(--navy);font-size:24px;line-height:1;text-decoration:none}
 .founder-page .mobile-category-arrow[aria-disabled=true]{opacity:.4;pointer-events:none}
}

/* P356: phone-only space savings; original date presentation remains at >=768px. */
.journey-date-mobile{display:none}
@media(max-width:767px){
 .founder-page .story-category-nav a[aria-current=page]{font-size:12.65px}
 .founder-page:is(.digital-legacy-reading,.founders-diary,.our-journey) .story-byline{display:none!important}
 .our-journey .journey-sort-label>span,.our-journey .journey-timeline-key,.our-journey .compact-story-selector{display:none!important}
 .our-journey .journey-sort-label{display:contents}
 .our-journey .journey-date-original{display:none}
 .our-journey .journey-date-mobile{display:inline}
 .our-journey .journey-date{margin:8px 0 12px}
 .our-journey .story-mobile .timeline-sort{margin-bottom:8px}
}

/* P357: emphasize the existing introduction without changing content or order. */
@media(max-width:767px){
 .founder-page:is(.founders-diary,.our-journey) .founder-body>p:first-of-type{font-weight:700}
}

/* P375: scope the compact closing panel to Digital Legacy Stories only. */
.digital-legacy-reading .legacy-plan-cta{background:#fffaf1;border:1px solid #e5d6b8;border-radius:12px;padding:22px;margin:24px 0;color:#12334c}
.digital-legacy-reading .legacy-plan-cta h2{font-size:22px;line-height:1.4;margin:0 0 10px}
.digital-legacy-reading .legacy-plan-cta p{line-height:1.7;margin:0 0 16px}
.digital-legacy-reading .legacy-plan-cta .founder-actions{margin:0}
.digital-legacy-reading .legacy-plan-cta a{white-space:normal;max-width:100%;text-align:center;box-sizing:border-box}
@media(max-width:767px){.digital-legacy-reading .legacy-plan-cta{padding:18px;margin:20px 0}.digital-legacy-reading .legacy-plan-cta h2{font-size:20px}}

/* P377/P377A: compact, shared public article sharing. */
.story-share{margin:28px 0 8px;padding:20px 0 8px;border-top:1px solid #dfd4be;color:#102e49;clear:both}
.article-footer .story-share h2{font-family:inherit;font-size:16px;font-weight:600;line-height:1.5;margin:0 0 10px;color:inherit}
.story-share-actions,.story-share-fallback{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.story-share a,.story-share button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border:1px solid #d7c9ad;border-radius:8px;background:#fffdf7;color:#102e49;font-weight:500;font-family:inherit;font-size:13px;line-height:1.4;text-decoration:none;cursor:pointer}
.story-share a:hover,.story-share button:hover{background:#f5ecd9;border-color:#b38a36}
.story-share a:focus-visible,.story-share button:focus-visible,.story-share input:focus-visible{outline:3px solid #b38a36;outline-offset:3px}
.story-share-fallback{margin-top:10px;padding:10px;background:#faf5e9;border-radius:8px}
.story-share [hidden]{display:none!important}
.article-footer .story-share-feedback{font-size:13px;line-height:1.5;margin:8px 0 0;font-weight:400}
.story-share-feedback:empty{display:none}
.story-share input{box-sizing:border-box;width:100%;margin-top:8px;padding:10px;color:#102e49;background:white;border:1px solid #d7c9ad;border-radius:6px;font:inherit;font-size:13px}
@media(max-width:767px){.story-share{margin-top:24px;padding-top:16px}.story-share a,.story-share button{padding:8px 10px}}

/* P380: visual-only icons; existing actions and fallbacks are retained. */
.story-share-actions{gap:8px}
.story-share-actions .story-share-icon{--share-icon-bg:#fffdf7;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border-radius:50%;background:var(--share-icon-bg);border-color:#e1d6bf;color:#102e49}
.story-share-icon svg{display:block;flex:none;width:22px;height:22px;fill:currentColor}
.story-share-icon[data-share-icon="Facebook"]{color:#0866ff}
.story-share-icon[data-share-icon="WhatsApp"]{color:#128c4a}
.story-share-icon[data-share-icon="LINE"]{color:#00852b}
.story-share-icon[data-share-icon="LinkedIn"]{color:#0a66c2}
.story-share-actions .story-share-icon:hover{--share-icon-bg:#f3ead7;border-color:#b38a36}
.article-footer .story-share h2{font-size:14px;letter-spacing:.01em;margin-bottom:12px}
@media(max-width:390px){.story-share-actions{gap:4px}}

/* P403: one article divider, then existing navigation, CTA and final sharing row. */
.article-footer{margin-top:28px;padding-top:20px;border-top:1px solid #dfd4be;min-width:0}
.article-footer>.story-share{border-top:0;margin-top:24px}
.article-footer>.featured-bottom-nav,.article-footer>.diary-episode-nav,.article-footer>.journey-episode-nav{margin-top:0}
@media(max-width:767px){
 .founder-page .article-footer>.diary-episode-nav,.founder-page .article-footer>.journey-episode-nav{display:grid}
 .article-footer.has-footer-navigation>.mobile-story-navigation{display:none}
 .article-footer>.mobile-story-navigation{margin-top:0}
}

.article-footer.has-footer-navigation>.mobile-story-navigation{display:none}
@media(min-width:768px){.article-footer>.mobile-story-navigation{display:none}}

.article-footer>.featured-bottom-nav{border-top:0;padding-top:0}
