/* ACOANDES / Secuencia cinematográfica de marca. GSAP lleva la coreografía. */
html{scrollbar-gutter:stable}
html.intro-active{background:#080e22}
html.intro-active body{overflow:hidden}
html.intro-active #landing *{animation-play-state:paused!important}
html.intro-active #brand-intro{display:grid!important}
.brand-intro{position:fixed;inset:0;z-index:100;display:grid;place-items:center;min-height:100svh;overflow:hidden;isolation:isolate;background:#080e22;color:var(--white);text-align:center;perspective:1200px;outline:0}
.intro-campus{position:absolute;inset:-3%;z-index:-4;background:linear-gradient(#080e2244,#080e2299),url('../assets/hero.webp') center/cover;opacity:0;transform:scale(1.3)}
.intro-horizon{position:absolute;inset:0;z-index:-3;background:radial-gradient(ellipse at 50% 36%,#353371 0%,#171d43 31%,#080e22 70%)}
.intro-horizon::after{content:'';position:absolute;left:10%;right:10%;top:43%;height:1px;background:linear-gradient(90deg,transparent,#9e8cff66,#e8cb83aa,#9e8cff66,transparent)}
.intro-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.intro-beams{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-2;opacity:.75}
.intro-beams i{position:absolute;left:15%;top:-35%;width:14%;height:170%;background:linear-gradient(90deg,transparent,#c6b0ff1f,transparent);transform:rotate(32deg);transform-origin:center}
.intro-beams i:last-child{left:auto;right:13%;transform:rotate(-32deg);background:linear-gradient(90deg,transparent,#e8cb8326,transparent)}
.intro-echo{position:absolute;left:50%;top:46%;width:max-content;transform:translate(-50%,-50%);z-index:-1;font-size:clamp(100px,20vw,310px);font-weight:800;letter-spacing:.02em;line-height:1;color:transparent;-webkit-text-stroke:1px #a8a0e91f;pointer-events:none}
.intro-composition{position:relative;z-index:2;padding:76px 24px 116px;transform-style:preserve-3d;perspective:1000px}
.intro-pending .intro-composition{opacity:0}
.intro-emblem{position:relative;display:grid;place-items:center;width:280px;height:280px;margin:0 auto 26px;transform-style:preserve-3d;perspective:900px}
.intro-ring{position:absolute;pointer-events:none;transform-style:preserve-3d;transform-origin:50% 50%}
.intro-ring svg{display:block;width:100%;height:100%;fill:none;overflow:visible}
.intro-ring circle{stroke:#e8cb8365;stroke-width:.65}
.intro-ring .intro-ring-accent{stroke:var(--gold);stroke-width:2;stroke-dasharray:150 765;filter:drop-shadow(0 0 5px #e8cb8370)}
.intro-ring-one{inset:-12%}
.intro-ring-two{inset:-25%}
.intro-ring-two circle{stroke:#b2a4ff88;stroke-dasharray:380 100;stroke-width:.7}
.intro-ring-three{inset:3%}
.intro-ring-three circle{stroke:#e8cb83aa;stroke-dasharray:5 12;stroke-width:.85}
.intro-logo-float{position:relative;transform-style:preserve-3d}
.intro-logo-surface{position:relative;display:grid;place-items:center;width:205px;height:205px;border-radius:50%;background:#fff;box-shadow:0 20px 65px #05061580,0 0 60px #b9a0ff30;overflow:hidden;backface-visibility:hidden;transform-style:preserve-3d}
.intro-logo-surface img{width:100%;height:100%;object-fit:contain;display:block}
.intro-logo-surface::after{content:'';position:absolute;inset:-40% -90%;background:linear-gradient(105deg,transparent 42%,#fff9 50%,transparent 58%);transform:translateX(-50%);pointer-events:none;opacity:0}
.intro-wordmark{overflow:visible;padding:7px 10px 9px;perspective:700px}
.intro-wordmark h2{display:flex;justify-content:center;gap:.055em;font-size:clamp(46px,6.9vw,100px);line-height:1.05;font-weight:650;letter-spacing:.015em;text-shadow:0 4px 35px #05081888}
.intro-letter{display:inline-block;transform-origin:50% 100%;backface-visibility:hidden}
.intro-tagline{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:14px;color:var(--gold);font-size:13px;letter-spacing:.3em;line-height:1.5;text-transform:uppercase}
.intro-tagline span{width:48px;height:1px;background:linear-gradient(90deg,transparent,var(--gold))}
.intro-tagline span:last-child{transform:rotate(180deg)}
.intro-invitation{margin-top:23px;font-size:13px;letter-spacing:.025em;color:#d4d0e8}
.intro-enter{display:inline-flex;align-items:center;justify-content:center;gap:24px;margin-top:28px;min-height:48px;padding:13px 22px;border:1px solid #e8cb8388;border-radius:5px;background:#e8cb8312;backdrop-filter:blur(12px);color:#f7e8be;font-size:12px;transition:background-color 180ms ease,transform 160ms var(--ease)}
.intro-enter .icon{width:18px;height:18px}
.intro-skip{position:absolute;top:max(25px,env(safe-area-inset-top));right:max(32px,env(safe-area-inset-right));z-index:4;display:inline-flex;align-items:center;gap:16px;min-height:44px;padding:10px 15px;border:1px solid #e2dafa50;border-radius:5px;background:#0a102b55;backdrop-filter:blur(12px);color:#eeeaf9;font-size:11px;transition:background-color 160ms ease,transform 160ms var(--ease)}
.intro-skip .icon{width:16px;height:16px}
.intro-footer{position:absolute;bottom:max(28px,env(safe-area-inset-bottom));left:32px;right:32px;z-index:3;display:flex;align-items:flex-end;justify-content:space-between;gap:40px;font-size:10px;letter-spacing:.13em;color:#d2ccdf}
.intro-footer>div{width:min(340px,50%);text-align:left}
.intro-duration{margin-top:14px;height:2px;background:#dfd4ff25;overflow:hidden}
.intro-duration i{display:block;width:100%;height:100%;transform-origin:left;background:linear-gradient(90deg,#a89aff,var(--gold));transform:scaleX(0)}
.intro-full-motion{display:block;margin:14px auto 0;padding:8px 12px;background:none;color:var(--gold);text-decoration:underline;text-underline-offset:5px;font-size:12px;min-height:40px}
.brand-intro.is-leaving{pointer-events:none}
.footer-tools{display:flex;align-items:center;justify-content:flex-end;gap:25px}
@media(hover:hover) and (pointer:fine){.intro-skip:hover{background:#ffffff18}.intro-enter:hover{background:#e8cb8328;transform:translateY(-2px)}}
@media(max-width:600px){.intro-composition{padding:100px 20px 130px}.intro-emblem{width:220px;height:220px;margin-bottom:30px}.intro-logo-surface{width:164px;height:164px}.intro-wordmark{padding:5px 0 8px}.intro-wordmark h2{font-size:clamp(37px,11vw,62px);gap:.025em}.intro-tagline{font-size:11px;letter-spacing:.2em;gap:13px;margin-top:11px}.intro-tagline span{width:30px}.intro-invitation{font-size:12px;max-width:280px;margin:22px auto 0;line-height:1.8}.intro-enter{font-size:11px;margin-top:24px;min-height:46px}.intro-skip{top:max(20px,env(safe-area-inset-top));right:20px}.intro-echo{font-size:25vw;top:43%}.intro-footer{left:24px;right:24px;font-size:9px;gap:20px;line-height:1.7}.intro-footer>span{text-align:right;max-width:110px}.intro-footer>div{width:60%;max-width:220px}.footer-tools{gap:15px;flex-wrap:wrap}}
@media(max-height:560px) and (orientation:landscape){.intro-composition{padding:40px 20px 57px}.intro-emblem{width:132px;height:132px;margin-bottom:8px}.intro-logo-surface{width:99px;height:99px}.intro-wordmark h2{font-size:40px}.intro-tagline{font-size:10px;margin-top:6px}.intro-invitation{font-size:11px;margin-top:8px}.intro-enter{margin-top:11px;min-height:36px;padding:7px 16px;font-size:10px}.intro-footer{bottom:13px;font-size:8px}.intro-duration{margin-top:6px}.intro-skip{top:17px}}
/* Intro sencilla solo si la persona apagó los efectos (js/motion-pref.js). */
html.motion-user-disabled:not(.intro-full-motion) .intro-ring,html.motion-user-disabled:not(.intro-full-motion) .intro-beams,html.motion-user-disabled:not(.intro-full-motion) .intro-canvas{display:none}html.motion-user-disabled:not(.intro-full-motion) .intro-logo-surface{box-shadow:0 18px 45px #0004}html.motion-user-disabled:not(.intro-full-motion) .intro-echo{display:none}

@media(max-height:820px) and (min-width:601px) and (orientation:landscape){.intro-composition{padding:64px 24px 84px}.intro-emblem{width:210px;height:210px;margin-bottom:20px}.intro-logo-surface{width:160px;height:160px}.intro-wordmark h2{font-size:clamp(44px,5vw,72px)}.intro-invitation{margin-top:16px}.intro-enter{margin-top:20px}}
@media(max-height:560px) and (orientation:landscape){.intro-composition{padding:40px 20px 57px}.intro-emblem{width:132px;height:132px;margin-bottom:8px}.intro-logo-surface{width:99px;height:99px}.intro-wordmark h2{font-size:40px}.intro-invitation{margin-top:8px}.intro-enter{margin-top:11px}}
