/* story pages (one per innovation): loaded after style.css */
.nav .wrap { gap: 12px; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-back { text-decoration: none; font-weight: 700; font-size: 15px; color: var(--h-muted); padding: 8px 10px; border-radius: 10px; }
.nav-back:hover { color: var(--h-ink); background: rgba(255,255,255,.08); }
/* BM | EN switch */
.lang { display: inline-flex; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 3px; font: 500 13px var(--mono); letter-spacing: .08em; }
.lang a, .lang span { padding: 5px 11px; border-radius: 999px; text-decoration: none; color: var(--h-muted); }
.lang span { background: var(--accent); color: var(--navy); }
.lang a:hover { color: var(--h-ink); }
@media (max-width: 480px) { .nav-back .long { display: none; } }

.story-hero .actions { margin-top: 30px; }
.story-meta { font-family: var(--mono); font-size: 13px; color: var(--h-muted); margin-top: 18px; letter-spacing: .04em; }

/* the story itself: light section, one readable column */
.story { padding-block: clamp(56px, 8vw, 96px); }
.story .wrap { max-width: 760px; }
.story h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 700; margin: 52px 0 16px; }
.story h2:first-child { margin-top: 0; }
.story h2 .n { font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: .14em; color: var(--accent); display: block; margin-bottom: 10px; font-style: normal; }
.story p, .story li { color: var(--muted); font-size: 18px; line-height: 1.75; }
.story p { margin: 0 0 18px; }
.story strong { color: var(--ink); }
.story ul { padding-left: 22px; margin: 0 0 18px; }
.story li { margin-bottom: 6px; }
.story a { color: var(--accent); font-weight: 700; }
.pullq { font-family: var(--display); font-style: italic; font-weight: 600; font-size: clamp(24px, 3.2vw, 30px); line-height: 1.3; color: var(--ink); border-left: 3px solid var(--accent); padding-left: 20px; margin: 32px 0; }
.story figure { margin: 32px 0; }
.story figure img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow); }
.story figcaption { font-size: 15px; color: var(--muted); margin-top: 10px; }

/* big numbers */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 28px 0 32px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); }
.stat b { display: block; font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1.05; color: var(--ink); }
.stat span { font-size: 15px; color: var(--muted); line-height: 1.4; display: block; margin-top: 6px; }

/* free materials box at the bottom */
.materials { scroll-margin-top: calc(var(--nav-h) + 16px); background: var(--navy); color: var(--navy-ink); --accent: #86bdf3; --line: #273248; border-radius: 28px; padding: clamp(28px, 5vw, 48px); margin-top: 56px; box-shadow: var(--shadow); }
.materials h2 { margin-top: 0; color: var(--navy-ink); }
.materials > p { color: var(--navy-muted); }
.dl { display: grid; gap: 12px; margin: 24px 0 8px; }
.dl a { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--navy-ink); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 16px 18px; transition: border-color .2s, transform .2s; }
.dl a:hover { border-color: var(--accent); transform: translateY(-2px); }
.dl .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--navy); }
.dl .ic svg { width: 22px; height: 22px; }
.dl b { display: block; font-size: 17px; }
.dl small { display: block; color: var(--navy-muted); font-size: 14px; font-weight: 400; }
.materials .btn { margin-top: 18px; }

/* sources */
.sources { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.sources h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.sources ol { padding-left: 20px; margin: 0; }
.sources li { font-size: 15px; line-height: 1.6; }

/* other stories */
.more { margin-top: 56px; }
.more h3 { font-size: 22px; font-weight: 600; margin-bottom: 14px; }
.more .cards { grid-template-columns: 1fr 1fr; }
.more .card h3 { font-size: 21px; margin-bottom: 6px; }
@media (max-width: 700px) { .more .cards { grid-template-columns: 1fr; } }
