/* User-supplied identity, no cropping. Last stylesheet owns the opening and hero. */
body.national-experience #intro{position:relative!important;display:flex!important;align-items:center;justify-content:center;min-height:100svh!important;height:auto!important;padding:clamp(20px,4vw,54px) max(18px,env(safe-area-inset-left)) max(28px,env(safe-area-inset-bottom))!important;overflow:hidden;background:radial-gradient(ellipse at 20% 8%,#244839 0,transparent 46%),linear-gradient(145deg,#04160f,#0c2b20 54%,#06130f)!important;color:#f4f1e8}
body.national-experience #intro[hidden]{display:none!important}
#intro .opening-entry{position:relative!important;inset:auto!important;transform:none!important;width:min(900px,100%)!important;max-width:900px!important;min-width:0;z-index:2;padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;text-align:center;color:#efe9da;animation:none!important}
#intro .opening-brand{display:flex;align-items:center;justify-content:space-between;gap:20px;text-align:right;margin-bottom:20px;padding:0 3px;min-width:0}
#intro .opening-brand>div:last-child{display:flex;flex-direction:column;gap:5px;min-width:0}#intro .opening-brand span{font-size:12px;color:#ccb983}#intro .opening-brand b{font-size:17px;font-weight:600;line-height:1.7;color:#f3eee2}
#intro .opening-logos .logos{margin:0!important;display:flex!important;gap:12px!important;padding:0!important}#intro .opening-logos .logo{width:54px!important;height:54px!important;padding:6px!important;background:#f5f2e9!important;border-radius:8px!important;border:0!important;box-shadow:none!important}#intro .opening-logos img{width:100%!important;height:100%!important;object-fit:contain!important}
#intro .opening-art{position:relative;isolation:isolate;margin:0;width:100%;max-width:100%;padding:4px;background:linear-gradient(120deg,#be2933 0,#811c26 30%,#c6b48a 54%,#296246);border-radius:12px;box-shadow:0 15px 40px #0005;overflow:hidden}
#intro .opening-art img{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:1263/838;object-fit:contain;border-radius:8px;background:#e4e3df}
#intro .opening-redline{display:block;position:absolute;right:4px;left:4px;bottom:4px;height:3px;background:#b62531;pointer-events:none}
#intro .opening-line{font-size:clamp(17px,2.3vw,22px)!important;margin:24px 0 20px!important;line-height:1.9!important;color:#e3d5ae!important;max-width:100%;overflow-wrap:break-word;white-space:normal}
#intro .opening-actions{display:flex;align-items:center;justify-content:center;gap:22px;max-width:100%;margin:12px 0 18px;padding:18px 22px;border:1px solid #a4b29c40;background:#071e1766;border-radius:10px;text-align:right}
#intro .opening-actions>div{min-width:0}#intro .opening-actions b{font-size:clamp(21px,4vw,28px);line-height:1.6;color:#f7efe0}#intro .opening-actions .hint{font-size:13px!important;line-height:1.8;margin:4px 0 0!important;color:#c6c9b5!important;white-space:normal;overflow-wrap:break-word}
#intro #enter.fp{width:84px!important;height:84px!important;min-height:84px!important;margin:0!important;display:grid!important;place-items:center!important;padding:17px!important;color:#ebd7a4!important;background:linear-gradient(135deg,#285841,#07271a)!important;border:1px solid #ddca95!important;border-radius:50%!important;box-shadow:0 0 0 8px #ceb9830b!important;position:relative!important;inset:auto!important;transform:none;animation:opening-pulse 2.8s ease-in-out infinite!important;touch-action:manipulation}
#intro #enter svg{width:50px!important;height:50px!important;fill:none!important;stroke:currentColor!important}#intro #enter:hover{background:#305e43!important}#intro #enter:focus-visible{outline:3px solid #f0dfb1;outline-offset:7px}#intro #enter::before,#intro #enter::after{content:none!important}
#intro .controls{margin:0!important;gap:10px;justify-content:center;display:flex!important;flex-wrap:wrap}#intro .controls button{background:transparent!important;border:1px solid #90a38c66!important;border-radius:6px!important;min-height:44px;font-size:13px;color:#d7d5c3!important;padding:7px 16px!important}#intro .controls label,#intro #audioFile{display:none!important}
#intro #audioNote{font-size:12px!important;line-height:1.8!important;margin:12px auto!important;color:#b9c5ad!important;white-space:normal;max-width:100%}#intro .credits{border-top:1px solid #78908033!important;padding-top:16px!important;margin:16px 0 0!important;line-height:2!important;font-size:12px!important;color:#aebca8!important;position:relative!important;inset:auto!important;white-space:normal}
#intro .opening-atmosphere{position:absolute;inset:0;overflow:hidden;pointer-events:none}#intro .opening-atmosphere i{position:absolute;height:1px;width:50%;opacity:.25;background:linear-gradient(90deg,transparent,#cfbd8d,transparent);top:8%;right:-10%;transform:rotate(-25deg)}#intro .opening-atmosphere i:nth-child(2){top:60%;right:60%;transform:rotate(25deg)}#intro .opening-atmosphere i:nth-child(3){top:90%;right:5%;background:linear-gradient(90deg,transparent,#a92535,transparent)}
@keyframes opening-pulse{0%,100%{box-shadow:0 0 0 8px #ceb9830b}50%{box-shadow:0 0 0 12px #ceb9831a}}
/* The home photo and copy use separate readable zones, not text over faces. */
body.national-experience #app .cinema-hero{display:grid!important;grid-template-columns:1.08fr 1fr!important;min-height:0!important;height:auto!important;padding:0!important;overflow:hidden;border:1px solid #74877366;border-top:3px solid #ae2632;background:#051b13!important;border-radius:8px!important;isolation:isolate}
body.national-experience #app .cinema-hero .hero-real-photo{position:relative!important;inset:auto!important;width:100%!important;height:100%!important;min-height:520px;object-fit:cover!important;object-position:35% 40%!important;opacity:1!important;filter:none!important;grid-column:2;grid-row:1}
body.national-experience #app .cinema-hero>.scene-shade{display:none!important}
body.national-experience #app .cinema-hero .hero-editorial{position:relative!important;inset:auto!important;grid-column:1;grid-row:1;max-width:100%!important;min-width:0;padding:clamp(24px,3vw,44px)!important;background:linear-gradient(155deg,#153625,#051b13);align-self:stretch;display:flex;flex-direction:column;justify-content:center}
body.national-experience #app .hero-overture{font-size:clamp(15px,1.4vw,19px)!important;line-height:1.95!important;margin:16px 0!important;white-space:normal;overflow-wrap:break-word}
body.national-experience #app .hero-editorial h2{font-size:clamp(42px,5vw,78px)!important;line-height:1.3!important;margin:0 0 18px!important;white-space:normal;letter-spacing:normal!important;color:#f4efdf!important}
body.national-experience #app .hero-editorial h2 span{color:#ee5a63!important}body.national-experience #app .hero-editorial h2 .red-line{width:min(190px,70%);margin-top:18px}
body.national-experience #app .hero-promise{font-size:15px!important;line-height:1.95!important;white-space:normal;max-width:100%;overflow-wrap:break-word}
body.national-experience #app .hero-cta{display:flex!important;flex-wrap:wrap;gap:12px;margin:22px 0 10px!important;max-width:100%}body.national-experience #app .hero-cta .btn{min-height:46px;white-space:normal;line-height:1.8;font-size:14px;max-width:100%}
body.national-experience #app .cinema-hero .hero-footnote{position:relative!important;inset:auto!important;grid-column:1/-1;grid-row:2;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:16px 26px;border-top:1px solid #76907940;background:#041710;font-size:12px!important;min-width:0}
body.national-experience #app .hero-editorial .visual-disclosure{font-size:10px!important;line-height:1.85;max-width:100%;margin:14px 0 0!important;color:#aebea7!important;white-space:normal;overflow-wrap:break-word}
body.national-experience #app .wing-visual-wall img,body.national-experience #app .wing-visual-values img,body.national-experience #app .wing-visual-children img{object-fit:contain!important;background:#0e3022;max-height:300px}
body.national-experience #app .wing-visual-leaders img{object-position:50% 35%}
#messageAudio[hidden]{display:none!important}.pledge-wall[hidden]{display:none!important}.fingerprint-voice svg{stroke:#d9eee1!important}.fingerprint-voice::after{content:'♫';position:absolute;left:1px;bottom:0;color:#d9eee1;font-size:12px;line-height:1;pointer-events:none}
body.national-experience #app .national-tabs{scrollbar-width:thin;scrollbar-color:#a6b190 #0c2a1d;overscroll-behavior-x:contain}
@media(max-width:850px){body.national-experience #app .cinema-hero{grid-template-columns:minmax(0,1fr)!important}body.national-experience #app .cinema-hero .hero-real-photo{grid-column:1;grid-row:1;min-height:0!important;height:clamp(230px,65vw,420px)!important;aspect-ratio:16/10;object-position:35% 30%!important}body.national-experience #app .cinema-hero .hero-editorial{grid-column:1;grid-row:2;padding:25px 22px!important}body.national-experience #app .cinema-hero .hero-footnote{grid-row:3;padding:15px 22px}body.national-experience #app .hero-editorial h2{font-size:clamp(42px,10vw,64px)!important}body.national-experience #app .hero-editorial .eyebrow{font-size:11px!important;line-height:1.9}body.national-experience #app .wing-visual img{aspect-ratio:16/9}}
@media(max-width:500px){#intro .opening-brand{gap:12px;margin-bottom:16px}#intro .opening-brand b{font-size:13px}#intro .opening-brand span{font-size:10px}#intro .opening-logos .logo{width:42px!important;height:42px!important}#intro .opening-logos .logos{gap:7px!important}#intro .opening-actions{gap:16px;padding:16px 14px}#intro #enter.fp{width:72px!important;height:72px!important;min-height:72px!important;padding:13px!important}#intro .opening-line{margin:20px 0 14px!important}#intro .opening-actions b{font-size:22px}#intro .opening-actions .hint{font-size:12px!important}#intro .opening-art{border-radius:8px;padding:3px}#intro .opening-art img{border-radius:5px}}
@media(prefers-reduced-motion:reduce){#intro #enter.fp{animation:none!important}}
/* Arabic glyph ascenders/descenders fit inside the closing title's own line box. */
body.national-experience #app .closing-scene h2{line-height:1.7!important;padding-block:4px;overflow-wrap:break-word;white-space:normal;max-width:100%}
#closingScene>.scene-initial-flag{width:100%;height:100%;object-fit:contain;padding:25px;display:block}#closingScene.scene-ready>.scene-initial-flag{display:none}
body.national-experience #app .site-header,body.national-experience #app .national-tabs{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

/* New independent school identity */
.new-school-masthead{gap:1.2rem;align-items:center;justify-content:center}
.new-school-masthead .school-logo-transparent{width:clamp(105px,14vw,190px);height:auto;max-height:180px;object-fit:contain;filter:drop-shadow(0 12px 22px rgba(0,0,0,.35))}
.new-school-masthead .opening-school small{display:block;margin-top:.25rem;opacity:.8;letter-spacing:.08em}

/* New independent school identity */
.new-school-masthead{gap:1.2rem;align-items:center;justify-content:center}
.new-school-masthead .school-logo-transparent{width:clamp(105px,14vw,190px);height:auto;max-height:180px;object-fit:contain;filter:drop-shadow(0 12px 22px rgba(0,0,0,.35))}
.new-school-masthead .opening-school small{display:block;margin-top:.25rem;opacity:.8;letter-spacing:.08em}

/* New independent school identity */
.new-school-masthead{gap:1.2rem;align-items:center;justify-content:center}
.new-school-masthead .school-logo-transparent{width:clamp(105px,14vw,190px);height:auto;max-height:180px;object-fit:contain;filter:drop-shadow(0 12px 22px rgba(0,0,0,.35))}
.new-school-masthead .opening-school small{display:block;margin-top:.25rem;opacity:.8;letter-spacing:.08em}
