/* Kadro Akademi — unified mobile-first showcase, develop only */
:root{
  --ink:#142844;--muted:#5e7290;--blue:#2876c9;--red:#b64369;
  --header:77px;--max:1160px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;min-height:100%;background:#e8f3ff}
body{
  position:relative;isolation:isolate;overflow-x:hidden;min-width:320px;
  margin:0;min-height:100vh;min-height:100svh;min-height:100dvh;
  color:var(--ink);background:linear-gradient(148deg,#fff6fa 0%,#f6f9ff 46%,#e4f1ff 100%);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer}
button:focus-visible,a:focus-visible,.gallery-track:focus-visible{outline:3px solid #72a9e5;outline-offset:3px}
[hidden]{display:none!important}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.wrap{width:min(var(--max),calc(100% - 32px));margin-inline:auto}
/* The same atmospheric layer flows behind the header AND both galleries. */
.page-atmosphere{position:absolute;z-index:0;inset:0;min-height:100%;pointer-events:none;overflow:hidden;contain:paint}
.current-red,.current-blue,.current-ribbon{position:absolute;display:block;pointer-events:none}
.current-red{
  left:-56%;top:-37%;width:162%;height:110%;
  border-radius:51% 49% 67% 33% / 63% 55% 45% 37%;
  background:radial-gradient(ellipse 60% 61% at 50% 51%,rgba(227,77,116,.17),rgba(246,144,175,.09) 57%,transparent 88%);
  animation:flowRed 16s ease-in-out infinite alternate;will-change:transform
}
.current-blue{
  right:-51%;top:15%;width:156%;height:119%;
  border-radius:64% 36% 41% 59% / 43% 62% 38% 57%;
  background:radial-gradient(ellipse 62% 60% at 49% 49%,rgba(45,126,221,.21),rgba(120,184,248,.11) 56%,transparent 88%);
  animation:flowBlue 19s ease-in-out infinite alternate;will-change:transform
}
.current-ribbon{
  width:117%;height:112%;left:-8%;top:-6%;
  background:
    radial-gradient(ellipse 26% 38% at 69% 17%,rgba(231,113,151,.055),transparent 78%),
    radial-gradient(ellipse 31% 42% at 31% 81%,rgba(75,152,228,.062),transparent 79%);
  animation:flowRibbon 22s ease-in-out infinite alternate;will-change:transform
}
@keyframes flowRed{
  from{transform:translate3d(-7%,-4%,0) rotate(-15deg) scale(1)}
  to{transform:translate3d(13%,9%,0) rotate(6deg) scale(1.05)}
}
@keyframes flowBlue{
  from{transform:translate3d(8%,5%,0) rotate(-12deg) scale(1)}
  to{transform:translate3d(-14%,-10%,0) rotate(10deg) scale(1.05)}
}
@keyframes flowRibbon{
  from{transform:translate3d(-4%,0,0)}
  to{transform:translate3d(5%,-3%,0)}
}
/* Top bar is transparent and participates in the page, not a white panel. */
.site-header{
  position:relative;z-index:5;
  background:transparent;border:0;box-shadow:none;backdrop-filter:none;
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  height:var(--header);padding:0 1px;
}
.brand-social-stack{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;min-width:0}
.brand{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:19px;font-weight:850;letter-spacing:-.045em}
.brand-img{display:block;width:36px;height:36px;object-fit:contain;flex:none}
.landing-social-top{display:flex;align-items:center;gap:7px;min-height:16px;padding-left:44px}
.landing-social-top a{display:grid;place-items:center;width:17px;height:17px;color:#2a70b8;border-radius:4px}
.landing-social-top a:hover,.landing-social-top a:focus-visible{background:#e9f2fd;color:#164c84}
.landing-social-top svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.header-actions{display:flex;align-items:center;gap:5px;flex:none}
.header-actions button{border:0;background:transparent;color:#344f70;font-size:14px;font-weight:770;padding:10px 8px;white-space:nowrap}
.header-actions .signup{
  color:#fff;padding:11px 16px;border-radius:12px;
  background:linear-gradient(145deg,#488ee6,#2365c6);box-shadow:0 8px 18px rgba(38,103,199,.14)
}
.scroll-progress{position:absolute;bottom:0;left:0;width:var(--page-progress,0%);height:2px;background:linear-gradient(90deg,rgba(184,66,111,.58),rgba(48,117,211,.63))}
/* Two galleries: desktop side by side, mobile stacked within a single landing. */
main{position:relative;z-index:1}
.showcase{
  max-width:1380px;margin:0 auto;padding:clamp(22px,3.6vw,53px) clamp(12px,2.4vw,42px) 0;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(22px,4vw,66px);
}
.showcase-section{position:relative;min-width:0}
.showcase-cte{padding-top:36px}
.showcase-heading{
  display:flex;flex-direction:column;align-items:flex-start;gap:4px;
  width:fit-content;max-width:100%;padding:0 4px 0 15px;margin-bottom:14px;
  border-left:3px solid rgba(182,62,100,.65);
  transition:border-color .17s ease;
}
.showcase-cte .showcase-heading{border-left-color:rgba(46,120,204,.7)}
.showcase-heading:hover{border-left-color:var(--red)}
.showcase-cte .showcase-heading:hover{border-left-color:var(--blue)}
.heading-kicker{display:inline-flex;align-items:center;gap:8px;font-size:10px;font-weight:820;letter-spacing:.105em;color:#9b4c6b;white-space:nowrap}
.showcase-cte .heading-kicker{color:#3473b2}
.heading-kicker i{width:4px;height:4px;border-radius:50%;background:currentColor;opacity:.45}
.heading-name{display:flex;align-items:center;gap:10px;font-size:clamp(21px,2.6vw,31px);font-weight:880;letter-spacing:-.04em;line-height:1.13;color:#192c48}
.heading-name>span{display:inline-flex;color:#ab5478;font-size:19px;font-weight:600;transition:transform .17s}
.showcase-cte .heading-name>span{color:#387dc0}
.showcase-heading:hover .heading-name>span{transform:translate(3px,-3px)}
.heading-subtitle{color:#68809b;font-weight:680;font-size:11px;margin-top:1px}
/* Compact visual showcase: one custom illustration and one information card. */
.gallery{width:100%;position:relative}
.gallery-track{
  --tile:clamp(180px,36%,245px);
  position:relative;display:flex;gap:16px;align-items:center;
  width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;
  padding:12px calc((100% - var(--tile))/2) 15px;
  scroll-snap-type:x proximity;scroll-padding-inline:calc((100% - var(--tile))/2);
  overscroll-behavior-x:contain;scrollbar-width:none;
  -ms-overflow-style:none;-webkit-overflow-scrolling:touch;
  touch-action:pan-x pan-y;scroll-behavior:smooth;
}
.gallery-track::-webkit-scrollbar{display:none}
.showcase-item{
  position:relative;flex:0 0 var(--tile);height:clamp(242px,29vw,326px);
  border:1px solid rgba(224,233,246,.5);
  border-radius:15px;overflow:hidden;transform:scale(.94);opacity:.86;
  box-shadow:0 14px 32px rgba(31,56,91,.16),0 3px 9px rgba(28,55,84,.075);
  transition:transform .15s ease-out,opacity .15s ease-out;
  scroll-snap-align:center;transform-origin:center center;
  contain:layout paint style;
}
.image-item{margin:0;background:#10264e}
.image-item img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.image-item::after{content:"";position:absolute;left:0;right:0;bottom:0;height:42%;background:linear-gradient(0deg,rgba(7,16,42,.82),rgba(7,16,42,0));pointer-events:none}
.image-item figcaption{
  position:absolute;z-index:1;left:15px;right:12px;bottom:16px;display:flex;flex-direction:column;gap:5px;
  color:#fff;text-shadow:0 2px 6px rgba(0,0,0,.24)
}
.image-item figcaption small{font-size:9px;letter-spacing:.12em;font-weight:800;opacity:.76}
.image-item figcaption strong{font-size:clamp(15px,1.7vw,20px);line-height:1.12;letter-spacing:-.025em;font-weight:850}
.info-item{
  padding:20px;color:#f4f8ff;
  background:linear-gradient(142deg,#122344,#21355f 47%,#703a62 83%,#c65b77);
  border-color:#506b98aa;
}
.showcase-cte .info-item{
  background:linear-gradient(142deg,#0c213f,#204977 49%,#426bb0 81%,#8f79b5);
  border-color:#537bacaa;
}
.info-art{position:absolute;z-index:-1;inset:0;pointer-events:none}
.info-art::before{
  content:"";position:absolute;right:-35%;top:-18%;width:125%;height:89%;
  border:1px solid rgba(218,225,255,.2);border-radius:50%;transform:rotate(-24deg)
}
.info-art::after{
  content:"";position:absolute;right:-65%;top:-42%;width:135%;height:135%;
  border:1px solid rgba(247,225,241,.14);border-radius:50%;transform:rotate(13deg)
}
.info-arc{position:absolute;left:-35%;bottom:-50%;height:100%;width:120%;background:radial-gradient(ellipse,rgba(240,117,164,.18),transparent 74%)}
.showcase-cte .info-arc{background:radial-gradient(ellipse,rgba(94,192,242,.19),transparent 74%)}
.info-orb{position:absolute;right:20px;top:18px;width:16px;height:16px;border-radius:50%;background:#f8b6ba;border:4px solid #f5dee2aa}
.showcase-cte .info-orb{background:#9fd8ff;border-color:#bcdaf9aa}
.info-kicker{position:relative;z-index:1;display:block;font-size:10px;font-weight:840;letter-spacing:.13em;color:#efbaca;margin-top:5px}
.showcase-cte .info-kicker{color:#a7d9ff}
.info-item h3{position:relative;z-index:1;font-size:clamp(18px,2vw,27px);font-weight:850;line-height:1.18;letter-spacing:-.045em;max-width:250px;margin:29px 0 12px}
.info-item p{position:relative;z-index:1;font-size:clamp(11px,1vw,13px);line-height:1.52;color:#e4eaf8;max-width:240px;margin:0}
.info-foot{position:absolute;z-index:1;left:20px;bottom:17px;right:10px;font-size:9px;letter-spacing:.06em;color:#f4d9e4;font-weight:760;line-height:1.35}
.showcase-cte .info-foot{color:#c7e9ff}
.gallery-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:0;padding:0 22px}
.swipe-hint{font-size:10px;letter-spacing:.02em;color:#78869b}
.gallery-dots{display:flex;gap:8px;align-items:center}
.gallery-dots button{width:8px;height:8px;padding:0;border:0;border-radius:100%;background:#aec1d7;transition:background .16s,transform .16s}
.gallery-dots button[aria-current="true"]{background:#a94d75;transform:scale(1.2)}
.showcase-cte .gallery-dots button[aria-current="true"]{background:#367fc3}
.hero-disclaimer{padding:25px 17px 20px;text-align:center;color:#7e8b9e;font-size:10px;line-height:1.5;max-width:800px;margin:0 auto}
.dual-footer{position:relative;z-index:1;background:transparent;padding:10px 15px 20px;color:#7c8aa1;text-align:center;font-size:10px}
.dual-footer strong{color:#345270}.dual-footer nav{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;margin-top:7px}
.dual-footer a:hover{text-decoration:underline}
/* Existing institution selection UI: same selectors, same behavior. */
.institution-select{
  width:min(630px,calc(100% - 24px));max-height:min(91dvh,780px);padding:0;
  border:1px solid #d9e3f0;background:#fff;border-radius:23px;
  box-shadow:0 28px 95px #071a3f4f;color:var(--ink);overflow:auto
}
.institution-select::backdrop{background:#081a32bb}
.choose-content{position:relative;padding:clamp(20px,4vw,34px)}
.choose-close{position:absolute;top:18px;right:18px;width:39px;height:39px;border:0;background:#eff3fa;border-radius:10px;font-size:24px;color:#39556f}
.choose-kicker{letter-spacing:.16em;font-size:11px;font-weight:850;color:#2c6eb6;margin:0}
.choose-content h2{font-size:clamp(24px,4vw,34px);letter-spacing:-.045em;margin:10px 28px 5px 0}
.choose-content>p:not(.choose-kicker){color:#64778f;line-height:1.5;font-size:14px;margin:0 0 23px}
.choose-section{margin:20px 0 0}
.choose-section h3{font-size:12px;letter-spacing:.11em;color:#6b7d93;text-transform:uppercase;margin:0 0 10px}
.choose-options{display:grid;gap:10px}
.choose-option{display:flex;align-items:center;justify-content:space-between;gap:15px;text-align:left;width:100%;padding:14px 16px;border-radius:13px;background:#f6faff;border:1px solid #dce5f2;color:#213a58}
.choose-option:hover{border-color:#6699dd;background:#eef6ff}
.choose-option.cte-choice{background:#fdf8f2;border-color:#eaded2}
.choose-option.cte-choice:hover{border-color:#caa684;background:#fcf1e7}
.choose-option b,.choose-option small{display:block}
.choose-option b{font-size:15px}
.choose-option small{color:#77869a;font-size:12px;margin-top:2px}
.choose-arrow{font-size:21px;color:#356fae;flex:none}
.choose-option.cte-choice .choose-arrow{color:#956747}
.choose-security{color:#74869a;font-size:12px;margin-top:19px;border-top:1px solid #e5ebf1;padding-top:15px}
@media(max-width:920px){
  .showcase{grid-template-columns:1fr;gap:17px;padding:16px 0 0}
  .showcase-section{padding:0 12px}
  .showcase-cte{padding-top:9px}
  .showcase-heading{margin-left:14px;margin-bottom:7px;padding-left:12px;gap:2px}
  .heading-kicker{font-size:9px}
  .heading-name{font-size:clamp(18px,4.8vw,24px)}
  .heading-subtitle{font-size:10px}
  .gallery{margin:0 -12px;width:calc(100% + 24px)}
  .gallery-track{--tile:clamp(148px,40vw,190px);gap:14px;padding-top:7px;padding-bottom:8px}
  .showcase-item{height:clamp(175px,26vh,220px);border-radius:13px}
  .info-item{padding:14px}
  .info-kicker{font-size:9px;margin-top:0}
  .info-item h3{font-size:clamp(15px,4vw,21px);margin:18px 0 8px}
  .info-item p{font-size:10px;line-height:1.37}
  .info-foot{left:14px;bottom:12px;font-size:8px}
  .image-item figcaption{left:12px;bottom:13px}
  .image-item figcaption strong{font-size:16px}
  .image-item figcaption small{font-size:8px}
  .gallery-bottom{padding:0 24px}
  .hero-disclaimer{padding:17px 22px 12px}
  .dual-footer{padding:8px 10px 13px}
}
@media(max-width:520px){
  :root{--header:71px}
  .wrap{width:calc(100% - 26px)}
  .brand{font-size:17px;gap:7px}
  .brand-img{width:33px;height:33px}
  .landing-social-top{padding-left:40px;gap:7px}
  .header-actions{gap:3px}
  .header-actions button{font-size:12px;padding:9px 6px}
  .header-actions .signup{padding:10px 12px;border-radius:10px}
  .showcase{gap:14px;padding-top:14px}
  .showcase-cte{padding-top:8px}
  .showcase-heading{margin-bottom:6px}
  .heading-kicker{font-size:8px;letter-spacing:.08em}
  .heading-name{font-size:19px}
  .heading-name>span{font-size:16px}
  .heading-subtitle{font-size:9px}
  .gallery-track{--tile:clamp(148px,40vw,184px);gap:13px;padding-top:6px;padding-bottom:7px}
  .showcase-item{height:clamp(168px,23vh,207px)}
  .image-item figcaption strong{font-size:15px}
  .image-item figcaption small{font-size:7.5px}
  .info-item h3{font-size:17px}
  .info-item p{font-size:9.4px}
  .hero-disclaimer{padding:16px 22px 9px;font-size:9px}
  .dual-footer{font-size:9px}
}
@media(max-width:355px){
  .brand{font-size:15px}.brand-img{width:30px;height:30px}
  .landing-social-top{padding-left:37px;gap:5px}
  .header-actions button{font-size:11px}
  .header-actions .signup{padding:9px 10px}
  .heading-name{font-size:17px}.heading-kicker{font-size:7.5px}
  .gallery-track{--tile:45vw}
  .showcase-item{height:166px}
  .info-item h3{font-size:15px;margin:15px 0 7px}
  .info-item p{font-size:9px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .current-red,.current-blue,.current-ribbon{animation:none!important;will-change:auto}
  .gallery-track{scroll-behavior:auto}
  .showcase-item{transition:none}
}


/* Uploaded originals, presented one complete frame per card. A compressed 4-frame
   sprite avoids four large mobile downloads; no neighboring-card decorations are
   baked into the image files. */
.showcase-item{height:auto;aspect-ratio:18/25}
.image-item{
  background-image:url('./assets/landing-uploaded-gallery.webp');
  background-repeat:no-repeat;
  background-size:400% 100%;
  background-color:#0d2045;
}
.art-yim-justice{background-position:0% center}
.art-yim-documents{background-position:33.3333% center}
.art-cte-corridor{background-position:66.6667% center}
.art-cte-career{background-position:100% center}
.image-item::after{content:none}
.image-item>img,.image-item figcaption{display:none}
@media(max-width:920px){.showcase-item{height:auto;aspect-ratio:18/25}}
@media(max-width:520px){.showcase-item{height:auto;aspect-ratio:18/25}}
@media(max-width:355px){.showcase-item{height:auto;aspect-ratio:18/25}}


/* Five-step circular gallery; visual dots remain but redundant captions are gone. */
.gallery-track{scroll-snap-type:x mandatory}
.gallery-clone{pointer-events:none}
.gallery-bottom{justify-content:center;min-height:22px;padding:4px 0 0}
.gallery-dots{gap:10px}

/* Desktop and tablet: tall, viewport-aware columns; phone layout stays unchanged. */
@media (min-width:768px) and (min-height:540px), (min-width:921px) and (pointer:fine){
  .showcase{
    --column-height:clamp(390px,calc(100vh - 260px),900px);
    --column-height:clamp(390px,calc(100svh - 260px),900px);
    max-width:1760px;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:start;
    gap:clamp(16px,3vw,52px);
    padding:clamp(18px,3vh,36px) clamp(14px,2.4vw,44px) 12px;
  }
  .showcase-section{display:flex;flex-direction:column;min-width:0;padding:0}
  .showcase-heading{
    min-height:74px;width:fit-content;max-width:100%;
    margin:0 0 8px;padding:0 4px 0 15px;gap:4px;
  }
  .heading-kicker{display:block;white-space:normal;font-size:clamp(8px,.8vw,12px)}
  .heading-kicker i{display:inline-block;margin:0 4px;vertical-align:middle}
  .heading-name{font-size:clamp(21px,2.4vw,34px)}
  .heading-subtitle{font-size:clamp(10px,.85vw,13px)}
  .gallery{width:100%;margin:0;container-type:inline-size}
  .gallery-track{
    --tile:clamp(145px,15vw,300px);
    gap:clamp(10px,1.05vw,18px);
    padding-top:calc(var(--column-height) * .025 + 8px);
    padding-bottom:calc(var(--column-height) * .025 + 8px);
  }
  @supports (width:1cqi){
    .gallery-track{--tile:clamp(145px,34cqi,300px)}
  }
  .showcase-item{height:var(--column-height);aspect-ratio:auto;border-radius:18px}
  .info-item{
    display:flex;flex-direction:column;
    padding:clamp(12px,1.4vw,26px);
    overflow-wrap:anywhere;
  }
  .info-orb{right:clamp(10px,1.3vw,20px);top:clamp(12px,1.2vw,20px);width:14px;height:14px}
  .info-kicker{padding-right:18px;font-size:clamp(9px,.75vw,11px);line-height:1.35;margin-top:2px}
  .info-item h3{
    font-size:clamp(16px,1.75vw,30px);line-height:1.18;
    max-width:none;margin:clamp(15px,3vh,32px) 0 12px;
  }
  .info-item p{font-size:clamp(11px,1.05vw,16px);line-height:1.5;max-width:none}
  .info-foot{
    position:relative;inset:auto;margin-top:auto;padding-top:14px;
    font-size:clamp(9px,.75vw,12px);line-height:1.4;
  }
  /* Full-height high-resolution artwork, cropped proportionally to its column. */
  .image-item{background-size:cover;background-position:center;background-repeat:no-repeat}
  .image-item::before,.image-item::after{content:none}
  .art-yim-justice{background-image:url('./assets/landing-yim-justice.webp');background-position:54% center}
  .art-yim-documents{background-image:url('./assets/landing-yim-documents.webp');background-position:51% center}
  .art-cte-corridor{background-image:url('./assets/landing-cte-corridor.webp');background-position:center}
  .art-cte-career{background-image:url('./assets/landing-cte-career.webp');background-position:center}
}
@media (min-width:768px) and (max-width:1024px) and (min-height:540px), (min-width:921px) and (max-width:1024px) and (pointer:fine){
  .showcase{
    --column-height:clamp(390px,calc(100vh - 285px),900px);
    --column-height:clamp(390px,calc(100svh - 285px),900px);
  }
  .showcase-heading{min-height:96px}
  .heading-name{font-size:clamp(20px,2.5vw,26px)}
}

/* Desktop/tablet automatic gallery controls. */
.gallery-auto-toggle{display:none}
.gallery-auto-ready .gallery-track{scroll-snap-type:none;scroll-behavior:auto}
.gallery-auto-ready .gallery-bottom{gap:12px}
.gallery-auto-ready .gallery-auto-toggle{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:26px;padding:3px 9px;border:1px solid #a9bed4;
  border-radius:999px;background:transparent;color:#526f8d;
  font-size:10px;font-weight:680;line-height:1.2;
}
.gallery-auto-ready .gallery-auto-toggle:hover{background:#ffffff90}
