/* Masterskills — Course Yearbook Corporate Premium (batch 3)
   Scope: MAIN.msy-page only. Global Header/Footer styles untouched.
   Source layout reference: Course-Yearbook-Ajinomoto-2.htm (approved). */
.msy-page{--msy-navy:#0b3554;--msy-blue:#0468b1;--msy-accent:#c68522;--msy-gold:#f3c35f;--msy-border:#dbe5ed;--msy-tint:#f4f7fa;--msy-muted:#47627b;color:var(--msy-navy);background:#fff;min-width:0;overflow-x:clip}
.msy-page *, .msy-page *::before, .msy-page *::after{box-sizing:border-box}
.msy-page .msy-hero{position:relative;min-height:438px;background:#0468b1;isolation:isolate;overflow:hidden;color:#fff;display:flex;align-items:center}
.msy-page .msy-hero-visual{position:absolute;inset:0 0 0 40%;margin:0;z-index:-2}
.msy-page .msy-hero-visual img{width:100%;height:100%;display:block;object-fit:cover;object-position:50% 44%}
.msy-page .msy-hero::before{position:absolute;content:"";inset:0;z-index:-1;background:linear-gradient(90deg,#0468b1 0%,#0468b1 34%,rgba(4,104,177,.94) 39%,rgba(4,104,177,.68) 50%,rgba(4,104,177,.08) 75%,rgba(4,104,177,0) 100%)}
.msy-page .msy-hero .container{position:relative;width:100%;max-width:1480px;margin:0 auto;padding:62px clamp(24px,4vw,64px)}
.msy-page .msy-hero-copy{max-width:870px}
.msy-page .msy-hero-eyebrow{font-size:14px!important;letter-spacing:.15em!important;font-weight:800!important;color:#ffcf77!important;text-transform:uppercase;margin:0 0 42px!important}
.msy-page .msy-hero h1{font-size:clamp(30px,3.25vw,52px)!important;line-height:1.13!important;letter-spacing:-.018em!important;color:#fff!important;max-width:830px;margin:0 0 22px!important;font-weight:800!important;text-shadow:0 1px 2px rgba(0,26,43,.08)}
.msy-page .msy-hero-lead{margin:0!important;font-size:clamp(16px,1.22vw,20px)!important;line-height:1.63!important;color:#fff!important;font-weight:600!important;max-width:760px}
.msy-page .msy-section{padding:72px 0 78px;background:#fff;overflow:clip}
.msy-page .msy-section--soft,.msy-page .msy-section--survey{background:#f5f8fb}
.msy-page .msy-section>.container{width:100%;max-width:1480px;margin:0 auto;padding:0 clamp(24px,3.8vw,62px)}
.msy-page .msy-heading{display:flex;align-items:flex-start;gap:26px;margin:0 0 42px;min-width:0}
.msy-page .msy-heading-num{font-size:27px;font-weight:800;line-height:1;flex:0 0 66px;width:66px;height:66px;display:flex;align-items:center;justify-content:center;border:1px solid #b7d2e2;border-radius:50%;color:var(--msy-navy);background:#fff}
.msy-page .msy-heading>div{min-width:0;flex:1}
.msy-page .msy-eyebrow{font-size:13px!important;font-weight:800!important;letter-spacing:.15em!important;line-height:1.4!important;color:#a96b0c!important;margin:1px 0 9px!important;text-transform:uppercase}
.msy-page .msy-heading h2{font-size:clamp(26px,2.65vw,42px)!important;line-height:1.2!important;letter-spacing:-.02em!important;font-weight:800!important;color:var(--msy-navy)!important;margin:0!important}
.msy-page .msy-heading-desc{color:var(--msy-muted)!important;font-size:clamp(15px,1.2vw,19px)!important;line-height:1.55!important;margin:13px 0 0!important;max-width:1040px}
.msy-page .msy-overview-layout{display:grid;grid-template-columns:1.02fr 1fr;align-items:start;gap:clamp(30px,5vw,76px)}
.msy-page .msy-overview-copy h3{margin:0 0 22px;font-size:clamp(24px,2vw,32px)!important;color:var(--msy-navy)!important;font-weight:800!important;line-height:1.25!important}
.msy-page .msy-overview-copy p{font-size:clamp(15px,1.23vw,19px)!important;line-height:1.83!important;color:var(--msy-muted)!important;margin:0 0 22px!important;max-width:740px}
.msy-page .msy-overview-copy p:last-child{margin-bottom:0!important}
.msy-page .msy-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.msy-page .msy-facts article{padding:30px 26px;min-height:154px;background:#fff;border:1px solid var(--msy-border);border-radius:16px;min-width:0;box-shadow:0 7px 22px rgba(23,59,83,.025)}
.msy-page .msy-facts article span{display:block;color:#af760f;font-size:13px;letter-spacing:.08em;font-weight:800;line-height:1.4;margin-bottom:20px;text-transform:uppercase}
.msy-page .msy-facts article strong{display:block;font-size:18px;color:var(--msy-navy);line-height:1.5;font-weight:800;overflow-wrap:anywhere}
.msy-page .msy-quad,.msy-page .msy-value-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.msy-page .msy-quad-card,.msy-page .msy-value-grid article{background:#fff;border:1px solid var(--msy-border);border-radius:16px;padding:32px 28px 34px;min-width:0;box-shadow:0 9px 28px rgba(23,59,83,.022)}
.msy-page .msy-quad-card .msy-card-index{display:inline-flex;justify-content:center;align-items:center;width:68px;height:68px;border:1px solid #bfd7e9;border-radius:50%;font-size:25px;font-weight:800;color:var(--msy-navy);margin-bottom:30px;background:#fff}
.msy-page .msy-quad-card h3,.msy-page .msy-value-grid h3{font-size:20px!important;font-weight:800!important;line-height:1.35!important;color:var(--msy-navy)!important;margin:0 0 16px!important}
.msy-page .msy-quad-card p,.msy-page .msy-context-card p,.msy-page .msy-value-grid p{font-size:17px!important;line-height:1.78!important;color:var(--msy-muted)!important;margin:0!important}
.msy-page .msy-context-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.msy-page .msy-context-card{background:#fff;border:1px solid var(--msy-border);border-radius:16px;padding:34px 32px 36px;min-width:0}
.msy-page .msy-context-number{display:flex;align-items:center;justify-content:center;width:55px;height:55px;border-radius:50%;background:#124568;color:#ffd47b;font-size:20px;font-weight:800;margin-bottom:30px}
.msy-page .msy-context-card h3{font-size:22px!important;line-height:1.35!important;color:var(--msy-navy)!important;font-weight:800!important;margin:0 0 16px!important}
.msy-page .msy-program-wrap{max-width:100%;overflow:clip;border:1px solid #cddde8;border-radius:16px;background:#fff;box-shadow:0 14px 32px rgba(16,51,80,.035)}
.msy-page .msy-program-table{width:100%;border-collapse:collapse;table-layout:fixed;line-height:1.65;margin:0!important;background:#fff!important}
.msy-page .msy-program-table th,.msy-page .msy-program-table td{border:0;border-bottom:1px solid #dce6ed;border-right:1px solid #dce6ed;padding:28px 24px;vertical-align:top;text-align:left;overflow-wrap:anywhere;color:var(--msy-navy);font-size:16px!important}
.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!important;background:#e8f2f8!important;color:#103958!important;font-weight:800!important;vertical-align:middle;padding:24px}
.msy-page .msy-program-table tbody th{background:#f0f6fa!important;border-left:3px solid #deb664;font-weight:800!important;}
.msy-page .msy-module-no{display:block;font-size:32px;font-weight:800;line-height:1.05;color:#ad771b;margin:0 0 18px}
.msy-page .msy-program-table tbody th strong{font-size:17px;line-height:1.42;color:var(--msy-navy);display:block;font-weight:800}
.msy-page .msy-program-table td{font-size:16px!important;line-height:1.72!important;color:var(--msy-muted)!important}
.msy-page .msy-program-table ul{margin:0;padding-left:18px;list-style:disc}
.msy-page .msy-program-table li{padding-left:3px;margin:0 0 10px;font-size:16px!important;line-height:1.64!important;color:var(--msy-navy)!important}
.msy-page .msy-program-table li:last-child{margin-bottom:0}
.msy-page .msy-program-table li::marker{color:#c98a25}
.msy-page .msy-value-grid .msy-value-icon{color:#ae761d;font-size:18px;font-weight:800;display:block;margin:0 0 32px}
.msy-page .msy-survey-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.msy-page .msy-survey-card{background:linear-gradient(140deg,#0a2f4c,#15496b);min-height:184px;border-radius:15px;padding:36px 30px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 8px 24px rgba(19,56,82,.05)}
.msy-page .msy-survey-card-top{display:flex;align-items:center;gap:20px}
.msy-page .msy-survey-card strong{font-size:43px;font-weight:800;color:#ffcc68;line-height:1;white-space:nowrap}
.msy-page .msy-survey-card strong span{font-size:.69em}
.msy-page .msy-survey-card h3{font-size:16px!important;line-height:1.5!important;font-weight:800!important;color:#fff!important;margin:0!important}
.msy-page .msy-meter{height:9px;border-radius:40px;background:rgba(221,241,255,.21);margin-top:24px;overflow:hidden}
.msy-page .msy-meter span{height:100%;display:block;background:#f5c76c;border-radius:40px}
.msy-page .msy-gallery-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;align-items:start}
.msy-page .msy-gallery-item{position:relative;min-width:0;max-width:100%;margin:0!important}
.msy-page .msy-gallery-item>a{display:block;position:relative;overflow:hidden;border-radius:12px;aspect-ratio:4/3;background:#e5edf3;outline-offset:4px}
.msy-page .msy-gallery-item img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 39%;transition:transform .25s ease}
.msy-page .msy-gallery-item a:hover img{transform:scale(1.035)}
.msy-page .msy-zoom{position:absolute;right:10px;bottom:10px;display:flex;align-items:center;justify-content:center;width:36px;height:36px;background:rgba(9,52,78,.86);border-radius:50%;color:#fff;font-size:20px}
.msy-page .msy-gallery-grid[data-count="1"],.msy-page .msy-gallery-grid[data-count="2"],.msy-page .msy-gallery-grid[data-count="3"],.msy-page .msy-gallery-grid[data-count="4"]{display:flex;justify-content:center;flex-wrap:wrap}
.msy-page .msy-gallery-grid[data-count="1"] .msy-gallery-item,.msy-page .msy-gallery-grid[data-count="2"] .msy-gallery-item,.msy-page .msy-gallery-grid[data-count="3"] .msy-gallery-item,.msy-page .msy-gallery-grid[data-count="4"] .msy-gallery-item{width:calc((100% - 4*18px)/5)}
@media(max-width:1150px){.msy-page .msy-quad,.msy-page .msy-value-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.msy-page .msy-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.msy-page .msy-program-table th,.msy-page .msy-program-table td{padding:20px 16px}.msy-page .msy-hero{min-height:425px}.msy-page .msy-hero::before{background:linear-gradient(90deg,#0468b1 0%,rgba(4,104,177,.96) 42%,rgba(4,104,177,.2) 100%)}}
@media(max-width:900px){.msy-page .msy-section{padding:58px 0}.msy-page .msy-overview-layout{grid-template-columns:1fr;gap:24px}.msy-page .msy-context-grid{grid-template-columns:1fr;gap:16px}.msy-page .msy-survey-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.msy-page .msy-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.msy-page .msy-hero .container{padding:50px 30px}.msy-page .msy-hero-visual{inset:0}.msy-page .msy-hero::before{background:linear-gradient(90deg,rgba(3,72,126,.98),rgba(3,82,144,.89))}}
@media(max-width:740px){.msy-page .msy-heading{gap:15px;margin-bottom:28px}.msy-page .msy-heading-num{flex-basis:52px;width:52px;height:52px;font-size:20px}.msy-page .msy-program-wrap{border:none;box-shadow:none;border-radius:0;background:transparent;overflow:visible}.msy-page .msy-program-table,.msy-page .msy-program-table tbody{display:block;width:100%}.msy-page .msy-program-table colgroup,.msy-page .msy-program-table thead{display:none}.msy-page .msy-program-table tr{display:block;border:1px solid var(--msy-border);border-radius:13px;overflow:hidden;background:white;margin-bottom:17px;box-shadow:0 5px 16px rgba(9,37,58,.03)}.msy-page .msy-program-table tbody th,.msy-page .msy-program-table tbody td{border-right:0;display:block;width:100%;padding:18px 20px!important;border-bottom:1px solid #e3ecf1!important}.msy-page .msy-program-table tbody th{border-left:3px solid #deb664!important;background:#eef5f9!important}.msy-page .msy-program-table tbody td:last-child{border-bottom:0!important}.msy-page .msy-program-table td::before{content:attr(data-label);display:block;color:#9f6812;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;margin-bottom:8px}.msy-page .msy-module-no{font-size:26px;margin-bottom:6px}.msy-page .msy-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.msy-page .msy-gallery-grid[data-count="1"] .msy-gallery-item,.msy-page .msy-gallery-grid[data-count="2"] .msy-gallery-item,.msy-page .msy-gallery-grid[data-count="3"] .msy-gallery-item,.msy-page .msy-gallery-grid[data-count="4"] .msy-gallery-item{width:calc((100% - 18px)/2)}}
@media(max-width:560px){.msy-page .msy-section>.container{padding:0 18px}.msy-page .msy-hero{min-height:410px}.msy-page .msy-hero .container{padding:40px 20px}.msy-page .msy-hero-eyebrow{font-size:11px!important;letter-spacing:.11em!important;margin-bottom:20px!important}.msy-page .msy-hero h1{font-size:clamp(27px,7vw,38px)!important;max-width:100%;margin-bottom:18px!important}.msy-page .msy-hero-lead{font-size:15px!important;line-height:1.56!important;font-weight:600!important}.msy-page .msy-quad,.msy-page .msy-value-grid,.msy-page .msy-facts,.msy-page .msy-survey-grid{grid-template-columns:1fr}.msy-page .msy-quad-card,.msy-page .msy-value-grid article,.msy-page .msy-context-card{padding:24px}.msy-page .msy-quad-card .msy-card-index{width:52px;height:52px;font-size:20px;margin-bottom:18px}.msy-page .msy-facts article{min-height:0;padding:22px}.msy-page .msy-facts article span{margin-bottom:10px}.msy-page .msy-survey-card{min-height:142px;padding:24px}.msy-page .msy-survey-card strong{font-size:37px}.msy-page .msy-gallery-grid{gap:11px}.msy-page .msy-gallery-grid[data-count="1"] .msy-gallery-item,.msy-page .msy-gallery-grid[data-count="2"] .msy-gallery-item,.msy-page .msy-gallery-grid[data-count="3"] .msy-gallery-item,.msy-page .msy-gallery-grid[data-count="4"] .msy-gallery-item{width:calc((100% - 11px)/2)}.msy-page .msy-heading h2{font-size:26px!important}.msy-page .msy-heading-desc{font-size:15px!important}}
@media(prefers-reduced-motion:reduce){.msy-page .msy-gallery-item img{transition:none}}

/* Hero editorial fit for long client/course names and missing-image fallback (hosting carries originals). */
.msy-page .msy-hero .container{padding-top:38px;padding-bottom:38px}
.msy-page .msy-hero-eyebrow{margin-bottom:24px!important}
.msy-page .msy-hero h1{font-size:clamp(30px,3vw,46px)!important;line-height:1.12!important;margin-bottom:18px!important}
.msy-page .msy-hero--long-title h1{font-size:clamp(29px,2.7vw,40px)!important;max-width:875px}
.msy-page .msy-hero-lead{max-width:810px;font-size:clamp(16px,1.18vw,19px)!important}
.msy-page .msy-hero-visual img,.msy-page .msy-gallery-item img{color:transparent;font-size:0}
@media(max-width:560px){.msy-page .msy-hero .container{padding:28px 20px}.msy-page .msy-hero-eyebrow{margin-bottom:18px!important}.msy-page .msy-hero h1,.msy-page .msy-hero--long-title h1{font-size:clamp(27px,7vw,36px)!important}.msy-page .msy-hero-lead{font-size:15px!important}}
