/* VOICE: sober, institutional; the 3D and the company names carry everything.
   IDEA: one continuous night flight across Europe's AI value chain, from the power plant to the research lab.
   PICTURE: a single realistic 3D world at blue hour, six zones, company names pinned to what they build.
   COLOUR and TYPE: EU night blue, electric cyan for energy and data, EU gold only for the twelve stars; Figtree throughout.
   LAYOUT: full-bleed canvas; a small numbered step caption bottom-left; numbered step rail on the right; nothing else. */
@font-face{font-family:Figtree;font-style:normal;font-weight:300 900;font-display:swap;src:url(../fonts/figtree-latin-wght-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Figtree;font-style:normal;font-weight:300 900;font-display:swap;src:url(../fonts/figtree-latin-ext-wght-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
:root{color-scheme:dark;--bg:#050b1f;--ink:#eef3ff;--mute:#9fb0d6;--line:rgba(190,210,255,.18);--cyan:#5fd4ff}
*{box-sizing:border-box;min-width:0}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 Figtree,system-ui,sans-serif;overflow-x:clip}
h1,h2{font-family:Figtree,system-ui,sans-serif;font-weight:600;line-height:1.05;text-wrap:balance;margin:0}
#stage{position:fixed;inset:0;z-index:0}#stage::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 75% 70% at 50% 45%,transparent 55%,rgba(2,5,14,.42))}#stage canvas{display:block;width:100%;height:100%}
#tags{position:fixed;inset:0;z-index:1;pointer-events:none;overflow:hidden}
.tag{position:absolute;left:0;top:0;display:flex;flex-direction:column;align-items:center;opacity:0;will-change:transform,opacity;transform-origin:50% 100%}
.tag .box{display:flex;align-items:center;gap:7px;padding:6px 11px 6px 8px;border-radius:8px;background:rgba(7,16,44,.8);border:1px solid rgba(140,200,255,.3);backdrop-filter:blur(6px);white-space:nowrap;font:600 14px/1.1 Figtree,sans-serif}
.tag .stem{width:1px;height:30px;background:linear-gradient(rgba(140,210,255,.8),rgba(140,210,255,0))}
.tag.pj .box{border-color:rgba(160,225,255,.75);background:rgba(10,30,70,.85);box-shadow:0 0 18px rgba(95,212,255,.35)}
.tag.ph .box{gap:10px;padding:7px 16px 7px 7px;border-radius:24px;border-color:rgba(160,225,255,.75);background:rgba(10,30,70,.9);font-size:21px;font-weight:700;box-shadow:0 0 22px rgba(95,212,255,.3)}
.tag.ph .box i{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--cyan);color:#04102a;font:700 17px Figtree,sans-serif;font-style:normal}
.tag.ph .s{display:none}
.tag.eng .box{pointer-events:auto;cursor:pointer}
.eng{flex:none;display:grid;place-items:center;width:16px;height:16px;margin-right:-3px;border-radius:50%;background:var(--cyan);box-shadow:0 0 10px rgba(95,212,255,.55)}
.eng svg{width:11px;height:11px;fill:none;stroke:#04102a;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tag .dot{width:6px;height:6px;border-radius:50%;background:var(--cyan);box-shadow:0 0 10px var(--cyan);margin-top:-3px}
.flag{flex:none;display:inline-block;width:20px;height:13px;border-radius:2px;box-shadow:0 0 0 1px rgba(255,255,255,.22)}
.f-FR{background:linear-gradient(90deg,#0055a4 33.3%,#fff 33.3% 66.6%,#ef4135 66.6%)}
.f-DE{background:linear-gradient(#111 33.3%,#dd0000 33.3% 66.6%,#ffce00 66.6%)}
.f-IT{background:linear-gradient(90deg,#009246 33.3%,#fff 33.3% 66.6%,#ce2b37 66.6%)}
.f-ES{background:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20' preserveAspectRatio='none'><rect width='30' height='20' fill='%23aa151b'/><rect y='5' width='30' height='10' fill='%23f1bf00'/><rect x='5.9' y='7.6' width='1.1' height='5' fill='%23e8e8e8'/><rect x='13' y='7.6' width='1.1' height='5' fill='%23e8e8e8'/><rect x='5.6' y='6.9' width='1.7' height='.7' fill='%23c8a200'/><rect x='12.7' y='6.9' width='1.7' height='.7' fill='%23c8a200'/><rect x='5.5' y='9.6' width='1.9' height='.6' fill='%23aa151b'/><rect x='12.6' y='9.6' width='1.9' height='.6' fill='%23aa151b'/><rect x='5.6' y='12.6' width='1.7' height='.6' fill='%233d5da7'/><rect x='12.7' y='12.6' width='1.7' height='.6' fill='%233d5da7'/><path d='M7.8 7.4h4.4v3.4a2.2 2.2 0 0 1-4.4 0z' fill='%23aa151b'/><path d='M10 7.4h2.2v2.3H10z' fill='%23fff'/><path d='M7.8 9.7H10V13a2.2 2.2 0 0 1-2.2-2.2z' fill='%23f1bf00'/><rect x='8.3' y='9.7' width='.45' height='2.4' fill='%23aa151b'/><rect x='9.1' y='9.7' width='.45' height='2.9' fill='%23aa151b'/><ellipse cx='10' cy='9.7' rx='.65' ry='.75' fill='%232a4ea0' stroke='%23aa151b' stroke-width='.2'/><path d='M7.8 7.4h4.4v3.4a2.2 2.2 0 0 1-4.4 0z' fill='none' stroke='%237a5c00' stroke-width='.25'/><path d='M7.9 7.3h4.2l.35-1.7-1.05.6L10 5l-1.4 1.2-1.05-.6z' fill='%23f1bf00' stroke='%237a5c00' stroke-width='.22'/></svg>") center/100% 100% no-repeat}
.f-PT{background:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20' preserveAspectRatio='none'><rect width='30' height='20' fill='%23da291c'/><rect width='12' height='20' fill='%23046a38'/><circle cx='12' cy='10' r='3.7' fill='none' stroke='%23ffe000' stroke-width='.75'/><ellipse cx='12' cy='10' rx='3.7' ry='1.3' fill='none' stroke='%23ffe000' stroke-width='.4'/><ellipse cx='12' cy='10' rx='1.3' ry='3.7' fill='none' stroke='%23ffe000' stroke-width='.4'/><path d='M10.2 7.5h3.6v3a1.8 1.8 0 0 1-3.6 0z' fill='%23da291c' stroke='%23fff' stroke-width='.2'/><circle cx='10.6' cy='8' r='.22' fill='%23ffe000'/><circle cx='13.4' cy='8' r='.22' fill='%23ffe000'/><circle cx='10.5' cy='10.6' r='.22' fill='%23ffe000'/><circle cx='13.5' cy='10.6' r='.22' fill='%23ffe000'/><circle cx='12' cy='11.9' r='.22' fill='%23ffe000'/><path d='M10.95 8.25h2.1v2.25a1.05 1.05 0 0 1-2.1 0z' fill='%23fff'/><g fill='%230038a8'><rect x='11.75' y='8.5' width='.5' height='.6'/><rect x='11.15' y='9.3' width='.5' height='.6'/><rect x='11.75' y='9.3' width='.5' height='.6'/><rect x='12.35' y='9.3' width='.5' height='.6'/><rect x='11.75' y='10.1' width='.5' height='.6'/></g></svg>") center/100% 100% no-repeat}
.f-NL{background:linear-gradient(#ae1c28 33.3%,#fff 33.3% 66.6%,#21468b 66.6%)}
.f-BE{background:linear-gradient(90deg,#111 33.3%,#fdda24 33.3% 66.6%,#ef3340 66.6%)}
.f-AT{background:linear-gradient(#c8102e 33.3%,#fff 33.3% 66.6%,#c8102e 66.6%)}
.f-LU{background:linear-gradient(#ed2939 33.3%,#fff 33.3% 66.6%,#00a1de 66.6%)}
.f-IE{background:linear-gradient(90deg,#169b62 33.3%,#fff 33.3% 66.6%,#ff883e 66.6%)}
.f-RO{background:linear-gradient(90deg,#002b7f 33.3%,#fcd116 33.3% 66.6%,#ce1126 66.6%)}
.f-SK{background:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20' preserveAspectRatio='none'><rect width='30' height='20' fill='%23ee1c25'/><rect width='30' height='13.33' fill='%230b4ea2'/><rect width='30' height='6.67' fill='%23fff'/><path d='M5.6 4.2h7.8v6.3c0 3-2.1 4.6-3.9 5.6c-1.8-1-3.9-2.6-3.9-5.6z' fill='%23ee1c25' stroke='%23fff' stroke-width='.55'/><path d='M6.1 12.7c.8-1.5 2-1.5 2.5-.4c.4-1.4 1.8-1.4 2.2 0c.5-1.1 1.7-1.1 2.5.4c-.7 1.4-2 2.3-3.8 3.2c-1.5-.8-2.7-1.8-3.4-3.2z' fill='%230b4ea2'/><g fill='%23fff'><rect x='9.15' y='5.4' width='.7' height='6.8'/><rect x='8' y='6.9' width='3' height='.6'/><rect x='7.4' y='8.7' width='4.2' height='.7'/></g></svg>") center/100% 100% no-repeat}
.f-SE{background:linear-gradient(90deg,transparent 31%,#fecc00 31% 45%,transparent 45%),linear-gradient(transparent 40%,#fecc00 40% 60%,transparent 60%),#006aa7}
.f-FI{background:linear-gradient(90deg,transparent 31%,#002f6c 31% 45%,transparent 45%),linear-gradient(transparent 38%,#002f6c 38% 62%,transparent 62%),#fff}
.f-DK{background:linear-gradient(90deg,transparent 31%,#fff 31% 45%,transparent 45%),linear-gradient(transparent 40%,#fff 40% 60%,transparent 60%),#c8102e}
.f-CH{width:13px;background:linear-gradient(transparent 40%,#fff 40% 60%,transparent 60%) center/62% 100% no-repeat,linear-gradient(90deg,transparent 40%,#fff 40% 60%,transparent 60%) center/100% 62% no-repeat,#d52b1e}
.f-EE{background:linear-gradient(#0072ce 33.3%,#000 33.3% 66.6%,#fff 66.6%)}
.f-EU{background:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20' preserveAspectRatio='none'><rect width='30' height='20' fill='%23039'/><g fill='%23fc0'><circle cx='15' cy='6.6' r='.6'/><circle cx='16.7' cy='7.06' r='.6'/><circle cx='17.94' cy='8.3' r='.6'/><circle cx='18.4' cy='10' r='.6'/><circle cx='17.94' cy='11.7' r='.6'/><circle cx='16.7' cy='12.94' r='.6'/><circle cx='15' cy='13.4' r='.6'/><circle cx='13.3' cy='12.94' r='.6'/><circle cx='12.06' cy='11.7' r='.6'/><circle cx='11.6' cy='10' r='.6'/><circle cx='12.06' cy='8.3' r='.6'/><circle cx='13.3' cy='7.06' r='.6'/></g></svg>") center/100% 100% no-repeat}

header{position:fixed;top:0;left:0;z-index:5;padding:14px max(4vw,16px)}
.logo{display:inline-block;white-space:nowrap;color:#fff;text-decoration:none;font:500 28px/1 Figtree,sans-serif;letter-spacing:-.01em;text-shadow:0 1px 3px rgba(0,0,0,.12),0 4px 28px rgba(2,8,30,.38)}
.logo .c{font-weight:700}
.logo .o{width:.56em;height:.56em;margin:0 .02em 0 .03em;vertical-align:-.035em;filter:drop-shadow(0 1px 3px rgba(0,0,0,.12)) drop-shadow(0 4px 28px rgba(2,8,30,.38))}
.logo:focus-visible{outline:2px solid var(--cyan);outline-offset:4px;border-radius:4px}
@media(max-width:700px){.logo{font-size:21px}}

#rail{position:fixed;right:max(2.4vw,12px);top:50%;transform:translateY(-50%);z-index:5;display:flex;flex-direction:column;gap:4px}
#rail button{all:unset;cursor:pointer;display:flex;align-items:center;justify-content:flex-end;gap:10px;min-height:38px;color:var(--mute);font-size:13.5px}
#rail button span{opacity:0;transition:opacity .3s}
#rail:hover button span,#rail button.on span{opacity:1}
#rail button.pj{margin-top:8px}#rail button.bl{display:none}#rail button i svg{width:15px;height:15px}
#rail button i{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;border:1px solid var(--line);font:600 12px Figtree,sans-serif;font-style:normal;transition:all .3s}
#rail button.on{color:var(--ink)}#rail button.on i{background:var(--cyan);border-color:var(--cyan);color:#04102a;box-shadow:0 0 14px rgba(95,212,255,.6)}
#rail button:focus-visible{outline:2px solid var(--cyan);outline-offset:4px;border-radius:6px}

#cap{opacity:0;position:fixed;left:max(4vw,16px);bottom:max(5vh,20px);z-index:4;display:flex;align-items:center;gap:16px;transition:opacity .4s}
#cap b{font:600 clamp(48px,7vw,84px)/.9 Figtree,sans-serif;color:var(--cyan)}
#cap .h{margin:0;font-weight:600;line-height:1.05;text-wrap:balance;font-size:clamp(22px,2.6vw,32px)}
#cap small{display:block;margin-bottom:8px;font:600 12.5px Figtree,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--cyan)}#cap small:empty{display:none}
#cap.pj b{display:none}#cap.pj .h{max-width:20ch}#cap.pj span{max-width:48ch}
#cap span{display:block;color:#c3cfeb;font-size:16px;margin-top:6px;max-width:44ch;text-shadow:0 2px 12px rgba(0,0,0,.7)}

main{position:relative;z-index:2;pointer-events:none}
.sec{height:130vh}
.hero{height:130vh;display:flex;flex-direction:column;align-items:center;padding:24vh 20px 0;text-align:center}
.kicker{margin:22px 0 0;font:600 clamp(12px,1.3vw,15px)/1.2 Figtree,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--cyan);text-shadow:0 2px 16px rgba(0,0,0,.7)}
.sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0} /* read by search engines and screen readers; shown on screen by the caption (#cap) */
.hero h1{font-size:clamp(34px,6vw,76px);max-width:15ch;text-shadow:0 4px 40px rgba(0,0,0,.6)}
.hint{margin-top:40px;display:grid;place-items:center;width:56px;height:56px;pointer-events:auto;color:var(--ink);border-radius:50%}
.hint svg{width:34px;height:34px;animation:bob 1.8s infinite ease-in-out;filter:drop-shadow(0 2px 10px rgba(0,0,0,.6))}
.hint:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
@keyframes bob{0%,100%{transform:translateY(0);opacity:.55}50%{transform:translateY(10px);opacity:1}}
#snd{all:unset;position:fixed;top:10px;right:max(4vw,16px);z-index:6;cursor:pointer;display:flex;align-items:center;gap:9px;height:44px;padding:0 16px;border-radius:22px;border:1px solid var(--line);background:rgba(6,14,40,.55);color:var(--mute);font:500 14px Figtree,sans-serif;transition:color .3s,border-color .3s}
#snd:hover,#snd.on{color:var(--ink)}#snd.on{border-color:rgba(95,212,255,.6)}
#snd:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}
.eq{display:flex;gap:2px;align-items:flex-end;height:14px}.eq i{width:3px;height:4px;background:currentColor;border-radius:1px}
#snd.on .eq i{animation:eq .8s infinite ease-in-out alternate}.eq i:nth-child(2){animation-delay:.27s}.eq i:nth-child(3){animation-delay:.54s}
@keyframes eq{to{height:14px}}

.final{min-height:100vh;padding:78vh max(4vw,16px) 10vh;pointer-events:auto;background:linear-gradient(rgba(5,11,31,0) 62vh,rgba(5,11,31,.92) 92vh)} /* the whole chain shows above the heading first */
.final .in{max-width:1100px;margin:0 auto}
.final h2{font-size:clamp(40px,6vw,72px)}
.final h2 b{color:var(--cyan);font-weight:600}
.grp{margin-top:52px}
.grp h3{display:flex;align-items:center;gap:12px;font:700 clamp(22px,2.6vw,30px)/1.15 Figtree,sans-serif;color:#fff;margin:0 0 16px}
.grp h3 i{flex:none;display:grid;place-items:center;width:1.4em;height:1.4em;border-radius:50%;background:var(--cyan);color:#04102a;font-size:.8em;font-style:normal}
.chips{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0}
.chips li:has(button){padding:0;border:0;background:none}
.chips button{all:unset;cursor:pointer;display:flex;align-items:center;gap:7px;padding:5px 10px 5px 7px;border:1px solid rgba(95,212,255,.45);border-radius:7px;background:rgba(95,212,255,.08);transition:background .2s,border-color .2s}
.chips button:hover,.chips button[aria-describedby]:focus-visible{background:rgba(95,212,255,.18);border-color:var(--cyan)}
.chips button:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
.legend{display:flex;gap:10px;align-items:flex-start;margin:22px 0 0;max-width:62ch;color:#c3cfeb}.legend .eng{margin-top:3px}.legend b{color:var(--ink)}
#info{position:fixed;left:0;top:0;z-index:7;width:min(340px,calc(100vw - 20px));padding:14px 16px 12px;border-radius:12px;background:rgba(7,16,44,.94);border:1px solid rgba(95,212,255,.45);box-shadow:0 12px 40px rgba(0,0,0,.5),0 0 24px rgba(95,212,255,.15);backdrop-filter:blur(10px);pointer-events:none;opacity:0;transition:opacity .18s}
#info.on{opacity:1}
#info .hd{display:flex;align-items:center;gap:8px;font-size:17px}
#info small{display:block;margin:6px 0 8px;font:600 11.5px Figtree,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--cyan)}
#info ul{margin:0;padding:0 0 0 16px;font-size:14px;line-height:1.45;color:#d6e0f5}#info li+li{margin-top:6px}
.chips li{display:flex;align-items:center;gap:7px;padding:5px 10px 5px 7px;border:1px solid var(--line);border-radius:7px;font-size:14px;background:rgba(255,255,255,.03)}

#loader{position:fixed;inset:0;z-index:9;display:grid;place-items:center;background:var(--bg);transition:opacity .8s}
#loader i{display:block;width:180px;height:2px;background:var(--line);overflow:hidden;position:relative}
#loader i::after{content:"";position:absolute;inset:0;width:30%;background:var(--cyan);animation:load 1.2s infinite ease-in-out}
@keyframes load{0%{transform:translateX(-100%)}100%{transform:translateX(340%)}}

@media(max-width:700px){.tag.ph .l{display:none}.tag.ph .s{display:inline}#cap span{font-size:14px}#rail{top:58px;left:max(4vw,16px);right:max(4vw,16px);transform:none;flex-direction:row;gap:5px}#rail button,#rail button.pj,#rail button.bl{flex:1;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;min-height:0;margin:0;padding:8px 0}#rail button span{display:none}#rail button::before{content:"";height:3px;border-radius:2px;background:rgba(255,255,255,.22);transition:background .3s,box-shadow .3s}#rail button i{display:none}#rail button.done::before{background:rgba(95,212,255,.45)}#rail button.on::before{background:var(--cyan);box-shadow:0 0 8px rgba(95,212,255,.7)}.tag .box{font-size:12px}.tag .stem{height:20px}#cap b{font-size:44px}.tag.ph .box{font-size:16px;gap:8px;padding:5px 12px 5px 5px}.tag.ph .box i{width:26px;height:26px;font-size:14px}}
@media(prefers-reduced-motion:reduce){#info{transition:none}html{scroll-behavior:auto}#snd.on .eq i{animation:none;height:10px}.hint svg,#loader i::after{animation:none}}
