/* VIAL-SERVICE · Visual refinement v3
   Eyebrow punctuation, one-screen sections and balanced content.
   Mobile keeps normal reading scroll.
*/
:root{--header-h:86px}
/* The former long em-dash is replaced with one restrained brand diamond. */
.eyebrow{gap:10px}
.eyebrow::before{
  display:inline-block!important;content:""!important;
  width:7px!important;height:7px!important;min-width:7px;
  flex:0 0 7px;background:currentColor;border-radius:1px;
  transform:rotate(45deg);opacity:.95;
}
.mode-index{border-top:0;padding-top:0}
/* Shared, consistent section alignment without random spacers. */
.knowledge-layout{
  display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.22fr);
  align-items:center;gap:clamp(26px,4vw,66px);
}
.knowledge-copy{min-width:0}
.knowledge-copy h2{margin:11px 0 17px}
.knowledge-copy .lead{margin-bottom:0}
.knowledge-copy details{margin-top:24px;border:1px solid var(--line);border-radius:11px;background:#fff;padding:0 18px}
.knowledge-copy summary{padding:12px 0;font-weight:750;font-size:.91rem;cursor:pointer;color:var(--teal)}
.knowledge-copy .rich{padding:0 0 18px}
.knowledge-documents{min-width:0;background:var(--canvas);padding:clamp(20px,2.6vw,36px);border:1px solid var(--line);border-radius:20px}
.knowledge-documents h2{font-size:clamp(1.6rem,2.4vw,2.25rem);margin:10px 0 12px}
.knowledge-documents .section-subtitle{font-size:.9rem;line-height:1.5;margin:0 0 18px}
.knowledge-documents .credential-grid{gap:14px}
.knowledge-documents .credential{border-radius:12px}
.knowledge-documents .credential-figure{min-height:222px;padding:14px}
.knowledge-documents .credential-figure img{max-height:205px;max-width:100%}
.knowledge-documents .credential-meta{padding:11px 14px;display:block}
.knowledge-documents .credential-meta h3{font-size:.82rem;margin-bottom:6px}
.knowledge-documents .credential-meta span{font-size:.74rem}
/* The last call-to-action is composed with the footer as one complete screen. */
.final-screen{background:#fff;display:flex;flex-direction:column}
.final-screen #get-in-touch{display:flex;align-items:center;justify-content:center;flex:1;padding-block:clamp(18px,2.4vw,38px)}
.final-screen #get-in-touch>.shell{width:min(var(--shell),calc(100% - 48px))}
.final-screen .site-footer{padding:29px 0 17px}
.final-screen .footer-grid{padding-bottom:18px;gap:24px}
.final-screen .footer-bottom{padding-top:13px}
.final-screen .footer-links{gap:7px}
.final-screen .footer-about{margin-top:12px}
.final-screen .footer-title{margin-bottom:11px}
/* 5 major scenes on desktop:
   hero / courses / formats / company+licenses / contact+footer.
   Content can always exceed one viewport when text actually needs room. */
@media(min-width:1024px) and (min-height:700px) and (pointer:fine){
 html:has(body[data-page="home"]):not(.disable-scene-snap){
   scroll-snap-type:y mandatory;
   scroll-padding-top:var(--header-h);
 }
 body[data-page="home"] main>section,
 body[data-page="home"]>.final-screen{
   min-height:calc(100svh - var(--header-h));
   scroll-snap-align:start;scroll-snap-stop:always;
   scroll-margin-top:var(--header-h);
 }
 body[data-page="home"] main>section{
   display:flex;align-items:center;justify-content:center;
 }
 body[data-page="home"] main>section>.shell{
   width:min(var(--shell),calc(100% - 48px));
 }
 body[data-page="home"] main>.hero>.hero-grid{
   min-height:0;height:auto;
 }
 body[data-page="home"] .final-screen .site-footer{width:100%}
 body[data-page="home"] #training-areas .service-card{min-height:clamp(235px,29vh,288px)}
 body[data-page="home"] #training-areas .services-grid{gap:18px}
}
@media(max-width:1120px) and (min-width:901px){
 .knowledge-layout{grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:23px}
 .knowledge-documents{padding:20px}
 .knowledge-documents .credential-figure{min-height:188px}
 .knowledge-documents .credential-figure img{max-height:180px}
}
@media(max-width:900px){
 :root{--header-h:76px}
 .knowledge-layout{grid-template-columns:1fr;gap:24px}
 .knowledge-documents .credential-figure{min-height:210px}
 .knowledge-documents .credential-figure img{max-height:205px}
 .final-screen #get-in-touch{padding:28px 0}
}
@media(max-width:650px){
 :root{--header-h:70px}
 .knowledge-copy details{margin-top:13px}
 .knowledge-copy h2{margin:8px 0 12px}
 .knowledge-documents{padding:18px}
 .knowledge-documents h2{margin-top:8px}
 .knowledge-documents .credential-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .knowledge-documents .credential-figure{min-height:150px;padding:8px}
 .knowledge-documents .credential-figure img{max-height:155px}
 .knowledge-documents .credential-meta{padding:10px}
 .knowledge-documents .credential-meta h3{font-size:.78rem}
 .final-screen #get-in-touch>.shell{width:min(var(--shell),calc(100% - 36px))}
 .final-screen .site-footer{padding-top:29px}
}
@media(max-width:360px){
 .knowledge-documents .credential-grid{grid-template-columns:1fr}
}
/* When a visitor asks for reduced motion, never force section snapping. */
@media(prefers-reduced-motion:reduce){
 html:has(body[data-page="home"]){scroll-snap-type:none!important}
 body[data-page="home"] main>section,body[data-page="home"]>.final-screen{
  scroll-snap-align:none!important;
 }
}

/* Critical content must be visible before IntersectionObserver runs.
   Subtle travel, no blank sections in full-page screenshots or browsers. */
.js .reveal{opacity:.96;transform:translateY(6px)}
.js .reveal.in-view{opacity:1;transform:translateY(0)}
@media(prefers-reduced-motion:reduce){.js .reveal{opacity:1;transform:none}}
