/* Arsh Islamic Institute — premium frontend layer, 2026. No backend changes. */
:root{--arsh-ink:#17392f;--arsh-deep:#0a2e25;--arsh-green:#174f3d;--arsh-gold:#c6a46d;--arsh-paper:#faf8f1;--arsh-mist:#f0f3e9;--arsh-line:rgba(32,76,53,.13)}
html{scroll-behavior:smooth;scroll-padding-top:106px}body{background:var(--arsh-paper);color:var(--arsh-ink);-webkit-font-smoothing:antialiased}body,button,input,textarea,select{font-family:'Manrope','Open Sans',sans-serif}h1,h2,h3,h4,.section-heading h2,.page-hero h1,.final-cta h2,.founder-panel h2{font-family:'Cormorant Garamond',Georgia,serif;letter-spacing:-.035em}h2{line-height:1.09}p{line-height:1.8}a,button{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--arsh-gold)!important;outline-offset:4px}::selection{background:#ddc592;color:#17392f}
/* Subtle reading progress on public pages */
.arsh-progress{height:3px;position:fixed;top:0;left:0;width:100%;z-index:1100;pointer-events:none;background:linear-gradient(90deg,#e4c485,#fff5d6);transform:scaleX(var(--arsh-scroll,0));transform-origin:left;box-shadow:0 0 14px #d3b17280}
/* Navigation */
.site-header{z-index:1050;transition:background .35s ease,box-shadow .35s ease,border-color .35s ease;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.site-header.is-scrolled{box-shadow:0 10px 35px #0d302319!important}.header-shell{transition:padding .35s ease}.site-header.is-scrolled .header-shell{padding-top:8px;padding-bottom:8px}.site-brand strong{letter-spacing:-.035em}.site-brand small{letter-spacing:.055em}.header-nav a{position:relative;transition:color .25s ease}.header-nav a:after{content:"";position:absolute;left:50%;right:50%;bottom:4px;height:1px;background:var(--arsh-gold);transition:left .3s ease,right .3s ease}.header-nav a:hover:after,.header-nav a.is-current:after{left:12px;right:12px}.header-start,.btn-gold,.btn-enroll{position:relative;overflow:hidden;transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s ease,background .3s ease!important}.header-start:hover,.btn-gold:hover,.btn-enroll:hover{transform:translateY(-3px);box-shadow:0 12px 27px #0b32202a!important}.btn-gold:after,.header-start:after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 20%,#fff8df55 46%,transparent 68%);transform:translateX(-140%);transition:transform .65s ease;pointer-events:none}.btn-gold:hover:after,.header-start:hover:after{transform:translateX(140%)}
/* Hero: atmosphere, readable content, layered architectural scene */
.immersive-hero{background:radial-gradient(ellipse at 82% 35%,#2c6f4e 0%,transparent 44%),linear-gradient(125deg,#092b23 2%,#164b37 56%,#123b31 100%)!important;min-height:min(780px,95svh);display:flex;flex-direction:column;justify-content:center;position:relative}.immersive-hero:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 12% 100%,#d4b37119,transparent 36%),linear-gradient(90deg,#071e1900,#071e1933);z-index:0}.immersive-hero .container{position:relative;z-index:1}.hero-mesh{opacity:.7}.immersive-copy{position:relative;z-index:4}.immersive-copy h1{font-family:'Cormorant Garamond',Georgia,serif!important;font-size:clamp(3.45rem,5.4vw,6.75rem)!important;font-weight:500;line-height:.96!important;letter-spacing:-.052em}.immersive-copy h1 em{color:#ead19b;font-style:italic;text-shadow:0 6px 25px #c4a57022}.immersive-copy .lead{max-width:510px;color:#dce8da;font-size:clamp(.95rem,1.15vw,1.08rem);line-height:1.95}.hero-invocation{filter:drop-shadow(0 3px 10px #f2c87a1e)}.hero-kicker{font-weight:700;letter-spacing:.21em}.hero-trust{gap:14px 20px}.hero-trust span{border-left:1px solid #ccb47777;padding-left:12px}.hero-trust span:before{display:none}.learning-universe{filter:drop-shadow(0 28px 40px #03120d30);transition:filter .35s ease;will-change:transform}.learning-arch{box-shadow:inset 0 0 60px #d5ac2b0b,0 0 70px #062c2020}.hero-scroll{position:relative;z-index:2;align-items:center;transition:color .25s ease}.hero-scroll span{display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;border:1px solid #d1bd8c73;border-radius:50%;font-size:1rem;animation:arsh-scroll-pulse 2.8s ease-in-out infinite}@keyframes arsh-scroll-pulse{50%{transform:translateY(7px)}}
/* Continuous section language */
.section-pad{padding-block:clamp(70px,8vw,128px)}.section-heading{margin-bottom:clamp(30px,4vw,54px)}.section-heading h2,.vision-section h2,.journey-section h2,.student-space h2,.page-hero h1,.faq-grid h2,.final-cta h2{font-family:'Cormorant Garamond',Georgia,serif!important;font-size:clamp(2.7rem,4.6vw,5rem)!important;font-weight:500;letter-spacing:-.045em;line-height:1.03}.section-heading h2{max-width:800px}.eyebrow{font-family:'Manrope',sans-serif;letter-spacing:.2em;font-size:.7rem;font-weight:750}.section-subtitle,.heading-aside{line-height:1.85}.text-link{transition:color .25s ease,letter-spacing .25s ease}.text-link:hover{letter-spacing:.01em}.subject-ribbon{padding:8px 0;border-top:1px solid #e2dfd23a}.community-entry{position:relative;z-index:3}.entry-grid>a,.faculty-mini-grid .soft-card,.course-card,.soft-card,.mission-card,.benefit-card,.leadership-profile,.path-card,.static-review{transition:transform .45s cubic-bezier(.22,.85,.22,1),box-shadow .45s ease,border-color .35s ease,background-color .35s ease}.entry-grid>a:hover,.faculty-mini-grid .soft-card:hover,.course-card:hover,.soft-card:hover,.mission-card:hover,.benefit-card:hover,.leadership-profile:hover,.static-review:hover{transform:translateY(-7px);box-shadow:0 24px 50px #0c342118;border-color:#b8c7ac}.faculty-mini-grid .soft-card,.course-card,.mission-card,.benefit-card{overflow:hidden}.faculty-mini-grid .soft-card:before,.mission-card:before{content:"";position:absolute;left:-35%;right:-35%;bottom:-100%;height:150%;background:radial-gradient(ellipse,#d4bd7933,transparent 62%);opacity:0;pointer-events:none;transition:opacity .45s ease}.faculty-mini-grid .soft-card:hover:before,.mission-card:hover:before{opacity:1}.faculty-mini-grid .soft-card img{transition:transform .7s cubic-bezier(.2,.8,.2,1)}.faculty-mini-grid .soft-card:hover img{transform:translateY(-6px) rotate(-3deg) scale(1.06)}
.path-card{overflow:hidden;isolation:isolate;box-shadow:0 18px 35px #24482b0e}.path-card:after{content:"";position:absolute;inset:0;border:1px solid #d9c79744;border-radius:inherit;pointer-events:none}.path-card:hover{transform:translateY(-6px);box-shadow:0 25px 45px #143c2b1d}.path-card img{transition:transform .8s cubic-bezier(.22,.8,.22,1)}.path-card:hover img{transform:translateY(-9px) scale(1.065) rotate(-3deg)}.path-card h3{font-family:'Cormorant Garamond',Georgia,serif!important;font-size:clamp(2.3rem,3.4vw,3.9rem)!important;font-weight:600;line-height:1.03}.course-art-link img,.course-card img{transition:transform .7s cubic-bezier(.22,.85,.22,1)}.course-card:hover img{transform:scale(1.045)}.course-home-section{background:linear-gradient(175deg,#f0f3e9,#faf8f1 83%)}.vision-section{background:linear-gradient(145deg,#eaf0e3,#f2f4e9)}.vision-frame,.vision-image{box-shadow:0 24px 55px #23402a18}.journey-section{background:radial-gradient(ellipse at 92% 12%,#3d78532e,transparent 45%),linear-gradient(140deg,#103c2d,#0a2e25)!important;position:relative;overflow:hidden}.journey-section:before{content:"";position:absolute;inset:0;background:url('/assets/theme/islamic-lattice.svg') center/170px;opacity:.06;pointer-events:none}.journey-section .container{position:relative;z-index:1}.journey-step{transition:transform .35s ease}.journey-step:hover{transform:translateY(-5px)}.student-space,.founder-panel,.it-lead-feature{border-radius:clamp(18px,2.3vw,30px);overflow:hidden}.student-preview{transform:rotate(1deg);box-shadow:0 22px 55px #1638251c;transition:transform .45s ease}.student-space:hover .student-preview{transform:rotate(0)}.founder-photo img,.it-lead-photo-frame img,.leadership-profile__photo img{transition:transform .65s ease}.founder-panel:hover .founder-photo img,.it-lead-feature:hover .it-lead-photo-frame img,.leadership-profile:hover .leadership-profile__photo img{transform:scale(1.06)}.leadership-profile__photo{box-shadow:0 18px 38px #133d261d!important;border-color:#fffaf0!important}.leadership-profile__photo img{object-position:center 28%}.leadership-grid{align-items:stretch}.leadership-profile{background:linear-gradient(160deg,#fffefa,#f7f8f1);border-radius:20px}.faq-details details{transition:background-color .25s ease,border-color .25s ease}.faq-details details[open]{background:#fffdf6;border-color:#c4d5b6}.faq-details summary{cursor:pointer}.final-cta{background:radial-gradient(ellipse at 90% 10%,#d4bc7e33,transparent 40%),linear-gradient(130deg,#f1f4e9,#f9f5e9);padding:clamp(35px,6vw,76px)!important;border:1px solid #e4dfcb;border-radius:clamp(20px,3vw,36px)!important}.footer{background:#092d23!important}.footer-links a{transition:color .2s ease,padding-left .2s ease}.footer-links a:hover{padding-left:4px}.page-hero{overflow:hidden}.page-hero:after{content:"";position:absolute;right:-100px;top:-220px;width:500px;height:500px;border:1px solid #c6a46d44;border-radius:50%;pointer-events:none;box-shadow:0 0 0 55px #d1c08d13,0 0 0 120px #d1c08d0d}.page-hero .container{position:relative;z-index:1}
/* Scroll motion is progressive enhancement: no JS = always visible. */
.arsh-reveal{opacity:1;transform:none}.arsh-motion .arsh-reveal:not(.arsh-inview){opacity:0;transform:translate3d(0,34px,0)}.arsh-motion .arsh-reveal{transition:opacity .85s cubic-bezier(.2,.75,.2,1),transform .85s cubic-bezier(.2,.75,.2,1);transition-delay:var(--arsh-delay,0ms)}.arsh-motion .arsh-reveal.arsh-inview{opacity:1;transform:translate3d(0,0,0)}.arsh-backtop{position:fixed;right:22px;bottom:24px;width:44px;height:44px;z-index:900;border:1px solid #e7d7ad;background:#154b38;color:#fff5d9;display:grid;place-items:center;cursor:pointer;border-radius:50%;box-shadow:0 12px 30px #0b32233f;opacity:0;transform:translateY(16px);pointer-events:none;transition:opacity .25s,transform .25s,background .25s}.arsh-backtop.is-visible{opacity:1;transform:none;pointer-events:auto}.arsh-backtop:hover{background:#2d654a}
@media(min-width:992px){.immersive-grid{grid-template-columns:1.08fr .92fr;gap:clamp(35px,5vw,85px)}.immersive-hero{padding-top:104px;padding-bottom:75px}.immersive-copy h1{max-width:750px}.community-entry{margin-top:-1px}.learning-universe{transform-origin:50% 50%}}
@media(max-width:991px){.immersive-hero{min-height:auto;padding-top:70px}.immersive-copy h1{font-size:clamp(3.3rem,8vw,5.3rem)!important}.section-pad{padding-block:76px}.header-nav a:after{display:none}.arsh-backtop{right:16px;bottom:90px}}
@media(max-width:575px){.immersive-hero{padding-top:48px;padding-bottom:36px}.immersive-copy h1{font-size:clamp(3.2rem,12vw,4.3rem)!important}.immersive-copy .lead{font-size:.94rem}.learning-universe{filter:none}.section-pad{padding-block:56px}.section-heading h2,.page-hero h1,.journey-section h2,.final-cta h2{font-size:clamp(2.55rem,9vw,3.3rem)!important}.path-card h3{font-size:2.6rem!important}.arsh-backtop{width:40px;height:40px;right:12px;bottom:84px}.hero-trust{font-size:.6rem;gap:9px}.hero-trust span{padding-left:8px}.final-cta{padding:32px 25px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.arsh-motion .arsh-reveal,.arsh-motion .arsh-reveal:not(.arsh-inview){opacity:1!important;transform:none!important;transition:none!important}.hero-scroll span{animation:none}.entry-grid>a,.faculty-mini-grid .soft-card,.course-card,.soft-card,.mission-card,.benefit-card,.leadership-profile,.path-card,.static-review,.student-preview,.arsh-backtop{transition:none!important}.learning-universe{will-change:auto}}
