/* Masterskills Course Yearbooks — Corporate Premium Batch 4, 2026-10-24
   Strictly scoped to .msy-page. Does not style global header, navigation, footer or sticky widgets.
   Based on the approved layout of Course-Yearbook-Ajinomoto-2.htm. */
.msy-page{--msy-navy:#092f4e;--msy-blue:#0767ae;--msy-text:#113b59;--msy-muted:#496882;--msy-gold:#c9851b;--msy-gold-soft:#f6c35b;--msy-line:#dce7ee;--msy-soft:#f5f8fa;--msy-table:#e8f3f9;color:var(--msy-text);font-family:inherit;line-height:1.65;overflow-x:clip}
.msy-page,.msy-page *,.msy-page *::before,.msy-page *::after{box-sizing:border-box}
.msy-page .container{width:calc(100% - 48px);max-width:1540px;margin-inline:auto;padding-left:0;padding-right:0}
.msy-page h1,.msy-page h2,.msy-page h3,.msy-page p,.msy-page figure{margin:0}
.msy-page h1,.msy-page h2,.msy-page h3{line-height:1.26;letter-spacing:-.025em}
.msy-page p{line-height:1.7}
/* Corporate hero: approved customer-site blue, soft blended photo right. */
.msy-page .msy-hero{height:auto;min-height:438px;position:relative;isolation:isolate;background:#086ab0;overflow:hidden;display:flex;align-items:center}
.msy-page .msy-hero-media{position:absolute;inset:0 0 0 auto;width:64%;z-index:-2;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.28) 17%,#000 49%);mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.28) 17%,#000 49%)}
.msy-page .msy-hero-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 34%}
.msy-page .msy-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(0,93,159,.18) 0%,rgba(0,99,165,.05) 53%,transparent 88%);pointer-events:none}
.msy-page .msy-hero-inner{position:relative;z-index:1;display:flex;align-items:center;min-height:438px;padding-top:45px;padding-bottom:45px}
.msy-page .msy-hero-copy{max-width:750px;width:55%}
.msy-page .msy-hero-kicker{color:#ffd279;font-size:15px;font-weight:800;letter-spacing:.17em;line-height:1.5;margin:0 0 29px;text-transform:uppercase}
.msy-page .msy-hero h1{color:#fff;font-size:clamp(32px,3vw,49px);font-weight:800;line-height:1.17;letter-spacing:-.026em;margin:0 0 23px;overflow-wrap:break-word;text-wrap:balance}
.msy-page .msy-hero-lead{color:#fff;font-size:clamp(16px,1.16vw,19px);font-weight:550;max-width:760px;line-height:1.62;text-wrap:pretty;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
/* Section hierarchy */
.msy-page .msy-section{padding:74px 0 86px;background:#fff}
.msy-page .msy-section--soft,.msy-page .msy-section--survey{background:var(--msy-soft)}
.msy-page .msy-section--gallery{padding-bottom:110px}
.msy-page .msy-heading{display:flex;align-items:flex-start;gap:27px;margin-bottom:43px}
.msy-page .msy-heading-num{display:grid;place-items:center;flex:0 0 76px;width:76px;height:76px;border-radius:50%;border:1px solid #bad4e5;color:var(--msy-navy);font-size:29px;font-weight:800;background:#fff;line-height:1}
.msy-page .msy-heading-content{min-width:0;padding-top:3px}
.msy-page .msy-eyebrow{font-size:13px;font-weight:850;color:#bb7612;text-transform:uppercase;letter-spacing:.16em;margin-bottom:10px;line-height:1.35}
.msy-page .msy-heading h2{color:var(--msy-navy);font-size:clamp(27px,2.7vw,40px);font-weight:800;line-height:1.2;text-wrap:balance}
.msy-page .msy-heading-desc{font-size:18px;color:var(--msy-muted);line-height:1.6;margin-top:13px;max-width:1100px}
/* Overview / customer facts */
.msy-page .msy-overview-layout{display:grid;grid-template-columns:minmax(0,1.07fr) minmax(0,1fr);gap:60px;align-items:start}
.msy-page .msy-overview-copy h3{font-size:clamp(24px,2.1vw,31px);font-weight:800;color:var(--msy-navy);margin-bottom:20px}
.msy-page .msy-overview-copy p{color:var(--msy-muted);font-size:17px;line-height:1.87;margin:0 0 22px}
.msy-page .msy-overview-copy p:last-child{margin-bottom:0}
.msy-page .msy-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.msy-page .msy-facts article{min-height:162px;padding:31px 30px;border:1px solid var(--msy-line);border-radius:16px;background:#fff;box-shadow:0 12px 28px rgba(15,57,85,.035)}
.msy-page .msy-facts article span{display:block;font-size:13px;font-weight:850;letter-spacing:.08em;color:#ae7016;margin-bottom:18px;line-height:1.4}
.msy-page .msy-facts article strong{display:block;font-size:19px;line-height:1.5;color:var(--msy-navy);font-weight:800;overflow-wrap:anywhere}
/* Four solution cards and outcomes */
.msy-page .msy-quad,.msy-page .msy-value-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:21px}
.msy-page .msy-quad-card,.msy-page .msy-value-card{min-width:0;padding:36px 29px 38px;background:#fff;border:1px solid var(--msy-line);border-radius:16px;box-shadow:0 12px 32px rgba(9,45,75,.027)}
.msy-page .msy-quad-card{min-height:308px}
.msy-page .msy-card-index{width:64px;height:64px;display:grid;place-items:center;border-radius:50%;border:1px solid #c6dce9;color:var(--msy-navy);font-size:26px;font-weight:800;line-height:1;margin-bottom:31px}
.msy-page .msy-quad-card h3,.msy-page .msy-value-card h3{font-size:20px;line-height:1.42;font-weight:850;color:var(--msy-navy);margin-bottom:17px;overflow-wrap:break-word}
.msy-page .msy-quad-card p,.msy-page .msy-value-card p{font-size:16px;line-height:1.78;color:var(--msy-muted)}
/* Needs, situation, objectives */
.msy-page .msy-context-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.msy-page .msy-context-card{padding:36px 32px 41px;border:1px solid var(--msy-line);border-radius:16px;background:#fff;min-height:280px}
.msy-page .msy-context-number{display:grid;place-items:center;width:57px;height:57px;border-radius:50%;background:#0f405f;color:var(--msy-gold-soft);font-weight:800;font-size:20px;margin-bottom:29px}
.msy-page .msy-context-card h3{font-weight:850;font-size:21px;color:var(--msy-navy);margin-bottom:15px}
.msy-page .msy-context-card p{font-size:16px;color:var(--msy-muted);line-height:1.77}
/* Educational program table; light premium background with accessible contrast */
.msy-page .msy-program-wrap{border:1px solid #cbdfea;border-radius:16px;background:#fff;box-shadow:0 14px 35px rgba(15,54,78,.035);overflow:hidden}
.msy-page .msy-program-table{width:100%;border-collapse:collapse;border-spacing:0;table-layout:fixed;margin:0;font-size:16px;line-height:1.65;color:var(--msy-text)}
.msy-page .msy-program-table th,.msy-page .msy-program-table td{padding:29px 28px;vertical-align:top;border-right:1px solid var(--msy-line);border-bottom:1px solid var(--msy-line);text-align:left}
.msy-page .msy-program-table tr > *:last-child{border-right:0}
.msy-page .msy-program-table tbody tr:last-child > *{border-bottom:0}
.msy-page .msy-program-table thead th{font-size:15px;line-height:1.35;font-weight:850;color:#08364f;background:#e8f2f8;padding:25px 28px}
.msy-page .msy-program-table tbody th{background:#f0f6fa;border-left:3px solid #e7b85d;padding-left:25px}
.msy-page .msy-program-table tbody th strong{display:block;font-size:17px;font-weight:850;color:#073854;line-height:1.5}
.msy-page .msy-module-no{display:block;color:#bc7a1c;font-size:32px;font-weight:800;line-height:1.15;margin-bottom:16px}
.msy-page .msy-program-table tbody td{font-size:16px;line-height:1.77;color:#234b68}
.msy-page .msy-program-table ul{list-style:none;padding:0;margin:0}
.msy-page .msy-program-table li{position:relative;padding:0 0 0 18px;margin:0 0 10px;overflow-wrap:break-word}
.msy-page .msy-program-table li:last-child{margin-bottom:0}
.msy-page .msy-program-table li::before{content:"";width:6px;height:6px;border-radius:50%;background:#d39836;position:absolute;left:0;top:.78em}
/* Learning outcomes */
.msy-page .msy-value-card{min-height:265px}
.msy-page .msy-value-icon{display:block;color:#bc7a1c;font-size:18px;font-weight:850;letter-spacing:.07em;margin-bottom:29px}
/* Survey metric cards */
.msy-page .msy-survey-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.msy-page .msy-survey-card{min-width:0;min-height:193px;padding:35px 33px;border-radius:16px;background:linear-gradient(135deg,#0b2f4b 0%,#154667 100%);display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 10px 22px rgba(11,55,84,.055)}
.msy-page .msy-survey-card-top{display:flex;align-items:center;gap:23px}
.msy-page .msy-survey-card-top strong{font-size:42px;line-height:1;font-weight:900;letter-spacing:-.035em;color:#f9c65f;white-space:nowrap}
.msy-page .msy-survey-card-top strong span{font-size:.75em}
.msy-page .msy-survey-card h3{font-size:15px;font-weight:800;color:#fff;line-height:1.48;letter-spacing:0;min-width:0}
.msy-page .msy-meter{height:9px;margin-top:30px;background:rgba(209,233,244,.25);border-radius:99px;overflow:hidden}
.msy-page .msy-meter span{display:block;height:100%;background:#f6c764;border-radius:99px}
/* Gallery: 5 photos in each desktop row; shorter last row centered */
.msy-page .msy-gallery-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:22px}
.msy-page .msy-gallery-item{flex:0 0 calc((100% - 88px)/5);min-width:0;margin:0;overflow:hidden;border:1px solid #dfebf2;border-radius:13px;background:#fff;box-shadow:0 9px 24px rgba(14,50,75,.06)}
.msy-page .msy-gallery-item a{display:block;position:relative;text-decoration:none;aspect-ratio:4/3;overflow:hidden}
.msy-page .msy-gallery-item img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 27%;transition:transform .3s ease}
.msy-page .msy-gallery-item a:hover img,.msy-page .msy-gallery-item a:focus-visible img{transform:scale(1.04)}
.msy-page .msy-zoom{position:absolute;right:11px;bottom:11px;width:37px;height:37px;display:grid;place-items:center;border-radius:50%;color:#fff;background:rgba(12,55,82,.9);font-size:21px;line-height:1}
.msy-page .msy-gallery-item a:focus-visible{outline:3px solid #efb64c;outline-offset:-3px}
@media(max-width:1240px){
 .msy-page .msy-quad,.msy-page .msy-value-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .msy-page .msy-quad-card{min-height:245px}
 .msy-page .msy-gallery-item{flex-basis:calc((100% - 66px)/4)}
 .msy-page .msy-program-table th,.msy-page .msy-program-table td{padding:23px 20px}
 .msy-page .msy-program-table thead th{padding:23px 20px}
 .msy-page .msy-hero-copy{width:58%}
}
@media(max-width:980px){
 .msy-page .msy-hero-copy{width:65%}
 .msy-page .msy-hero-media{width:75%;opacity:.85}
 .msy-page .msy-overview-layout{grid-template-columns:1fr;gap:30px}
 .msy-page .msy-context-grid{grid-template-columns:1fr;gap:17px}
 .msy-page .msy-context-card{min-height:0;padding:30px}
 .msy-page .msy-survey-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .msy-page .msy-gallery-item{flex-basis:calc((100% - 44px)/3)}
 .msy-page .msy-program-wrap{border:0;background:transparent;box-shadow:none;border-radius:0;overflow:visible}
 .msy-page .msy-program-table,.msy-page .msy-program-table tbody,.msy-page .msy-program-table tr,.msy-page .msy-program-table th,.msy-page .msy-program-table td{display:block;width:100%!important}
 .msy-page .msy-program-table thead,.msy-page .msy-program-table colgroup{display:none}
 .msy-page .msy-program-table tbody tr{overflow:hidden;background:#fff;border:1px solid var(--msy-line);border-radius:14px;margin-bottom:20px;box-shadow:0 6px 15px rgba(11,55,84,.025)}
 .msy-page .msy-program-table tbody tr:last-child{margin-bottom:0}
 .msy-page .msy-program-table tbody tr > *{border-right:0!important;border-bottom:1px solid var(--msy-line)!important}
 .msy-page .msy-program-table tbody tr > *:last-child{border-bottom:0!important}
 .msy-page .msy-program-table tbody th{padding:24px!important;border-left:3px solid #e5b65c}
 .msy-page .msy-program-table tbody th strong{font-size:20px}
 .msy-page .msy-program-table tbody td{padding:23px 27px!important}
 .msy-page .msy-program-table tbody td::before{display:block;content:attr(data-label);font-size:13px;line-height:1.3;font-weight:850;letter-spacing:.06em;text-transform:uppercase;color:#976315;margin-bottom:11px}
 .msy-page .msy-module-no{font-size:27px;margin-bottom:6px}
}
@media(max-width:650px){
 .msy-page .container{width:calc(100% - 32px)}
 .msy-page .msy-hero{min-height:450px}
 .msy-page .msy-hero-inner{min-height:450px;padding-top:32px;padding-bottom:32px}
 .msy-page .msy-hero-media{width:100%;opacity:.48;-webkit-mask-image:linear-gradient(90deg,transparent,#000 76%);mask-image:linear-gradient(90deg,transparent,#000 76%)}
 .msy-page .msy-hero::after{background:linear-gradient(90deg,rgba(0,93,159,.7),rgba(0,96,162,.5) 80%,rgba(0,96,162,.2))}
 .msy-page .msy-hero-copy{width:100%;max-width:100%}
 .msy-page .msy-hero-kicker{font-size:12px;margin-bottom:20px}
 .msy-page .msy-hero h1{font-size:clamp(27px,7.2vw,36px);margin-bottom:18px}
 .msy-page .msy-hero-lead{font-size:15px;line-height:1.65;-webkit-line-clamp:5}
 .msy-page .msy-section{padding:50px 0 62px}
 .msy-page .msy-heading{gap:14px;margin-bottom:27px}
 .msy-page .msy-heading-num{flex-basis:53px;width:53px;height:53px;font-size:21px}
 .msy-page .msy-heading-content{padding-top:2px}
 .msy-page .msy-eyebrow{font-size:11px;letter-spacing:.1em;margin-bottom:8px}
 .msy-page .msy-heading h2{font-size:clamp(24px,6vw,30px);line-height:1.24}
 .msy-page .msy-heading-desc{font-size:15px;line-height:1.55;margin-top:10px}
 .msy-page .msy-overview-copy h3{font-size:24px}
 .msy-page .msy-overview-copy p{font-size:15px;line-height:1.78}
 .msy-page .msy-facts{gap:12px}
 .msy-page .msy-facts article{padding:20px 17px;min-height:143px}
 .msy-page .msy-facts article span{font-size:11px;margin-bottom:12px}
 .msy-page .msy-facts article strong{font-size:15px}
 .msy-page .msy-quad,.msy-page .msy-value-grid{gap:13px;grid-template-columns:1fr}
 .msy-page .msy-quad-card,.msy-page .msy-value-card{padding:25px;min-height:0}
 .msy-page .msy-card-index{width:51px;height:51px;font-size:21px;margin-bottom:17px}
 .msy-page .msy-quad-card h3,.msy-page .msy-value-card h3{font-size:19px;margin-bottom:11px}
 .msy-page .msy-quad-card p,.msy-page .msy-value-card p{font-size:15px}
 .msy-page .msy-context-card{padding:25px}
 .msy-page .msy-context-number{height:48px;width:48px;margin-bottom:17px;font-size:17px}
 .msy-page .msy-context-card h3{font-size:19px}
 .msy-page .msy-context-card p{font-size:15px}
 .msy-page .msy-value-icon{margin-bottom:13px}
 .msy-page .msy-survey-grid{grid-template-columns:1fr;gap:13px}
 .msy-page .msy-survey-card{min-height:144px;padding:25px}
 .msy-page .msy-survey-card-top strong{font-size:39px}
 .msy-page .msy-survey-card h3{font-size:15px}
 .msy-page .msy-meter{margin-top:21px}
 .msy-page .msy-gallery-grid{gap:12px}
 .msy-page .msy-gallery-item{flex-basis:calc((100% - 12px)/2);border-radius:10px}
 .msy-page .msy-zoom{height:30px;width:30px;font-size:18px;right:6px;bottom:6px}
}
@media(max-width:380px){
 .msy-page .container{width:calc(100% - 26px)}
 .msy-page .msy-facts{grid-template-columns:1fr}
 .msy-page .msy-facts article{min-height:0}
 .msy-page .msy-hero h1{font-size:26px}
 .msy-page .msy-hero{min-height:485px}
 .msy-page .msy-hero-inner{min-height:485px}
}
@media(prefers-reduced-motion:reduce){.msy-page .msy-gallery-item img{transition:none}}
