.school-dialog{position:fixed;inset:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#020617;color:#fff;overflow:hidden;z-index:1000;font-family:ui-sans-serif,system-ui,sans-serif}
.school-dialog::backdrop{background:#020617}
.school-dialog button,.school-dialog a{-webkit-tap-highlight-color:transparent}
.school-dialog button:focus-visible,.school-dialog a:focus-visible{outline:2px solid #67e8f9;outline-offset:5px}
.school-scene{position:relative;width:100%;height:100%;overflow:hidden;isolation:isolate;background:#020617}
.school-scene-background{position:absolute;inset:0;z-index:-1;background-position:center;background-size:cover;background-repeat:no-repeat;background-color:#132638;pointer-events:none}
.school-campus-image{position:absolute;left:0;right:0;top:0;z-index:-1;background-size:cover;background-repeat:no-repeat}
.school-scene-background{overflow:hidden;isolation:isolate}
.school-scene-background:before,.school-scene-background:after{content:"";position:absolute;inset:0;pointer-events:none}
.school-scene-background:before{background:linear-gradient(to top,rgba(2,6,23,.5),transparent 55%),rgba(2,6,23,.25)}
.school-scene-background:after{right:35%;background:linear-gradient(to right,rgba(2,6,23,.9),rgba(2,6,23,.4) 55%,transparent)}
.school-detail-scroll{height:100%;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#475569 transparent}
.school-detail-content{position:relative;display:flex;flex-direction:column;justify-content:center;min-height:100%;width:100%;max-width:1280px;padding:64px 80px 144px}
.school-protocol{display:flex;flex-direction:column;gap:6px;margin-bottom:32px;color:#67d9ea;font:500 8px/1.5 ui-monospace,Consolas,monospace;letter-spacing:.6em}
.school-protocol>span:before{content:"";display:inline-block;width:4px;height:4px;border-radius:50%;background:#22d3ee;box-shadow:0 0 8px #22d3ee;margin:0 8px 1px 0}
.school-protocol i{display:block;width:128px;height:1px;background:linear-gradient(to right,#06b6d4cc,transparent)}
.school-detail-column{width:45%;display:flex;flex-direction:column;gap:16px;min-width:0}
.school-detail-heading h1{font-size:clamp(36px,4.2vw,60px);line-height:1.15;font-weight:900;letter-spacing:-.05em;margin:0 0 12px;text-wrap:balance;overflow-wrap:anywhere;text-shadow:0 12px 30px #0008}
.school-detail-heading h1:focus{outline:none}
.school-detail-timeline{display:inline-flex;flex-wrap:wrap;align-items:center;gap:10px;max-width:100%;padding:6px 12px;border:1px solid #ffffff1a;border-radius:8px;background:#ffffff0d;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);color:#67e8f9;font:500 10px/1.8 ui-monospace,Consolas,monospace;letter-spacing:.12em}
.school-detail-timeline .icon{width:12px;height:12px}
.school-introduction{position:relative;overflow:hidden;padding:32px;border-left:4px solid #06b6d4cc;border-radius:0 16px 16px 0;background:#ffffff08;backdrop-filter:blur(50px);-webkit-backdrop-filter:blur(50px);box-shadow:inset 0 0 30px #ffffff03;transition:background-color .5s}
.school-introduction:before{content:"";position:absolute;right:0;top:0;width:96px;height:96px;background:#06b6d40d;filter:blur(40px);pointer-events:none}
.school-introduction h2{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:850;letter-spacing:.3em;color:#67e8f9;margin:0 0 16px}
.school-introduction-icon{display:flex;padding:8px;border:1px solid #06b6d433;border-radius:8px;background:#06b6d41a;box-shadow:0 0 10px #22d3ee26}
.school-introduction-icon .icon{width:22px;height:22px}
.school-introduction-body{min-height:112px}
.school-introduction-body p{color:#ffffffe6;font-size:18px;font-weight:500;line-height:1.8;letter-spacing:.04em;white-space:pre-line;overflow-wrap:anywhere;margin:0}
.school-introduction-links{display:flex;flex-wrap:wrap;gap:0 20px}
.school-introduction-source{display:inline-flex;align-items:center;gap:6px;margin-top:18px;font-size:11px;line-height:1.6;color:#a5d6df;text-underline-offset:4px}
.school-introduction-source:hover{text-decoration:underline}
.school-introduction-source .icon{width:12px;height:12px}
.school-website{position:relative;display:flex;align-items:center;gap:12px;padding:20px;min-height:84px;background:#ffffff05;border:1px solid #06b6d426;border-radius:16px;backdrop-filter:blur(50px);-webkit-backdrop-filter:blur(50px);box-shadow:0 20px 25px -5px #0003;overflow:hidden;transition:background-color .5s,border-color .5s,box-shadow .5s}
.school-website:before,.school-return:before{content:"";position:absolute;inset:0;background:linear-gradient(to right,transparent,#06b6d40d,transparent);transform:translateX(-100%);transition:transform 1s;pointer-events:none}
.school-website-icon{display:flex;position:relative;padding:10px;border:1px solid #06b6d433;border-radius:12px;background:#06b6d41a;color:#67e8f9;box-shadow:0 0 15px #22d3ee1a;transition:transform .3s,box-shadow .3s}
.school-website-icon .icon{width:18px;height:18px}
.school-website-copy{position:relative;display:flex;flex-direction:column;gap:4px;min-width:0}
.school-website-copy strong{font-size:11px;line-height:1.6;font-weight:850;letter-spacing:.15em;color:#ffffffe6}
.school-website-copy small{font:500 8px/1.5 ui-monospace,Consolas,monospace;letter-spacing:.1em;color:#73c5d1}
.school-website-arrow{position:relative;display:flex;margin-left:auto;padding:6px 10px;border:1px solid #06b6d44d;border-radius:999px;background:#06b6d41a;color:#67e8f9;transition:background .3s,color .3s}
.school-website-arrow .icon{width:14px;height:14px;transition:transform .3s}
.school-return-wrap{position:absolute;right:40px;bottom:max(40px,env(safe-area-inset-bottom));z-index:3}
.school-return{position:relative;display:flex;align-items:center;gap:16px;min-height:84px;padding:20px 40px 20px 24px;border:1px solid #06b6d44d;border-radius:999px;background:#020617b3;backdrop-filter:blur(48px);-webkit-backdrop-filter:blur(48px);box-shadow:0 25px 50px #0008,0 0 30px #22d3ee1a;color:#fff;overflow:hidden;transition:transform .5s,border-color .5s}
.school-return-emblem{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;border:1.5px solid #06b6d499;border-radius:50%;background:#fff;box-shadow:0 0 15px #22d3ee66;overflow:hidden;transition:transform .7s}
.school-return-copy{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:2px;white-space:nowrap}
.school-return-copy>small{font:500 8px/1.5 ui-monospace,Consolas,monospace;letter-spacing:.4em;color:#c4d1df}
.school-return-copy>span{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:850;letter-spacing:.1em}
.school-return-copy .icon{width:16px;height:16px;transition:transform .3s}
.school-emblem{display:flex;align-items:center;justify-content:center;width:100%;height:100%;overflow:hidden}
.school-emblem>img{width:100%;height:100%;object-fit:contain}
.school-emblem-crop{background:#fff}
.school-emblem-crop-area{position:relative;display:block;width:86%;aspect-ratio:134/82;overflow:hidden}
/* Preserve the source image; crop only the official mark at x225–359, y44–126. */
.school-emblem-crop-area>img{position:absolute;width:1074.6269%;height:395.122%;max-width:none;left:-167.9104%;top:-53.6585%}
.school-emblem-name{display:block;color:#152536;font-size:clamp(24px,4vw,48px);font-weight:750;line-height:1.5;letter-spacing:.08em;text-wrap:balance;text-align:center}
.school-emblem-name.compact{color:#164e63;font-size:10px;letter-spacing:0;line-height:1.3}
.school-intro{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;padding:80px 24px;background:radial-gradient(ellipse at 50% 40%,#fff 0%,#f1f3f5 65%,#e6e9ed 100%);color:#142235;overflow:hidden}
.school-intro-controls{position:absolute;left:24px;right:24px;top:max(24px,env(safe-area-inset-top));display:flex;justify-content:flex-end;gap:12px;z-index:2}
.school-intro-skip,.school-intro-close{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 16px;border:1px solid #33415533;border-radius:999px;background:#ffffffbd;color:#334155;font-size:12px;line-height:20px}
.school-intro-close{width:42px;padding:10px}
.school-intro-skip .icon,.school-intro-close .icon{width:16px;height:16px}
.school-intro-identity{position:absolute;inset:0;text-align:center}
.school-emblem-render,.school-emblem-canvas{position:absolute;inset:0}
.school-emblem-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:72px 24px}
.school-emblem-fallback .school-intro-emblem{filter:drop-shadow(0 18px 22px #25374930)}
.school-intro-emblem{display:flex;align-items:center;justify-content:center;width:clamp(170px,22vw,300px);height:clamp(170px,22vw,300px)}
.school-intro-emblem:has(.school-emblem-name){width:100%;height:auto;min-height:180px}
.school-intro-motto{position:absolute;bottom:7%;left:24px;right:24px;pointer-events:none;text-shadow:0 1px 4px #fff;font-size:clamp(17px,2.1vw,26px);line-height:1.8;font-weight:600;letter-spacing:.14em;margin:0;text-wrap:balance}
.school-intro-text{max-width:680px;color:#263443;font-size:clamp(30px,4.8vw,60px);font-weight:750;line-height:1.5;text-wrap:balance;letter-spacing:.06em;text-align:center}
@media(hover:hover) and (pointer:fine){
  .school-introduction:hover{background:#ffffff0d}
  .school-website:hover{background:#06b6d414;border-color:#06b6d466;box-shadow:0 0 30px #22d3ee26}
  .school-website:hover:before,.school-return:hover:before{transform:translateX(100%)}
  .school-website:hover .school-website-icon{transform:scale(1.1);box-shadow:0 0 20px #22d3ee66}
  .school-website:hover .school-website-arrow{background:#22d3ee;color:#020617}
  .school-website:hover .school-website-arrow .icon{transform:rotate(-45deg)}
  .school-return:hover{border-color:#22d3ee;transform:scale(1.05)}
  .school-return:hover .school-return-emblem{transform:rotate(360deg)}
  .school-return:hover .school-return-copy .icon{transform:translateX(4px)}
  .school-intro-skip:hover,.school-intro-close:hover{background:#fff;border-color:#33415566}
}
.school-return:active{transform:scale(.95)}
@media(max-width:1023px){
  .school-detail-content{padding:56px 48px 140px}
  .school-detail-column{width:60%}
  .school-detail-heading h1{font-size:48px}
}
@media(max-width:767px){
  .school-detail-content{justify-content:flex-start;padding:72px 24px 132px;min-height:100%}
  .school-detail-column{width:100%}
  .school-detail-heading h1{font-size:32px;line-height:1.25}
  .school-scene-background:after{right:0;background:linear-gradient(to bottom,rgba(2,6,23,.9),rgba(2,6,23,.6) 50%,rgba(2,6,23,.15))}
  .school-protocol{font-size:7px;letter-spacing:.4em;margin-bottom:24px}
  .school-protocol i{width:96px}
  .school-detail-timeline{font-size:9px;padding:5px 9px;gap:8px;letter-spacing:.06em}
  .school-introduction{padding:24px}
  .school-introduction-body{min-height:128px}
  .school-introduction-body p{font-size:16px}
  .school-return-wrap{right:20px;bottom:max(20px,env(safe-area-inset-bottom))}
  .school-return{padding:14px 24px 14px 18px;min-height:72px;gap:12px}
  .school-return-copy>span{font-size:12px}
  .school-return-emblem{width:40px;height:40px}
  .school-intro-controls{left:16px;right:16px;top:max(16px,env(safe-area-inset-top))}
  .school-intro-identity{gap:24px}
  .school-intro-motto{letter-spacing:.08em}
}
@media(max-height:600px) and (min-width:768px){.school-detail-content{justify-content:flex-start;padding-top:40px}.school-detail-heading h1{font-size:40px}.school-introduction-body{min-height:80px}}
.school-reduced-motion *, .school-reduced-motion *:before{animation:none!important;transition:none!important;scroll-behavior:auto!important}
.school-reduced-motion .school-return:hover,.school-reduced-motion .school-return:active,.school-reduced-motion .school-return:hover .school-return-emblem,.school-reduced-motion .school-return:hover .school-return-copy .icon,.school-reduced-motion .school-website:hover .school-website-icon,.school-reduced-motion .school-website:hover .school-website-arrow .icon{transform:none}
@media(prefers-reduced-motion:reduce){
  .school-dialog *, .school-dialog *:before{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .school-return:hover,.school-return:active,.school-return:hover .school-return-emblem,.school-return:hover .school-return-copy .icon,.school-website:hover .school-website-icon,.school-website:hover .school-website-arrow .icon{transform:none}
}
@media(prefers-reduced-transparency:reduce){.school-introduction,.school-website{background:#15283b;backdrop-filter:none;-webkit-backdrop-filter:none}.school-return{background:#091625;backdrop-filter:none;-webkit-backdrop-filter:none}}
