/* Our Story: from the night sky to the sun on the flag. */
.story{--story-night:#100f0b;--story-glow:#f2c14e;--story-text:#d9d4c7;background:var(--story-night);color:var(--story-text);overflow:hidden}

.story-hero{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:min(82vh,740px);padding:120px var(--page) 90px;text-align:center}
.story-stars{position:absolute;inset:0;z-index:-2;opacity:.8;background-image:radial-gradient(1.5px 1.5px at 8% 18%,#fff 99%,transparent),radial-gradient(1px 1px at 17% 62%,#fff 99%,transparent),radial-gradient(1px 1px at 24% 34%,#f7e7c0 99%,transparent),radial-gradient(2px 2px at 31% 82%,#fff 99%,transparent),radial-gradient(1px 1px at 39% 12%,#fff 99%,transparent),radial-gradient(1px 1px at 46% 72%,#f7e7c0 99%,transparent),radial-gradient(1.5px 1.5px at 58% 88%,#fff 99%,transparent),radial-gradient(1px 1px at 66% 24%,#fff 99%,transparent),radial-gradient(2px 2px at 73% 58%,#f7e7c0 99%,transparent),radial-gradient(1px 1px at 81% 14%,#fff 99%,transparent),radial-gradient(1.5px 1.5px at 88% 42%,#fff 99%,transparent),radial-gradient(1px 1px at 94% 76%,#fff 99%,transparent);background-size:470px 410px;-webkit-mask-image:radial-gradient(ellipse 52% 42% at 50% 60%,transparent 74%,#000 100%);mask-image:radial-gradient(ellipse 52% 42% at 50% 60%,transparent 74%,#000 100%);animation:story-twinkle 6s ease-in-out infinite}
.story-sun{position:absolute;z-index:-1;top:0;left:50%;width:clamp(420px,62vw,860px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#fff3c9 0,#ffdc7c 9%,rgba(248,186,62,.82) 15%,rgba(232,150,44,.42) 25%,rgba(190,106,30,.17) 40%,rgba(150,80,22,.05) 56%,transparent 68%);transform:translate(-50%,-58%);animation:story-sun 8s ease-in-out infinite}
.story-eyebrow{color:var(--story-glow);font-size:13px;font-weight:600;letter-spacing:.34em;text-transform:uppercase}
.story-hero h1{max-width:13em;margin:18px 0 26px;color:#fff;font-size:64px;font-weight:500;line-height:1.08}
.story-hero p{max-width:690px;margin:0;color:#e8e3d6;font-size:20px;line-height:1.75;text-wrap:pretty}

.story-chapters{max-width:calc(840px + 2*var(--page));margin:0 auto;padding:50px var(--page) 40px;list-style:none}
.story-chapter{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr);gap:30px;padding-bottom:70px}
.story-chapter::before{content:"";position:absolute;top:56px;bottom:6px;left:23.5px;width:1px;background:linear-gradient(rgba(242,193,78,.6),rgba(242,193,78,.12))}
.story-number{display:grid;place-items:center;width:48px;height:48px;border:1px solid rgba(242,193,78,.65);border-radius:50%;color:var(--story-glow);font-size:14px;font-weight:600;box-shadow:0 0 22px rgba(242,193,78,.24)}
.story-chapter h2{margin:6px 0 18px;color:#fff;font-size:33px;font-weight:500;line-height:1.2}
.story-chapter p{margin:0 0 16px;font-size:18px;line-height:1.8}

.story-atoms{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 0;padding:0;list-style:none}
.story-atom{--atom:rgba(255,255,255,.3);display:flex;flex-direction:column;width:86px;height:98px;padding:7px 9px;border:1px solid var(--atom);background:rgba(255,255,255,.04)}
.story-atom small{color:var(--story-text);font-size:12px;line-height:1.2}
.story-atom strong{margin:auto 0;color:#fff;font-size:29px;font-weight:600;line-height:1}
.story-atom span{color:var(--story-text);font-size:12px;line-height:1.2}
.story-atom-fe,.story-atom-cr,.story-atom-ni{--atom:#8f979c}
.story-atom-ag{--atom:#d9dde0;box-shadow:0 0 16px rgba(217,221,224,.22)}
.story-atom-au{--atom:var(--story-glow);box-shadow:0 0 18px rgba(242,193,78,.36)}
.story-atom-au strong{color:var(--story-glow)}

.story-chapter:last-child{padding-bottom:30px}
.story-chapter:last-child::before{display:none}
.story-homeland{display:flex;flex-direction:column;align-items:center;padding:76px var(--page) 96px;background:var(--paper);color:var(--ink);text-align:center}
.story-flag{width:min(380px,78vw);margin-bottom:38px;box-shadow:0 0 44px rgba(240,186,62,.5),0 10px 30px rgba(60,40,10,.2)}
.story-flag .flag-mk{width:100%;height:auto;aspect-ratio:2}
.story-homeland h2{margin:0 0 20px;font-size:40px;font-weight:500;line-height:1.18}
.story-homeland p{max-width:680px;margin:0 0 16px;font-size:18px;line-height:1.8}
.story-tagline{margin:22px 0 30px;color:var(--gold);font-size:28px;font-weight:500;line-height:1.25}

@keyframes story-sun{0%,100%{opacity:.82}50%{opacity:1}}
@keyframes story-twinkle{0%,100%{opacity:.62}50%{opacity:.95}}
@media(prefers-reduced-motion:reduce){.story-stars,.story-sun{animation:none}}

@media(max-width:800px){
.story-hero{min-height:0;padding-top:104px;padding-bottom:64px}
.story-stars{-webkit-mask-image:linear-gradient(#000 0,#000 13%,transparent 21%);mask-image:linear-gradient(#000 0,#000 13%,transparent 21%)}
.story-hero h1{font-size:46px}
.story-hero p{font-size:18px}
.story-chapter{gap:20px;padding-bottom:56px}
.story-chapter h2{font-size:28px}
.story-homeland h2{font-size:33px}
}
@media(max-width:560px){
.story-hero{padding-top:92px}
.story-hero h1{font-size:38px}
.story-hero p{font-size:17px;line-height:1.7}
.story-chapters{padding-top:30px}
.story-chapter{grid-template-columns:36px minmax(0,1fr);gap:14px;padding-bottom:46px}
.story-chapter::before{top:42px;left:17.5px}
.story-number{width:36px;height:36px;font-size:12px}
.story-chapter h2{margin:2px 0 14px;font-size:24px}
.story-chapter p,.story-homeland p{font-size:16.5px;line-height:1.75}
.story-atoms{gap:8px}
.story-atom{width:74px;height:88px;padding:6px 7px}
.story-atom strong{font-size:25px}
.story-atom small,.story-atom span{font-size:11.5px}
.story-homeland{padding-top:56px;padding-bottom:72px}
.story-homeland h2{font-size:28px}
.story-tagline{font-size:24px}
}
