
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800;900&display=swap');
:root{color-scheme:dark;--bg:#071321;--surface:#10243a;--line:#28415b;--blue:#68c4f2;--cream:#f2ebdd;--gold:#d8ae69}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;overflow-x:hidden;background:var(--bg);color:var(--cream);font:16px/1.9 Vazirmatn,Tahoma,sans-serif}button,a{font:inherit}a{color:inherit;text-decoration:none}button{cursor:pointer}.wrap{width:min(1180px,calc(100% - 44px));margin:auto}.top{position:sticky;top:0;z-index:20;background:#071321ed;backdrop-filter:blur(16px);border-bottom:1px solid #24415a}.nav{min-height:88px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px}.brand{display:flex;align-items:center;gap:12px;justify-self:start;font-weight:900;font-size:1.2rem;white-space:nowrap}.brandmark{width:48px;height:48px;display:grid;place-items:center;color:var(--gold);border:1px solid var(--gold);transform:rotate(45deg);border-radius:9px}.brandmark span{transform:rotate(-45deg);font-size:1.5rem}.links{display:flex;align-items:center;gap:27px;color:#d0dce7;font-size:.92rem;white-space:nowrap}.links a:hover,.links a:focus-visible{color:var(--blue)}.account{justify-self:end;border:1px solid #4b8aab;border-radius:999px;background:#13344b;color:#e3f6ff;padding:9px 19px;white-space:nowrap}.account:hover{background:#1a4a68}.menu{display:none}.hero{position:relative;overflow:hidden;min-height:600px;display:grid;align-items:center;background:radial-gradient(circle at 72% 35%,#193957 0%,#0b2138 35%,#071321 75%)}.hero:before{content:"";position:absolute;inset:0;opacity:.17;background-image:linear-gradient(45deg,transparent 47%,#75b4d1 48%,#75b4d1 52%,transparent 53%),linear-gradient(-45deg,transparent 47%,#75b4d1 48%,#75b4d1 52%,transparent 53%);background-size:88px 88px;mask-image:linear-gradient(to left,black,transparent 76%)}.hero-inner{position:relative;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:50px;padding:75px 0 90px}.eyebrow{color:var(--gold);letter-spacing:.02em;font-weight:700}.hero h1{font-size:clamp(2.5rem,5vw,5rem);line-height:1.35;margin:15px 0 20px;font-weight:900}.hero h1 em{color:var(--blue);font-style:normal}.hero p{max-width:560px;color:#c5d4e2;font-size:1.12rem;margin:0 0 32px}.primary{display:inline-flex;align-items:center;gap:14px;background:var(--blue);color:#071727;font-weight:800;padding:11px 27px;border-radius:9px}.primary:hover{background:#9edcff}.visual{position:relative;aspect-ratio:1;display:grid;place-items:center}.visual:before{content:"";width:80%;aspect-ratio:1;border:1px solid #477793;transform:rotate(45deg);box-shadow:0 0 0 22px #102c4433,0 0 0 23px #47779377,0 0 0 50px #102c4422,0 0 0 51px #47779344;border-radius:18px}.visual .center{position:absolute;width:54%;aspect-ratio:1;background:#133b55;border:2px solid var(--gold);transform:rotate(45deg);border-radius:18px;display:grid;place-items:center;box-shadow:0 24px 70px #0008}.visual .center span{transform:rotate(-45deg);text-align:center;line-height:1.6;font-weight:800;font-size:clamp(1.25rem,2.5vw,2rem);color:#edf7fb}.visual .center small{display:block;color:var(--gold);font-size:.7em}.section{padding:85px 0}.section h2{font-size:clamp(1.8rem,3vw,2.7rem);margin:0 0 18px}.section .lead{color:#b5c9d7;max-width:720px;margin:0 0 32px}.label{color:var(--gold);font-weight:800;font-size:.9rem}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.card{background:#10253b;border:1px solid var(--line);border-radius:16px;padding:28px;min-height:205px;transition:transform .2s,border-color .2s}.card:hover{transform:translateY(-4px);border-color:#568caa}.card .num{color:var(--gold);font-weight:800}.card h3{font-size:1.35rem;margin:0 0 7px}.card p{margin:0;color:#bbcedc}.subsection{padding:75px 0;border-top:1px solid #213c53}.subsection h2{margin:0 0 12px}.subsection p{color:#bad0df;max-width:690px;margin:0}.footer{border-top:1px solid #234057;padding:25px 0;color:#96b5c8;font-size:.9rem}.footer .wrap{display:flex;justify-content:space-between;gap:12px}.dialog{border:1px solid #5684a1;background:#0f263d;color:var(--cream);border-radius:18px;padding:32px;width:min(440px,calc(100% - 30px));box-shadow:0 30px 90px #0009}.dialog::backdrop{background:#020912bd}.dialog h2{margin:0 0 10px}.dialog p{color:#bfd1dc}.close{background:none;border:0;color:white;font-size:1.6rem;float:left}.dialog .primary{border:0;margin-top:10px}@media(max-width:900px){.nav{grid-template-columns:1fr auto;min-height:74px}.links{grid-column:1/-1;grid-row:2;justify-content:center;flex-wrap:wrap;padding:0 0 14px;gap:12px 22px}.hero-inner{gap:10px}.visual{transform:scale(.85)}}@media(max-width:650px){.wrap{width:min(100% - 32px,1180px)}.nav{gap:9px}.brand{font-size:1rem}.brandmark{width:37px;height:37px}.account{padding:6px 11px;font-size:.82rem}.links{font-size:.82rem;justify-content:space-between;gap:8px}.hero{min-height:unset}.hero-inner{display:block;padding:70px 0}.hero h1{font-size:2.65rem}.hero p{font-size:1rem}.visual{display:none}.section{padding:65px 0}.grid{grid-template-columns:1fr}.card{min-height:unset}.footer .wrap{display:block}}
.hero{isolation:isolate;background:#071321}.hero:before{content:"";position:absolute;inset:-12px;background:url("school-background.jpg") center 49%/cover no-repeat;filter:blur(5px);opacity:.78;mask-image:none;z-index:-2}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(270deg,rgba(4,17,32,.9) 0%,rgba(5,22,38,.77) 48%,rgba(5,20,34,.36) 100%);z-index:-1}.hero-inner{grid-template-columns:1fr;min-height:600px}.hero-inner>div:first-child{max-width:680px}.hero .visual{display:none}@media(max-width:650px){.hero-inner{min-height:530px}.hero:after{background:linear-gradient(270deg,rgba(4,17,32,.88),rgba(5,22,38,.64))}}

.nav{grid-template-columns:auto 1fr}.links{justify-self:end}.inner-hero{position:relative;min-height:380px;display:flex;align-items:end;isolation:isolate;overflow:hidden;background:#0a1e32}.inner-hero:before{content:"";position:absolute;inset:-10px;background:url("school-background.jpg") center/cover no-repeat;filter:blur(4px);z-index:-2}.inner-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#061627ed 0%,#081c2bb8 55%,#07132144);z-index:-1}.inner-hero .wrap{padding:95px 0 55px}.inner-hero h1{font-size:clamp(2.4rem,5vw,4.4rem);line-height:1.4;margin:0}.inner-hero p{max-width:650px;color:#e2eaf0;margin:8px 0 0}.back{display:inline-block;color:var(--blue);margin-bottom:16px}.content-section{padding:70px 0 100px}.content-section h2{font-size:1.7rem;margin:0 0 16px}.content-section p{color:#bed0dc;max-width:780px}.feature-photo{width:100%;height:430px;object-fit:cover;border:1px solid var(--line);border-radius:18px;display:block;margin-bottom:46px}.photo-slots{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:20px 0 55px}.photo-slot{min-height:190px;border:1px dashed #6386a0;border-radius:15px;background:#10263b;display:grid;place-items:center;color:#b9cfdd;text-align:center;padding:18px}.teacher-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-top:36px}.teacher{background:#10263b;border:1px solid var(--line);border-radius:14px;min-width:0}.teacher summary{cursor:pointer;list-style:none;padding:18px 14px;min-height:126px;display:flex;flex-direction:column;justify-content:center;gap:6px}.teacher summary::-webkit-details-marker{display:none}.teacher summary:before{content:"✦";color:var(--gold);font-size:1.35rem}.teacher strong{font-weight:700}.teacher small{color:#a9c4d4;font-size:.85rem}.teacher[open]{border-color:var(--blue)}.teacher .resume{padding:0 14px 16px;color:#c6d6e0;font-size:.88rem;line-height:1.8}.teacher .resume p{margin:0}.teacher summary:focus-visible,.links a:focus-visible,.card:focus-visible{outline:2px solid var(--blue);outline-offset:3px}@media(max-width:1050px){.teacher-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.nav{grid-template-columns:1fr}.brand{justify-self:center}.links{grid-column:1;grid-row:2;justify-self:center;justify-content:center}.inner-hero{min-height:300px}.inner-hero .wrap{padding:70px 0 35px}.feature-photo{height:230px}.photo-slots{grid-template-columns:1fr}.photo-slot{min-height:150px}.teacher-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-section{padding:45px 0 70px}}

/* Festival page palette */
.kharazmi-theme{--bg:#071426;--surface:#10243a;--line:#765d39;--blue:#e6bc70;--gold:#f0c979;--cream:#fff2da;background:#071426;color:var(--cream)}.kharazmi-theme .top{background:#081629f2;border-bottom-color:#7e623a}.kharazmi-theme .links{color:#f0e3cc}.kharazmi-theme .links a:hover,.kharazmi-theme .links a:focus-visible,.kharazmi-theme .back{color:#f0c979}.kharazmi-theme .inner-hero{background:#091a30}.kharazmi-theme .inner-hero:after{background:linear-gradient(0deg,#071426f5 0%,#0a1b31db 55%,#12294488)}.kharazmi-theme .inner-hero h1{color:#f0c979}.kharazmi-theme .inner-hero p,.kharazmi-theme .content-section p{color:#e5d7bf}.kharazmi-theme .content-section{background:radial-gradient(circle at 80% 0%,#172941 0%,#071426 58%)}.kharazmi-theme .content-section h2{color:#f0c979}.kharazmi-theme .feature-photo{border:2px solid #b78d4e;box-shadow:0 18px 60px #0006}.kharazmi-theme .footer{border-top-color:#765d39;color:#d3ba90}.kharazmi-theme .footer a:hover{color:#f0c979}
.kharazmi-theme .inner-hero:before{background-image:url("persian-rug-blue-gold.jpg");background-position:center;background-size:cover;filter:blur(5px)}.kharazmi-theme .inner-hero:after{background:linear-gradient(270deg,#071426ef 0%,#071426c9 45%,#07142677 100%)}
.festival-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:28px 0 0;padding:0;list-style:none}
.festival-details li{display:flex;flex-direction:column;gap:8px;min-height:150px;padding:24px;border:1px solid #b898635c;border-radius:16px;background:linear-gradient(135deg,#142c45,#0b1d32);box-shadow:inset 0 1px #ffffff12,0 12px 28px #0003;color:#e9dfcc;line-height:1.85}
.festival-details strong{color:#f0c979;font-size:1.08rem}
.festival-details span{font-size:.98rem}
.festival-details li:last-child{grid-column:1/-1;min-height:125px}
@media(max-width:650px){.festival-details{grid-template-columns:1fr}.festival-details li{min-height:0}.festival-details li:last-child{grid-column:auto}}
.kharazmi-theme .content-section::before{content:"";display:block;width:100%;height:38px;margin:-70px auto 38px;background:#102c4b url("kharazmi-carpet-border.svg") repeat-x center/auto 38px;border-top:2px solid #e4b879;border-bottom:2px solid #e4b879;filter:blur(2px);box-shadow:0 10px 25px #06111f99}
@media(max-width:650px){.kharazmi-theme .content-section::before{margin-top:-45px;margin-bottom:30px;height:28px}}

.photo-slot.filled{padding:0;border-style:solid;background:#081726;overflow:hidden}.photo-slot.filled img{display:block;width:100%;height:240px;object-fit:contain}

.competition-gallery{grid-template-columns:1.08fr .92fr .92fr;gap:30px;align-items:center;margin:26px 0 65px}.competition-gallery .photo-slot.filled{min-height:0;display:block;border:0;border-radius:0;background:none;padding:0;overflow:visible;text-align:center}.competition-gallery .photo-slot.filled img{width:auto;max-width:100%;height:auto;max-height:550px;object-fit:contain;margin:0 auto;border:0;border-radius:5px;box-shadow:0 18px 45px #0007;transition:transform .25s ease,box-shadow .25s ease}.competition-gallery .photo-slot.filled img:hover{transform:translateY(-6px);box-shadow:0 25px 55px #0009}@media(max-width:650px){.competition-gallery{grid-template-columns:1fr;gap:32px}.competition-gallery .photo-slot.filled img{max-height:540px}}

.football-caption{margin:1.2rem 0 0;text-align:center;color:#eafcff;font-size:clamp(1.25rem,2.2vw,1.85rem);font-weight:800;line-height:1.6;text-shadow:0 0 5px #3bd7ff,0 0 13px #2cbcff,0 0 27px #1478ef;}

/* Competitions page: red and gold */
.competitions-theme{--bg:#170b0e;--surface:#2a1519;--line:#794d39;--blue:#f4c36c;--gold:#f4c36c;--cream:#fff1dd;background:#170b0e;color:var(--cream)}
.competitions-theme .top{background:#1a0b10f2;border-bottom-color:#80503d}
.competitions-theme .links{color:#f4dfce}
.competitions-theme .links a:hover,.competitions-theme .links a:focus-visible,.competitions-theme .back{color:#f4c36c}
.competitions-theme .inner-hero{background:#240d13}
.competitions-theme .inner-hero:before{background-image:url("competition-courtyard.jpg");background-position:center 64%;filter:blur(3px)}
.competitions-theme .inner-hero:after{background:linear-gradient(0deg,#1a0b10f5 0%,#3c1018cc 56%,#48141966)}
.competitions-theme .inner-hero h1,.competitions-theme .content-section h2{color:#f4c36c}
.competitions-theme .inner-hero p,.competitions-theme .content-section p{color:#ead3c6}
.competitions-theme .content-section{background:radial-gradient(circle at 80% 0%,#501920 0%,#240e13 42%,#170b0e 80%)}
.competitions-theme .footer{border-top-color:#794d39;color:#d8b9a1}
.competitions-theme .footer a:hover{color:#f4c36c}

/* Persian carpet detail at the start of the competitions section */
.competitions-theme .content-section::before{content:"";display:block;width:100%;height:36px;margin:-70px auto 38px;background-image:linear-gradient(90deg,#421016aa,#59151b70,#421016aa),url("persian-rug-blue-gold.jpg");background-size:cover;background-position:center center;background-blend-mode:multiply,normal;filter:blur(1.3px);border-top:2px solid #c7974d;border-bottom:2px solid #c7974d;box-shadow:0 14px 28px #09040780}
@media(max-width:650px){.competitions-theme .content-section::before{margin-top:-45px;margin-bottom:30px;width:100%;height:28px}}

@font-face{font-family:"Digi Hilan";src:url("digi-hilan-bold.ttf") format("truetype");font-display:swap}
.competitions-theme .football-school-name{font-family:"Digi Hilan",Tahoma,sans-serif;font-size:clamp(2rem,3.4vw,2.7rem);font-weight:700;line-height:1.6;color:#e1c9a0;text-align:center;margin:.1rem 0 0;text-shadow:none}

/* Football poster and steady warm neon title */
.competitions-theme .competition-gallery .photo-slot:nth-child(2){transform:translateY(32px)}
.competitions-theme .football-caption{color:#fff;text-shadow:0 0 5px #e5e6e9,0 0 14px #aeb2ba,0 0 27px #747984;animation:football-neon 2.8s infinite}
@media(max-width:650px){.competitions-theme .competition-gallery .photo-slot:nth-child(2){transform:translateY(12px)}}

@keyframes football-neon{0%,15%,19%,48%,52%,100%{opacity:1;text-shadow:0 0 5px #e5e6e9,0 0 14px #aeb2ba,0 0 27px #747984}17%,50%{opacity:.52;text-shadow:0 0 2px #999da5}}
@media(prefers-reduced-motion:reduce){.competitions-theme .football-caption{animation:none}}

.competitions-theme .competition-name{display:inline-block;margin-inline:.55em;font-family:"Digi Hilan",Tahoma,sans-serif;font-size:1.18em;font-weight:700;color:#fff;text-shadow:0 0 5px #fff,0 0 13px #c3c7ce,0 0 24px #818792;white-space:nowrap}
.competitions-theme .registration-note{color:#ffe2a5;font-size:1.1rem}

.competitions-theme .competition-list{display:flex;align-items:baseline;justify-content:flex-start;gap:clamp(.75rem,3vw,2rem);margin:.55rem 0;white-space:nowrap}
.competitions-theme .competition-list .competition-name{margin:0}
@media(max-width:650px){.competitions-theme .competition-list .competition-name{font-size:clamp(.93rem,3.4vw,1.18rem)}}

/* One teacher at a time, with blurred neighboring cards */
.teacher-carousel{position:relative;margin-top:34px;min-height:355px;display:grid;align-items:center;isolation:isolate}
.teacher-carousel.is-ready .teacher-grid{position:relative;display:block;height:355px;overflow:hidden;perspective:900px;mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)}
.teacher-carousel.is-ready .teacher{position:absolute;top:28px;right:50%;width:min(460px,56%);min-height:270px;margin-right:0;border:1px solid #547da0;background:linear-gradient(145deg,#193b55,#0d2238);box-shadow:0 24px 65px #0009;transition:transform .55s cubic-bezier(.2,.8,.2,1),opacity .55s ease,filter .55s ease;z-index:1}
.teacher-carousel.is-ready .teacher[data-position="current"]{transform:translateX(50%) scale(1);opacity:1;filter:none;z-index:3}
.teacher-carousel.is-ready .teacher[data-position="next"]{transform:translateX(125%) scale(.78);opacity:.48;filter:blur(4px);z-index:2}
.teacher-carousel.is-ready .teacher[data-position="prev"]{transform:translateX(-25%) scale(.78);opacity:.48;filter:blur(4px);z-index:2}
.teacher-carousel.is-ready .teacher[data-position="hidden"]{transform:translateX(0) scale(.65);opacity:0;visibility:hidden;pointer-events:none}
.teacher-carousel.is-ready .teacher summary{min-height:175px;padding:36px;align-items:center;text-align:center}
.teacher-carousel.is-ready .teacher summary:before{font-size:2.2rem}
.teacher-carousel.is-ready .teacher strong{font-size:1.45rem}
.teacher-carousel.is-ready .teacher .resume{padding:0 28px 28px;text-align:center}
.teacher-carousel.is-ready .teacher-nav{position:absolute;top:48%;transform:translateY(-50%);z-index:5;display:flex;flex-direction:column;align-items:center;gap:0;width:72px;padding:8px;border:1px solid #5786a8;border-radius:14px;background:#102c46eb;color:#e9f7ff;font-size:2.3rem;line-height:1;box-shadow:0 12px 30px #0007}
.teacher-carousel.is-ready .teacher-nav span{font-size:.82rem;line-height:1.5}
.teacher-carousel.is-ready .teacher-next{right:0}
.teacher-carousel.is-ready .teacher-prev{left:0}
.teacher-carousel.is-ready .teacher-nav:hover,.teacher-carousel.is-ready .teacher-nav:focus-visible{background:#225676;outline:2px solid #8ed1fa;outline-offset:3px}
.teacher-counter{text-align:center;color:#a9c4d4;margin:8px 0 0}
.teacher-carousel:not(.is-ready) .teacher-nav{display:none}
@media(max-width:650px){.teacher-carousel,.teacher-carousel.is-ready .teacher-grid{min-height:320px;height:320px}.teacher-carousel.is-ready .teacher{width:68%;min-height:235px}.teacher-carousel.is-ready .teacher[data-position="next"]{transform:translateX(120%) scale(.78)}.teacher-carousel.is-ready .teacher[data-position="prev"]{transform:translateX(-20%) scale(.78)}.teacher-carousel.is-ready .teacher-nav{width:44px;padding:5px;font-size:1.65rem}.teacher-carousel.is-ready .teacher-nav span{font-size:.7rem}.teacher-carousel.is-ready .teacher summary{min-height:145px;padding:20px 10px}.teacher-carousel.is-ready .teacher strong{font-size:1.1rem}.teacher-carousel.is-ready .teacher .resume{padding:0 14px 18px}}
@media(prefers-reduced-motion:reduce){.teacher-carousel.is-ready .teacher{transition:none}}

/* Principal profile space above the teacher carousel */
.principal-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,360px);align-items:center;gap:clamp(28px,5vw,72px);padding:clamp(24px,4vw,50px);border:1px solid #315772;border-radius:22px;background:linear-gradient(125deg,#102d46 0%,#0a1d32 65%,#092138 100%);box-shadow:0 24px 70px #0005}
.principal-copy{min-width:0}.principal-kicker{display:inline-flex;align-items:center;gap:9px;margin-bottom:10px;color:#d8ae69;font-size:.82rem;font-weight:900;letter-spacing:.02em}.principal-kicker::before{content:"";width:28px;height:1px;background:currentColor}.principal-feature .principal-copy h2{max-width:720px;margin:0;color:#f1f8ff;font-size:clamp(1.9rem,3.4vw,2.85rem);line-height:1.45;text-wrap:balance;text-shadow:0 0 22px #57bffb55}.principal-role{margin:10px 0 0!important;color:#b9d9e8!important;font-size:1.05rem;font-weight:800}.principal-resume{margin-top:26px}.principal-resume h3{margin:0 0 13px;color:#e8d2ad;font-size:1rem}.principal-highlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}.principal-highlights li{position:relative;min-height:56px;padding:12px 42px 12px 14px;border:1px solid #d2ad7642;border-radius:12px;background:#ffffff09;color:#e6edf1;font-size:.88rem;line-height:1.85}.principal-highlights li::before{content:"✓";position:absolute;top:13px;right:14px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#d8ae6926;color:#efc987;font-size:.72rem;font-weight:900}.principal-highlights li:last-child{grid-column:1/-1}
.principal-photo{position:relative;aspect-ratio:3/4;display:grid;place-items:center;margin:0;padding:8px;border:1px solid #68b9e6;border-radius:20px;background:linear-gradient(145deg,#173e58,#0c263d);box-shadow:inset 0 0 0 8px #0b2134,0 16px 40px #0007;overflow:hidden}
.principal-photo img{border-radius:13px}.principal-photo figcaption{position:absolute;right:8px;bottom:8px;left:8px;padding:44px 14px 13px;border-radius:0 0 13px 13px;background:linear-gradient(0deg,#120c09ed,transparent);color:#fff4df;text-align:center;font-size:.76rem;font-weight:800}
.principal-photo span{display:block;color:#b8d9eb;font-size:1rem;border:1px dashed #76b7d9;border-radius:9px;padding:12px 20px;text-align:center}
.teacher-neon-divider{height:2px;margin:72px 0 42px;background:linear-gradient(90deg,transparent,#54cbff 20%,#a4edff 50%,#54cbff 80%,transparent);box-shadow:0 0 8px #5cd4ff,0 0 24px #26a7e9}
@media(max-width:760px){.principal-highlights{grid-template-columns:1fr}.principal-highlights li:last-child{grid-column:auto}}
@media(max-width:650px){.principal-feature{grid-template-columns:1fr;gap:28px;padding:22px}.principal-kicker{display:flex;justify-content:center}.principal-feature .principal-copy h2,.principal-role{text-align:center}.principal-photo{width:min(100%,290px);justify-self:center}.teacher-neon-divider{margin:52px 0 30px}}

/* Centered navigation with a translucent glass header */
.top{isolation:isolate;background:rgba(10,28,47,.46);border-bottom:1px solid #b6e2ff45;backdrop-filter:blur(24px) saturate(175%);-webkit-backdrop-filter:blur(24px) saturate(175%);box-shadow:inset 0 1px #ffffff3d,inset 0 -1px #74c8ff16,0 12px 36px #020b1966}
.top::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(115deg,#ffffff1f 0%,#ffffff08 38%,#9cd9ff0c 68%,#ffffff13 100%)}
.competitions-theme .top{background:rgba(47,14,24,.5);border-bottom-color:#ffc8a650}
.kharazmi-theme .top{background:rgba(13,32,54,.49);border-bottom-color:#f4ce854d}
.nav{grid-template-columns:1fr auto 1fr}
.brand{grid-column:1;justify-self:start}
.links{grid-column:2;justify-self:center}
.links a{position:relative;display:inline-block;padding:7px 2px;transition:transform .28s ease,color .28s ease,text-shadow .28s ease}
.links a::after{content:"";position:absolute;right:0;left:0;bottom:1px;height:2px;border-radius:2px;background:currentColor;box-shadow:0 0 9px currentColor;transform:scaleX(0);transform-origin:center;transition:transform .28s ease}
.links a:hover,.links a:focus-visible{transform:translateY(-3px);text-shadow:0 0 12px currentColor}
.links a:hover::after,.links a:focus-visible::after{transform:scaleX(1)}
@media(max-width:900px){.nav{grid-template-columns:1fr auto}.links{grid-column:1/-1;grid-row:2;justify-self:center}}
@media(max-width:650px){.nav{grid-template-columns:1fr}.brand{grid-column:1;justify-self:center}.links{grid-column:1;justify-self:center}}
@media(prefers-reduced-motion:reduce){.links a,.links a::after{transition:none}.links a:hover,.links a:focus-visible{transform:none}}

.content-section .teacher-counter{width:100%;max-width:none;margin:8px auto 0;text-align:center;font-family:Vazirmatn,Tahoma,sans-serif;font-size:1.25rem;font-weight:700;line-height:1.9;color:#d8eafa}


/* About the school and student timetable */
.about-section{position:relative;overflow:hidden;background:radial-gradient(circle at 15% 9%,#153a58 0%,#0b2136 32%,#071321 70%);border-top:1px solid #6dbfec35}
.about-section::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent,#73bbdc0a 52%,transparent)}
.about-section .wrap{position:relative}
.about-intro{display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:clamp(28px,6vw,84px);padding:28px 0 52px}
.about-kicker{display:inline-block;margin-bottom:18px;color:#e2bc7a;font-size:.95rem;font-weight:800}
.about-copy h2{font-size:clamp(2.65rem,5.2vw,5rem);line-height:1.35;letter-spacing:-.02em;margin:0 0 26px;color:#f3f7fa}
.about-copy h2 span{color:#8fd5f7}
.about-copy .lead{max-width:490px;margin:0;color:#bfd5e3;font-size:1.1rem;line-height:2.1}
.about-photo{position:relative;margin:0;padding:10px;border:1px solid #87b7d165;border-radius:24px;background:#a8d9f00c;box-shadow:0 28px 70px #0009;transform:rotate(-1deg)}
.about-photo img{display:block;width:100%;height:clamp(300px,34vw,440px);object-fit:cover;object-position:center 48%;border-radius:17px}
.about-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 96px}
.about-link{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:92px;padding:18px 24px;border:1px solid #5589aa6b;border-radius:15px;background:linear-gradient(135deg,#173751c9,#0d253bde);font-size:1.2rem;font-weight:800;box-shadow:inset 0 1px #ffffff19;transition:transform .25s ease,border-color .25s ease,background .25s ease}
.about-link span:last-child{color:#e6bf7c;font-size:1.35rem;transition:transform .25s ease}
.about-link:hover,.about-link:focus-visible{transform:translateY(-5px);border-color:#a5defb;background:#1a4562;outline:none}
.about-link:hover span:last-child,.about-link:focus-visible span:last-child{transform:translateX(-6px)}
.schedule-panel{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(24px,5vw,65px);align-items:center;padding:clamp(24px,4vw,52px);border:1px solid #5e9bbe73;border-radius:24px;background:linear-gradient(130deg,#0d263d,#123a52 72%,#0d2940);box-shadow:0 26px 70px #0008,inset 0 1px #ffffff22}
.schedule-copy h2{margin:0 0 20px;font-size:clamp(1.7rem,3vw,2.7rem);line-height:1.55;color:#f3f8fc}
.schedule-copy p{color:#bdd5e3;margin:0;font-size:1rem}
.schedule-slot{min-height:280px;display:grid;place-items:center;border:1px dashed #92c8e09e;border-radius:16px;background:repeating-linear-gradient(0deg,#ffffff06 0 1px,transparent 1px 58px),linear-gradient(140deg,#153c57,#0a263d);box-shadow:inset 0 0 0 8px #081f3255}
.schedule-slot span{padding:14px 26px;border-radius:10px;background:#0b2841dd;color:#d6e9f1;font-weight:700}
.schedule-preview{position:relative;display:block;overflow:hidden;width:100%;height:auto;min-height:0;aspect-ratio:1.55;border:1px solid #bb9668;padding:0;background:#111a22;cursor:zoom-in;box-shadow:0 16px 36px #0005}
.schedule-preview img,.schedule-full-frame img{position:absolute;display:block;width:106.5%;height:auto;max-width:none;left:-.5%;top:-6.4%;transition:transform .45s}
.schedule-preview:hover img{transform:scale(1.025)}
.schedule-preview:focus-visible{outline:3px solid #e5bd80;outline-offset:4px}
.schedule-dialog{position:fixed;width:min(94vw,1500px);max-width:none;max-height:92vh;padding:10px;margin:auto;border:1px solid #bb9668;border-radius:18px;background:#142436;box-shadow:0 30px 100px #000b;overflow:auto;animation:schedule-enter .42s cubic-bezier(.2,.8,.2,1) both}
.schedule-dialog::backdrop{background:#030a13dc;backdrop-filter:blur(12px);animation:schedule-backdrop .35s both}
.schedule-full-frame{position:relative;width:max(100%,900px);aspect-ratio:1.55;overflow:hidden;border-radius:10px;background:#111a22}
.schedule-close{position:sticky;top:4px;float:left;z-index:2;display:grid;place-items:center;width:48px;height:48px;margin:5px 0 -53px 5px;border:1px solid #ffffff77;border-radius:50%;background:#0b2239ed;color:#fff;font:36px/1 sans-serif;cursor:pointer;box-shadow:0 4px 20px #0008}
.schedule-close:hover,.schedule-close:focus-visible{background:#9f7547}
@keyframes schedule-enter{from{opacity:0;transform:translateY(40px) scale(.9)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes schedule-backdrop{from{opacity:0}to{opacity:1}}
@media(max-width:900px){.about-intro{grid-template-columns:1fr 1fr}.schedule-panel{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.about-intro{grid-template-columns:1fr;padding:8px 0 38px}.about-copy h2{margin-bottom:16px}.about-photo{transform:none}.about-photo img{height:280px}.about-links{grid-template-columns:1fr;margin-bottom:62px}.about-link{min-height:72px}.schedule-panel{grid-template-columns:1fr}.schedule-slot{min-height:0}}
@media(prefers-reduced-motion:reduce){.about-link,.about-link span:last-child,.schedule-preview img{transition:none}.schedule-dialog,.schedule-dialog::backdrop{animation:none}}

/* Warm cream and brown palette for the teachers page */
.teachers-theme{--bg:#1a110f;--surface:#453125;--line:#a88765;--blue:#d1a06d;--gold:#e0b782;--cream:#f3dfc4;background:#1a110f;color:#f3dfc4}
.teachers-theme .top{background:#261915c9;border-bottom-color:#d7b68a91;box-shadow:inset 0 1px #fff1dc32,0 12px 36px #130a086b}
.teachers-theme .nav{min-height:74px;padding-inline:30px}
.teachers-theme .brand,.teachers-theme .links{color:#fff1da}
.teachers-theme .links a:hover,.teachers-theme .links a:focus-visible{color:#e8bf88}
.teachers-theme .inner-hero{background:#332019}
.teachers-theme .inner-hero:before{filter:sepia(.55) saturate(.7) blur(4px);opacity:.72}
.teachers-theme .inner-hero:after{background:linear-gradient(0deg,#241612f2 0%,#3c261ecb 55%,#3a251e87)}
.teachers-theme .inner-hero h1{color:#ffe9ca}
.teachers-theme .inner-hero p{color:#f3ddc0}
.teachers-theme .back{color:#f3c892}
.teachers-theme .content-section{background:radial-gradient(circle at 80% 0%,#39271e 0%,#261914 54%,#170f0e 100%)}
.teachers-theme .content-section h2{color:#f1d5ac}
.teachers-theme .principal-feature{border-color:#9c7958;background:linear-gradient(130deg,#583e2f,#35241d 75%,#2c1d19);box-shadow:0 22px 60px #0e070660}
.teachers-theme .principal-feature .principal-copy h2{color:#fff0d5;text-shadow:0 0 18px #ddb07738}
.teachers-theme .principal-photo{border-color:#ba9067;background:linear-gradient(145deg,#634834,#3c291f);box-shadow:inset 0 0 0 8px #281a15,0 16px 40px #10080680}
.teachers-theme .principal-photo span{color:#f4ddbf;border-color:#c7a078}
.teachers-theme .teacher-neon-divider{background:linear-gradient(90deg,transparent,#b7824f 20%,#f1cb92 50%,#b7824f 80%,transparent);box-shadow:0 0 8px #deb174,0 0 23px #c5905a88}
.teachers-theme .teacher,.teachers-theme .teacher-carousel.is-ready .teacher{border-color:#aa815c;background:linear-gradient(145deg,#5d4231,#38261e);color:#fff0d7;box-shadow:0 24px 55px #0d060585}
.teachers-theme .teacher summary:before{color:#e5b77e}
.teachers-theme .teacher small{color:#e4c9a9}
.teachers-theme .teacher .resume,.teachers-theme .teacher .resume p{color:#f0dcc3}
.teachers-theme .teacher[open]{border-color:#e6bb86}
.teachers-theme .teacher-carousel.is-ready .teacher-nav{border-color:#ad825b;background:#3e281fea;color:#fff1dc;box-shadow:0 12px 30px #180c086b}
.teachers-theme .teacher-carousel.is-ready .teacher-nav:hover,.teachers-theme .teacher-carousel.is-ready .teacher-nav:focus-visible{background:#66432c;outline-color:#e9bd85}
.teachers-theme .teacher-counter,.teachers-theme .content-section .teacher-counter{color:#ead0ad}
.teachers-theme .footer{background:#211612;border-top-color:#a67e59;color:#e5c9aa}
.teachers-theme .footer a:hover{color:#fff0d7}
@media(max-width:650px){.teachers-theme .nav{padding:9px 16px;gap:3px}}

/* Full-width rectangular glass navigation across all pages */
.top{width:100%;margin:0;border-radius:0;overflow:visible}
@font-face{font-family:"Jabbariyan Nastaliq";src:url("jabbariyan-nastaliq.ttf") format("truetype");font-display:swap}
.top .brand{font-family:"Jabbariyan Nastaliq",serif;font-size:clamp(1.35rem,2vw,1.7rem);font-weight:400;line-height:2;}

/* School story and location */
.about-discovery{position:relative;display:grid;grid-template-columns:190px 1fr auto;align-items:center;gap:24px;min-height:182px;margin:0 0 28px;padding:18px 30px 18px 18px;border:1px solid #85c9df76;border-radius:22px;background:linear-gradient(115deg,#143d55,#0c273e 72%);box-shadow:0 20px 45px #0006,inset 0 1px #ffffff22;overflow:hidden;transition:transform .3s,border-color .3s}
.about-discovery:hover,.about-discovery:focus-visible{transform:translateY(-4px);border-color:#e4c287;outline:none}
.about-discovery-art{align-self:stretch;border-radius:13px;background:url("school-background.jpg") center/cover no-repeat}
.about-discovery-copy{display:flex;flex-direction:column;gap:8px}
.about-discovery-copy small{color:#e3be7b;font-size:.85rem;font-weight:800}
.about-discovery-copy strong{font-size:clamp(1.35rem,2.3vw,2rem);color:#f8f3e9;line-height:1.5}
.about-discovery-copy>span{color:#c5dbe3}
.about-discovery-arrow{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#e7bb7d;color:#152a39;font-size:1.5rem;transition:transform .3s}
.about-discovery:hover .about-discovery-arrow{transform:translateX(-7px)}
.school-about-theme{background:#081a2a;color:#f6efe4}
.school-about-theme .top{border-color:#a8d5ee80}
.school-story-hero{position:relative;overflow:hidden;padding:85px 0 110px;background:radial-gradient(circle at 20% 15%,#1c4760,#0b2539 48%,#071725 100%)}
.school-story-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 15%,#ffffff05 50%,transparent 78%);pointer-events:none}
.school-story-hero-inner{position:relative;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(30px,5vw,72px)}
.school-story-copy .back{display:inline-block;margin-bottom:34px;color:#e8bd7e}
.school-story-eyebrow{display:block;color:#7fd0d8;font-size:.92rem;font-weight:800;letter-spacing:.02em}
.school-story-copy h1{margin:13px 0 22px;font-size:clamp(2.45rem,4.5vw,4.7rem);line-height:1.4}
.school-story-copy h1 em{font-style:normal;color:#edc486}
.school-story-copy p{max-width:570px;margin:0 0 27px;color:#d3e1e5;font-size:1.08rem;line-height:2}
.school-story-action{display:inline-flex;align-items:center;gap:14px;padding:11px 23px;border:1px solid #e3bd85;border-radius:999px;color:#f5ddb5;transition:background .25s,transform .25s}
.school-story-action:hover{background:#e3bd8526;transform:translateY(-3px)}
.school-story-hero-photo{position:relative;margin:0;padding:9px;border:1px solid #9ed0d391;border-radius:26px;background:#ffffff14;box-shadow:0 30px 70px #0008;transform:rotate(-1.2deg)}
.school-story-hero-photo img{display:block;width:100%;height:clamp(330px,36vw,510px);object-fit:cover;object-position:center;border-radius:18px}
.school-story-hero-photo figcaption{position:absolute;right:28px;bottom:26px;padding:6px 16px;border-radius:999px;background:#082337c9;color:#f7ead4;font-size:.87rem;backdrop-filter:blur(8px)}
.school-story-section,.school-history-section,.school-location-section{padding:92px 0}
.school-story-section{background:#091b2c}
.school-story-heading{max-width:720px;margin-bottom:38px}
.school-story-heading h2,.school-history-grid h2{margin:0 0 16px;font-size:clamp(2rem,3.6vw,3.4rem);line-height:1.5;color:#f6e4c5}
.school-story-heading p,.school-history-grid p{margin:0;color:#c7d8dc;line-height:2.15}
.school-spaces{display:grid;grid-template-columns:1.12fr .88fr;gap:20px}
.school-space{overflow:hidden;border:1px solid #7ca9b76b;border-radius:20px;background:#122d40;box-shadow:0 20px 50px #0005}
.school-space img{display:block;width:100%;height:300px;object-fit:cover}
.school-space-main img{object-position:center 40%}
.school-space>div{padding:26px 30px 31px}
.school-space span{color:#deb579;font-size:.83rem;font-weight:800}
.school-space h3{margin:5px 0 10px;color:#f5eee2;font-size:1.45rem}
.school-space p{margin:0;color:#c3d5dc;line-height:2}
.school-history-section{background:linear-gradient(135deg,#173248,#0d2335 58%,#0b1b2b)}
.school-history-grid{display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:clamp(30px,6vw,85px)}
.school-history-grid p+p{margin-top:17px}
.school-source-link{display:inline-block;margin-top:24px;color:#efc88b;border-bottom:1px solid #efc88b8c}
.school-history-note{display:flex;flex-direction:column;gap:14px;padding:38px;border:1px solid #e0bd816b;border-radius:22px;background:linear-gradient(145deg,#1b3d50,#102838);box-shadow:0 18px 45px #0005}
.school-history-note>span{color:#e0bd81;font-size:.88rem;font-weight:800}
.school-history-note strong{color:#fff3db;font-size:clamp(1.4rem,2.5vw,2.1rem)}
.school-history-note p{color:#dbe8e6}
.school-history-note small{color:#a9c5c9;line-height:1.9}
.school-location-section{background:#081a2a;scroll-margin-top:95px}
.school-location-card{display:grid;grid-template-columns:.78fr 1.22fr;min-height:370px;overflow:hidden;border:1px solid #ba9b6a7d;border-radius:22px;background:#173448;box-shadow:0 23px 55px #0005}
.school-location-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:38px}
.school-location-label{color:#e4bd7f;font-weight:800}
.school-location-copy h3{margin:10px 0;font-size:2rem;color:#fff0d8}
.school-location-copy p{margin:5px 0;color:#d5e4e4}
.school-location-copy .school-location-detail{font-size:.86rem;color:#a9c5ca}
.school-location-copy a{margin-top:23px;padding:10px 19px;border-radius:999px;background:#e7be81;color:#142b3b;font-weight:800}
.school-map{min-height:370px;background:#203b4a}
.school-map iframe{display:block;width:100%;height:100%;min-height:370px;border:0}
.school-attribution{margin:21px 0 0;color:#a9c4cc;font-size:.83rem;line-height:1.9}
.school-attribution a{color:#edc58c;text-decoration:underline;text-underline-offset:3px}
.school-exam-hall{display:grid;grid-template-columns:.62fr 1.38fr;gap:clamp(25px,4vw,58px);align-items:center;margin-top:35px;padding:clamp(22px,3vw,38px);border:1px solid #a5babb5d;border-radius:24px;background:linear-gradient(125deg,#17394c,#0d273c);box-shadow:0 18px 48px #0005}
.school-exam-intro h3{margin:0 0 15px;color:#f6e4c5;font-size:clamp(1.8rem,3vw,2.7rem)}
.school-exam-intro p{margin:0;color:#c7d9db;line-height:2.1}
.school-exam-gallery{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.school-exam-gallery figure{margin:0;overflow:hidden;border:1px solid #b0c9ca55;border-radius:15px;background:#102b3d}
.school-exam-gallery img{display:block;width:100%;height:265px;object-fit:cover;object-position:center}
.school-exam-gallery figcaption{padding:11px 15px;color:#e8d2ad;font-size:.85rem}
@media(max-width:800px){.school-story-hero-inner,.school-history-grid,.school-location-card{grid-template-columns:1fr}.school-story-hero{padding:60px 0 78px}.school-story-hero-photo{max-width:630px}.school-spaces{grid-template-columns:1fr 1fr}.school-location-copy{padding:30px}}
@media(max-width:900px){.school-exam-hall{grid-template-columns:1fr}}
@media(max-width:650px){.about-discovery{grid-template-columns:100px 1fr;gap:15px;padding:13px;min-height:150px}.about-discovery-copy>span{display:none}.about-discovery-arrow{grid-column:2;width:34px;height:34px;justify-self:start;font-size:1rem}.school-story-section,.school-history-section,.school-location-section{padding:65px 0}.school-spaces{grid-template-columns:1fr}.school-space img{height:245px}.school-story-hero-photo img{height:310px}.school-map,.school-map iframe{min-height:290px}.school-exam-gallery{grid-template-columns:1fr}.school-exam-gallery img{height:245px}}

/* About school: deep forest green and warm cream */
.school-about-theme{--bg:#0a1a16;--surface:#153329;--line:#587661;--blue:#d7bc86;--gold:#e1c38e;--cream:#f3ead6;background:#0a1a16;color:#f3ead6}
.school-about-theme .top{background:#10241dd9;border-bottom-color:#a6b89969;box-shadow:inset 0 1px #fff5df25,0 12px 36px #07120c78}
.school-about-theme .top::before{background:linear-gradient(110deg,#f8ebc115,transparent 45%,#c3d9ae0d)}
.school-about-theme .links{color:#ebead9}
.school-about-theme .links a:hover,.school-about-theme .links a:focus-visible{color:#f6d89d}
.school-about-theme .school-story-hero{background:radial-gradient(circle at 23% 11%,#345644 0%,#19382b 37%,#0a1c16 78%,#081711 100%)}
.school-about-theme .school-story-copy .back,.school-about-theme .school-story-eyebrow,.school-about-theme .about-kicker{color:#e5c68e}
.school-about-theme .school-story-copy h1 em{color:#f4dfa9}
.school-about-theme .school-story-copy p,.school-about-theme .school-story-heading p,.school-about-theme .school-history-grid p,.school-about-theme .school-space p,.school-about-theme .school-exam-intro p{color:#d2ddcf}
.school-about-theme .school-story-action{border-color:#d8c397;color:#f5e1b3}
.school-about-theme .school-story-action:hover{background:#d8c39724}
.school-about-theme .school-story-hero-photo{border-color:#cfbd8c85;background:#dfd2aa13}
.school-about-theme .school-story-hero-photo figcaption{background:#102c20d9;color:#f7edcf}
.school-about-theme .school-story-section{background:#0e211a}
.school-about-theme .school-story-heading h2,.school-about-theme .school-history-grid h2,.school-about-theme .school-exam-intro h3{color:#f4e6c5}
.school-about-theme .school-space{border-color:#a8b68b6b;background:#193b2d}
.school-about-theme .school-space span,.school-about-theme .school-location-label{color:#e7c58e}
.school-about-theme .school-space h3,.school-about-theme .school-location-copy h3{color:#f8edd2}
.school-about-theme .school-exam-hall{border-color:#aaba9470;background:linear-gradient(125deg,#234734,#142e24)}
.school-about-theme .school-exam-gallery figure{border-color:#b8bd9566;background:#183b2e}
.school-about-theme .school-exam-gallery figcaption{color:#f0d8a8}
.school-about-theme .school-history-section{background:linear-gradient(135deg,#21412f,#132b20 58%,#0d211a)}
.school-about-theme .school-history-note{border-color:#d4bc8e80;background:linear-gradient(145deg,#2b503a,#173427)}
.school-about-theme .school-history-note>span,.school-about-theme .school-source-link,.school-about-theme .school-attribution a{color:#f0ce96}
.school-about-theme .school-history-note strong{color:#fff0cb}
.school-about-theme .school-history-note p{color:#e1e8d5}
.school-about-theme .school-history-note small,.school-about-theme .school-location-copy .school-location-detail,.school-about-theme .school-attribution{color:#b8ccb7}
.school-about-theme .school-location-section{background:#0a1a16}
.school-about-theme .school-location-card{border-color:#c6b88988;background:#1c3c2c}
.school-about-theme .school-location-copy p{color:#dce4d0}
.school-about-theme .school-location-copy a{background:#e8d19d;color:#1c3225}
.school-about-theme .school-map{background:#254738}
.school-about-theme .footer{border-top-color:#6d8b6b65;color:#c4d5c1}

/* Soft fade transitions between site pages */
body::after{content:"";position:fixed;inset:0;z-index:100;pointer-events:none;opacity:0;background:radial-gradient(circle at 72% 28%,var(--transition-glow,#344c5a) 0%,var(--transition-base,#091a2b) 80%);will-change:opacity}
.is-page-leaving body::after{animation:page-fade-cover .52s ease-in both}
.is-page-entering body::after{animation:page-fade-reveal .78s ease-out both}
.is-page-leaving body>header,.is-page-leaving body>main,.is-page-leaving body>footer{animation:page-content-out .52s ease-in both}
.is-page-entering body>header,.is-page-entering body>main,.is-page-entering body>footer{animation:page-content-in .78s cubic-bezier(.2,.7,.2,1) both}
@keyframes page-fade-cover{from{opacity:0}to{opacity:1}}
@keyframes page-fade-reveal{from{opacity:1}to{opacity:0}}
@keyframes page-content-out{from{opacity:1;filter:blur(0);transform:translateY(0)}to{opacity:.18;filter:blur(8px);transform:translateY(-9px)}}
@keyframes page-content-in{from{opacity:.2;filter:blur(8px);transform:translateY(13px)}to{opacity:1;filter:blur(0);transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.is-page-leaving body::after,.is-page-entering body::after,.is-page-leaving body>header,.is-page-leaving body>main,.is-page-leaving body>footer,.is-page-entering body>header,.is-page-entering body>main,.is-page-entering body>footer{animation:none}}

/* Handheld layout: a compact header, generous touch targets and readable cards. */
.mobile-menu-toggle{display:none}
@media(max-width:760px){
  html{scroll-padding-top:82px}
  .top{z-index:60}
  .top .nav,.teachers-theme .top .nav{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:68px;padding:5px 0;gap:12px}
  .top .brand{margin:0;min-width:0;justify-self:auto;font-size:clamp(1.35rem,5vw,1.65rem);line-height:2.15;white-space:nowrap}
  .mobile-menu-toggle{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;flex:none;width:48px;height:48px;padding:0;border:1px solid color-mix(in srgb,var(--gold) 58%,transparent);border-radius:13px;background:color-mix(in srgb,var(--surface) 85%,transparent);color:var(--cream);box-shadow:inset 0 1px #ffffff20}
  .mobile-menu-toggle span{display:block;width:21px;height:2px;border-radius:4px;background:currentColor;transition:transform .2s,opacity .2s}
  .menu-open .mobile-menu-toggle span:first-child{transform:translateY(7px) rotate(45deg)}
  .menu-open .mobile-menu-toggle span:nth-child(2){opacity:0}
  .menu-open .mobile-menu-toggle span:last-child{transform:translateY(-7px) rotate(-45deg)}
  .top .links{display:none;position:absolute;top:calc(100% + 1px);right:0;left:0;grid-column:auto;grid-row:auto;justify-self:auto;flex-direction:column;align-items:stretch;gap:3px;padding:10px;border:1px solid var(--line);border-radius:0 0 18px 18px;background:color-mix(in srgb,var(--bg) 94%,var(--surface));box-shadow:0 22px 38px #0009;max-height:calc(100dvh - 84px);overflow:auto}
  .top .menu-open .links{display:flex}
  .top .links a{display:flex;align-items:center;min-height:49px;width:100%;padding:9px 16px;border-radius:10px;font-size:1rem;line-height:1.6}
  .top .links a[aria-current="page"],.top .links a:hover,.top .links a:focus-visible{background:color-mix(in srgb,var(--gold) 17%,transparent);color:var(--cream)}
  .top .links a::after{display:none}
  .mobile-menu-toggle:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
  .wrap{width:min(100% - 36px,1180px)}
  .hero-inner{min-height:0;padding:76px 0 88px}
  .hero h1{font-size:clamp(2.25rem,9vw,3.7rem);line-height:1.48}
  .inner-hero{min-height:295px}
  .inner-hero .wrap{padding:65px 0 38px}
  .inner-hero h1{font-size:clamp(2.25rem,9vw,3.5rem)}
  .inner-hero p,.school-story-copy p{font-size:1rem}
  .content-section{padding:48px 0 76px}
  .about-intro,.schedule-panel,.principal-feature,.school-story-hero-inner,.school-history-grid,.school-location-card,.school-exam-hall{grid-template-columns:minmax(0,1fr)}
  .about-copy h2{font-size:clamp(2.4rem,9vw,4rem)}
  .about-links{grid-template-columns:1fr;gap:12px}
  .about-link{min-height:68px;padding:14px 20px}
  .schedule-panel{padding:22px;gap:22px}
  .schedule-preview{min-height:0}
  .school-story-hero{padding:56px 0 72px}
  .school-story-copy .back{margin-bottom:24px}
  .school-story-copy h1{font-size:clamp(2.2rem,8.5vw,3.5rem)}
  .school-story-hero-photo{transform:none}
  .school-story-section,.school-history-section,.school-location-section{padding:62px 0}
  .school-spaces{grid-template-columns:minmax(0,1fr)}
  .school-exam-hall{padding:22px;gap:22px}
  .school-exam-gallery{grid-template-columns:minmax(0,1fr)}
  .school-location-copy{padding:27px}
  .school-location-copy h3{font-size:1.55rem}
  .school-location-copy a{min-height:48px;display:inline-flex;align-items:center}
  .school-map,.school-map iframe{min-height:320px}
  .competition-gallery{grid-template-columns:minmax(0,1fr);gap:35px}
  .competitions-theme .competition-gallery .photo-slot:nth-child(2){transform:none}
  .competitions-theme .competition-list{flex-wrap:wrap;white-space:normal;gap:3px 16px}
  .teacher-carousel.is-ready .teacher-grid{mask-image:none}
  .teacher-carousel.is-ready .teacher{width:min(72%,360px);right:50%}
  .teacher-carousel.is-ready .teacher[data-position="prev"],.teacher-carousel.is-ready .teacher[data-position="next"]{opacity:.18;filter:blur(5px)}
  .teacher-carousel.is-ready .teacher-nav{top:auto;bottom:0;transform:none;width:52px;height:52px;border-radius:50%;padding:3px;font-size:1.65rem}
  .teacher-carousel.is-ready .teacher-nav span{display:none}
  .teacher-carousel.is-ready .teacher summary{min-height:155px}
  .teacher-carousel.is-ready .teacher-grid{height:335px}
  .teacher-carousel{min-height:395px}
  .footer .wrap{display:flex;flex-wrap:wrap;gap:8px 20px;justify-content:space-between}
}
@media(max-width:430px){
  .wrap{width:calc(100% - 30px)}
  .top .brand{font-size:1.35rem}
  .hero-inner{padding:62px 0 72px}
  .hero h1{font-size:clamp(2.1rem,9vw,2.7rem)}
  .about-discovery{grid-template-columns:78px minmax(0,1fr);gap:12px}
  .about-discovery-copy strong{font-size:1.15rem}
  .school-story-heading h2,.school-history-grid h2{font-size:2rem}
  .school-space>div{padding:20px}
  .school-history-note{padding:25px}
  .principal-feature{padding:20px}
  .teacher-carousel.is-ready .teacher{width:76%}
}
@media(prefers-reduced-motion:reduce){.mobile-menu-toggle span{transition:none}}

/* Student reading section */
.blog-home{background:linear-gradient(130deg,#102e44,#071321);border-top:1px solid var(--line)}.blog-home h2{font-size:clamp(2rem,5vw,3rem);margin:0 0 14px}.blog-home p{color:#c5d4e2;margin-bottom:25px}.blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:start}.blog-card{min-width:0;padding:28px;border:1px solid #426781;border-radius:20px;background:linear-gradient(145deg,#17384e,#0d2336);box-shadow:0 18px 40px #0004}.blog-category{display:inline-block;padding:4px 13px;border-radius:999px;background:#d8ae691c;color:#e7c78f;font-size:.9rem}.blog-card h2{font-size:1.45rem;line-height:1.8;margin:18px 0 12px}.blog-card p{font-size:1rem;line-height:2;color:#d0dfe7}.blog-reading summary{cursor:pointer;color:#9fddfa;padding:12px 0;min-height:48px}.blog-reading[open] summary{border-bottom:1px solid #426781}.blog-reading summary:focus-visible{outline:2px solid var(--gold);outline-offset:4px}@media(max-width:1000px){.blog-grid{grid-template-columns:1fr}.blog-card{padding:24px}.nav{grid-template-columns:auto 1fr;gap:18px}.links{gap:17px;grid-column:2}.links a{font-size:.88rem}}@media(max-width:760px){.top .links{grid-column:auto}.blog-card{padding:22px}}

/* Daily reading: violet accents on obsidian surfaces. */
.blog-theme{--bg:#09070f;--surface:#21152e;--line:#604477;--blue:#d3a9ff;--gold:#bb83f1;--cream:#f4edfc;background:#09070f;color:#f4edfc}
.blog-theme .top{background:#100a19dc;border-bottom-color:#b37ce24d;box-shadow:inset 0 1px #ecdbff1c,0 12px 36px #0008}
.blog-theme .top::before{background:linear-gradient(115deg,#c591ff13,transparent 55%,#975ce917)}
.blog-theme .links{color:#e6d9f1}.blog-theme .links a:hover,.blog-theme .links a:focus-visible,.blog-theme .back{color:#d8b2ff}
.blog-theme .inner-hero{background:radial-gradient(ellipse at 76% 15%,#42245e 0%,#1c102d 42%,#09070f 85%)}
.blog-theme .inner-hero::before{background:radial-gradient(ellipse at 22% 80%,#8952cc24,transparent 65%);filter:none}
.blog-theme .inner-hero::after{background:linear-gradient(0deg,#09070f,transparent 85%)}
.blog-theme .inner-hero h1{color:#f6edff;text-shadow:0 6px 36px #a760f044}
.blog-theme .inner-hero p{color:#cbbad9}.blog-theme .content-section{background:radial-gradient(ellipse at 85% 0%,#24133288,transparent 55%),#09070f}
.blog-theme .blog-card{position:relative;border-color:#76518c70;background:linear-gradient(145deg,#24162f,#120d1b 82%);box-shadow:0 20px 48px #0007,inset 0 1px #e7c7ff15}
.blog-theme .blog-card h2{color:#f1e6fb}.blog-theme .blog-card p{color:#d0bfdc}
.blog-theme .blog-category{background:#9f61df1f;color:#dcafff;border:1px solid #bb83f137}
.blog-theme .blog-reading summary{color:#d9adff}.blog-theme .blog-reading[open] summary{border-color:#8355a550}
.blog-theme .footer{background:#08060c;border-top-color:#754f914d;color:#baa7c9}

/* Library photograph beneath the violet blog hero. */
.blog-theme .inner-hero::before{background:url("blog-library.jpg") center 48%/cover no-repeat;filter:blur(4px);opacity:.64;transform:scale(1.025)}
.blog-theme .inner-hero::after{background:linear-gradient(270deg,#100819d9 0%,#201031ad 52%,#0b07146b 100%),linear-gradient(0deg,#09070f 0%,transparent 65%)}
@media(max-width:760px){.blog-theme .inner-hero::before{background-position:42% center;filter:blur(3px)}.blog-theme .inner-hero::after{background:linear-gradient(0deg,#09070ff2,#1c0c2dc2 65%,#130a20aa)}}

.staff-section{margin-top:60px}.staff-section h2,.educators-title{text-align:center;font-size:clamp(1.8rem,4vw,2.7rem);margin-bottom:12px}.educators-title{margin-top:0}.staff-description{text-align:center;margin-inline:auto}.staff-section .teacher-neon-divider{margin-bottom:42px}@media(max-width:760px){.staff-section{margin-top:48px}.staff-section .teacher-neon-divider{margin-top:35px}}

.principal-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center bottom}

/* Website creator credit shared by every page footer. */
.site-credit{color:var(--gold);font-weight:700;white-space:nowrap}

/* Blurred library photograph behind the home-page blog invitation. */
.blog-home{position:relative;isolation:isolate;overflow:hidden;background:#071321}
.blog-home::before{content:"";position:absolute;inset:-24px;z-index:-2;pointer-events:none;background:url("blog-library.jpg") center 48%/cover no-repeat;filter:blur(7px);transform:scale(1.04)}
.blog-home::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(270deg,rgba(4,17,32,.9) 0%,rgba(5,22,38,.78) 48%,rgba(5,20,34,.58) 100%)}
.blog-home .wrap{position:relative;z-index:1}
@media(max-width:760px){.blog-home::before{background-position:42% center;filter:blur(5px)}.blog-home::after{background:linear-gradient(270deg,rgba(4,17,32,.9),rgba(5,22,38,.76))}}

/* Direction-aware reveal and subtle depth while scrolling. */
.scroll-motion{opacity:.18;translate:0 56px;scale:.94;filter:blur(8px);transition:opacity .85s cubic-bezier(.2,.7,.2,1),translate .9s cubic-bezier(.2,.7,.2,1),scale .95s cubic-bezier(.2,.7,.2,1),filter .75s ease;transition-delay:var(--reveal-delay,0ms);transform-origin:center center;backface-visibility:hidden}
.scroll-motion.is-above{translate:0 -38px;scale:.96}
.scroll-motion.is-below{translate:0 56px;scale:.94}
.scroll-motion.is-visible{opacity:1;translate:0 0;scale:var(--scroll-scale,1);filter:blur(0)}
@media(max-width:760px){.scroll-motion{translate:0 34px;scale:.965;filter:blur(4px);transition-duration:.68s,.72s,.76s,.58s}.scroll-motion.is-above{translate:0 -26px;scale:.975}.scroll-motion.is-below{translate:0 34px;scale:.965}}
@media(prefers-reduced-motion:reduce){.scroll-motion,.scroll-motion.is-above,.scroll-motion.is-below,.scroll-motion.is-visible{opacity:1;translate:none;scale:1;filter:none;transition:none}}

/* Premium motion layer inspired by contemporary editorial portfolios. */
.scroll-progress{--scroll-progress:0;position:fixed;inset:0 0 auto;z-index:80;height:3px;pointer-events:none;transform:scaleX(var(--scroll-progress));transform-origin:right center;background:linear-gradient(90deg,var(--gold),var(--blue),#fff1c9);box-shadow:0 0 12px color-mix(in srgb,var(--blue) 75%,transparent)}
.cinematic-texture{position:fixed;inset:0;z-index:18;pointer-events:none;opacity:.022;background:repeating-linear-gradient(0deg,#fff 0 1px,transparent 1px 4px);mix-blend-mode:soft-light}
.cursor-spotlight{position:fixed;top:0;left:0;z-index:17;width:420px;height:420px;border-radius:50%;pointer-events:none;opacity:0;background:radial-gradient(circle,rgba(104,196,242,.13),rgba(216,174,105,.055) 36%,transparent 70%);mix-blend-mode:screen;transition:opacity .35s ease}.cursor-spotlight.is-active{opacity:1}
.school-marquee{position:relative;z-index:2;direction:ltr;overflow:hidden;border-block:1px solid color-mix(in srgb,var(--blue) 30%,transparent);background:#071321;padding:12px 0;box-shadow:inset 0 1px #ffffff08}.school-marquee-track{display:flex;width:max-content;align-items:center;animation:school-marquee 24s linear infinite;color:#a9bac8;font-size:.82rem;font-weight:900;letter-spacing:.16em;white-space:nowrap}.school-marquee-set{display:flex;min-width:100vw;align-items:center;justify-content:space-around;gap:30px;direction:rtl}
@keyframes school-marquee{from{translate:-50% 0}to{translate:0 0}}
.premium-heading{perspective:900px;transform-style:preserve-3d;transition:text-shadow .45s ease}.premium-heading:hover{text-shadow:0 16px 50px color-mix(in srgb,var(--blue) 26%,transparent)}
.premium-ink{color:transparent!important;background:linear-gradient(105deg,var(--cream) 0%,var(--blue) 32%,var(--gold) 52%,var(--blue) 72%,var(--cream) 100%);background-size:230% 100%;background-position:100% 50%;-webkit-background-clip:text;background-clip:text;animation:premium-ink-shift 8s ease-in-out infinite}
@keyframes premium-ink-shift{0%,100%{background-position:100% 50%}50%{background-position:0 50%}}
.magnetic-target{translate:var(--magnetic-x,0) var(--magnetic-y,0);transition:translate .28s cubic-bezier(.2,.8,.2,1),background-color .2s ease,box-shadow .25s ease;box-shadow:0 12px 32px #0003}.magnetic-target:hover{box-shadow:0 16px 42px color-mix(in srgb,var(--blue) 24%,transparent)}
.premium-tilt{--tilt-x:0deg;--tilt-y:0deg;position:relative;transform:perspective(1200px) translateY(var(--tilt-lift,0)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));transform-style:preserve-3d;transition:transform .24s cubic-bezier(.2,.8,.2,1),border-color .25s ease,box-shadow .25s ease;overflow:hidden}.premium-tilt:hover{--tilt-lift:-4px;box-shadow:0 28px 75px #0008,0 0 0 1px color-mix(in srgb,var(--blue) 32%,transparent)}.premium-tilt>*:not(.tilt-glare){position:relative;z-index:1}.tilt-glare{position:absolute!important;inset:-1px;z-index:3!important;pointer-events:none;opacity:0;background:radial-gradient(320px circle at var(--glare-x,50%) var(--glare-y,50%),rgba(255,255,255,.19),rgba(104,196,242,.07) 28%,transparent 62%);mix-blend-mode:screen;transition:opacity .25s ease}.premium-tilt:hover>.tilt-glare{opacity:1}
.image-breathe{animation:image-breathe 14s ease-in-out var(--breathe-delay,0s) infinite alternate;transform-origin:center}
@keyframes image-breathe{from{scale:1}to{scale:1.035}}
.links a{position:relative}.links a::after{content:"";position:absolute;right:0;bottom:-6px;width:100%;height:1px;scale:0 1;transform-origin:right;background:linear-gradient(90deg,var(--gold),var(--blue));transition:scale .32s cubic-bezier(.2,.8,.2,1)}.links a:hover::after,.links a:focus-visible::after,.links a[aria-current="page"]::after{scale:1 1}
@media(max-width:760px){.cinematic-texture{opacity:.014}.school-marquee{padding:9px 0}.school-marquee-track{gap:22px;font-size:.72rem;animation-duration:19s}.cursor-spotlight{display:none}}
@media(prefers-reduced-motion:reduce){.school-marquee-track,.premium-ink,.image-breathe{animation:none}.premium-tilt{transform:none}.magnetic-target{translate:none}.cursor-spotlight{display:none}.premium-heading{transition:none}}

/* Editorial blog, laboratory gallery and alumni showcase */
.blog-theme{--blog-violet:#b98cff;--blog-cyan:#7ddcf6;--blog-paper:#f7f0e5;background:#060b13}
.blog-theme .blog-hero{min-height:520px;align-items:center;border-bottom:1px solid #9a6ce237}
.blog-theme .blog-hero::before{background:url("laboratory-science-room.jpg") center 55%/cover no-repeat;filter:blur(5px) saturate(.82);opacity:.64;transform:scale(1.035)}
.blog-theme .blog-hero::after{background:linear-gradient(90deg,#07111bd9,#100f25c7 48%,#0713219e),linear-gradient(0deg,#060b13 0%,transparent 58%)}
.blog-hero .wrap{padding-block:110px 78px}.blog-hero-kicker{display:block;width:max-content;margin-bottom:13px;padding:5px 13px;border:1px solid #d5bdff70;border-radius:999px;background:#9b73d91a;color:#e4d3ff;font-size:.84rem;font-weight:800}.blog-theme .blog-hero h1{margin:.05em 0 .12em;font-size:clamp(3rem,7vw,6.4rem);line-height:1.2}.blog-theme .blog-hero p{max-width:620px;font-size:1.08rem;line-height:2;color:#d8d5e6}
.blog-editorial{position:relative;padding-block:110px 125px;background:radial-gradient(circle at 12% 18%,#8e62c91a,transparent 31%),#080d16}.blog-section-heading{max-width:820px;margin-bottom:46px}.blog-section-heading>span{display:block;margin-bottom:10px;color:#d4b6ff;font-size:.86rem;font-weight:900;letter-spacing:.04em}.blog-section-heading h2{margin:0;color:#fbf6ee;font-size:clamp(2rem,4.5vw,4rem);line-height:1.45}.blog-section-heading p{max-width:690px!important;margin:12px 0 0;color:#aebdca!important;font-size:1.03rem;line-height:2}
.blog-editorial .blog-grid{gap:20px;align-items:stretch}.blog-editorial .blog-card{position:relative;min-height:390px;padding:34px 30px 28px;border-color:#876cad4d;border-radius:26px;background:linear-gradient(155deg,#16182b,#0a1521 72%);box-shadow:0 26px 70px #0007,inset 0 1px #ffffff0d;overflow:hidden;transition:translate .35s ease,border-color .35s ease,box-shadow .35s ease}.blog-editorial .blog-card::after{content:"";position:absolute;left:-58px;bottom:-85px;width:210px;height:210px;border-radius:50%;background:#8c5fd421;filter:blur(10px);pointer-events:none}.blog-editorial .blog-card:hover{translate:0 -7px;border-color:#b990ec8c;box-shadow:0 34px 90px #0009,0 0 0 1px #9e72dc2b}.blog-card-featured{background:linear-gradient(155deg,#201936,#0b1924 72%)!important}.blog-card-index{position:absolute;left:25px;top:17px;color:#ffffff12;font:900 clamp(3rem,5vw,5.3rem)/1 Vazirmatn,sans-serif}.blog-editorial .blog-category{position:relative;z-index:1;background:#aa79eb1d;color:#ddc5ff;border:1px solid #b884ef38}.blog-editorial .blog-card h3{position:relative;z-index:1;margin:26px 0 12px;color:#fff8eb;font-size:1.55rem;line-height:1.7}.blog-editorial .blog-card>p{position:relative;z-index:1;min-height:70px;color:#aebfcd}.blog-editorial .blog-reading{position:relative;z-index:1;margin-top:24px;border-top:1px solid #956fc13d}.blog-editorial .blog-reading summary{display:flex;align-items:center;justify-content:space-between;color:#9cdffc}.blog-editorial .blog-reading summary::after{content:"＋";font-size:1.2rem}.blog-editorial .blog-reading[open] summary::after{content:"−"}.blog-editorial .blog-reading div{padding-top:12px}
.lab-showcase{position:relative;padding:120px 0 135px;background:linear-gradient(180deg,#08131e,#071019 72%,#0b1018);overflow:hidden}.lab-showcase::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#ffffff05 1px,transparent 1px),linear-gradient(#ffffff05 1px,transparent 1px);background-size:72px 72px;mask-image:linear-gradient(to bottom,transparent,#000 24%,#000 76%,transparent)}.lab-heading{position:relative;max-width:none;display:grid;grid-template-columns:170px minmax(0,760px);gap:45px;align-items:start}.lab-heading>span{padding-top:17px;color:#7ed8f1}.lab-gallery{position:relative;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:205px;gap:15px}.lab-shot{position:relative;grid-column:span 4;min-width:0;padding:0;border:1px solid #80cbe33d;border-radius:22px;background:#0e1c28;box-shadow:0 18px 50px #0006;overflow:hidden;text-align:right;isolation:isolate;cursor:zoom-in}.lab-shot-feature{grid-column:span 7;grid-row:span 2}.lab-shot-tall{grid-column:span 5;grid-row:span 2}.lab-shot-wide{grid-column:span 4}.lab-shot img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.82) contrast(1.03);transition:transform .75s cubic-bezier(.2,.7,.2,1),filter .5s ease}.lab-shot::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,#04111ae8 0%,transparent 58%);transition:opacity .4s ease}.lab-shot::after{content:"↗";position:absolute;left:17px;top:17px;z-index:3;display:grid;place-items:center;width:38px;height:38px;border:1px solid #fff8;border-radius:50%;background:#07152296;color:#fff;opacity:0;translate:0 8px;transition:opacity .35s,translate .35s;backdrop-filter:blur(10px)}.lab-shot:hover img,.lab-shot:focus-visible img{transform:scale(1.045);filter:saturate(1) contrast(1.02)}.lab-shot:hover::after,.lab-shot:focus-visible::after{opacity:1;translate:0 0}.lab-shot:focus-visible{outline:2px solid var(--blog-cyan);outline-offset:4px}.lab-shot-copy{position:absolute;right:20px;left:65px;bottom:18px;z-index:2;display:flex;flex-direction:column;color:#fff}.lab-shot-copy b{font-size:1.05rem}.lab-shot-copy small{color:#b7d4df;font-size:.78rem}
.alumni-showcase{position:relative;padding:125px 0 145px;background:radial-gradient(circle at 80% 10%,#d4a86016,transparent 32%),linear-gradient(150deg,#13100f,#080d14 62%)}.alumni-heading{margin-inline:auto;text-align:center}.alumni-heading>span{color:#ddb878}.alumni-heading p{margin-inline:auto!important}.alumni-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:start}.alumni-card{position:relative;border:1px solid #d8ad6547;border-radius:28px;background:linear-gradient(160deg,#1d1a18,#0b151e);box-shadow:0 28px 70px #0008;overflow:hidden;transition:translate .35s,border-color .35s}.alumni-card:hover{translate:0 -7px;border-color:#e0bc7c8f}.alumni-card-raised{margin-top:34px}.alumni-photo-placeholder{position:relative;display:grid;place-items:center;aspect-ratio:4/3;background:radial-gradient(circle at 50% 35%,#86d9ef2b,transparent 25%),linear-gradient(135deg,#173445,#18182b);overflow:hidden}.alumni-photo-placeholder::before{content:"";position:absolute;width:92px;height:92px;top:22%;border:1px solid #d7c7a16e;border-radius:50%;box-shadow:0 0 0 22px #ffffff05}.alumni-photo-placeholder::after{content:"";position:absolute;width:180px;height:95px;bottom:-35px;border:1px solid #d7c7a15c;border-radius:90px 90px 0 0;background:#ffffff04}.alumni-photo-placeholder span{position:relative;z-index:2;margin-top:70px;padding:4px 14px;border-radius:999px;background:#09151fbd;color:#d8c397;font-size:.78rem}.alumni-info{position:relative;padding:26px}.alumni-index{position:absolute;left:24px;top:20px;color:#d6b36a4a;font-size:2.2rem;font-weight:900}.alumni-info h3{margin:0 0 22px;padding-left:52px;color:#fff1d5;font-size:1.35rem}.alumni-info dl{margin:0}.alumni-info dl>div{display:grid;grid-template-columns:1fr 1.15fr;gap:10px;padding:10px 0;border-top:1px solid #ffffff0c}.alumni-info dt{color:#95acba;font-size:.82rem}.alumni-info dd{margin:0;color:#e4ebee;font-size:.85rem;font-weight:700}
.lightbox-open{overflow:hidden}.lab-lightbox{width:min(1100px,calc(100% - 38px));max-width:none;height:min(820px,calc(100dvh - 38px));padding:0;border:1px solid #8ccde15e;border-radius:25px;background:#050b11f4;color:#fff;box-shadow:0 45px 150px #000;overflow:hidden}.lab-lightbox[open]{display:grid;grid-template-columns:72px 1fr 72px;grid-template-rows:1fr auto;align-items:center}.lab-lightbox::backdrop{background:#01050be8;backdrop-filter:blur(12px)}.lab-lightbox figure{grid-column:2;grid-row:1;margin:0;min-width:0;height:100%;display:grid;grid-template-rows:minmax(0,1fr) auto;align-items:center}.lab-lightbox figure img{display:block;max-width:100%;max-height:calc(100dvh - 155px);width:auto;height:auto;margin:auto;object-fit:contain;border-radius:12px}.lab-lightbox figcaption{padding:15px 10px 6px;text-align:center;color:#d7e7ed}.lab-lightbox-close{position:absolute;top:15px;left:15px;z-index:4;width:44px;height:44px;border:1px solid #ffffff42;border-radius:50%;background:#0c1824d9;color:#fff;font-size:1.9rem;line-height:1;backdrop-filter:blur(10px)}.lab-lightbox-nav{display:grid;place-items:center;width:50px;height:50px;margin:auto;border:1px solid #8bcbe064;border-radius:50%;background:#102433;color:#fff;font-size:2.1rem}.lab-lightbox-next{grid-column:1;grid-row:1}.lab-lightbox-prev{grid-column:3;grid-row:1}.lab-lightbox-counter{grid-column:1/-1;grid-row:2;justify-self:center;margin:0 0 13px!important;color:#91aebb!important;font-size:.82rem}
@media(max-width:900px){.blog-editorial .blog-grid,.alumni-grid{grid-template-columns:1fr}.blog-editorial .blog-card{min-height:0}.alumni-card-raised{margin-top:0}.lab-heading{grid-template-columns:1fr;gap:0}.lab-heading>span{padding-top:0}.lab-gallery{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:230px}.lab-shot,.lab-shot-feature,.lab-shot-tall,.lab-shot-wide{grid-column:span 1;grid-row:span 1}.lab-shot-feature{grid-column:span 2;grid-row:span 2}}
@media(max-width:620px){.blog-theme .blog-hero{min-height:445px}.blog-hero .wrap{padding-block:92px 55px}.blog-editorial,.lab-showcase,.alumni-showcase{padding-block:78px}.blog-section-heading{margin-bottom:30px}.blog-section-heading h2{font-size:2rem}.blog-editorial .blog-card{padding:27px 22px;border-radius:20px}.lab-gallery{display:flex;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;margin-inline:0;padding:0 0 15px;gap:12px}.lab-shot,.lab-shot-feature,.lab-shot-tall,.lab-shot-wide{flex:0 0:min(84vw,360px);height:430px;scroll-snap-align:center}.lab-shot-copy{right:16px;bottom:15px}.alumni-info{padding:22px}.lab-lightbox{width:calc(100% - 18px);height:calc(100dvh - 18px);border-radius:17px}.lab-lightbox[open]{grid-template-columns:54px 1fr 54px}.lab-lightbox-nav{width:42px;height:42px}.lab-lightbox figure img{max-height:calc(100dvh - 180px)}}
html{overflow-x:hidden}
.lab-shot-detail img{object-position:72% center}

/* Neon 3D laboratory orbit */
.lab-carousel-shell{--orbit-radius:clamp(360px,38vw,550px);position:relative;min-height:690px;margin-top:20px;isolation:isolate;touch-action:pan-y;user-select:none}.lab-carousel-shell::before{content:"";position:absolute;z-index:-1;top:45%;left:50%;width:230px;height:410px;translate:-50% -50%;border-radius:50%;background:linear-gradient(180deg,transparent 2%,#66e6ff70 44%,#b284ffba 51%,#66e6ff70 58%,transparent 98%);filter:blur(34px);opacity:.7;animation:lab-core-pulse 3.8s ease-in-out infinite}.lab-carousel-shell::after{content:"";position:absolute;z-index:-2;top:45%;left:50%;width:min(92vw,1000px);height:330px;translate:-50% -50%;border-radius:50%;background:radial-gradient(ellipse,#66dfff1d 0%,#8d5fd517 36%,transparent 72%);filter:blur(12px)}
.lab-orbit-viewport{position:relative;height:560px;perspective:1450px;perspective-origin:50% 43%;overflow:visible}.lab-carousel-shell .lab-gallery{position:absolute;top:46%;left:50%;display:block;width:0;height:0;margin:0;padding:0;overflow:visible;transform-style:preserve-3d;transform:rotateX(-6deg) rotateY(var(--orbit-rotation,0deg));transition:transform 1.05s cubic-bezier(.18,.78,.22,1)}
.lab-carousel-shell .lab-shot,.lab-carousel-shell .lab-shot-feature,.lab-carousel-shell .lab-shot-tall,.lab-carousel-shell .lab-shot-wide{position:absolute;top:0;left:0;display:block;width:clamp(290px,29vw,430px);height:clamp(220px,22vw,320px);min-width:0;margin:0;padding:0;grid-column:auto;grid-row:auto;transform-style:preserve-3d;transform:translate(-50%,-50%) rotateY(var(--orbit-angle)) translateZ(var(--orbit-radius));border:1px solid #6bdff04d;border-radius:24px;background:#08131e;box-shadow:0 24px 65px #000c;opacity:.16;filter:brightness(.42) saturate(.7);transition:opacity .75s ease,filter .75s ease,border-color .75s ease,box-shadow .75s ease;backface-visibility:hidden;will-change:transform,opacity}.lab-carousel-shell .lab-shot.is-adjacent{opacity:.56;filter:brightness(.7) saturate(.9);border-color:#6ddff071}.lab-carousel-shell .lab-shot.is-active{z-index:5;opacity:1;filter:brightness(1) saturate(1.08);border-color:#9af2ff;box-shadow:0 28px 85px #000d,0 0 0 1px #a8f4ff47,0 0 28px #55dcff70,0 0 78px #9d6cff38;cursor:zoom-in}.lab-carousel-shell .lab-shot.is-active::after{opacity:1;translate:0 0}.lab-carousel-shell .lab-shot.is-distant{pointer-events:none}.lab-carousel-shell .lab-shot img{transform:none!important}.lab-carousel-shell .lab-shot.is-active:hover img,.lab-carousel-shell .lab-shot.is-active:focus-visible img{transform:scale(1.035)!important}.lab-carousel-shell .lab-shot-copy{opacity:0;transform:translateY(10px);transition:opacity .55s ease .25s,transform .55s ease .25s}.lab-carousel-shell .lab-shot.is-active .lab-shot-copy{opacity:1;transform:none}
.lab-orbit-aura{position:absolute;z-index:-1;top:46%;left:50%;width:min(86vw,940px);aspect-ratio:3.5/1;translate:-50% -50%;border:1px solid #75e9ffbd;border-radius:50%;transform:rotateX(67deg);box-shadow:0 0 16px #5adfff,0 0 60px #4aceff66,inset 0 0 18px #bd83ff8a;pointer-events:none}.lab-orbit-aura::before,.lab-orbit-aura::after,.lab-orbit-aura i{content:"";position:absolute;inset:50%;border-radius:50%;translate:-50% -50%;border:1px solid #ad7cff52;box-shadow:0 0 28px #9c6bff4d}.lab-orbit-aura::before{width:73%;height:73%}.lab-orbit-aura::after{width:39%;height:39%;border-color:#7ff1ff8c}.lab-orbit-aura i:nth-child(1){width:106%;height:106%;border-color:#5adfff3d}.lab-orbit-aura i:nth-child(2){width:115%;height:115%;border-color:#9d72ef24}.lab-orbit-aura i:nth-child(3){width:8px;height:8px;border:0;background:#fff;border-radius:50%;box-shadow:0 0 8px #fff,0 0 20px #60e4ff,0 0 55px #8767ff;animation:lab-core-pulse 2.4s ease-in-out infinite}
.lab-orbit-controls{position:relative;z-index:12;display:flex;align-items:center;justify-content:center;gap:12px;margin-top:-18px}.lab-orbit-button,.lab-orbit-toggle{border:1px solid #78e6ff59;background:#0c1c29d9;color:#eefcff;box-shadow:inset 0 1px #ffffff17,0 10px 30px #0007;backdrop-filter:blur(12px);transition:border-color .3s,background .3s,transform .3s}.lab-orbit-button{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;font-size:2rem;line-height:1}.lab-orbit-toggle{min-width:132px;height:44px;padding:0 20px;border-radius:999px;font:800 .8rem Vazirmatn,sans-serif}.lab-orbit-button:hover,.lab-orbit-toggle:hover,.lab-orbit-button:focus-visible,.lab-orbit-toggle:focus-visible{border-color:#aaf4ff;background:#173346;transform:translateY(-2px);outline:none}.lab-orbit-status{position:relative;z-index:12;min-height:30px;margin:15px auto 0!important;text-align:center;color:#9fb9c5!important;font-size:.82rem;line-height:1.9}
@keyframes lab-core-pulse{50%{opacity:1;filter:blur(25px);scale:1.12}}
@media(max-width:900px){.lab-carousel-shell{--orbit-radius:clamp(300px,48vw,430px);min-height:620px}.lab-orbit-viewport{height:500px}.lab-carousel-shell .lab-shot,.lab-carousel-shell .lab-shot-feature,.lab-carousel-shell .lab-shot-tall,.lab-carousel-shell .lab-shot-wide{width:clamp(260px,48vw,360px);height:clamp(205px,37vw,275px)}.lab-orbit-aura{width:min(91vw,740px)}}
@media(max-width:620px){.lab-carousel-shell{--orbit-radius:250px;min-height:515px;margin-inline:-12px}.lab-orbit-viewport{height:405px;perspective:920px}.lab-carousel-shell .lab-gallery{top:49%;transform:rotateX(-4deg) rotateY(var(--orbit-rotation,0deg))}.lab-carousel-shell .lab-shot,.lab-carousel-shell .lab-shot-feature,.lab-carousel-shell .lab-shot-tall,.lab-carousel-shell .lab-shot-wide{display:block;flex:none;width:min(72vw,282px);height:225px;overflow:hidden}.lab-carousel-shell .lab-shot.is-adjacent{opacity:.4}.lab-carousel-shell .lab-shot-copy{right:15px;left:55px;bottom:14px}.lab-carousel-shell .lab-shot-copy b{font-size:.95rem}.lab-orbit-aura{top:49%;width:94vw}.lab-carousel-shell::before,.lab-carousel-shell::after{top:49%}.lab-orbit-controls{margin-top:-7px}.lab-orbit-status{max-width:330px;padding-inline:12px}}
@media(prefers-reduced-motion:reduce){.lab-carousel-shell::before,.lab-orbit-aura i:nth-child(3){animation:none}.lab-carousel-shell .lab-gallery,.lab-carousel-shell .lab-shot,.lab-carousel-shell .lab-shot-copy{transition:none}}

/* Weekly school news */
.weekly-news{position:relative;padding:112px 0 125px;background:radial-gradient(circle at 12% 10%,#19c9b51c,transparent 30%),radial-gradient(circle at 88% 82%,#a880ff17,transparent 34%),linear-gradient(155deg,#07141b,#071019 58%,#0b1020);overflow:hidden}.weekly-news::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#ffffff04 1px,transparent 1px),linear-gradient(#ffffff04 1px,transparent 1px);background-size:58px 58px;mask-image:linear-gradient(to bottom,transparent,#000 16%,#000 84%,transparent)}.weekly-news-heading{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,480px);gap:40px;align-items:end;margin-bottom:42px}.weekly-news-heading h2{margin:8px 0 0;color:#fff8ea;font-size:clamp(2.4rem,5.4vw,5.2rem);line-height:1.25}.weekly-news-heading>p{margin:0!important;color:#aebfca!important;font-size:1rem;line-height:2}.weekly-news-eyebrow{display:flex;align-items:center;gap:9px;color:#73e3d5;font-size:.84rem;font-weight:900}.weekly-news-eyebrow i{width:9px;height:9px;border-radius:50%;background:#69f2db;box-shadow:0 0 0 5px #69f2db18,0 0 22px #69f2db;animation:weekly-pulse 2.2s ease-in-out infinite}
.weekly-feature{position:relative;display:grid;grid-template-columns:minmax(320px,.78fr) minmax(0,1.42fr);gap:18px;padding:18px;border:1px solid #7ae8d939;border-radius:34px;background:linear-gradient(145deg,#0d2028db,#0b1220e8);box-shadow:0 38px 100px #0009,inset 0 1px #ffffff10;overflow:hidden}.weekly-feature::before{content:"";position:absolute;z-index:0;right:-90px;top:-120px;width:330px;height:330px;border-radius:50%;background:#43e2cc14;filter:blur(16px);pointer-events:none}.weekly-story{position:relative;z-index:1;min-height:580px;padding:46px 42px 38px;border:1px solid #ffffff0d;border-radius:24px;background:radial-gradient(circle at 50% 50%,transparent 0 23%,#6ee9d117 23.4% 23.8%,transparent 24.2%),linear-gradient(90deg,transparent 49.8%,#6ee9d116 50%,transparent 50.2%),linear-gradient(145deg,#112b31,#101727 76%);overflow:hidden}.weekly-story::after{content:"";position:absolute;right:-58px;bottom:-72px;width:210px;height:210px;border:1px solid #77edda2e;border-radius:50%;box-shadow:0 0 75px #44dbc329;pointer-events:none}.weekly-story-topline{display:flex;align-items:center;justify-content:space-between;margin-bottom:52px;color:#819da7;font-size:.75rem;font-weight:800}.weekly-story-topline b{color:#69dfcf;font-size:.75rem}.weekly-story-tag{display:inline-flex;padding:6px 13px;border:1px solid #6ce9d952;border-radius:999px;background:#58dfca12;color:#9af4e7;font-size:.76rem;font-weight:900}.weekly-story h3{max-width:510px;margin:20px 0 17px;color:#fff5e7;font-size:clamp(2rem,3.2vw,3.25rem);line-height:1.5}.weekly-story-lead{margin:0!important;color:#c0ced4!important;font-size:.97rem;line-height:2.05}.weekly-story-meta{display:flex;flex-wrap:wrap;gap:9px;margin-top:25px}.weekly-story-meta span{padding:5px 10px;border-radius:8px;background:#ffffff09;color:#91abb4;font-size:.7rem}.weekly-story-body{position:relative;z-index:2;margin-top:24px;border-top:1px solid #70dfce2b}.weekly-story-body summary{display:flex;align-items:center;justify-content:space-between;padding:17px 0 3px;color:#7fe5d6;font-size:.83rem;font-weight:900;cursor:pointer;list-style:none}.weekly-story-body summary::-webkit-details-marker{display:none}.weekly-story-body summary::after{content:"＋";font-size:1.1rem}.weekly-story-body[open] summary::after{content:"−"}.weekly-story-body div{padding-top:9px}.weekly-story-body p{margin:0 0 12px!important;color:#aebdc4!important;font-size:.82rem;line-height:2}
.weekly-photos{direction:ltr;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(180px,.72fr);grid-template-rows:1fr 1fr;gap:13px;height:580px;min-width:0}.weekly-photo{position:relative;margin:0;border:1px solid #8be4d63b;border-radius:23px;background:#0b1720;box-shadow:0 20px 50px #0007;overflow:hidden;isolation:isolate}.weekly-photo-main{grid-row:1/3}.weekly-photo img{display:block;width:100%;height:100%;object-fit:cover;filter:saturate(.88) contrast(1.04);transition:transform .8s cubic-bezier(.2,.75,.2,1),filter .5s}.weekly-photo-kickoff img{object-position:center 78%}.weekly-photo-action img{object-position:center center}.weekly-photo::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,#041219e8 0%,transparent 55%)}.weekly-photo:hover img{transform:scale(1.045);filter:saturate(1.05) contrast(1.02)}.weekly-photo figcaption{direction:rtl;position:absolute;z-index:2;right:20px;bottom:17px;left:18px;display:flex;flex-direction:column;gap:3px;color:#fff}.weekly-photo figcaption span{color:#83e8d9;font-size:.68rem;font-weight:900}.weekly-photo figcaption b{font-size:.9rem;line-height:1.7}.weekly-photo-main figcaption{right:26px;bottom:24px}.weekly-photo-main figcaption b{font-size:1.15rem}
@keyframes weekly-pulse{50%{opacity:.55;box-shadow:0 0 0 9px #69f2db0b,0 0 34px #69f2db}}
@media(max-width:980px){.weekly-news-heading{grid-template-columns:1fr;gap:14px}.weekly-news-heading>p{max-width:650px!important}.weekly-feature{grid-template-columns:1fr}.weekly-story{min-height:0}.weekly-photos{height:540px}}
@media(max-width:620px){.weekly-news{padding:78px 0 82px}.weekly-news-heading{margin-bottom:27px}.weekly-news-heading h2{font-size:2.25rem}.weekly-feature{gap:10px;padding:10px;border-radius:24px}.weekly-story{padding:29px 21px 25px;border-radius:18px}.weekly-story-topline{margin-bottom:34px}.weekly-story h3{font-size:1.9rem}.weekly-story-lead{font-size:.9rem}.weekly-photos{grid-template-columns:1fr 1fr;grid-template-rows:250px 175px;height:435px;gap:9px}.weekly-photo{border-radius:16px}.weekly-photo-main{grid-column:1/3;grid-row:1}.weekly-photo-kickoff,.weekly-photo-action{grid-row:2}.weekly-photo figcaption{right:12px;bottom:11px;left:10px}.weekly-photo figcaption b{font-size:.72rem}.weekly-photo-main figcaption{right:16px;bottom:15px}.weekly-photo-main figcaption b{font-size:.9rem}}
@media(prefers-reduced-motion:reduce){.weekly-news-eyebrow i{animation:none}.weekly-photo img{transition:none}}
.weekly-photo::after{display:none}

/* Animated chemistry atmosphere behind the laboratory carousel */
.lab-chemistry-atmosphere{position:absolute;z-index:-4;top:-105px;right:calc(50% - 50vw);bottom:-10px;left:calc(50% - 50vw);overflow:hidden;pointer-events:none}.chem-fog{position:absolute;inset:0;background:radial-gradient(circle at 14% 72%,#7cff8e33 0 4%,#3cff8a16 15%,transparent 31%),radial-gradient(circle at 86% 30%,#a2ff3d2b 0 5%,#39e6a317 17%,transparent 34%),radial-gradient(ellipse at 50% 93%,#45ffb530 0 8%,#30dca219 28%,transparent 62%),radial-gradient(circle at 51% 45%,#5dfbd210,transparent 32%);filter:blur(13px) saturate(1.2);animation:chem-fog-drift 11s ease-in-out infinite alternate}.chem-fog::after{content:"";position:absolute;right:8%;bottom:-85px;left:8%;height:210px;border-radius:50%;background:linear-gradient(180deg,#6affaa0b,#4cff9a2c);border-top:1px solid #81ffc77d;box-shadow:0 -10px 45px #4cff8f2e,0 -2px 12px #9cffc777;filter:blur(4px)}
.chem-flask{position:absolute;width:clamp(150px,17vw,245px);height:auto;overflow:visible;fill:none;stroke:#8cffc6;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;opacity:.24;filter:drop-shadow(0 0 7px #50ff9c) drop-shadow(0 0 24px #2cf4a35c);animation:chem-vessel-float 7s ease-in-out infinite}.chem-flask .chem-glass{fill:#65ffbc08}.chem-flask .chem-liquid{fill:#55ff9224;stroke:#a3ff72;stroke-width:2}.chem-flask circle{fill:#baff79aa;stroke:#8cffb2;stroke-width:1}.chem-flask-left{--vessel-angle:-8deg;left:4%;bottom:38px}.chem-flask-right{--vessel-angle:10deg;right:4%;top:25px;scale:.82;animation-delay:-3.5s}
.chem-molecule{position:absolute;width:clamp(170px,19vw,270px);height:auto;overflow:visible;fill:#081a1a;stroke:#83ffc1;stroke-width:3;opacity:.13;filter:drop-shadow(0 0 9px #55ffad);animation:chem-molecule-drift 9s ease-in-out infinite}.chem-molecule path{fill:none;stroke-width:3}.chem-molecule circle{fill:#6bffae12;stroke-width:3}.chem-molecule-left{left:19%;top:14%;rotate:-12deg}.chem-molecule-right{right:16%;bottom:3%;rotate:14deg;animation-delay:-4.5s}
.chem-bubbles{position:absolute;inset:0}.chem-bubbles i{--bubble-size:18px;--bubble-left:10%;--bubble-delay:0s;--bubble-time:9s;--bubble-drift:20px;position:absolute;bottom:-70px;left:var(--bubble-left);width:var(--bubble-size);height:var(--bubble-size);border:1px solid #a0ffc79c;border-radius:50%;background:radial-gradient(circle at 30% 25%,#effff7cf 0 7%,#76ffad4d 16%,#45ff8e12 55%,transparent 70%);box-shadow:inset 0 0 9px #8affb152,0 0 8px #5bff9e,0 0 25px #42ff8d52;opacity:0;animation:chem-bubble-rise var(--bubble-time) ease-in var(--bubble-delay) infinite}.chem-bubbles i:nth-child(1){--bubble-left:3%;--bubble-size:15px;--bubble-delay:-2s;--bubble-time:9s;--bubble-drift:35px}.chem-bubbles i:nth-child(2){--bubble-left:10%;--bubble-size:31px;--bubble-delay:-7s;--bubble-time:13s;--bubble-drift:-28px}.chem-bubbles i:nth-child(3){--bubble-left:18%;--bubble-size:11px;--bubble-delay:-4s;--bubble-time:8s;--bubble-drift:22px}.chem-bubbles i:nth-child(4){--bubble-left:25%;--bubble-size:23px;--bubble-delay:-10s;--bubble-time:14s;--bubble-drift:-38px}.chem-bubbles i:nth-child(5){--bubble-left:33%;--bubble-size:8px;--bubble-delay:-1s;--bubble-time:7s;--bubble-drift:32px}.chem-bubbles i:nth-child(6){--bubble-left:40%;--bubble-size:38px;--bubble-delay:-8s;--bubble-time:15s;--bubble-drift:-24px}.chem-bubbles i:nth-child(7){--bubble-left:47%;--bubble-size:14px;--bubble-delay:-5s;--bubble-time:9s;--bubble-drift:29px}.chem-bubbles i:nth-child(8){--bubble-left:54%;--bubble-size:27px;--bubble-delay:-12s;--bubble-time:16s;--bubble-drift:-42px}.chem-bubbles i:nth-child(9){--bubble-left:61%;--bubble-size:10px;--bubble-delay:-3s;--bubble-time:8s;--bubble-drift:34px}.chem-bubbles i:nth-child(10){--bubble-left:68%;--bubble-size:20px;--bubble-delay:-9s;--bubble-time:12s;--bubble-drift:-20px}.chem-bubbles i:nth-child(11){--bubble-left:74%;--bubble-size:34px;--bubble-delay:-14s;--bubble-time:17s;--bubble-drift:38px}.chem-bubbles i:nth-child(12){--bubble-left:80%;--bubble-size:12px;--bubble-delay:-6s;--bubble-time:9s;--bubble-drift:-33px}.chem-bubbles i:nth-child(13){--bubble-left:87%;--bubble-size:25px;--bubble-delay:-11s;--bubble-time:14s;--bubble-drift:24px}.chem-bubbles i:nth-child(14){--bubble-left:93%;--bubble-size:9px;--bubble-delay:-2.5s;--bubble-time:7s;--bubble-drift:-25px}.chem-bubbles i:nth-child(15){--bubble-left:57%;--bubble-size:7px;--bubble-delay:-.5s;--bubble-time:6s;--bubble-drift:18px}.chem-bubbles i:nth-child(16){--bubble-left:29%;--bubble-size:17px;--bubble-delay:-6.5s;--bubble-time:11s;--bubble-drift:-30px}
@keyframes chem-bubble-rise{0%{translate:0 70px;scale:.55;opacity:0}12%{opacity:.62}52%{translate:var(--bubble-drift) -330px;scale:1}88%{opacity:.42}100%{translate:0 -690px;scale:1.3;opacity:0}}@keyframes chem-fog-drift{0%{translate:-3% 2%;scale:1}100%{translate:3% -2%;scale:1.08}}@keyframes chem-vessel-float{0%,100%{transform:translateY(0) rotate(var(--vessel-angle))}50%{transform:translateY(-18px) rotate(calc(var(--vessel-angle) + 3deg))}}@keyframes chem-molecule-drift{0%,100%{translate:0 0;scale:1}50%{translate:12px -17px;scale:1.06}}
@media(max-width:620px){.lab-chemistry-atmosphere{top:-45px}.chem-flask{width:135px;opacity:.18}.chem-flask-left{left:-8%;bottom:25px}.chem-flask-right{right:-10%;top:40px}.chem-molecule{width:145px;opacity:.1}.chem-molecule-left{left:4%}.chem-molecule-right{right:2%}.chem-bubbles i:nth-child(n+11){display:none}}
@media(prefers-reduced-motion:reduce){.chem-fog,.chem-flask,.chem-molecule,.chem-bubbles i{animation:none}.chem-bubbles i{opacity:.2;translate:0 -220px}}

/* Mobile laboratory carousel corrections */
.lab-shot::after,.lab-carousel-shell .lab-shot.is-active::after{display:none!important}.lab-shot-copy{left:20px}
@media(max-width:620px){.lab-carousel-shell{--orbit-radius:300px;min-height:500px;margin-inline:0}.lab-orbit-viewport{height:390px;perspective:1600px;perspective-origin:50% 48%;overflow:hidden}.lab-carousel-shell .lab-gallery{top:49%;transform:rotateX(-3deg) rotateY(var(--orbit-rotation,0deg))}.lab-carousel-shell .lab-shot,.lab-carousel-shell .lab-shot-feature,.lab-carousel-shell .lab-shot-tall,.lab-carousel-shell .lab-shot-wide{width:min(72vw,282px);height:218px;border-radius:20px}.lab-carousel-shell .lab-shot.is-adjacent{opacity:.17;filter:brightness(.42) saturate(.65)}.lab-carousel-shell .lab-shot.is-distant{opacity:0}.lab-carousel-shell .lab-shot-copy{right:16px;left:16px;bottom:14px}.lab-orbit-aura{top:49%;width:90vw;opacity:.72}.lab-carousel-shell::before,.lab-carousel-shell::after{top:49%}.lab-orbit-controls{margin-top:-4px}.lab-orbit-button{width:44px;height:44px}.lab-orbit-toggle{min-width:124px;height:42px}.lab-chemistry-atmosphere{top:-20px}.chem-fog{opacity:.8}}

/* Expandable weekly-news carousel: each slide keeps the same three-photo layout */
.weekly-news-carousel{position:relative;touch-action:pan-y}.weekly-carousel-viewport{overflow:hidden;border-radius:34px}.weekly-carousel-track{direction:ltr;display:flex;align-items:stretch;transition:transform .8s cubic-bezier(.2,.78,.2,1);will-change:transform}.weekly-carousel-track>.weekly-feature{direction:rtl;flex:0 0 100%;width:100%;min-width:0;box-sizing:border-box}.weekly-carousel-button{position:absolute;z-index:8;top:50%;display:grid;place-items:center;width:58px;height:58px;padding:0;border:1px solid #8af2df85;border-radius:50%;background:#09202bdd;color:#eafffb;font-size:2.25rem;line-height:1;box-shadow:0 14px 38px #000a,0 0 25px #55e7cf2b,inset 0 1px #ffffff24;backdrop-filter:blur(14px);transform:translateY(-50%);transition:transform .3s,background .3s,border-color .3s,opacity .3s}.weekly-carousel-previous{right:-29px}.weekly-carousel-next{left:-29px}.weekly-carousel-button:not(:disabled):hover,.weekly-carousel-button:not(:disabled):focus-visible{background:#123b42;border-color:#b1ffef;transform:translateY(-50%) scale(1.08);outline:none}.weekly-carousel-button:disabled{opacity:.34;cursor:not-allowed;box-shadow:0 10px 24px #0007,inset 0 1px #ffffff12}.weekly-carousel-status{position:absolute;width:1px;height:1px;margin:-1px!important;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1260px){.weekly-carousel-previous{right:9px}.weekly-carousel-next{left:9px}}
@media(max-width:620px){.weekly-carousel-viewport{border-radius:24px}.weekly-carousel-button{top:55%;width:44px;height:44px;font-size:1.75rem}.weekly-carousel-previous{right:-4px}.weekly-carousel-next{left:-4px}.weekly-carousel-track{transition-duration:.65s}}
@media(prefers-reduced-motion:reduce){.weekly-carousel-track{transition:none}}
.weekly-carousel-button{direction:ltr}.weekly-carousel-button svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s ease}.weekly-carousel-previous:not(:disabled):hover svg,.weekly-carousel-previous:not(:disabled):focus-visible svg{transform:translateX(3px)}.weekly-carousel-next:not(:disabled):hover svg,.weekly-carousel-next:not(:disabled):focus-visible svg{transform:translateX(-3px)}

/* Low-power mobile mode: keep the content, remove continuous GPU-heavy effects. */
@media(max-width:760px),(pointer:coarse){
  html{scroll-behavior:auto}
  .top .brand,.competitions-theme .football-school-name,.competitions-theme .competition-name{font-family:Tahoma,Arial,sans-serif}
  .top,.mobile-menu-toggle,.lab-orbit-button,.lab-orbit-toggle,.weekly-carousel-button{backdrop-filter:none!important}
  .hero::before,.inner-hero::before,.blog-home::before{inset:0;filter:none!important;transform:none!important}
  .cinematic-texture,.cursor-spotlight,.scroll-progress,.school-marquee,.lab-chemistry-atmosphere,.lab-orbit-aura{display:none!important}
  main>section:not(:first-child),.content-section{content-visibility:auto;contain-intrinsic-size:780px}
  .scroll-motion,.scroll-depth{opacity:1!important;visibility:visible!important;transform:none!important}
  .lab-carousel-shell{min-height:0;margin-top:18px;user-select:auto}
  .lab-carousel-shell::before,.lab-carousel-shell::after{display:none!important}
  .lab-orbit-viewport{height:auto;overflow-x:auto;overflow-y:hidden;perspective:none;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:12px}
  .lab-carousel-shell .lab-gallery{position:static!important;display:flex!important;gap:14px;width:max-content;height:auto;transform:none!important;transform-style:flat}
  .lab-carousel-shell .lab-shot,.lab-carousel-shell .lab-shot-feature,.lab-carousel-shell .lab-shot-tall,.lab-carousel-shell .lab-shot-wide{position:relative!important;top:auto;left:auto;flex:0 0 min(78vw,300px);width:min(78vw,300px);height:220px;transform:none!important;transform-style:flat;opacity:1!important;filter:none!important;pointer-events:auto;scroll-snap-align:center;will-change:auto;box-shadow:none}
  .lab-carousel-shell .lab-shot-copy{opacity:1;transform:none;transition:none}
  .lab-orbit-controls{display:none}
  .weekly-carousel-track{will-change:auto}
  .weekly-feature,.weekly-photo,.principal-feature,.school-exam-hall{box-shadow:none}
  *,*::before,*::after{animation:none!important;transition-duration:.01ms!important;transition-delay:0s!important}
}

.lite-device .premium-tilt,.lite-device .image-breathe,.lite-device .magnetic-target{transform:none!important}

/* Weekly carousel: looped auto-play, manual controls and a distinct lightweight theme per story */
.weekly-feature{--weekly-accent:#69dfcf;--weekly-accent-soft:#43e2cc14;--weekly-border:#7ae8d939;--weekly-story-a:#112b31;--weekly-story-b:#101727;--weekly-card-a:#0d2028db;--weekly-card-b:#0b1220e8}
.weekly-feature[data-weekly-theme="amber"]{--weekly-accent:#f1bd67;--weekly-accent-soft:#f0a84618;--weekly-border:#f1bd6747;--weekly-story-a:#352716;--weekly-story-b:#1c1821;--weekly-card-a:#241c16e8;--weekly-card-b:#15151fe8}
.weekly-feature[data-weekly-theme="violet"]{--weekly-accent:#b9a0ff;--weekly-accent-soft:#9e79ff18;--weekly-border:#b9a0ff47;--weekly-story-a:#28203b;--weekly-story-b:#111a2b;--weekly-card-a:#1e1830e8;--weekly-card-b:#101725e8}
.weekly-feature[data-weekly-theme]{border-color:var(--weekly-border);background:linear-gradient(145deg,var(--weekly-card-a),var(--weekly-card-b))}
.weekly-feature[data-weekly-theme]::before{background:var(--weekly-accent-soft)}
.weekly-feature[data-weekly-theme] .weekly-story{background:radial-gradient(circle at 50% 50%,transparent 0 23%,color-mix(in srgb,var(--weekly-accent) 11%,transparent) 23.4% 23.8%,transparent 24.2%),linear-gradient(90deg,transparent 49.8%,color-mix(in srgb,var(--weekly-accent) 9%,transparent) 50%,transparent 50.2%),linear-gradient(145deg,var(--weekly-story-a),var(--weekly-story-b) 76%)}
.weekly-feature[data-weekly-theme] .weekly-story-topline b,.weekly-feature[data-weekly-theme] .weekly-story-body summary,.weekly-feature[data-weekly-theme] .weekly-photo figcaption span{color:var(--weekly-accent)}
.weekly-feature[data-weekly-theme] .weekly-story-tag{border-color:color-mix(in srgb,var(--weekly-accent) 42%,transparent);background:color-mix(in srgb,var(--weekly-accent) 9%,transparent);color:color-mix(in srgb,var(--weekly-accent) 78%,white)}
.weekly-feature[data-weekly-theme] .weekly-photo{border-color:color-mix(in srgb,var(--weekly-accent) 29%,transparent)}
.weekly-carousel-controls{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:19px;min-height:42px}
.weekly-carousel-dots{direction:ltr;display:flex;align-items:center;gap:8px;padding:8px 11px;border:1px solid #ffffff13;border-radius:999px;background:#07151ddb}
.weekly-carousel-dot{display:block;width:10px;height:10px;padding:0;border:0;border-radius:999px;background:#75909a;opacity:.55;transition:width .3s,background .3s,opacity .3s;cursor:pointer}
.weekly-carousel-dot.is-active{width:30px;background:#73e3d5;opacity:1;box-shadow:0 0 16px #58e5d48c}
.weekly-carousel-dot:focus-visible{outline:2px solid #fff;outline-offset:3px}
.weekly-carousel-autoplay{display:flex;align-items:center;gap:7px;min-height:38px;padding:7px 13px;border:1px solid #ffffff17;border-radius:999px;background:#0b1b24;color:#bad0d8;font:inherit;font-size:.72rem;font-weight:900;cursor:pointer;transition:border-color .25s,background .25s,color .25s}
.weekly-carousel-autoplay:hover,.weekly-carousel-autoplay:focus-visible{border-color:#73e3d5;background:#102a32;color:#effffc;outline:none}
.weekly-carousel-autoplay span{display:grid;place-items:center;width:18px;height:18px;color:#73e3d5;font-family:Arial,sans-serif;font-size:.62rem}
.weekly-carousel-autoplay b{font:inherit}
@media(max-width:620px){.weekly-carousel-controls{margin-top:14px}.weekly-carousel-autoplay b{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.weekly-carousel-autoplay{min-width:38px;padding:7px 9px}}
@media(prefers-reduced-motion:reduce){.weekly-carousel-dot{transition:none}}

/* School legacy: a light, document-led history section */
.about-discovery-legacy{display:grid;place-items:center;background:radial-gradient(circle at 35% 25%,#e5c98e38,transparent 38%),linear-gradient(145deg,#2f5b43,#142f24)!important}
.about-discovery-legacy b{color:#ffe4aa;font-size:clamp(1.55rem,3vw,2.35rem);letter-spacing:.04em;text-shadow:0 8px 25px #07150e}
.school-legacy-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.75fr);gap:32px;align-items:end;margin-bottom:34px}
.school-legacy-heading .about-kicker{grid-column:1/-1;margin-bottom:-18px}
.school-legacy-heading h2{margin:0;color:#f8e8c7;font-size:clamp(2.25rem,4.5vw,4.2rem);line-height:1.42}
.school-legacy-heading p{margin:0;color:#c9d8ca;line-height:2}
.school-legacy-layout{display:grid;grid-template-columns:minmax(210px,.55fr) minmax(0,1.45fr);gap:18px}
.school-history-year{display:flex;flex-direction:column;justify-content:center;min-height:280px;padding:30px;border:1px solid #d7bd8c8c;border-radius:25px;background:radial-gradient(circle at 50% 30%,#f0d39721,transparent 45%),linear-gradient(155deg,#315941,#173326);text-align:center}
.school-history-year span{color:#e5c991;font-size:.86rem;font-weight:900}
.school-history-year strong{display:block;margin:9px 0;color:#fff0c8;font-size:clamp(4.2rem,8vw,7rem);line-height:1;font-weight:900}
.school-history-year small{color:#c5d6c2;line-height:1.9}
.school-legacy-copy{display:flex;flex-direction:column;justify-content:center;min-height:280px;padding:35px 38px;border:1px solid #9fb58d66;border-radius:25px;background:#18382a}
.school-legacy-copy p{margin:0;color:#e1e9dc;font-size:1.03rem;line-height:2.25}
.school-legacy-fields{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}
.school-legacy-fields span{padding:7px 12px;border:1px solid #d8c3934d;border-radius:999px;background:#f2dba80e;color:#efd5a1;font-size:.76rem;font-weight:800}
.school-notable-panel{display:grid;grid-template-columns:minmax(240px,.65fr) minmax(0,1.35fr);gap:26px;margin-top:18px;padding:28px;border:1px solid #a6b99561;border-radius:25px;background:linear-gradient(125deg,#142f24,#1c4030)}
.school-notable-intro{align-self:center}
.school-notable-intro>span{color:#e7ca93;font-size:.8rem;font-weight:900}
.school-notable-intro h3{margin:8px 0;color:#f9edd3;font-size:clamp(1.45rem,2.5vw,2.15rem)}
.school-notable-intro p{margin:0;color:#bdd0bd;line-height:1.9}
.school-notable-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0;padding:0;list-style:none}
.school-notable-list li{display:flex;flex-direction:column;gap:4px;min-height:78px;padding:14px 16px;border:1px solid #d5be8b3b;border-radius:14px;background:#0e281dc7}
.school-notable-list li:last-child{grid-column:1/-1}
.school-notable-list strong{color:#f6dfb2;font-size:.93rem}
.school-notable-list span{color:#b8cdbb;font-size:.75rem;line-height:1.7}
.school-legacy-source{margin:18px 0 0!important;color:#9fb6a2!important;font-size:.75rem;line-height:1.9}
@media(max-width:800px){.school-legacy-heading,.school-notable-panel{grid-template-columns:1fr}.school-legacy-heading .about-kicker{grid-column:auto;margin-bottom:-10px}.school-legacy-layout{grid-template-columns:1fr}.school-history-year{min-height:230px}.school-legacy-copy{min-height:0}}
@media(max-width:520px){.school-legacy-copy,.school-notable-panel{padding:22px}.school-notable-list{grid-template-columns:1fr}.school-notable-list li:last-child{grid-column:auto}.school-history-year strong{font-size:4.5rem}}

/* Manual navigation stays available through dots, swipe and keyboard. */
.weekly-carousel-button{display:none!important}

/* Parents and teachers association */
.parents-association{display:grid;grid-template-columns:minmax(290px,1fr) minmax(360px,1fr);gap:24px;align-items:center;margin-top:64px;padding:24px;border:1px solid #b488626b;border-radius:28px;background:radial-gradient(circle at 12% 18%,#c6956330,transparent 34%),linear-gradient(145deg,#39261f,#1d1513);box-shadow:0 25px 70px #10090873;overflow:hidden}
.parents-association-copy{display:flex;flex-direction:column;justify-content:center;padding:10px 12px}
.parents-association-kicker{color:#e6b67e;font-size:.78rem;font-weight:900;letter-spacing:.03em}
.parents-association h2{margin:9px 0 16px;color:#fff0d9;font-size:clamp(1.85rem,3.7vw,3.15rem);line-height:1.55}
.parents-association-copy>p{margin:0;color:#ddcdbd;font-size:.96rem;line-height:2.15}
.parents-association-goals{display:grid;gap:9px;margin:22px 0 0;padding:0;list-style:none}
.parents-association-goals li{position:relative;padding:10px 38px 10px 12px;border:1px solid #d1a47540;border-radius:13px;background:#130d0b61;color:#f0d9bd;font-size:.84rem;line-height:1.75}
.parents-association-goals li::before{content:"✓";position:absolute;right:13px;top:10px;color:#e6b67e;font-weight:900}
.parents-association-gallery{min-width:0;padding:10px;border:1px solid #e3be9652;border-radius:22px;background:#120d0bc7;box-shadow:0 18px 50px #08040373;outline:none}
.parents-association-gallery:focus-visible{box-shadow:0 0 0 3px #e6b67e5c,0 18px 50px #08040373}
.parents-association-viewport{position:relative;aspect-ratio:16/9;max-height:330px;overflow:hidden;border-radius:16px;background:#17100d}
.parents-association-photo{position:absolute;inset:0;margin:0;opacity:0;visibility:hidden;transform:scale(.985);transition:opacity .45s ease,transform .55s ease;pointer-events:none}
.parents-association-photo.is-active{opacity:1;visibility:visible;transform:scale(1);pointer-events:auto}
.parents-association-photo img{display:block;width:100%;height:100%;object-fit:cover}
.parents-association-controls{display:grid;grid-template-columns:40px auto 1fr 40px;gap:10px;align-items:center;padding:11px 3px 1px}
.parents-gallery-nav{display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid #d4a87972;border-radius:50%;background:#352219;color:#fff0dc;font-size:1.55rem;line-height:1;cursor:pointer}
.parents-gallery-nav:hover,.parents-gallery-nav:focus-visible{background:#5a3b29;outline:2px solid #e6b67e;outline-offset:2px}
.parents-gallery-dots{display:flex;gap:6px;align-items:center}
.parents-gallery-dots button{width:8px;height:8px;padding:0;border:0;border-radius:999px;background:#80664f;cursor:pointer;transition:width .25s ease,background .25s ease}
.parents-gallery-dots button.is-active{width:23px;background:#e6b67e}
.parents-gallery-counter{color:#cbb9a7;font-size:.73rem;text-align:left}
@media(max-width:900px){.parents-association{grid-template-columns:1fr;max-width:760px;margin-inline:auto}.parents-association-viewport{max-height:none}}
@media(max-width:560px){.parents-association{margin-top:50px;padding:15px;border-radius:22px}.parents-association-copy{padding:8px 4px}.parents-association h2{font-size:1.8rem}.parents-association-gallery{padding:7px;border-radius:17px}.parents-association-viewport{border-radius:12px}.parents-association-controls{grid-template-columns:38px auto 1fr 38px;gap:7px}.parents-gallery-nav{width:38px;height:38px}}
@media(prefers-reduced-motion:reduce){.parents-association-photo,.parents-gallery-dots button{transition:none}}

/* Search-focused school identity and FAQ content on the home page. */
.school-identity{position:relative;padding:72px 0;border-block:1px solid #71bfe52e;background:linear-gradient(135deg,#0b2238 0%,#0d2a42 48%,#091b2d 100%)}
.school-identity::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 12% 18%,#68c4f21d,transparent 34%),radial-gradient(circle at 88% 80%,#d8ae6917,transparent 30%)}
.school-identity-inner{position:relative;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);align-items:center;gap:clamp(34px,6vw,78px)}
.school-identity-copy h2,.school-faq h2{margin:7px 0 17px;font-size:clamp(2rem,4vw,3.2rem);line-height:1.45}
.school-identity-copy p{max-width:720px;margin:9px 0;color:#c6d9e6;font-size:1.04rem}.school-identity-copy strong{color:#fff0ce}
.school-identity-facts{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:0}.school-identity-facts div{min-height:112px;padding:18px;border:1px solid #6eb9dc3b;border-radius:16px;background:#07172799;box-shadow:0 14px 32px #0002}.school-identity-facts dt{margin-bottom:5px;color:#8fd9fb;font-size:.78rem;font-weight:800}.school-identity-facts dd{margin:0;color:#f4ead8;font-weight:700;line-height:1.75}.school-identity-facts a{text-decoration:underline;text-underline-offset:4px}
.school-faq{padding:82px 0;background:#081827}.school-faq-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:30px}.school-faq article{padding:25px;border:1px solid #365872;border-radius:18px;background:#10263a}.school-faq h3{margin:0 0 11px;color:#f5ddb1;font-size:1.08rem;line-height:1.8}.school-faq p{margin:0;color:#bed0dc}.school-faq a{color:#8edaff;text-decoration:underline;text-underline-offset:4px}
@media(max-width:850px){.school-identity-inner{grid-template-columns:1fr}.school-identity-facts{max-width:650px}.school-faq-grid{grid-template-columns:1fr}}
@media(max-width:520px){.school-identity,.school-faq{padding:58px 0}.school-identity-facts{grid-template-columns:1fr}.school-identity-facts div{min-height:0}.school-identity-copy h2,.school-faq h2{font-size:2rem}}

/* Adaptive weekly gallery: every frame follows the uploaded image ratio. */
.weekly-photos{direction:ltr;display:flex;flex-wrap:wrap;align-content:center;align-items:flex-start;align-self:center;gap:13px;height:auto;min-height:0;overflow:visible}
.weekly-photo,.weekly-photo-main,.weekly-photo-kickoff,.weekly-photo-action{grid-column:auto;grid-row:auto;flex:var(--weekly-photo-grow,1) 1 var(--weekly-photo-basis,260px);width:auto;min-width:min(100%,170px);max-width:100%;aspect-ratio:auto;border-radius:23px;overflow:hidden}
.weekly-photo img,.weekly-photo-main img,.weekly-photo-kickoff img,.weekly-photo-action img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center;background:#07131b}
.weekly-photos[data-weekly-layout="single"] .weekly-photo{flex-basis:100%;width:100%}
.weekly-photos[data-weekly-layout="portraits"] .weekly-photo{max-width:calc(33.333% - 9px)}
.weekly-photos[data-weekly-layout="landscapes"] .weekly-photo:first-child{flex-basis:100%;width:100%}
.weekly-photos[data-weekly-layout="squares"] .weekly-photo{max-width:calc(50% - 7px)}
@media(max-width:760px){.weekly-photos{gap:9px}.weekly-photo,.weekly-photo-main,.weekly-photo-kickoff,.weekly-photo-action,.weekly-photos[data-weekly-layout] .weekly-photo{flex:1 1 100%;width:100%;max-width:100%;min-width:0;border-radius:16px}.weekly-photo img{width:100%;height:auto}}
