
:root{--g:#b51224;--d:#111111;--gold:#ffffff;--red:#c8102e}*{box-sizing:border-box}body{margin:0;font-family:'Geeza Pro','Noto Naskh Arabic','Arial',Tahoma,sans-serif;color:#151515;background:#fff}button,input,textarea{font:inherit}button{cursor:pointer}
#intro{min-height:100svh;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:18px;color:white;background:linear-gradient(120deg,#090909d9 0%,#171717bd 48%,#9d1025b8 100%),url("assets/original-background-0.jpg") center/cover no-repeat}
#intro:before{content:"";position:absolute;inset:12px;border:1px solid #ffffff80;pointer-events:none}.entry,.entry *{pointer-events:auto}.plane{pointer-events:none}
.entry{position:relative;z-index:3;width:min(100%,680px);padding:clamp(18px,4vw,34px);text-align:center;border:1px solid #ffffff8c;border-radius:25px;background:linear-gradient(145deg,#ffffff20,#00000038);backdrop-filter:blur(9px);box-shadow:0 22px 65px #0008}
.logos{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-items:center;gap:clamp(24px,7vw,64px);width:min(100%,560px);margin:0 auto 18px;padding:8px 12px;direction:ltr}.logo{flex:0 1 42%;width:42%;min-width:0;height:clamp(88px,20vw,132px);background:transparent;border:0;padding:0;display:flex;align-items:center;justify-content:center;overflow:visible}.logo img{display:block;width:100%;height:100%;max-width:220px;object-fit:contain;position:static;filter:drop-shadow(0 3px 8px #0008)}
.school{font-weight:bold;font-size:clamp(17px,3vw,23px);margin:10px 0 3px}.small{font-size:12px;color:#f1e8d5}.kicker{color:#f0d9a5;font-size:12px;letter-spacing:2px;margin-top:15px}
h1{font-size:clamp(38px,8vw,68px);font-weight:900;margin:10px 0;color:#fff;text-shadow:0 4px 18px #0009;letter-spacing:-1px}h1 span{color:#ff263f}.desc{line-height:2;margin:8px}
.fp{width:108px;height:108px;border-radius:50%;border:2px solid #fff;background:linear-gradient(145deg,#ed1b36,#850b1c);color:white;display:grid;place-items:center;margin:18px auto 10px;box-shadow:0 0 0 9px #ffffff20,0 12px 30px #0008;transition:.2s;position:relative;z-index:20;cursor:pointer;touch-action:manipulation;pointer-events:auto}.fp:hover{transform:scale(1.07)}.fp svg{width:54px;height:54px}.hint{font-size:13px;color:#fff;font-weight:700}
.controls{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:14px}.controls button,.controls label{background:#ffffff20;border:1px solid #ffffff70;color:white;border-radius:24px;padding:8px 12px;font-size:12px}#audioFile{display:none}
.credits{font-size:12px;line-height:2;border-top:1px solid #ffffff55;padding-top:10px;margin-top:14px}
.plane{position:absolute;z-index:2;left:-35%;top:16%;width:150px;opacity:0;pointer-events:none}.plane svg{width:100%;fill:#eef2eb}#intro.fly .plane{animation:fly 5s linear forwards}#intro.fly .p2{top:29%;animation-delay:.6s;transform:scale(.72)}#intro.fly .p3{top:10%;animation-delay:1.2s;transform:scale(.55)}@keyframes fly{0%{left:-35%;opacity:0;filter:drop-shadow(0 0 0 #fff0)}8%{opacity:1}90%{opacity:.95}100%{left:120%;opacity:0;filter:drop-shadow(0 0 18px #fff)}}
/* cinematic entrance enhancement */
#intro:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 45%,#ffffff12 0%,transparent 58%),linear-gradient(0deg,#0008,transparent 38%,#0005);z-index:1}
#intro:after{content:"";position:absolute;inset:-40%;pointer-events:none;z-index:1;background:linear-gradient(115deg,transparent 42%,#ffffff14 49%,transparent 56%);transform:translateX(-70%);opacity:0}
#intro.cinematic:after{opacity:1;animation:lightSweep 2.1s ease-out both}
@keyframes lightSweep{to{transform:translateX(70%);opacity:0}}
#intro .entry{transition:transform .7s ease,opacity .7s ease,filter .7s ease}
#intro.cinematic .entry{transform:scale(1.035);filter:drop-shadow(0 0 24px #e8c56b88)}
.fp{animation:fingerprintPulse 2.4s ease-in-out infinite;box-shadow:0 0 0 9px #ffffff20,0 0 0 0 #ff263f77,0 12px 30px #0008}
@keyframes fingerprintPulse{0%,100%{box-shadow:0 0 0 9px #ffffff20,0 0 0 0 #ff263f66,0 12px 30px #0008}50%{box-shadow:0 0 0 13px #ffffff12,0 0 0 18px #ff263f00,0 12px 38px #000b}}
#intro .plane{filter:drop-shadow(0 4px 12px #fff8)}
#intro.fly .p1{animation:fly 3.1s cubic-bezier(.2,.6,.3,1) forwards}
#intro.fly .p2{animation:fly 3.3s cubic-bezier(.2,.6,.3,1) .22s forwards}
#intro.fly .p3{animation:fly 3.5s cubic-bezier(.2,.6,.3,1) .42s forwards}
#intro.launching .entry{opacity:.25;transform:scale(.96)}
@media(prefers-reduced-motion:reduce){.fp{animation:none}#intro.fly .plane,#intro.cinematic:after{animation-duration:.01ms}}

#app{display:none;min-height:100vh;background:linear-gradient(#f6f5f0eF,#f6f5f0f2),url("assets/original-background-1.jpg") center/cover fixed}
header{padding:20px;text-align:center;color:white;background:linear-gradient(120deg,#090909,#b51224)}.headlogos{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-items:center;gap:clamp(18px,5vw,38px);direction:ltr;min-height:76px}.headlogos img{display:block;flex:0 1 120px;width:min(28vw,130px);height:70px;max-width:130px;object-fit:contain;position:static;background:transparent;border:0;padding:0;filter:drop-shadow(0 2px 6px #0008)}header h2{margin:8px;font-size:28px}header p{margin:4px;line-height:1.8}
.wrap{max-width:950px;margin:auto;padding:15px}.tabs{display:flex;gap:8px;overflow:auto;padding:4px 0 14px}.tabs button{white-space:nowrap;border:1px solid #d6dcd5;background:white;color:#111;border-radius:24px;padding:10px 14px}.tabs button.active{background:#b51224;color:white;border-color:#b51224}
.panel{display:none}.panel.active{display:block;animation:fade .3s}@keyframes fade{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
.card{background:#fffefaed;border:1px solid #e2e4dc;border-radius:16px;padding:19px;margin:11px 0;box-shadow:0 7px 24px #183b260a}h3{color:#b51224;margin:0 0 12px}p{line-height:1.95}.banner{background:linear-gradient(120deg,#06452e,#087348);color:white;padding:17px;border-radius:13px;text-align:center;line-height:2;font-weight:bold}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.tile{background:#f7f6f0;border:1px solid #e5e4da;border-radius:13px;text-align:center;padding:16px}.tile strong{display:block;color:var(--g);margin:8px}
.btn{border:0;background:#b51224;color:white;border-radius:10px;padding:11px 16px;margin:5px}.alt{background:white;color:#111;border:1px solid #b51224}input,textarea{width:100%;padding:12px;border:1px solid #d6ddd5;border-radius:10px;margin:6px 0;background:white}
.wallitem{background:#f6f5ef;border-right:4px solid var(--gold);padding:12px;margin:9px 0;border-radius:8px}.muted{font-size:12px;color:#68766e}footer{text-align:center;padding:20px;font-size:12px;line-height:2}
@media(max-width:540px){.entry{padding:18px 12px}.logo{height:75px}.fp{width:90px;height:90px}.wrap{padding:10px}}@media print{body *{visibility:hidden}#cert,#cert *{visibility:visible}#cert{position:absolute;inset:0}}
@media(max-width:420px){.entry{padding:18px 14px}.logos{gap:20px}.logo{height:88px}.headlogos{gap:14px}.headlogos img{width:112px;height:60px}}\n/* National video experience */
.value-videos{margin-top:24px}.value-videos h3{font-size:1.25rem;margin:0 0 8px}.video-intro{color:#666;line-height:1.9;margin:0 0 16px}.video-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px}.video-card{position:relative;min-height:150px;border:1px solid #e5d5d5;border-radius:18px;padding:16px 12px;color:#fff;text-align:center;overflow:hidden;background:linear-gradient(145deg,#111,#5d101c);box-shadow:0 10px 26px #00000016;transition:transform .25s,box-shadow .25s}.video-card:nth-child(2n){background:linear-gradient(145deg,#10251e,#08734c)}.video-card:active{transform:scale(.97)}.video-card .vicon{font-size:36px;display:block;margin-bottom:10px;filter:drop-shadow(0 4px 6px #0008)}.video-card strong{display:block;font-size:15px}.video-card small{display:block;color:#f3dddd;margin-top:7px;line-height:1.6}.video-card:after{content:"";position:absolute;inset:auto -30% -75% -30%;height:100px;background:#ffffff18;transform:rotate(-12deg)}#videoModal{position:fixed;inset:0;z-index:99999;background:#050505ed;display:none;align-items:center;justify-content:center;padding:18px}#videoModal.show{display:flex}.video-dialog{width:min(900px,100%);background:#111;color:white;border:1px solid #ffffff26;border-radius:22px;overflow:hidden;box-shadow:0 24px 90px #0009}.video-dialog-head{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;background:linear-gradient(90deg,#171717,#64101d)}.video-dialog-head h3{margin:0;font-size:18px}.video-close{background:#fff;color:#111;border:0;border-radius:50%;width:38px;height:38px;font-size:24px}.video-frame{position:relative;aspect-ratio:16/9;background:radial-gradient(circle at 50% 35%,#355d4b,#101010 65%);display:flex;align-items:center;justify-content:center}.video-frame iframe,.video-frame video{width:100%;height:100%;border:0}.video-fallback{padding:28px;text-align:center;line-height:2}.video-fallback a{display:inline-block;margin-top:10px;background:#b51224;color:#fff;text-decoration:none;padding:10px 18px;border-radius:30px}.video-note{padding:12px 18px;color:#ddd;font-size:13px;line-height:1.8}.tab-flash{animation:tabFlash .75s ease}@keyframes tabFlash{0%{box-shadow:inset 0 0 0 999px #b5122422;transform:translateY(8px);opacity:.7}100%{box-shadow:inset 0 0 0 999px transparent;transform:none;opacity:1}}@media(prefers-reduced-motion:reduce){.video-card,.tab-flash{animation:none;transition:none}}


/* Premium national landing page refresh */
:root{--sa-green:#075b3e;--sa-deep:#082d25;--sa-red:#a80f27;--sa-gold:#d9b66d}
body{background:linear-gradient(180deg,#f8f7f2,#f1eee6);color:#17231e}
header{background:linear-gradient(115deg,#071f1b 0%,#0b5039 54%,#9f1028 100%);padding:30px 18px 26px;position:relative;overflow:hidden}
header:after{content:"";position:absolute;inset:auto -10% -75px -10%;height:140px;border-radius:50%;background:#ffffff0d}
header h2,header p{position:relative;z-index:1}
nav.tabs{display:none}
#app .wrap{max-width:1120px;margin:auto;padding:18px}
.hero-home{position:relative;overflow:hidden;text-align:center;padding:38px 24px 34px;border-radius:28px;color:#fff;background:radial-gradient(circle at 85% 15%,#d7b36b55,transparent 25%),linear-gradient(135deg,#061e19,#0a6043 58%,#971126);box-shadow:0 18px 45px #092f242b}
.hero-home:before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 25%,#ffffff12 50%,transparent 70%);transform:translateX(-100%);animation:heroShine 7s ease-in-out infinite}
@keyframes heroShine{0%,45%{transform:translateX(-100%)}70%,100%{transform:translateX(100%)}}
.hero-kicker,.section-eyebrow{letter-spacing:.08em;font-size:12px;font-weight:800;color:var(--sa-gold)}
.hero-home h2{font-size:clamp(34px,7vw,58px);line-height:1.25;margin:16px 0 8px;color:#fff}
.hero-home h2 span{color:#f1d58d}
.hero-lead{font-size:clamp(16px,3vw,21px);line-height:1.9;margin:0 auto;max-width:720px}
.hero-rule{width:90px;height:3px;background:var(--sa-gold);margin:20px auto;border-radius:5px}
.hero-director{font-size:16px;line-height:1.8;margin:0}.hero-director strong{font-size:23px;color:#f5d995}
.hero-byline{font-size:13px;color:#f2e9d7;margin:8px 0 0}
.leaders-section,.home-navigation{padding:34px 4px 12px;text-align:center}
.leaders-section h3,.home-navigation h3{font-size:25px;margin:8px 0 22px;color:#123c2e}
.leaders-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;text-align:right}
.leader-card{background:#fff;border:1px solid #e8e1d4;border-radius:22px;overflow:hidden;box-shadow:0 12px 30px #1c33200d}
.leader-photo{height:250px;background:linear-gradient(135deg,#0b3227,#a8864e);display:flex;justify-content:center;align-items:center;overflow:hidden}
.leader-photo img{width:100%;height:100%;object-fit:contain;object-position:center top}
.king-photo{background:linear-gradient(135deg,#15231e,#aa8a54)}.crown-photo{background:linear-gradient(135deg,#102f26,#92713e)}
.leader-copy{padding:18px 18px 20px}
.leader-copy span{font-size:12px;color:#8b7651;font-weight:700}
.leader-copy h4{font-size:17px;line-height:1.6;margin:6px 0 9px;color:#153e30}
.leader-copy p{font-size:15px;line-height:1.9;margin:0;color:#3f4c45}
.leader-copy small{display:block;margin-top:8px;color:#8b8b80;font-size:10px}
.photo-credit{font-size:10px;color:#8a8a80;text-align:center;margin:12px 0}
.welcome-card{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid #e8e2d7;border-radius:22px;padding:22px;margin:22px 0;box-shadow:0 12px 28px #193b280b}
.welcome-mark{font-size:38px;flex-shrink:0}.welcome-card h3{color:var(--sa-red);font-size:22px;margin:0 0 7px}.welcome-card p{line-height:1.9;margin:0;color:#48534d}
.home-nav-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.home-nav-card{border:1px solid #e5dfd2;border-radius:19px;background:linear-gradient(145deg,#fff,#f7f6f0);padding:18px 10px;min-height:128px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#183e30;box-shadow:0 7px 20px #1d35200a;transition:transform .2s,box-shadow .2s}
.home-nav-card:active{transform:scale(.96)}.home-nav-card span{font-size:29px}.home-nav-card b{font-size:15px}.home-nav-card small{font-size:11px;color:#7c827c}
.values-feature{border:1px solid #e5dfd2;border-radius:26px;background:linear-gradient(160deg,#fff,#f7f4eb);padding:26px}
.values-feature h3{font-size:30px;color:#0b5139;margin:7px 0}
.values-lead{line-height:2;font-size:16px;color:#46534c}
.featured-video{border:0;cursor:pointer;text-align:center;font:inherit;width:100%;min-height:240px;border:0;border-radius:22px;margin:18px 0 5px;color:#fff;background:linear-gradient(0deg,#071c17dd,#071c1733),url('https://portalcdn.spa.gov.sa/backend/original/202602/XMan9LEBWCjwej4jPn9NwsnpbfKBzns9YJdiUo6x.jpg') center/cover,linear-gradient(135deg,#0b563d,#111);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;box-shadow:0 15px 35px #0a352722}
.featured-play{display:grid;place-items:center;width:66px;height:66px;border-radius:50%;background:#fff;color:#a50e27;font-size:24px;padding-right:4px;box-shadow:0 0 0 10px #ffffff24}
.featured-video-title{font-size:clamp(20px,4vw,27px);font-weight:800}.featured-video-sub{font-size:13px;color:#eee}
.video-caption{font-size:12px;color:#777}
.values-pillars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px}
.values-pillars div{background:#fff;border:1px solid #e8e4da;border-radius:15px;padding:14px;text-align:center}
.values-pillars b,.values-pillars small{display:block}.values-pillars b{color:#0d5039}.values-pillars small{font-size:12px;color:#777;margin-top:5px}
#nationalTransition{position:fixed;inset:0;z-index:100000;background:radial-gradient(circle at center,#164c3b,#061511 78%);display:none;align-items:center;justify-content:center;overflow:hidden;color:white}
#nationalTransition.show{display:flex;animation:sceneIn .35s ease}
@keyframes sceneIn{from{opacity:0}to{opacity:1}}
.scene-title{position:absolute;bottom:13%;font-size:clamp(21px,5vw,34px);font-weight:800;text-align:center;text-shadow:0 3px 15px #000}
.scene-symbol{font-size:clamp(70px,20vw,150px);filter:drop-shadow(0 10px 18px #0009);animation:sceneMotion 1.7s ease-in-out both}
.scene-symbol.plane{animation:planeFly 1.8s ease-in-out both}
.scene-symbol.cannon{animation:cannonMove 1.7s ease both}
.scene-symbol.rocket{animation:rocketRise 1.7s ease both}
.scene-symbol.soldiers{animation:soldierMarch 1.7s ease both}
.scene-symbol.flag{animation:flagWave 1.7s ease both}
@keyframes sceneMotion{0%{transform:scale(.5);opacity:0}35%{opacity:1}100%{transform:scale(1.08);opacity:1}}
@keyframes planeFly{0%{transform:translateX(-120vw) rotate(-8deg);opacity:0}25%{opacity:1}100%{transform:translateX(120vw) rotate(-8deg);opacity:0}}
@keyframes cannonMove{0%{transform:translateX(-30vw) scale(.7);opacity:0}40%{opacity:1;transform:translateX(0) scale(1)}100%{transform:translateX(20vw) scale(1.08);opacity:0}}
@keyframes rocketRise{0%{transform:translateY(80vh) rotate(-25deg);opacity:0}30%{opacity:1}100%{transform:translateY(-80vh) rotate(-25deg);opacity:0}}
@keyframes soldierMarch{0%{transform:translateX(-60vw);opacity:0}25%{opacity:1}100%{transform:translateX(60vw);opacity:0}}
@keyframes flagWave{0%{transform:scale(.7) rotate(-8deg);opacity:0}35%{opacity:1}100%{transform:scale(1.15) rotate(5deg);opacity:1}}
.final-flag{margin:34px auto 10px;padding:22px;text-align:center;background:linear-gradient(135deg,#062d20,#0a6745);color:white;border-radius:22px;overflow:hidden}
.final-flag .flag-emoji{font-size:76px;display:inline-block;transform-origin:left center;animation:flagWave 3s ease-in-out infinite alternate}
.final-flag p{margin:8px 0 0;font-weight:700}
#valuesVideoModal{position:fixed;inset:0;background:#030907ed;z-index:100001;display:none;align-items:center;justify-content:center;padding:16px}
#valuesVideoModal.show{display:flex}
.values-video-box{width:min(920px,100%);background:#111;border-radius:20px;overflow:hidden;color:#fff}
.values-video-box header{display:flex;justify-content:space-between;align-items:center;padding:10px 15px}
.values-video-box button{border:0;border-radius:50%;width:38px;height:38px;font-size:22px}
.values-video-box iframe{width:100%;aspect-ratio:16/9;border:0;display:block}
@media(max-width:650px){.leaders-grid{grid-template-columns:1fr}.leader-photo{height:270px}.home-nav-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-home{padding:30px 18px}.welcome-card{align-items:flex-start}.values-pillars{grid-template-columns:1fr 1fr}}


/* V3: fixed mobile navigation + cinematic translucent transitions */
nav.tabs{
 display:flex;position:sticky;top:0;z-index:9999;
 gap:8px;padding:10px 12px;margin:0;
 overflow-x:auto;overscroll-behavior-x:contain;white-space:nowrap;
 background:rgba(7,39,30,.88);backdrop-filter:blur(18px) saturate(160%);
 -webkit-backdrop-filter:blur(18px) saturate(160%);
 border-bottom:1px solid #d9b66d66;box-shadow:0 8px 24px #071e1733;
 scrollbar-width:none
}
nav.tabs::-webkit-scrollbar{display:none}
nav.tabs button{
 flex:0 0 auto;border:1px solid #ffffff55;
 border-radius:999px;background:#ffffff12;color:#fff;
 padding:11px 17px;font-size:14px;font-weight:700;
 box-shadow:inset 0 1px #ffffff22;transition:all .22s ease
}
nav.tabs button.active{background:linear-gradient(135deg,#c8a45c,#f0d99c);color:#10291f;border-color:#f5dfa8;box-shadow:0 5px 18px #d8b66d44}
.leader-photo{position:relative;background:linear-gradient(135deg,#0c382b,#b6975b);isolation:isolate}
.leader-photo:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(135deg,#ffffff18,transparent 35%,#061b1522);mix-blend-mode:screen}
.leader-photo img{position:relative;z-index:1;object-fit:contain;padding:8px;filter:drop-shadow(0 14px 18px #0005)}
.king-photo img{object-position:center 18%}
.crown-photo img{object-position:center 18%}
#nationalTransition{background:radial-gradient(ellipse at 50% 45%,#2c8065cc 0%,#0b3a2fef 42%,#041510 100%);perspective:1100px}
#nationalTransition:before,#nationalTransition:after{content:"";position:absolute;inset:-30%;pointer-events:none}
#nationalTransition:before{background:repeating-linear-gradient(118deg,transparent 0 70px,#ffffff0b 72px,transparent 75px 145px);transform:translateX(-8%);animation:glassSweep 2.8s linear infinite}
#nationalTransition:after{background:radial-gradient(circle at 20% 30%,#ffffff24 0 1px,transparent 3px),radial-gradient(circle at 70% 65%,#d8b66d55 0 2px,transparent 4px);background-size:170px 150px,230px 190px;animation:particleDrift 5s linear infinite}
@keyframes glassSweep{to{transform:translateX(8%)}}
@keyframes particleDrift{to{background-position:90px -80px,-100px 120px}}
.scene-symbol{position:relative;z-index:2;font-size:clamp(90px,24vw,190px);filter:drop-shadow(0 20px 25px #0009);text-shadow:0 0 35px #d9b66d77;transform-style:preserve-3d}
.scene-symbol.plane{animation:planeGlass 2s cubic-bezier(.2,.7,.2,1) both}
.scene-symbol.cannon{animation:cannonGlass 1.8s ease both}
.scene-symbol.rocket{animation:rocketGlass 1.8s ease both}
.scene-symbol.soldiers{animation:soldierGlass 1.8s ease both}
.scene-symbol.flag{animation:flagGlass 2s ease both}
@keyframes planeGlass{0%{transform:translate3d(-100vw,25vh,-300px) rotateY(-35deg) rotateZ(-12deg);opacity:0}30%{opacity:1}100%{transform:translate3d(100vw,-15vh,160px) rotateY(25deg) rotateZ(-8deg);opacity:0}}
@keyframes cannonGlass{0%{transform:translate3d(-45vw,20vh,-250px) rotateY(30deg) scale(.45);opacity:0}35%{opacity:1}70%{transform:translate3d(0,0,180px) scale(1.12)}100%{transform:translate3d(25vw,-10vh,80px) scale(.85);opacity:0}}
@keyframes rocketGlass{0%{transform:translate3d(15vw,90vh,-200px) rotateZ(-25deg) scale(.5);opacity:0}30%{opacity:1}100%{transform:translate3d(-15vw,-90vh,220px) rotateZ(-25deg) scale(1.15);opacity:0}}
@keyframes soldierGlass{0%{transform:translate3d(-65vw,10vh,-180px) rotateY(-25deg);opacity:0}25%{opacity:1}100%{transform:translate3d(65vw,-4vh,120px) rotateY(20deg);opacity:0}}
@keyframes flagGlass{0%{transform:translate3d(0,20vh,-200px) rotateY(-35deg) scale(.45);opacity:0}35%{opacity:1}100%{transform:translate3d(0,-2vh,180px) rotateY(12deg) scale(1.12);opacity:1}}
@media(max-width:650px){nav.tabs{top:0;padding:9px 8px}nav.tabs button{font-size:13px;padding:10px 14px}}


/* Large interactive tree of belonging */
.tree-intro{text-align:center;padding:12px 12px 20px}
.tree-kicker{color:#b08b4e;font-size:13px;font-weight:800;letter-spacing:.08em}
.tree-intro h2{font-size:clamp(29px,6vw,44px);color:#0b5038;margin:9px 0}
.tree-intro p{color:#68756c;line-height:1.9;margin:0}
.tree-stage{position:relative;max-width:900px;margin:0 auto 22px;min-height:570px;border-radius:30px;overflow:hidden;background:radial-gradient(ellipse at 50% 32%,#f4f8e8 0%,#e4efdc 48%,#d1e1cd 100%);box-shadow:inset 0 0 70px #ffffffa8,0 18px 45px #234d3218}
.tree-sun{position:absolute;width:240px;height:240px;border-radius:50%;background:#fff8d8;filter:blur(35px);opacity:.75;top:15px;left:calc(50% - 120px)}
.real-tree{position:relative;z-index:1;width:100%;height:auto;display:block;max-height:650px}
.tree-ground{position:absolute;bottom:12px;left:0;right:0;text-align:center;color:#0a5639;font-weight:800;font-size:16px;z-index:3}
.tree-fingerprints{position:absolute;inset:0;z-index:4;pointer-events:none}
.tree-fingerprint{position:absolute;pointer-events:auto;border:2px solid #fff;border-radius:50%;width:42px;height:42px;display:grid;place-items:center;background:radial-gradient(circle at 35% 25%,#fff7d6,#d7ad60 55%,#99702f);box-shadow:0 4px 12px #173c2c55,0 0 0 4px #ffffff55;color:#143e2b;font-size:21px;transform:translate(-50%,-50%);animation:fingerprintPop .55s cubic-bezier(.2,1.4,.4,1) both;cursor:pointer}
.tree-fingerprint:nth-child(3n){background:radial-gradient(circle at 35% 25%,#fff,#b7e4c0 55%,#27814c)}
.tree-fingerprint:nth-child(3n+1){background:radial-gradient(circle at 35% 25%,#fff,#f1c2c8 55%,#a91b35)}
@keyframes fingerprintPop{from{transform:translate(-50%,-50%) scale(0);opacity:0}to{transform:translate(-50%,-50%) scale(1);opacity:1}}
.tree-actions{max-width:720px;margin:0 auto 24px;padding:24px;border:1px solid #e6e1d5;border-radius:24px;background:#fff;box-shadow:0 12px 35px #142e1c0d;text-align:center}
.tree-actions h3{color:#0b5038;font-size:23px;margin:0 0 7px}
.tree-actions p{color:#6d786f;line-height:1.8}
.tree-actions input,.tree-actions textarea{width:100%;margin:7px 0;padding:14px 15px;border:1px solid #d9dfd4;border-radius:14px;background:#fbfcf8;font:inherit;text-align:right;box-sizing:border-box}
.tree-actions textarea{resize:vertical}
.tree-actions .btn{width:100%;border:0;border-radius:15px;padding:15px;background:linear-gradient(100deg,#075b3e,#168354);color:white;font:inherit;font-weight:800;box-shadow:0 8px 20px #0c593a33}
.tree-storage-note{display:block;color:#8a8d86;line-height:1.7;margin-top:12px;font-size:11px}
.tree-message-modal{position:fixed;inset:0;z-index:100005;background:#061a12d9;display:none;align-items:center;justify-content:center;padding:18px}
.tree-message-modal.show{display:flex}
.tree-message-card{position:relative;width:min(440px,100%);padding:30px 24px;border-radius:26px;background:linear-gradient(150deg,#fffef8,#edf5e9);text-align:center;box-shadow:0 24px 80px #0007}
.tree-message-card #treeMessageClose{position:absolute;top:10px;left:12px;border:0;background:#e6eee4;border-radius:50%;width:36px;height:36px;font-size:24px}
.fingerprint-large{font-size:48px;margin-bottom:8px}
.tree-message-card small{color:#9a7942;font-weight:700}
.tree-message-card h3{color:#0b563b;margin:10px 0}
.tree-message-card p{font-size:18px;line-height:2;color:#33483b;white-space:pre-wrap;overflow-wrap:anywhere}
.tree-message-card span{color:#0b563b;font-weight:800}
@media(max-width:600px){.tree-stage{min-height:390px;border-radius:20px}.tree-fingerprint{width:34px;height:34px;font-size:17px}.tree-actions{padding:18px 14px}}


/* Refined glass aircraft formation */
#intro .plane{opacity:.34;filter:drop-shadow(0 5px 14px #d8e7ef55);mix-blend-mode:screen}
#intro .plane svg{fill:#e9f3f4;stroke:#ffffff;stroke-width:1.1;opacity:.72}
#intro .p1{top:19%;transform:scale(.92);opacity:.43}
#intro .p2{top:38%;transform:scale(.66);opacity:.30}
#intro .p3{top:9%;transform:scale(.48);opacity:.24}
#intro.fly .p4{top:53%;animation:fly 5.4s linear .35s forwards;transform:scale(.40);opacity:.22}
#intro.fly .p5{top:25%;animation:fly 5.8s linear .72s forwards;transform:scale(.58);opacity:.28}
#intro.fly .p6{top:43%;animation:fly 5.2s linear 1.05s forwards;transform:scale(.34);opacity:.19}
.panel-homebar{display:flex;justify-content:flex-start;margin:0 0 14px}
.return-home{display:inline-flex;align-items:center;gap:8px;border:1px solid #c7d8cd;background:linear-gradient(135deg,#ffffffd9,#edf5efb8);backdrop-filter:blur(12px);color:#075238;border-radius:999px;padding:10px 18px;font:inherit;font-size:14px;font-weight:700;box-shadow:0 8px 24px #123d2610;cursor:pointer;transition:transform .2s,box-shadow .2s}
.return-home:active{transform:scale(.97);box-shadow:0 3px 12px #123d2620}


/* ===== منصة السعودية خط أحمر | واجهة تعليمية راقية ===== */
:root{--brand:#075238;--brand2:#0b7650;--accent:#c6a15b;--ink:#18352b;--paper:#f5f7f2}
body{background:#f4f6f1;color:var(--ink);font-family:"Tahoma","Arial",sans-serif}
#app{background:radial-gradient(ellipse at 12% 8%,#e2efe6 0,transparent 34%),linear-gradient(180deg,#f8faf6,#eef3ed)}
.wrap{width:min(1180px,94%);margin:0 auto;padding:clamp(12px,2vw,26px) 0 60px}
.panel{transform-origin:top center}
.panel.active{animation:platformEnter .55s cubic-bezier(.2,.75,.25,1)}
@keyframes platformEnter{from{opacity:0;transform:translateY(16px) scale(.992);filter:blur(3px)}to{opacity:1;transform:none;filter:blur(0)}}
.hero-home{position:relative;overflow:hidden;isolation:isolate;min-height:clamp(260px,35vw,410px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:right;padding:clamp(26px,6vw,68px);border:1px solid #ffffff66;border-radius:30px;color:white;background:linear-gradient(115deg,#052f23f2 0%,#075238ed 53%,#0b7650e8 100%);box-shadow:0 22px 60px #123c281c;margin:8px 0 28px}
.hero-home:before{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(circle at 12% 20%,#ffffff22 0 1px,transparent 2px),radial-gradient(circle at 80% 75%,#d6c18b25 0 2px,transparent 3px),linear-gradient(135deg,transparent 48%,#ffffff0c 49%,transparent 50%);background-size:34px 34px,54px 54px,100% 100%}
.hero-home:after{content:"🇸🇦";position:absolute;left:clamp(16px,6vw,70px);bottom:-30px;font-size:clamp(100px,20vw,220px);opacity:.10;filter:grayscale(.15);transform:rotate(-10deg);z-index:-1}
.hero-kicker{display:inline-flex;align-items:center;gap:9px;border:1px solid #ffffff44;background:#ffffff13;padding:8px 14px;border-radius:99px;color:#f4e6c5;font-size:13px;backdrop-filter:blur(8px)}
.hero-home h2{font-size:clamp(36px,7vw,72px);line-height:1.18;margin:20px 0 10px;color:#fff;letter-spacing:-1.5px}
.hero-home h2 span{color:#e9d39e;text-shadow:0 4px 24px #e8d19b35}
.hero-lead{font-size:clamp(16px,2.1vw,22px);color:#f4f7f1;max-width:680px;line-height:1.9;margin:0}
.hero-rule{width:90px;height:3px;border-radius:5px;background:linear-gradient(90deg,#d9bd7d,#fff0);margin:22px 0 12px}
.hero-director,.hero-byline{color:#f1f5ef;margin:3px 0;font-size:14px}
.leaders-section,.home-navigation{margin:28px 0 34px}
.section-eyebrow{color:#987b43;font-size:12px;font-weight:800;letter-spacing:.5px;margin-bottom:7px}
.leaders-section>h3,.home-navigation>h3{font-size:clamp(23px,3vw,32px);color:#174b36;margin:0 0 18px}
.leaders-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.leader-card{display:grid;grid-template-columns:minmax(110px, .72fr) 1.3fr;gap:18px;align-items:center;background:#ffffffd9;border:1px solid #e2e9df;border-radius:24px;padding:16px;box-shadow:0 12px 34px #1b4c2a0b;transition:transform .25s,box-shadow .25s}
.leader-card:hover,.home-nav-card:hover{transform:translateY(-4px);box-shadow:0 18px 42px #1b4c2a18}
.leader-photo{height:190px;border-radius:18px;overflow:hidden;background:linear-gradient(145deg,#e4eee5,#f7f3e9)}
.leader-photo img{width:100%;height:100%;object-fit:cover;object-position:top center}
.leader-copy span{font-size:12px;color:#9b7a3e;font-weight:700}
.leader-copy h4{font-size:18px;line-height:1.6;color:#164b35;margin:7px 0}
.leader-copy p{font-size:14px;line-height:1.9;color:#51675a;margin:0}
.leader-copy small{display:block;margin-top:10px;color:#9a9a8a;font-size:11px}
.home-nav-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.home-nav-card{position:relative;overflow:hidden;min-height:150px;text-align:right;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;padding:22px;border:1px solid #e1e9df;border-radius:22px;background:linear-gradient(145deg,#ffffff,#f5f8f3);color:#194b36;box-shadow:0 9px 25px #1b4c2a0a;transition:transform .25s,box-shadow .25s,border-color .25s}
.home-nav-card:before{content:"";position:absolute;width:120px;height:120px;border-radius:50%;left:-38px;top:-42px;background:#dcebdd80}
.home-nav-card span{position:relative;display:grid;place-items:center;width:43px;height:43px;border-radius:14px;background:#e9f2e8;font-size:22px}
.home-nav-card b{position:relative;font-size:18px;color:#164b35}
.home-nav-card small{position:relative;font-size:12px;color:#718176}
.panel-homebar{margin:0 0 18px}
.return-home{background:#fff;border:1px solid #dce8dc;color:#14583b;box-shadow:0 6px 18px #19452b0c}
.card,.values-feature,.tree-intro,.tree-actions{border:1px solid #e3eae1;border-radius:24px;box-shadow:0 12px 34px #193e260c;background:#ffffffed;padding:clamp(18px,3vw,30px)}
.card h3,.values-feature h3{font-size:clamp(22px,3vw,30px);color:#14583b}
.banner{background:linear-gradient(120deg,#075238,#0b7650);border:1px solid #ffffff20;box-shadow:inset 0 1px #ffffff2a}
.values-pillars{gap:12px}
.values-pillars>div{border:1px solid #e0e9df;border-radius:18px;background:linear-gradient(145deg,#fff,#f2f7f1);padding:18px}
.featured-video{border-radius:24px;min-height:220px;box-shadow:0 18px 45px #082f2133}
.tree-stage{border-radius:28px;border:1px solid #e2e9df;box-shadow:0 16px 44px #1b4c2a10;overflow:hidden}
.tree-intro{text-align:center;margin-bottom:14px}
.tree-intro h2{color:#14583b;font-size:clamp(25px,4vw,38px)}
.tree-kicker{color:#9b7a3e;font-weight:800}
.tree-actions input,.tree-actions textarea{border:1px solid #dce6dc;border-radius:14px;background:#fbfdf9;padding:13px}
.btn{background:linear-gradient(120deg,#075238,#0b7650);border-radius:13px;padding:12px 20px;box-shadow:0 7px 18px #07523822}
.alt{background:#fff;color:#14583b;border:1px solid #d9e5d9}
#app header{border-radius:0 0 26px 26px;overflow:hidden}
@media(max-width:760px){
 .leaders-grid{grid-template-columns:1fr}
 .leader-card{grid-template-columns:105px 1fr;gap:12px;padding:12px}
 .leader-photo{height:150px}
 .home-nav-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .home-nav-card{min-height:130px;padding:16px}
 .hero-home{border-radius:23px;min-height:290px;padding:25px}
 .leader-copy h4{font-size:15px}
}
@media(max-width:390px){.home-nav-grid{grid-template-columns:1fr 1fr}.home-nav-card b{font-size:16px}}


.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.hero-action-primary,.hero-action-secondary{border-radius:999px;padding:12px 19px;font:inherit;font-size:13px;font-weight:800;cursor:pointer;transition:transform .2s,background .2s}
.hero-action-primary{background:#e8d39f;color:#173e2d;border:1px solid #f4e4bd}
.hero-action-secondary{background:#ffffff16;color:#fff;border:1px solid #ffffff65;backdrop-filter:blur(8px)}
.hero-action-primary:active,.hero-action-secondary:active{transform:scale(.97)}


/* Creative finishing touches */
.reading-progress{position:fixed;z-index:100020;top:0;right:0;left:0;height:3px;background:#0a50361a;pointer-events:none}
.reading-progress span{display:block;width:0;height:100%;background:linear-gradient(90deg,#d8bd7d,#0c7650);transition:width .12s}
.journey-strip{position:relative;overflow:hidden;margin:30px 0;padding:25px clamp(18px,4vw,38px);border-radius:26px;background:linear-gradient(115deg,#f8f4e9,#edf4eb);border:1px solid #e5e7d9}
.journey-strip:after{content:"";position:absolute;left:-45px;bottom:-95px;width:220px;height:220px;border:1px solid #c6a15b33;border-radius:50%;box-shadow:0 0 0 22px #c6a15b0b,0 0 0 44px #c6a15b08}
.journey-heading{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:20px}
.journey-heading span{font-size:12px;color:#9a7a42;font-weight:800}
.journey-heading b{font-size:21px;color:#174b36}
.journey-steps{display:flex;align-items:center;gap:12px;position:relative;z-index:1}
.journey-step{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}
.journey-step i{font-style:normal;font-size:11px;color:#a88a50;font-weight:900;letter-spacing:1px}
.journey-step b{font-size:17px;color:#15543a}
.journey-step small{font-size:12px;color:#6e7d71;line-height:1.7}
.journey-connector{height:1px;flex:.35;background:linear-gradient(90deg,#c5a15c88,#0c765044)}
.back-to-top{position:fixed;z-index:100010;left:20px;bottom:22px;width:46px;height:46px;border-radius:50%;border:1px solid #ffffffa6;background:#075238;color:white;font-size:23px;box-shadow:0 8px 24px #062f2040;opacity:0;visibility:hidden;transform:translateY(10px);transition:.25s;cursor:pointer}
.back-to-top.visible{opacity:1;visibility:visible;transform:none}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #c6a15b;outline-offset:3px}
.panel .card,.leader-card,.home-nav-card,.values-pillars>div{animation:softReveal .65s both}
@keyframes softReveal{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.journey-strip{padding:20px 16px}.journey-steps{gap:7px}.journey-step b{font-size:14px}.journey-step small{font-size:10px}.journey-connector{flex:.16}.journey-heading b{font-size:18px}.back-to-top{left:13px;bottom:14px}}


/* National pledge wall — editorial, cinematic, mature */
#wall{--deep:#052c22;--green:#0b5a40;--gold:#d7b66e;color:#eaf1e9}
#wall .panel-homebar{margin-bottom:14px}
#wall .pledge-hero{position:relative;overflow:hidden;isolation:isolate;min-height:260px;padding:clamp(28px,6vw,62px);border-radius:28px;background:radial-gradient(ellipse at 75% 10%,#1a7650 0,transparent 42%),linear-gradient(125deg,#031d17,#073c2c 60%,#092d23);border:1px solid #d9bd7545;box-shadow:0 24px 60px #071f1728}
#wall .pledge-hero:before{content:"";position:absolute;z-index:-1;inset:0;background:repeating-linear-gradient(135deg,transparent 0 44px,#ffffff06 45px 46px),radial-gradient(circle at 20% 80%,#d7b66e12,transparent 30%)}
#wall .pledge-orbit{position:absolute;z-index:-1;width:300px;height:300px;border:1px solid #d8b76b38;border-radius:50%;left:-50px;top:-120px;box-shadow:0 0 0 24px #d8b76b08,0 0 0 52px #d8b76b06}
#wall .pledge-kicker,#wall .pledge-form-head span,#wall .pledge-wall-head>div>span{font-size:11px;letter-spacing:1.5px;color:#e2c783;font-weight:800}
#wall .pledge-hero h2{font-size:clamp(36px,7vw,64px);color:#f4e6c1;margin:15px 0 8px;letter-spacing:-1px}
#wall .pledge-hero>p{max-width:560px;color:#d4e1d8;line-height:1.9;font-size:15px}
#wall .pledge-stat{display:flex;align-items:center;gap:12px;margin-top:24px}
#wall .pledge-stat strong{font-size:28px;color:#f1d58e}
#wall .pledge-stat span{font-size:12px;color:#c7d8cd}
#wall .pledge-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:16px;margin:18px 0 34px}
#wall .pledge-form{padding:clamp(20px,4vw,32px);border-radius:24px;background:#fff;border:1px solid #e4e9e2;box-shadow:0 15px 40px #173c260d;color:#173c2d}
#wall .pledge-form-head{display:flex;flex-direction:column;gap:9px;margin-bottom:22px}
#wall .pledge-form-head span{color:#9c7d43}
#wall .pledge-form-head b{font-size:23px;color:#164a36}
#wall .pledge-form label{display:block;margin:14px 0 6px;font-size:12px;font-weight:800;color:#385b49}
#wall .pledge-form label small{color:#999;font-weight:400}
#wall .pledge-form input,#wall .pledge-form textarea,#wall .pledge-form select{width:100%;box-sizing:border-box;border:1px solid #dce6dd;border-radius:12px;background:#f9fbf8;padding:13px 14px;color:#173c2d;font:inherit;font-size:14px;outline:none;transition:border .2s,box-shadow .2s}
#wall .pledge-form input:focus,#wall .pledge-form textarea:focus,#wall .pledge-form select:focus{border-color:#b89a5b;box-shadow:0 0 0 3px #c7a65a20}
#wall .pledge-form textarea{resize:vertical;min-height:94px}
#wall .pledge-form-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px}
#wall .pledge-form-foot small{font-size:11px;color:#8b958c}
#wall .pledge-submit{border:0;border-radius:12px;padding:13px 20px;background:linear-gradient(110deg,#07543b,#0b7650);color:white;font:inherit;font-weight:800;box-shadow:0 8px 20px #07523825;cursor:pointer}
#wall .pledge-submit span{margin-right:8px;color:#e9d59e}
#wall .pledge-local-note{font-size:10px;color:#89948a;line-height:1.7;margin:15px 0 0}
#wall .pledge-manifesto{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;padding:30px;border-radius:24px;background:linear-gradient(150deg,#e9efe7,#f7f4e9);border:1px solid #e3e5d8;color:#1b4b37}
#wall .manifesto-number{font-size:12px;color:#a7894f;font-weight:900;letter-spacing:2px}
#wall .manifesto-line{height:1px;width:52px;background:#bda36b;margin:18px 0}
#wall .pledge-manifesto p{font-size:clamp(20px,3vw,28px);line-height:1.9;font-weight:700;margin:0}
#wall .pledge-manifesto small{margin-top:22px;color:#8b7950;font-size:11px}
#wall .pledge-wall-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:0 0 16px}
#wall .pledge-wall-head h3{font-size:25px;color:#164a36;margin:7px 0 0}
#wall .pledge-wall-head>div>span{color:#9c7d43}
#wall .pledge-clear{border:1px solid #e3e6df;border-radius:10px;background:#fff;color:#8a625d;padding:9px 12px;font:inherit;font-size:10px;cursor:pointer}
#wall .pledge-wall{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
#wall .pledge-note{position:relative;padding:20px 21px 17px;border:1px solid #e2e9e1;border-radius:18px;background:linear-gradient(145deg,#fff,#f7faf6);box-shadow:0 9px 24px #143d2608;animation:pledgeIn .4s ease both}
@keyframes pledgeIn{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}
#wall .pledge-note:before{content:"“";position:absolute;left:15px;top:12px;font-family:Georgia,serif;font-size:48px;line-height:1;color:#d9c28b55}
#wall .pledge-note-top{display:flex;align-items:center;justify-content:space-between}
#wall .pledge-note-top span{font-size:10px;color:#97783f;font-weight:800}
#wall .pledge-note-top i{font-style:normal;font-size:10px;color:#9da99f}
#wall .pledge-note>p{font-size:16px;line-height:1.9;color:#244a37;margin:15px 0 18px;overflow-wrap:anywhere}
#wall .pledge-note footer{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #e9eee8;padding-top:11px}
#wall .pledge-note footer b{font-size:11px;color:#1c6345}
#wall .pledge-note footer small{font-size:10px;color:#9aa39a}
#wall .pledge-empty{grid-column:1/-1;padding:35px 18px;text-align:center;border:1px dashed #cbd9cc;border-radius:18px;color:#77877b;background:#f8faf7;font-size:13px}
@media(max-width:680px){#wall .pledge-layout{grid-template-columns:1fr}#wall .pledge-manifesto{min-height:180px}#wall .pledge-wall{grid-template-columns:1fr}#wall .pledge-wall-head h3{font-size:21px}#wall .pledge-form-foot{align-items:stretch;flex-direction:column}#wall .pledge-submit{width:100%}}


/* Rich editorial learning library */
.resource-library{margin:28px 0 10px;padding:clamp(20px,4vw,34px);border-radius:26px;background:linear-gradient(145deg,#062d22,#0a4934 70%,#073323);color:#edf4ed;box-shadow:0 20px 50px #06271c22;position:relative;overflow:hidden}
.resource-library:after{content:"";position:absolute;left:-80px;top:-110px;width:270px;height:270px;border:1px solid #d9bc7440;border-radius:50%;box-shadow:0 0 0 22px #d9bc7409,0 0 0 50px #d9bc7407;pointer-events:none}
.resource-heading{position:relative;z-index:1;margin-bottom:20px}
.resource-heading>span{font-size:10px;letter-spacing:1.7px;color:#d8bd7b;font-weight:800}
.resource-heading h3{font-size:clamp(23px,4vw,32px);color:#f6edda;margin:9px 0}
.resource-heading p{font-size:13px;line-height:1.9;color:#c5d7ca;margin:0;max-width:700px}
.resource-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.resource-video{min-height:190px;display:flex;flex-direction:column;align-items:flex-start;text-decoration:none;padding:18px;border:1px solid #ffffff24;border-radius:17px;background:linear-gradient(150deg,#ffffff12,#ffffff06);color:#f3f5ed;transition:transform .25s,border-color .25s,background .25s;position:relative;overflow:hidden}
.resource-video:before{content:"";position:absolute;inset:0;background:linear-gradient(125deg,transparent 25%,#ffffff0b 50%,transparent 75%);transform:translateX(-120%);transition:transform .7s}
.resource-video:hover{transform:translateY(-4px);border-color:#d8bd7b88;background:#ffffff18}
.resource-video:hover:before{transform:translateX(120%)}
.resource-play{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#d9bd78;color:#163b2b;font-size:13px;box-shadow:0 5px 18px #0003;margin-bottom:17px}
.resource-topic{font-size:10px;color:#e0c98d;letter-spacing:1px;font-weight:800}
.resource-video b{font-size:17px;margin:7px 0;color:#fff}
.resource-video small{font-size:11px;line-height:1.8;color:#c6d7cc}
.resource-video em{font-style:normal;margin-top:auto;padding-top:15px;font-size:11px;color:#e6d49f;font-weight:800}
.enriched-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:25px}
.value-module{position:relative;text-align:right;display:flex;flex-direction:column;align-items:flex-start;background:linear-gradient(145deg,#fff,#f6f8f3);border:1px solid #e0e8df;border-radius:20px;padding:20px;min-height:235px;box-shadow:0 10px 26px #153d2509;overflow:hidden;transition:transform .25s,box-shadow .25s}
.value-module:hover{transform:translateY(-4px);box-shadow:0 16px 34px #153d2518}
.value-index{font-size:10px;letter-spacing:1.5px;color:#a4864a;font-weight:900}
.value-module b{font-size:20px;color:#174b36;margin:8px 0}
.value-module p{font-size:12px;line-height:1.9;color:#647369;margin:0 0 14px}
.value-module a{margin-top:auto;text-decoration:none;background:#0a583d;color:#fff;border-radius:10px;padding:10px 13px;font-size:11px;font-weight:800;transition:background .2s}
.value-module a:hover{background:#0e7650}
.value-module small{font-size:10px;line-height:1.7;color:#9a865c;margin-top:12px}
#values .featured-video{display:flex;text-decoration:none;cursor:pointer}
@media(max-width:760px){.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.resource-video{min-height:180px;padding:15px}.enriched-values{grid-template-columns:1fr}.value-module{min-height:0}}
@media(max-width:390px){.resource-grid{grid-template-columns:1fr}}


.reference-shelf{margin:18px 0 10px;padding:22px;border:1px solid #e3e9df;border-radius:20px;background:#f7f8f3}
.reference-shelf>div:first-child>span{font-size:10px;color:#9b7d46;font-weight:900;letter-spacing:1px}
.reference-shelf h3{font-size:21px;color:#174b36;margin:7px 0}
.reference-shelf p{font-size:12px;line-height:1.8;color:#69776d}
.reference-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.reference-links a{padding:12px 14px;background:#fff;border:1px solid #e2e9df;border-radius:11px;color:#1a6043;text-decoration:none;font-size:11px;font-weight:800}
@media(max-width:600px){.reference-links{grid-template-columns:1fr}}


/* Premium white light choreography — multiple layers, soft not childish */
body:before,body:after{content:"";position:fixed;inset:0;pointer-events:none;z-index:9990;opacity:.22;mix-blend-mode:screen}
body:before{background:
 radial-gradient(ellipse 260px 90px at 8% 18%,#ffffff20,transparent 72%),
 radial-gradient(ellipse 210px 120px at 92% 35%,#ffffff17,transparent 70%),
 radial-gradient(ellipse 300px 100px at 54% 92%,#ffffff12,transparent 72%);
 animation:whiteAura 14s ease-in-out infinite alternate}
body:after{inset:-30%;background:linear-gradient(112deg,transparent 42%,#ffffff0a 47%,#ffffff30 49%,#ffffff08 51%,transparent 56%);transform:translateX(-55%) rotate(-8deg);animation:whiteSweep 12s ease-in-out infinite}
@keyframes whiteAura{0%{transform:translate3d(-1%,0,0);opacity:.12}100%{transform:translate3d(1.5%,1%,0);opacity:.32}}
@keyframes whiteSweep{0%,35%{transform:translateX(-65%) rotate(-8deg);opacity:0}48%{opacity:.8}72%,100%{transform:translateX(65%) rotate(-8deg);opacity:0}}
.panel{position:relative;isolation:isolate}
.panel.active{animation:panelCinematic .82s cubic-bezier(.16,.82,.24,1) both}
@keyframes panelCinematic{0%{opacity:0;transform:translateY(22px) scale(.986);filter:blur(7px)}48%{opacity:.8;filter:blur(1.5px)}100%{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}
.panel.active:before{content:"";position:absolute;z-index:5;pointer-events:none;top:-30%;bottom:-30%;left:-65%;width:34%;background:linear-gradient(100deg,transparent,#ffffff15,#ffffff55,#ffffff12,transparent);transform:skewX(-18deg);animation:panelLightPass 1.15s .12s ease-out both}
@keyframes panelLightPass{0%{left:-65%;opacity:0}18%{opacity:1}100%{left:140%;opacity:0}}
.visual-transition{position:fixed;inset:0;z-index:100100;pointer-events:none;opacity:0;visibility:hidden;background:radial-gradient(ellipse at 50% 48%,#ffffff35,transparent 42%),linear-gradient(115deg,transparent 25%,#ffffff22 48%,#ffffff09 52%,transparent 72%);backdrop-filter:blur(0);transition:opacity .18s ease}
.visual-transition i{position:absolute;width:5px;height:5px;border-radius:50%;background:#fff;box-shadow:0 0 12px 4px #ffffffa8,0 0 28px 9px #ffffff35;opacity:0}
.visual-transition i:nth-child(1){top:22%;left:18%}.visual-transition i:nth-child(2){top:34%;right:16%;width:3px;height:3px}
.visual-transition i:nth-child(3){bottom:24%;left:28%;width:4px;height:4px}.visual-transition i:nth-child(4){bottom:35%;right:24%;width:6px;height:6px}
.visual-transition i:nth-child(5){top:55%;left:52%;width:3px;height:3px}
.visual-transition.play{visibility:visible;opacity:1;animation:veilFlash .72s ease both}
.visual-transition.play i{animation:sparkFlash .72s ease both}
@keyframes veilFlash{0%{opacity:0;backdrop-filter:blur(0)}35%{opacity:1;backdrop-filter:blur(4px)}100%{opacity:0;backdrop-filter:blur(0)}}
@keyframes sparkFlash{0%,100%{opacity:0;transform:scale(.2)}35%{opacity:1;transform:scale(1.8)}70%{opacity:.7;transform:scale(.8)}}
.hero-home{overflow:hidden}
.hero-home:before{animation:heroGlow 9s ease-in-out infinite alternate}
@keyframes heroGlow{from{transform:translateX(-2%) scale(1)}to{transform:translateX(2%) scale(1.04)}}
.featured-video,.resource-video,.value-module,.home-nav-card,.leader-card{transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s,border-color .35s}
.featured-video:hover,.resource-video:hover,.value-module:hover,.home-nav-card:hover,.leader-card:hover{transform:translateY(-5px)}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms;animation-iteration-count:1;scroll-behavior:auto;transition-duration:.01ms}}


/* تجربة أفلام توعوية مصغرة مناسبة لطفل الروضة */
.child-film-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin:10px 0 6px;padding:11px 16px;border:1px solid #b9d5c4;border-radius:999px;background:linear-gradient(135deg,#eff8f1,#fff);color:#075238;font:inherit;font-weight:800;cursor:pointer;box-shadow:0 6px 18px #0b503012}
.child-film-trigger:active{transform:scale(.97)}
#childFilmPlayer{position:fixed;inset:0;z-index:100200;display:none;align-items:center;justify-content:center;padding:14px;background:#041b14ed;backdrop-filter:blur(12px)}
#childFilmPlayer.show{display:flex}
.child-film-shell{width:min(820px,100%);max-height:94vh;overflow:auto;border-radius:28px;background:linear-gradient(160deg,#fffef8,#edf6ef);box-shadow:0 28px 100px #0009;border:1px solid #ffffff88}
.child-film-head{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;background:linear-gradient(100deg,#06452f,#0c7650);color:white}
.child-film-head small{display:block;color:#dceee2;font-size:11px;margin-top:4px}
.child-film-close{border:0;border-radius:50%;width:40px;height:40px;background:#fff;color:#075238;font-size:25px}
.child-film-stage{position:relative;min-height:310px;margin:18px;border-radius:22px;overflow:hidden;display:grid;place-items:center;text-align:center;background:radial-gradient(circle at 50% 35%,#fff 0,#e7f4e9 45%,#c9e1d1 100%);border:1px solid #d6e7d9}
.child-film-sky{position:absolute;inset:0;background:linear-gradient(180deg,#e8f6ff 0 58%,#d7edcf 58% 100%)}
.child-film-sun{position:absolute;top:22px;left:28px;width:55px;height:55px;border-radius:50%;background:#ffe69a;box-shadow:0 0 0 13px #ffe69a44}
.child-film-cloud{position:absolute;color:white;font-size:48px;filter:drop-shadow(0 5px 4px #7ca8a455);animation:cloudDrift 8s linear infinite}
.child-film-cloud.one{top:28px;right:10%;}.child-film-cloud.two{top:88px;left:12%;animation-delay:-4s}
@keyframes cloudDrift{0%{transform:translateX(-12px)}50%{transform:translateX(15px)}100%{transform:translateX(-12px)}}
.child-film-characters{position:relative;z-index:2;display:flex;justify-content:center;align-items:end;gap:clamp(12px,5vw,38px);padding-top:38px}
.child-film-character{font-size:clamp(54px,12vw,90px);filter:drop-shadow(0 8px 5px #42634a33);animation:childBounce 1.8s ease-in-out infinite}
.child-film-character:nth-child(2){animation-delay:.25s}.child-film-character:nth-child(3){animation-delay:.5s}
@keyframes childBounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.child-film-prop{position:relative;z-index:2;font-size:clamp(40px,9vw,70px);margin-top:2px;filter:drop-shadow(0 5px 5px #425b3544)}
.child-film-caption{position:relative;z-index:3;width:min(92%,640px);margin:12px auto 18px;padding:14px 18px;border-radius:18px;background:#ffffffed;color:#174431;font-size:clamp(17px,3.8vw,23px);font-weight:900;line-height:1.8;box-shadow:0 7px 24px #264a3214}
.child-film-progress{height:6px;background:#dce9de;margin:0 18px;border-radius:99px;overflow:hidden}.child-film-progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,#0b7650,#d5b66c);transition:width .3s}
.child-film-controls{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;padding:14px 18px 20px}
.child-film-controls button{border:0;border-radius:999px;padding:12px 20px;font:inherit;font-weight:800;background:#075238;color:#fff}
.child-film-controls button.secondary{background:#e6efe7;color:#075238}
.child-film-foot{text-align:center;color:#6b7b6e;font-size:11px;padding:0 15px 16px}
.child-film-trigger:focus-visible,.child-film-controls button:focus-visible{outline:3px solid #d4aa50;outline-offset:3px}
/* حائط العهود: أوراق معلّقة بدبابيس */
.pledge-wall{align-items:start;gap:18px}
.pledge-note{position:relative;min-height:185px;padding:27px 19px 18px;border:1px solid #e6d9b8;border-radius:4px 4px 17px 17px;background:linear-gradient(145deg,#fffdf2,#fff7dc);box-shadow:0 12px 24px #2c3b261c, inset 0 0 24px #d6bb6b18;transform:rotate(var(--note-tilt, -1deg));transition:transform .25s,box-shadow .25s}
.pledge-note:nth-child(3n){--note-tilt:1.4deg;background:linear-gradient(145deg,#f4fbff,#e9f5ff);border-color:#cbdfea}
.pledge-note:nth-child(3n+1){--note-tilt:-1.2deg}
.pledge-note:nth-child(3n+2){--note-tilt:.8deg;background:linear-gradient(145deg,#f4fff6,#e8f5e9);border-color:#d0e5d1}
.pledge-note:hover{transform:translateY(-5px) rotate(0deg);box-shadow:0 18px 30px #2c3b2628}
.pledge-note:before{content:"";position:absolute;top:8px;left:calc(50% - 7px);width:14px;height:14px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff 0 12%,#d8ad53 18% 48%,#8c6323 72%);box-shadow:0 3px 5px #0003}
.pledge-note:after{content:"";position:absolute;top:19px;left:50%;height:15px;border-left:1px solid #9b814d;opacity:.6}
.pledge-note p{font-size:17px;line-height:1.9}
.pledge-wall-head h3:after{content:"لوحة رسائل يعلّق عليها أطفالنا عهودهم";display:block;font-size:12px;font-weight:500;color:#7a877c;margin-top:7px}
#nationalTransition{background:radial-gradient(ellipse at 50% 55%,#fff 0,#dce9ef 18%,#1c4c3e 52%,#031b14 100%)}
#nationalTransition .scene-symbol{display:none}
#nationalTransition .scene-title{bottom:12%;color:#fff;text-shadow:0 3px 22px #001a13;font-size:clamp(19px,4.5vw,32px)}
#nationalTransition:before,#nationalTransition:after{content:"";position:absolute;width:clamp(110px,25vw,230px);height:70px;background-repeat:no-repeat;background-position:center;background-size:contain;filter:drop-shadow(0 6px 12px #ffffffaa);opacity:0}
#nationalTransition:before{top:23%;left:-35%;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 90'%3E%3Cpath fill='%23fff' stroke='%23d9e8ed' stroke-width='2' d='M4 48 95 38 145 4 160 6 145 38 225 43 237 50 145 56 162 83 147 86 95 61 4 54Z'/%3E%3C/svg%3E")}
#nationalTransition:after{top:42%;right:-35%;transform:scaleX(-1);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 90'%3E%3Cpath fill='%23fff' stroke='%23d9e8ed' stroke-width='2' d='M4 48 95 38 145 4 160 6 145 38 225 43 237 50 145 56 162 83 147 86 95 61 4 54Z'/%3E%3C/svg%3E")}
#nationalTransition.show:before{animation:formationFly 1.65s ease-in-out both}
#nationalTransition.show:after{animation:formationFlyBack 1.8s ease-in-out .12s both}
@keyframes formationFly{0%{left:-35%;opacity:0;transform:translateY(35px) rotate(-7deg) scale(.65)}18%{opacity:1}80%{opacity:.95}100%{left:120%;opacity:0;transform:translateY(-25px) rotate(-7deg) scale(1.08)}}
@keyframes formationFlyBack{0%{right:-35%;opacity:0;transform:translateY(-25px) scaleX(-1) scale(.6)}18%{opacity:.9}100%{right:120%;opacity:0;transform:translateY(30px) scaleX(-1) scale(1.02)}}
@media(max-width:600px){.child-film-stage{min-height:270px}.pledge-note{min-height:155px}}


.transition-jet{position:absolute;width:clamp(72px,18vw,155px);height:56px;top:var(--jet-top);left:-30%;opacity:0;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 90'%3E%3Cpath fill='%23fff' stroke='%23dce8eb' stroke-width='2' d='M4 48 95 38 145 4 160 6 145 38 225 43 237 50 145 56 162 83 147 86 95 61 4 54Z'/%3E%3C/svg%3E");filter:drop-shadow(0 6px 12px #fff9)}
.jet-a{--jet-top:16%;--delay:0s}.jet-b{--jet-top:32%;--delay:.16s;transform:scale(.65)}.jet-c{--jet-top:48%;--delay:.32s;transform:scale(.82)}.jet-d{--jet-top:62%;--delay:.48s;transform:scale(.52)}
#nationalTransition.show .transition-jet{animation:jetFormation 1.7s cubic-bezier(.2,.7,.3,1) var(--delay) both}
@keyframes jetFormation{0%{left:-30%;opacity:0;translate:0 22px;rotate:-8deg}18%{opacity:.98}78%{opacity:.92}100%{left:125%;opacity:0;translate:0 -18px;rotate:-8deg}}
.child-film-trigger{min-height:42px}



.leader-video-card{cursor:pointer;position:relative;outline-offset:5px}.leader-video-card:after{content:'▶ اضغط لمشاهدة المواد المرئية';display:block;text-align:center;color:#b79a5b;font-size:12px;font-weight:700;padding:9px}.leader-video-card:hover{transform:translateY(-6px);box-shadow:0 22px 50px #0002}
.martyrs-hero{padding:52px 28px;text-align:center;color:#fff;border-radius:28px;background:radial-gradient(circle at 50% 0%,#49745d,#102d22 70%);margin:12px 0 22px}.martyrs-hero h2{font-size:clamp(28px,5vw,46px);margin:14px 0}.martyrs-hero p{max-width:760px;margin:auto;line-height:2;color:#e5eee7}.martyr-prayer{text-align:center;border:1px solid #c5b27e;background:linear-gradient(140deg,#fff,#f7f3e8);padding:30px}.martyr-prayer h3{color:#234b38;font-size:25px}.martyr-prayer p{font-size:18px;line-height:2.15;max-width:900px;margin:18px auto;color:#39483e}.prayer-mark{font-size:40px;color:#b99a57}.news-list{display:grid;gap:12px;margin-top:20px}.news-list a{display:grid;gap:6px;padding:18px;border:1px solid #e4e8df;border-radius:16px;text-decoration:none;color:#1c3e30;background:#fbfcf9}.news-list a:hover{border-color:#b59b61;transform:translateX(-3px)}.news-list small{color:#7b837b}.news-list span{color:#9b7a35;font-weight:700;font-size:13px}
#leaderMedia{position:fixed;inset:0;z-index:100001;background:#06130fed;display:none;align-items:center;justify-content:center;padding:18px}#leaderMedia.show{display:flex}.leader-media-box{width:min(760px,100%);background:#f8f7f1;border-radius:24px;padding:24px;box-shadow:0 25px 100px #0008}.leader-media-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.leader-media-head h3{margin:0;color:#19432f}.leader-media-close{border:0;border-radius:50%;width:40px;height:40px;font-size:25px;background:#e8e9e2}.leader-media-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-top:20px}.leader-media-options button{border:1px solid #d8dfd5;background:white;border-radius:16px;padding:18px;text-align:right;color:#244a36;cursor:pointer;line-height:1.8}.leader-media-options button:hover{border-color:#ad9253;background:#fbf8ef}.leader-media-options small{display:block;color:#7b817b}.tabs button[data-tab="martyrs"]{display:none}


body{background:radial-gradient(ellipse at 50% 0%,#174d40 0%,#061e19 56%,#020d0b 100%)}
.museum-entrance{width:min(1500px,96%);margin:24px auto 44px;perspective:1500px;position:relative}
.museum-image-wrap{position:relative;overflow:hidden;border:2px solid rgba(213,179,106,.8);border-radius:24px;background:#031f1b;box-shadow:0 35px 80px #000a,0 0 0 8px #d5b36a12,inset 0 0 45px #d5b36a22;transform:rotateX(1.2deg);isolation:isolate}
.museum-scene{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;transition:transform 1.1s cubic-bezier(.2,.7,.2,1),filter .8s}
.museum-image-wrap:hover .museum-scene{transform:scale(1.018);filter:saturate(1.06) brightness(1.04)}
.museum-image-shade{position:absolute;inset:0;background:linear-gradient(180deg,#00140d55 0%,transparent 24%,transparent 60%,#00140d66 100%);pointer-events:none}
.museum-brand{position:absolute;top:3%;left:50%;transform:translateX(-50%);width:min(80%,700px);text-align:center;color:#fff;text-shadow:0 3px 18px #000;pointer-events:none}
.museum-brand span{font-size:clamp(11px,1.3vw,18px);letter-spacing:.16em;color:#f2dfb4}
.museum-brand h2{font-size:clamp(22px,4.2vw,58px);margin:5px 0;font-weight:900}
.museum-brand h2 em{font-style:normal;color:#e12b32}
.museum-brand p{font-size:clamp(10px,1.4vw,17px);margin:0;color:#f7f0df}
.museum-enter{position:absolute;bottom:5%;left:50%;transform:translateX(-50%);border:1px solid #e3c783;background:linear-gradient(145deg,#0a493b,#03251e);color:#fff;padding:13px 34px;border-radius:13px;box-shadow:0 10px 35px #000b,0 0 18px #d6b56a55;cursor:pointer;font-weight:800;font-size:clamp(13px,1.6vw,19px);transition:.3s}
.museum-enter:hover{transform:translateX(-50%) translateY(-5px);box-shadow:0 17px 40px #000b,0 0 25px #e4c77c88}
.museum-enter span{color:#e3c783;margin-right:12px}
.museum-exhibit-heading{display:flex;align-items:end;justify-content:space-between;color:#f3e6c7;margin:25px 4px 14px}
.museum-exhibit-heading span{font-size:13px;color:#d9c28f}
.museum-exhibit-heading b{font-size:clamp(17px,2vw,25px)}
.museum-exhibits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.museum-plaque{position:relative;min-height:130px;padding:24px 18px 18px;text-align:center;color:#f7f0df;border:1px solid #c9a65e;border-radius:12px;background:linear-gradient(145deg,#164b3d,#06271f 65%,#031812);box-shadow:0 13px 28px #0008,inset 0 0 0 4px #d4b46a12,inset 0 0 25px #d4b46a13;transition:transform .35s,box-shadow .35s;cursor:pointer;overflow:hidden}
.museum-plaque:before{content:"";position:absolute;inset:6px;border:1px solid #d5b36a55;border-radius:8px;pointer-events:none}
.museum-plaque:after{content:"";position:absolute;top:-80%;left:-40%;width:35%;height:250%;background:linear-gradient(90deg,transparent,#fff3,transparent);transform:rotate(25deg);transition:left .65s}
.museum-plaque:hover{transform:translateY(-9px) rotateX(5deg);box-shadow:0 22px 36px #000a,0 0 22px #d5b36a33}
.museum-plaque:hover:after{left:130%}
.museum-plaque b,.museum-plaque small,.museum-plaque .plaque-no{display:block;position:relative;z-index:1}
.museum-plaque b{font-size:21px;color:#f1d99e;margin:7px 0}
.museum-plaque small{color:#d5dfd6;font-size:12px}
.plaque-no{font-size:11px;color:#d5b36a;letter-spacing:.2em}
.hero-home,.home-navigation,.journey-strip{display:none}
.leaders-section{margin-top:26px}
.panel{animation:museumPanelIn .65s ease both}
@keyframes museumPanelIn{0%{opacity:0;transform:translateY(24px) scale(.985);filter:blur(5px)}100%{opacity:1;transform:none;filter:none}}
.value-module{background:linear-gradient(145deg,#103d32,#06241e);border:1px solid #c5a45d;box-shadow:0 12px 25px #0005,inset 0 0 25px #d5b36a0c}
.value-film-trigger{background:linear-gradient(135deg,#d5b36a,#98733c);color:#10261e;font-weight:800}
.values-feature{background:linear-gradient(145deg,#092c24,#041a16)}
#values .featured-video{background:linear-gradient(135deg,#174b3e,#041c17);border:1px solid #d5b36a}
#values .featured-video-title{color:#f0d9a1}
@media(max-width:700px){.museum-entrance{width:100%;margin:12px auto 30px}.museum-image-wrap{border-radius:12px}.museum-scene{aspect-ratio:4/5;object-fit:cover;object-position:center}.museum-brand{top:3%;width:94%}.museum-brand p{max-width:90%;margin:auto}.museum-enter{bottom:4%;padding:10px 22px}.museum-exhibits{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.museum-plaque{min-height:112px;padding:18px 8px}.museum-plaque b{font-size:16px}.museum-exhibit-heading{padding:0 8px}.museum-exhibit-heading span{font-size:11px}}
@media(prefers-reduced-motion:reduce){.museum-scene,.museum-plaque,.museum-enter{transition:none}.panel{animation:none}}


@media(max-width:700px){
  body{overflow-x:hidden}
  body>header{
    padding:12px 10px 10px;
    border-radius:0 0 18px 18px;
    min-height:0;
  }
  body>header .headlogos{min-height:0;gap:22px;margin-bottom:5px}
  body>header .headlogos img{width:74px;height:42px;max-width:74px}
  body>header h2{font-size:22px;margin:3px 0;line-height:1.35}
  body>header p{font-size:12px;line-height:1.5;margin:2px 0}
  body>header p.small{font-size:10px}
  #app .wrap{width:100%;max-width:none;padding:8px 8px 35px}
  #home.panel.active{min-height:calc(100svh - 145px)}
  .museum-entrance{width:100%;margin:0 auto 18px;perspective:none}
  .museum-image-wrap{
    height:calc(100svh - 160px);
    min-height:610px;
    max-height:900px;
    border-radius:18px;
    transform:none;
    display:block;
  }
  .museum-scene{
    position:absolute;inset:0;width:100%;height:100%;
    aspect-ratio:auto;object-fit:cover;object-position:center 42%;
  }
  .museum-image-shade{
    background:linear-gradient(180deg,#00140d38 0%,#00140d08 34%,#00140d12 49%,#00140dcc 100%);
  }
  .museum-brand{top:3%;width:94%}
  .museum-brand span{font-size:10px}
  .museum-brand h2{font-size:clamp(22px,7vw,32px);margin:4px 0}
  .museum-brand p{font-size:10px;line-height:1.5}
  .museum-enter{
    bottom:29%;left:50%;transform:translateX(-50%);
    padding:10px 20px;font-size:13px;white-space:nowrap;
    z-index:4;
  }
  .museum-exhibit-heading{
    position:absolute;bottom:24%;left:4%;right:4%;
    margin:0;padding:0 3px;z-index:5;
    align-items:center;
  }
  .museum-exhibit-heading span{font-size:10px}
  .museum-exhibit-heading b{font-size:12px}
  .museum-exhibits{
    position:absolute;left:3%;right:3%;bottom:2.2%;
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;z-index:6;
  }
  .museum-plaque{
    min-height:0;height:clamp(54px,8.5vh,72px);
    padding:5px 5px;border-radius:10px;
    background:linear-gradient(145deg,#0b4939f2,#031b16f5);
    box-shadow:0 5px 14px #0009,inset 0 0 0 1px #d5b36a55;
  }
  .museum-plaque .plaque-no{font-size:8px;line-height:1.1}
  .museum-plaque b{font-size:12px;margin:2px 0;line-height:1.2}
  .museum-plaque small{font-size:8px;line-height:1.15}
  .museum-exhibit-heading{color:#fff;text-shadow:0 2px 6px #000}
}
@media(max-width:380px){
  body>header .headlogos img{width:64px;height:38px}
  .museum-image-wrap{height:calc(100svh - 150px);min-height:570px}
  .museum-enter{bottom:31%}
  .museum-exhibit-heading{bottom:25%}
  .museum-plaque{height:56px}
}
