/* Alshahm Study V6 — final visual system and responsive fidelity layer */
:root{
  --v6-green:#043f2c;
  --v6-green-deep:#032e22;
  --v6-green-bright:#0c6848;
  --v6-gold:#edae20;
  --v6-gold-light:#f6c94a;
  --v6-white:#ffffff;
  --v6-soft:#f3f8f5;
  --v6-ink:#123125;
  --v6-muted:#5e7369;
  --v6-border:#dbe7e0;
  --v6-shadow:0 24px 70px rgba(4,63,44,.13);
  --v6-shadow-soft:0 12px 34px rgba(4,63,44,.08);
}

body.v6-site{
  background:var(--v6-white);
  color:var(--v6-ink);
  font-family:Tahoma,"Segoe UI",Arial,sans-serif;
  text-rendering:optimizeLegibility;
}

.v6-site .container{width:min(1240px,calc(100% - 40px))}
.v6-site .button{border-radius:12px;letter-spacing:0;transition:transform .22s ease,box-shadow .22s ease,background-color .22s ease,border-color .22s ease}
.v6-site .button-gold{background:linear-gradient(135deg,var(--v6-gold),var(--v6-gold-light));color:#173226;box-shadow:0 12px 28px rgba(237,174,32,.25)}
.v6-site .button-green{background:var(--v6-green);box-shadow:0 12px 28px rgba(4,63,44,.22)}
.v6-site .button-soft{background:#edf6f1;color:var(--v6-green)}
.v6-site :where(a,button,input,select,textarea):focus-visible{outline:3px solid rgba(237,174,32,.42);outline-offset:3px}

/* Quiet navigation */
.v6-site .site-header{top:0;background:rgba(255,255,255,.97);border-bottom:1px solid rgba(4,63,44,.08);box-shadow:0 7px 25px rgba(4,63,44,.04);backdrop-filter:blur(18px)}
.v6-site .main-nav{height:88px;gap:22px}
.v6-site .brand img{width:155px;max-height:72px;object-fit:contain}
.v6-site .nav-links{gap:20px;color:#17372b;font-size:.86rem}
.v6-site .nav-links a{padding:10px 0}
.v6-site .nav-links a:after{height:3px;background:var(--v6-gold);border-radius:99px}
.v6-site .nav-tools{display:flex;align-items:center;gap:8px;margin-inline-start:auto}
.v6-site .nav-tools .text-button{color:var(--v6-green);min-height:40px;padding:8px 9px;border-radius:9px;font-weight:800;font-size:.78rem}
.v6-site .nav-tools .text-button:hover{background:#f0f6f3}
.v6-site .language-select{height:40px;background:#fff;color:var(--v6-green);border:1px solid #d4e2da;border-radius:9px;padding:0 9px;font-size:.78rem}
.v6-site .search-trigger{height:40px;padding:0 12px;font-size:.78rem}
.v6-site .nav-cta{min-height:44px;padding-inline:17px}
.v6-site .news-ticker{background:var(--v6-green-deep);border:0}
.v6-site .ticker-inner{min-height:38px}

/* First viewport */
.v6-site .v5-hero{
  min-height:648px;
  background:linear-gradient(90deg,var(--v6-green) 0%,#07583d 56%,#f6f0e7 56%,#fbf8f4 100%);
  isolation:isolate;
}
.v6-site .v5-hero:before{
  background:
    linear-gradient(125deg,transparent 0 33%,rgba(255,255,255,.035) 33% 35%,transparent 35% 100%),
    radial-gradient(circle at 36% 28%,rgba(237,174,32,.1),transparent 24%);
}
.v6-site .v5-hero-grid{min-height:648px;grid-template-columns:1.05fr .95fr}
.v6-site .v5-hero-copy{padding:62px 42px 132px 0;align-self:center;min-width:0}
.v6-site .v5-hero-copy h1{display:block;max-width:690px;font-size:clamp(3rem,4.15vw,4.25rem);line-height:1.11;letter-spacing:-.045em}
.v6-site .v5-hero-copy h1>*{display:block;white-space:nowrap}
.v6-site .v5-hero-copy h1 .v5-line1{font-size:.88em}
.v6-site .v5-hero-copy h1 strong{font-size:1em;color:var(--v6-gold-light)}
.v6-site .v5-hero-copy h1 .v5-line3{font-size:.64em;margin-top:7px;letter-spacing:-.025em}
.v6-site .v5-hero-copy>p{max-width:610px;margin:24px 0 27px;color:#deede6;font-size:1.03rem;line-height:1.9}
.v6-site .v5-hero-actions{gap:10px}
.v6-site .v5-hero-actions .button{min-height:52px}
.v6-site .v5-text-action{padding:10px 7px;font-size:.85rem}
.v6-site .v5-trust{margin-top:25px;gap:0}
.v6-site .v5-trust span{padding:5px 16px;font-size:.76rem}
.v6-site .v5-founder-media{overflow:hidden;align-self:stretch;background:#f8f4ed}
.v6-site .v5-founder-media:before{inset:9% 6% 8%;border-radius:50%;transform:none;border:1.5px solid rgba(237,174,32,.5);z-index:1}
.v6-site .v5-founder-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(246,240,231,.08),transparent 28%);pointer-events:none;z-index:2}
.v6-site .v5-founder-image{width:100%;height:100%;object-fit:cover;object-position:center 28%;filter:none}
.v6-site .v5-founder-label{top:auto;right:30px;bottom:88px;padding:14px 18px;border-inline-start:0;border-inline-end:3px solid var(--v6-gold);border-radius:12px;background:rgba(255,255,255,.93);box-shadow:var(--v6-shadow-soft)}
.v6-site .v5-founder-label strong{font-size:1rem}
.v6-site .v5-path.path-hero{left:44%;bottom:104px;width:170px;height:90px;border-color:var(--v6-gold);opacity:.8}

/* Compact, high-conversion assessment */
.v6-site .v5-quick{margin-top:-105px}
.v6-site .v5-quick-card{border-radius:22px;padding:24px 26px;grid-template-columns:270px 1fr;box-shadow:var(--v6-shadow);border-color:rgba(4,63,44,.11)}
.v6-site .v5-quick-intro h2{font-size:1.65rem}
.v6-site .v5-quick-intro p{font-size:.82rem;line-height:1.65}
.v6-site .v5-progress:before{background:#d4dfd9}
.v6-site .v5-progress .active b{background:var(--v6-green)}
.v6-site .v5-quick-fields{gap:9px}
.v6-site .v5-quick-fields select{height:45px;border-radius:10px}
.v6-site .v5-quick-fields .button{height:45px}

/* Page rhythm */
.v6-site .v5-section{padding:92px 0}
.v6-site .v5-section-heading{margin-bottom:43px}
.v6-site .v5-section-heading h2{font-size:clamp(2rem,3.25vw,2.9rem);color:var(--v6-green);letter-spacing:-.03em}
.v6-site .v5-section-heading h2:after{width:52px;height:3px;margin:17px auto;background:var(--v6-gold)}
.v6-site .v5-section-heading p{max-width:700px;margin-inline:auto;color:var(--v6-muted)}
.v6-site .v5-services{padding-top:128px}
.v6-site .v5-service-path:before{background:linear-gradient(90deg,transparent,var(--v6-gold) 12% 88%,transparent)}
.v6-site .v5-service-path article>div{width:82px;height:82px;border-color:var(--v6-gold);box-shadow:var(--v6-shadow-soft)}
.v6-site .v5-service-path h3{color:var(--v6-green)}
.v6-site .v5-founder-band{background:linear-gradient(110deg,var(--v6-green-deep) 0%,#07583d 52%,#f6f0e7 52%,#fbf8f4 100%)}
.v6-site .v5-founder-band-grid{min-height:620px}
.v6-site .v5-founder-band-copy{padding-block:78px}
.v6-site .v5-founder-band-copy h2{font-size:clamp(2.2rem,3.8vw,3.45rem)}
.v6-site .v5-founder-band-media{overflow:hidden}
.v6-site .v5-founder-band-media:before{width:360px;border-color:rgba(237,174,32,.55)}
.v6-site .v5-founder-band-media img{width:100%;height:100%;object-fit:cover;object-position:center 28%;filter:none}
.v6-site .v5-university-card{border-radius:18px;box-shadow:var(--v6-shadow-soft)}
.v6-site .v5-university-card:hover{box-shadow:var(--v6-shadow)}
.v6-site .v5-uni-image{aspect-ratio:16/9}
.v6-site .v5-university-card h3{color:var(--v6-green)}
.v6-site .v5-specialties{background:var(--v6-soft)}
.v6-site .v5-specialty-list button{border-radius:12px;min-height:64px}
.v6-site .v5-specialty-list button span{width:38px;height:38px;background:#f8edc9;color:var(--v6-green)}
.v6-site .v5-specialty-list button span .ui-icon{width:22px;height:22px}
.v6-site .v5-journey{background:linear-gradient(180deg,#fff,var(--v6-soft))}
.v6-site .v5-journey-line:before{background:var(--v6-gold)}
.v6-site .v5-journey-line article>b{background:var(--v6-green);box-shadow:0 0 0 2px var(--v6-gold)}
.v6-site .v5-audience-grid{border-radius:20px;box-shadow:var(--v6-shadow-soft)}
.v6-site .v5-audience-icon{background:var(--v6-green)}
.v6-site .v5-portal-showcase{background:#f2f7f4}
.v6-site .v5-portal-grid{grid-template-columns:.65fr 1.35fr}
.v6-site .v5-portal-panel{border-radius:18px;box-shadow:var(--v6-shadow)}
.v6-site .v5-video{background:linear-gradient(120deg,var(--v6-green-deep),var(--v6-green));padding:86px 0}
.v6-site .v5-video-frame{border-radius:18px;border-color:rgba(237,174,32,.5)}
.v6-site .v5-faq .faq-item{border-radius:11px}
.v6-site .v5-cta{background:linear-gradient(110deg,var(--v6-green-deep),var(--v6-green));padding:58px 0}
.v6-site .v5-footer{background:#f8faf9}
.v6-site .v5-footer-brand img{width:175px}

/* Interior pages, portal and operations */
.v6-site .page-shell{min-height:calc(100vh - 126px);padding:64px 0 84px;background:linear-gradient(180deg,#edf6f1 0,#fff 310px)}
.v6-site .page-title{max-width:780px;margin:0 auto 34px;text-align:center}
.v6-site .page-title h1{font-size:clamp(2.25rem,4vw,3.45rem);line-height:1.25;color:var(--v6-green);letter-spacing:-.035em}
.v6-site .page-title h1:after{content:"";display:block;width:52px;height:3px;background:var(--v6-gold);border-radius:99px;margin:17px auto}
.v6-site .page-title p{color:var(--v6-muted);font-size:1rem}
.v6-site .panel{border-radius:18px;border-color:var(--v6-border);box-shadow:var(--v6-shadow-soft)}
.v6-site .login-panel{margin:44px auto;max-width:500px;padding:32px}
.v6-site .portal-grid{grid-template-columns:340px 1fr;gap:20px}
.v6-site .modal-backdrop{background:rgba(1,29,21,.76)}
.v6-site .modal-card{border-radius:20px;box-shadow:0 34px 90px rgba(0,0,0,.3)}
.v6-site .form-grid input,.v6-site .form-grid select,.v6-site .form-grid textarea,.v6-site .form-stack input,.v6-site .form-stack select,.v6-site .form-stack textarea{min-height:46px;border-radius:10px;border-color:#ccd9d2}
.v6-site .admin-layout{grid-template-columns:235px 1fr}
.v6-site .admin-sidebar{background:linear-gradient(180deg,var(--v6-green-deep),var(--v6-green));padding:30px 17px}
.v6-site .admin-sidebar>img{width:180px!important;max-width:100%;filter:none!important;background:#fff;padding:10px;border-radius:14px;box-shadow:0 12px 28px rgba(0,0,0,.16)}
.v6-site .admin-nav button{min-height:44px;border-radius:9px}
.v6-site .admin-main{background:#f2f6f4;padding:30px}
.v6-site .stat-card{border-radius:14px;box-shadow:0 8px 24px rgba(4,63,44,.05)}
.v6-site .data-table th{background:#edf5f1}

/* Purposeful reveal motion */
.v6-site.v6-motion-ready .v6-reveal{opacity:1;transform:translateY(14px);transition:transform .58s ease}
.v6-site .v6-reveal.is-visible{opacity:1;transform:none}
.v6-site input[type="file"]{padding:5px;background:#fff;color:var(--v6-muted)}
.v6-site input[type="file"]::file-selector-button{height:34px;margin-inline-end:10px;border:0;border-radius:8px;padding:0 13px;background:#edf6f1;color:var(--v6-green);font:inherit;font-weight:800;cursor:pointer}

@media(max-width:1280px){
  .v6-site .container{width:min(1180px,calc(100% - 32px))}
  .v6-site .nav-admin,.v6-site .search-trigger{display:none}
  .v6-site .nav-links{gap:16px}
  .v6-site .v5-hero-copy{padding-inline-end:22px}
  .v6-site .v5-hero-copy h1{font-size:clamp(2.8rem,4.15vw,3.7rem)}
}

@media(max-width:1080px){
  .v6-site .main-nav{height:76px}
  .v6-site .nav-links{display:none;top:82px;right:16px;left:16px;gap:3px;border:1px solid var(--v6-border);border-radius:16px;padding:12px;box-shadow:var(--v6-shadow);background:#fff}
  .v6-site .nav-links.open{display:flex}
  .v6-site .nav-links a{padding:11px 12px;border-radius:9px}
  .v6-site .nav-links a:hover{background:#edf6f1}
  .v6-site .menu-button{display:block;order:5}
  .v6-site .nav-tools{margin-inline-start:0}
  .v6-site .v5-hero{background:linear-gradient(90deg,var(--v6-green) 0%,#07583d 54%,#f6f0e7 54%,#fbf8f4 100%)}
  .v6-site .v5-hero-grid{grid-template-columns:1fr .9fr}
  .v6-site .v5-hero-copy h1>*{white-space:normal}
  .v6-site .v5-hero-copy h1{font-size:clamp(2.6rem,5vw,3.5rem)}
  .v6-site .v5-quick-card{grid-template-columns:1fr}
  .v6-site .v5-quick-intro{text-align:center}
  .v6-site .v5-quick-fields{grid-template-columns:repeat(2,1fr)}
  .v6-site .v5-quick-fields .button{grid-column:1/-1}
  .v6-site .v5-founder-band{background:var(--v6-green)}
  .v6-site .v5-founder-band-grid{grid-template-columns:1fr;min-height:auto}
  .v6-site .v5-founder-band-media{height:500px;background:#f6f0e7}
  .v6-site .v5-specialties-grid,.v6-site .v5-portal-grid,.v6-site .v5-video-grid{grid-template-columns:1fr}
}

@media(max-width:760px){
  .v6-site{padding-bottom:76px}
  .v6-site .container{width:min(100% - 28px,680px)}
  .v6-site .main-nav{height:72px;justify-content:space-between}
  .v6-site .brand{margin:0}
  .v6-site .brand img{width:128px;max-height:58px}
  .v6-site .menu-button{order:initial;padding:9px;margin-inline-start:auto}
  .v6-site .menu-button span{width:27px;background:var(--v6-green)}
  .v6-site .nav-tools{display:none}
  .v6-site .nav-links{top:78px}
  .v6-site .news-ticker{display:none}

  .v6-site .v5-hero{min-height:auto;background:linear-gradient(90deg,var(--v6-green) 0%,#07583d 55%,#f6f0e7 55%,#fbf8f4 100%)}
  .v6-site .v5-hero-grid{width:100%;min-height:auto;display:grid;grid-template-columns:1.16fr .84fr;grid-template-rows:280px auto auto;direction:ltr}
  .v6-site .v5-hero-copy{display:contents}
  .v6-site .v5-hero-copy h1{grid-column:1;grid-row:1;direction:rtl;text-align:center;align-self:center;padding:18px 9px 18px 14px;font-size:clamp(1.72rem,7.7vw,2.12rem);line-height:1.22;letter-spacing:-.03em;max-width:none}
  .v6-site .v5-hero-copy h1>*{white-space:normal}
  .v6-site .v5-hero-copy h1 .v5-line1{font-size:.88em}
  .v6-site .v5-hero-copy h1 strong{font-size:1.02em;margin-top:5px}
  .v6-site .v5-hero-copy h1 .v5-line3{font-size:.63em;margin-top:7px}
  .v6-site .v5-founder-media{grid-column:2;grid-row:1;height:280px;margin:0;border-radius:0;background:#f6f0e7}
  .v6-site .v5-founder-media:before{inset:15% 7% 8%;border-radius:48%}
  .v6-site .v5-founder-image{height:100%;width:100%;object-fit:cover;object-position:center 28%}
  .v6-site .v5-founder-label{display:none}
  .v6-site .v5-hero-copy>p{grid-column:1/-1;grid-row:2;direction:rtl;text-align:center;background:var(--v6-green);color:#dcece4;margin:0;padding:14px 22px 6px;font-size:.86rem;line-height:1.7;max-width:none}
  .v6-site .v5-hero-actions{grid-column:1/-1;grid-row:3;direction:rtl;background:var(--v6-green);padding:10px 15px 24px;display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .v6-site .v5-hero-actions .button{min-height:48px;font-size:.86rem;padding-inline:8px}
  .v6-site .v5-text-action{min-height:40px;font-size:.76rem}
  .v6-site .v5-trust{display:none}
  .v6-site .v5-path.path-hero{display:none}

  .v6-site .v5-quick{margin-top:-18px;padding-inline:0}
  .v6-site .v5-quick-card{border-radius:17px;padding:19px 15px;gap:14px}
  .v6-site .v5-quick-intro p{display:none}
  .v6-site .v5-quick-intro h2{font-size:1.4rem;margin:0}
  .v6-site .v5-progress{font-size:.64rem}
  .v6-site .v5-progress span{display:grid;gap:4px;text-align:center}
  .v6-site .v5-quick-fields{display:block}
  .v6-site .v5-quick-fields label,.v6-site .v5-quick-fields input{display:none}
  .v6-site .v5-quick-fields .button{display:flex;width:100%;height:47px}

  .v6-site .v5-section{padding:68px 0}
  .v6-site .v5-services{padding-top:82px}
  .v6-site .v5-section-heading{margin-bottom:31px}
  .v6-site .v5-section-heading h2{font-size:1.9rem;line-height:1.35}
  .v6-site .v5-section-heading p{font-size:.86rem;line-height:1.75}
  .v6-site .v5-service-path{grid-template-columns:1fr 1fr;gap:31px 8px}
  .v6-site .v5-service-path article{padding:0 4px}
  .v6-site .v5-service-path article>div{width:62px;height:62px;margin-bottom:12px}
  .v6-site .v5-service-path .ui-icon{width:28px;height:28px}
  .v6-site .v5-service-path h3{font-size:.86rem}
  .v6-site .v5-service-path p{font-size:.73rem;line-height:1.6}
  .v6-site .v5-founder-band-copy{padding:58px 0 24px}
  .v6-site .v5-founder-band-copy h2{font-size:2.05rem}
  .v6-site .v5-founder-band-copy ul{gap:13px}
  .v6-site .v5-founder-band-media{height:375px;margin-inline:-14px}
  .v6-site .v5-founder-band-media img{height:100%;object-position:center 26%}
  .v6-site .v5-university-grid{grid-template-columns:1fr}
  .v6-site .v5-university-card footer{display:grid;grid-template-columns:1fr 1fr}
  .v6-site .v5-specialty-list{grid-template-columns:1fr 1fr}
  .v6-site .v5-specialty-list button{min-height:58px;padding:10px}
  .v6-site .v5-journey-line{grid-template-columns:1fr 1fr;gap:26px 8px}
  .v6-site .v5-audience-grid{grid-template-columns:1fr}
  .v6-site .v5-audience-grid article{padding:27px 22px}
  .v6-site .v5-portal-panel{padding:13px}
  .v6-site .v5-video{padding:64px 0}
  .v6-site .v5-video-copy h2{font-size:2rem}
  .v6-site .v5-cta{padding:45px 0}
  .v6-site .v5-footer .footer-grid{grid-template-columns:1fr}

  .v6-site .page-shell{padding:46px 0 68px;background:linear-gradient(180deg,#edf6f1 0,#fff 220px)}
  .v6-site .page-title{margin-bottom:24px}
  .v6-site .page-title h1{font-size:2.05rem}
  .v6-site .login-panel{margin:25px auto;padding:22px 18px}
  .v6-site .portal-grid{grid-template-columns:1fr}
  .v6-site .modal-card{border-radius:17px;padding:22px 16px}
  .v6-site .admin-layout{grid-template-columns:1fr}
  .v6-site .admin-sidebar{padding:18px 14px}
  .v6-site .admin-main{padding:18px 13px}
  .v6-site .stats-grid{grid-template-columns:1fr 1fr}

  .v6-site .mobile-action-dock{left:8px;right:8px;bottom:7px;z-index:500;background:rgba(255,255,255,.97);border:1px solid #d9e4de;border-top:3px solid var(--v6-gold);border-radius:16px;padding:6px;box-shadow:0 18px 48px rgba(3,46,34,.25);backdrop-filter:blur(16px)}
  .v6-site .mobile-action-dock a,.v6-site .mobile-action-dock button{color:var(--v6-green);font-size:.67rem;min-height:48px;border-radius:9px}
  .v6-site .mobile-action-dock a:hover,.v6-site .mobile-action-dock button:hover{background:#edf6f1}
  .v6-site .mobile-action-dock span{color:var(--v6-gold);font-size:.95rem}
}

html[dir="ltr"] .v6-site .v5-hero-copy{direction:ltr;text-align:left}
html[dir="ltr"] .v6-site .v5-hero-copy h1{font-size:clamp(2.45rem,3.55vw,3.65rem);letter-spacing:-.035em}
html[dir="ltr"] .v6-site .v5-hero-copy h1>*{white-space:normal}
html[dir="ltr"] .v6-site .v5-hero-copy h1 .v5-line3{font-size:.69em;line-height:1.22}
html[dir="ltr"] .v6-site .v5-specialties .v5-section-heading{text-align:left}

@media(max-width:760px){
  html[dir="ltr"] .v6-site .v5-hero-copy h1{font-size:clamp(1.38rem,6.5vw,1.8rem);line-height:1.18;letter-spacing:-.025em;overflow-wrap:anywhere;padding-inline:12px 8px}
  html[dir="ltr"] .v6-site .v5-hero-copy h1 .v5-line1{font-size:.9em}
  html[dir="ltr"] .v6-site .v5-hero-copy h1 .v5-line3{font-size:.58em;line-height:1.2}
  html[dir="ltr"] .v6-site .v5-hero-copy>p{direction:ltr;text-align:center}
  html[dir="ltr"] .v6-site .v5-hero-actions{direction:ltr}
}

@media(prefers-reduced-motion:reduce){
  .v6-site .v6-reveal{opacity:1;transform:none;transition:none}
  .v6-site :where(.button,.v5-university-card,.v5-specialty-list button){transition:none}
}
