.story-page { --story-accent: #08687a; --story-tint: #eaf8fa; --story-line: #c8e3e7; background: #fff; }
.story-research { --story-accent: #9b4e08; --story-tint: #fff5e8; --story-line: #e9d7be; }
.story-container { width: 88%; max-width: 1320px; margin: 0 auto; }
.story-breadcrumb { display: flex; gap: 11px; flex-wrap: wrap; padding: 23px 0; font-size: 12px; color: #526071; }
.story-breadcrumb a:hover { color: var(--story-accent); text-decoration: underline; }
.story-breadcrumb > span:last-child { color: #111d2c; }
.story-hero { background: #050e1d; color: #fff; border-bottom: 4px solid var(--story-accent); }
.story-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 64px; padding-top: 56px; padding-bottom: 56px; }
.story-eyebrow { color: #83e1ee; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; margin-bottom: 25px; }
.story-research .story-eyebrow { color: #ffb66b; }
.story-project-name { font-size: 15px; font-weight: 700; color: #d7e4f0; margin-bottom: 15px; }
.story-hero h1 { font-size: clamp(35px, 3.8vw, 59px); line-height: 1.08; letter-spacing: -2px; margin: 0 0 27px; font-weight: 600; }
.story-intro { font-size: 17px; line-height: 1.75; color: #cddbe7; max-width: 570px; margin-bottom: 28px; }
.story-hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.story-start { display: inline-flex; gap: 22px; align-items: center; padding: 13px 19px; border: 1px solid #a4effa70; border-radius: 6px; background: #83e1ee; color: #06232e; font-size: 13px; font-weight: 700; min-height: 46px; }
.story-research .story-start { background: #ffb66b; border-color: #ffb66b; color: #301900; }
.story-start:hover { background: #d0f8fc; }
.story-research .story-start:hover { background: #ffcc95; }
.story-stage { color: #d7e5ef; font-size: 11px; border: 1px solid #ffffff3d; padding: 5px 10px; border-radius: 20px; }
.story-page .story-visual { height: 420px; width: 100%; border: 1px solid #ffffff24; border-radius: 14px; padding: 32px; box-shadow: 0 20px 60px #0003; }
.story-page .story-visual .clinical-logo { width: 370px; max-width: 100%; }
.story-page .story-visual.clinical-visual::after { background: linear-gradient(0deg, #020a1ccc, transparent 75%); }
.story-page .story-visual.clinical-visual .identity-foreground p { font-size: 9px; }
.story-page .story-visual.cosmos-visual { padding-bottom: 82px; }
.story-page .story-visual .cosmos-object { width: 710px; height: 410px; top: -25px; right: -125px; }
.story-page .cosmos-object img, .story-page .cosmos-object canvas { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; object-fit: contain; object-position: center; }
.story-page .story-visual .cosmos-name { font-size: 39px; }
.story-page .story-visual .cosmos-credit { left: 32px; right: 32px; bottom: 15px; font-size: 9px; }
.story-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 27px; padding: 23px 0; border-bottom: 1px solid #dce0e5; font-size: 11px; color: #526071; }
.story-meta > span:first-child { font-size: 10px; letter-spacing: 1px; font-weight: 700; color: var(--story-accent); }
.story-meta > a { margin-left: auto; color: var(--story-accent); font-weight: 700; }
.story-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 70px; align-items: start; padding-top: 60px; padding-bottom: 60px; }
.article-sidebar { position: sticky; top: 25px; min-width: 0; }
.article-nav { display: flex; flex-direction: column; gap: 3px; font-size: 12px; }
.article-nav > p { color: #68788a; font-size: 10px; letter-spacing: 1.3px; font-weight: 700; margin: 0 0 17px; }
.story-page .article-nav > a { display: flex; align-items: baseline; gap: 11px; padding: 10px 11px; border-left: 2px solid transparent; color: #526071; line-height: 1.5; border-radius: 0 4px 4px 0; }
.article-nav > a > span { font-size: 10px; font-weight: 400; color: #6c7c8c; }
.article-nav > a:hover, .article-nav > a[aria-current] { background: var(--story-tint); border-left-color: var(--story-accent); color: var(--story-accent); }
.origin-note { margin-top: 33px; padding: 20px 0 0; border-top: 1px solid #dce0e5; }
.origin-note > span { color: var(--story-accent); font-size: 10px; font-weight: 700; letter-spacing: .9px; }
.origin-note p { color: #526071; font-size: 12px; line-height: 1.8; margin: 11px 0 0; }
.science-article { min-width: 0; max-width: 880px; color: #344658; font-size: 16px; line-height: 1.9; }
.science-article p { margin: 0 0 21px; }
.science-article .lead { font-size: 20px; color: #283f50; line-height: 1.75; }
.chapter { padding-top: 15px; margin-bottom: 65px; scroll-margin-top: 30px; }
.chapter + .chapter { padding-top: 44px; border-top: 1px solid #dce0e5; }
.science-article .section-kicker { font-size: 10px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: var(--story-accent); margin: 0 0 18px; }
.science-article h2 { font-size: clamp(28px, 2.7vw, 39px); letter-spacing: -1.1px; line-height: 1.2; color: #102132; margin: 0 0 26px; }
.science-article h3 { font-size: 21px; letter-spacing: -.5px; line-height: 1.35; color: #102132; margin: 0 0 14px; }
.science-article strong { color: #1b3344; }
.science-article .citation { display: inline; color: var(--story-accent); font-size: .8em; font-weight: 700; white-space: nowrap; padding: 1px 3px; text-decoration: underline; text-underline-offset: 3px; }
.science-article .citation:target { outline: 1px solid var(--story-accent); }
.study { padding: 29px; background: linear-gradient(135deg, var(--story-tint), #fff); border: 1px solid var(--story-line); border-radius: 12px; margin: 29px 0; }
.study-head { border-bottom: 1px solid var(--story-line); padding-bottom: 18px; margin-bottom: 22px; }
.science-article .study-meta { font-size: 11px; color: var(--story-accent); letter-spacing: .3px; margin: 0; }
.science-article .study-limit { border-left: 3px solid var(--story-accent); background: #ffffff9c; padding: 13px 17px; border-radius: 0 5px 5px 0; font-size: 14px; line-height: 1.8; }
.science-article .study > p:last-child { margin-bottom: 0; }
.fact-grid, .evidence-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; margin: 26px 0; }
.fact { padding: 20px; border: 1px solid var(--story-line); background: #ffffffb3; border-radius: 7px; font-size: 14px; line-height: 1.8; min-width: 0; }
.fact > strong { display: block; font-size: 16px; color: var(--story-accent); margin-bottom: 10px; }
.fact p:last-child { margin-bottom: 0; }
.fact h3 { font-size: 18px; }
.callout { background: var(--story-tint); border-left: 3px solid var(--story-accent); padding: 23px 27px; border-radius: 0 8px 8px 0; margin: 28px 0; }
.callout > strong { display: block; margin-bottom: 12px; font-size: 17px; }
.callout p:last-child { margin-bottom: 0; }
.timeline { padding: 5px 0; margin: 25px 0; }
.timeline-item { padding: 0 0 29px 28px; margin-left: 6px; border-left: 1px solid var(--story-line); position: relative; }
.timeline-item::before { content: ''; position: absolute; left: -5px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--story-accent); box-shadow: 0 0 0 5px var(--story-tint); }
.timeline-item > strong { font-size: 19px; display: block; margin-bottom: 9px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item p { font-size: 15px; margin-bottom: 0; }
.glossary { border: 1px solid var(--story-line); border-radius: 7px; padding: 0 20px; margin: 17px 0; background: #fff; }
.glossary summary { color: #173d4d; font-weight: 600; font-size: 15px; padding: 17px 0; cursor: pointer; }
.story-research .glossary summary { color: #794713; }
.glossary p { font-size: 14px; line-height: 1.85; }
.science-article ul, .science-article ol { font-size: inherit; line-height: inherit; padding-left: 22px; }
.science-article li { margin-bottom: 15px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--story-line); border-radius: 8px; margin: 27px 0; }
.article-table { border-collapse: collapse; font-size: 14px; line-height: 1.7; width: 100%; }
.article-table th, .article-table td { padding: 15px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--story-line); }
.article-table th { color: #193c4d; background: var(--story-tint); font-weight: 700; }
.article-table tr:last-child td { border-bottom: 0; }
#fuentes { margin-bottom: 0; }
#fuentes ol { list-style: decimal-leading-zero; color: var(--story-accent); }
#fuentes li { scroll-margin-top: 30px; border-bottom: 1px solid #dce0e5; padding: 12px 0 18px 8px; font-size: 13px; color: #344658; overflow-wrap: anywhere; }
#fuentes li:target { background: var(--story-tint); }
#fuentes a { color: var(--story-accent); text-decoration: underline; text-underline-offset: 3px; }
.concept-figure { margin: 0 0 45px; border: 1px solid var(--story-line); border-radius: 10px; background: linear-gradient(135deg, var(--story-tint), #fff); overflow: hidden; }
.concept-flow { display: grid; grid-template-columns: repeat(3,1fr); padding: 25px; gap: 18px; }
.concept-flow > div { position: relative; border: 1px solid var(--story-line); border-radius: 6px; background: #ffffffb3; padding: 18px; }
.concept-flow > div:not(:last-child)::after { content: '→'; position: absolute; right: -17px; top: 37%; color: var(--story-accent); }
.concept-flow span { display: block; font-size: 10px; font-weight: 700; color: var(--story-accent); letter-spacing: 1px; margin-bottom: 4px; }
.concept-flow strong { font-size: 17px; }
.concept-figure figcaption { padding: 0 25px 23px; font-size: 13px; line-height: 1.8; color: #526071; }
.concept-figure figcaption span { display: block; margin-top: 6px; font-size: 11px; }
.story-next { border-top: 1px solid var(--story-line); padding: 30px 0; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.story-next p { font-size: 10px; font-weight: 700; letter-spacing: 1px; color: var(--story-accent); margin-bottom: 11px; }
.story-next h2 { font-size: clamp(25px,2.2vw,33px); }
.story-next > a { min-width: 200px; font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--story-accent); padding: 10px 0; color: var(--story-accent); display: flex; gap: 25px; justify-content: space-between; }
.story-return { display: flex; justify-content: space-between; gap: 25px; flex-wrap: wrap; padding: 30px 0 60px; font-size: 12px; color: #526071; }
.story-return a:hover { text-decoration: underline; color: var(--story-accent); }
.reading-progress { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 3px; pointer-events: none; }
.reading-progress i { display: block; height: 100%; background: var(--story-accent); transform: scaleX(0); transform-origin: left center; }
@media (max-width: 1100px) {
 .story-hero-grid { gap: 35px; }
 .story-hero h1 { font-size: 42px; }
 .story-page .story-visual { height: 395px; padding: 25px; }
 .story-page .story-visual .cosmos-object { width: 625px; height: 360px; right: -135px; top: -10px; }
 .story-layout { grid-template-columns: 190px minmax(0,1fr); gap: 40px; }
 .story-page .story-visual .cosmos-credit { left: 25px; right: 25px; }
}
@media (max-width: 850px) {
 .story-hero-grid { grid-template-columns: 1fr; padding-top: 38px; padding-bottom: 35px; gap: 35px; }
 .story-hero h1 { font-size: clamp(36px,6vw,54px); max-width: 660px; }
 .story-intro { max-width: 650px; }
 .story-page .story-visual { height: 340px; }
 .story-page .story-visual .cosmos-object { width: 670px; height: 386px; right: -45px; top: -70px; }
 .story-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 30px; }
 .article-sidebar { position: static; }
 .article-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-bottom: 1px solid var(--story-line); padding: 0 0 18px; }
 .article-nav > p { grid-column: 1/-1; margin: 0 0 8px; }
 .origin-note { margin-top: 20px; padding-top: 15px; }
 .origin-note p { margin-top: 6px; }
 .science-article { max-width: none; }
 .story-meta { gap: 10px 18px; }
 .story-meta > a { margin-left: 0; }
 .study { padding: 24px; }
}
@media (max-width: 550px) {
 .story-container { width: 88%; }
 .story-breadcrumb { padding: 17px 0; gap: 7px; font-size: 10px; }
 .story-eyebrow { font-size: 9px; letter-spacing: 1px; margin-bottom: 20px; }
 .story-hero h1 { font-size: 37px; letter-spacing: -1.4px; }
 .story-intro { font-size: 15px; }
 .story-page .story-visual { height: 275px; padding: 22px; }
 .story-page .story-visual.cosmos-visual { padding-bottom: 75px; }
 .story-page .story-visual .cosmos-object { width: 490px; height: 283px; top: -25px; right: -85px; }
 .story-page .story-visual .cosmos-name { font-size: 31px; }
 .story-page .story-visual .cosmos-credit { left: 22px; right: 22px; font-size: 8px; }
 .story-meta { font-size: 10px; }
 .article-nav { padding: 0 0 14px; gap: 3px 0; }
 .article-nav > a { font-size: 11px; padding: 8px; gap: 7px; }
 .science-article { font-size: 15px; line-height: 1.9; }
 .science-article h2 { font-size: 29px; }
 .science-article .lead { font-size: 18px; }
 .chapter { margin-bottom: 45px; }
 .chapter + .chapter { padding-top: 32px; }
 .study { padding: 20px; margin: 24px 0; }
 .fact-grid, .evidence-grid { grid-template-columns: 1fr; gap: 12px; }
 .fact { padding: 17px; }
 .callout { padding: 20px; }
 .concept-flow { gap: 12px; padding: 18px; }
 .concept-flow > div { padding: 10px; }
 .concept-flow strong { font-size: 12px; }
 .concept-flow > div:not(:last-child)::after { right: -13px; }
 .concept-figure figcaption { padding: 0 18px 18px; }
 .story-next { padding: 27px 0; flex-direction: column; align-items: flex-start; }
 .story-next > a { min-width: 0; width: 100%; }
 .story-return { font-size: 11px; }
}
