/* Academy (/academy). Prefix .ac-. Tokens and components come from base.css.
   Layout follows the client's new Copy (2026-10-29): light hero, three
   programme cards, batch steps, corporate programmes, notify form. */

.ac-svg{width:20px; height:20px; flex:none; display:block; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round}

/* ---------- hero ---------- */
.ac-hero-grid{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(40px,6vw,88px); align-items:center}
.ac-hero .v3-h1{font-size:clamp(42px,5.4vw,76px)}
.ac-hero .v3-lead{max-width:44ch}
.ac-hero .v3-btns{margin-top:var(--sp-4)}
.ac-corp-link{margin-top:22px; font-size:15.5px; color:var(--muted-l)}
.ac-corp-link a{display:inline-block; padding:13px 0; margin:-13px 0; color:var(--g-ink); font-weight:700; line-height:1.2; text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:6px} /* 44px tap area, same line height */
.ac-corp-link a:hover{color:var(--ink)}
.ac-photos{display:grid; grid-template-columns:1.4fr 1fr; grid-template-rows:repeat(2,clamp(150px,15vw,210px)); gap:14px}
.ac-ph{width:100%; height:100%; object-fit:cover; border-radius:22px; background:var(--c1)}
.ac-ph-1{grid-row:1 / 3}
.ac-ph-3{object-position:50% 62%}
@media (max-width:920px){ .ac-hero-grid{grid-template-columns:1fr} }
@media (max-width:560px){ .ac-photos{grid-template-rows:repeat(2,140px); gap:10px} .ac-ph{border-radius:16px} }

/* ---------- programme cards ---------- */
.ac-cards{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px}
.ac-card{display:flex; flex-direction:column; border-radius:28px; overflow:hidden; background:var(--c0); border:1px solid var(--line-l); color:var(--ink)}
.ac-card.is-dark{background:var(--n1); border-color:var(--n1); color:var(--c0)}
.ac-card-top{position:relative; display:flex; align-items:center; justify-content:center; height:170px; padding:44px 20px 16px; background:#F7E9C8}
.ac-card-2 .ac-card-top{background:#EFE4D6}
.ac-card.is-dark .ac-card-top{background:var(--n2)}
.ac-card-top svg{width:auto; height:100%; max-width:100%}
.ac-step{position:absolute; left:22px; top:20px; padding:6px 12px; border-radius:999px; background:var(--paper); color:var(--n0); font-family:var(--mono); font-size:11.5px; font-weight:600; letter-spacing:.14em}
.ac-card.is-dark .ac-step{background:var(--g)}
.ac-card-b{display:flex; flex-direction:column; flex:1; padding:30px 30px 32px}
.ac-card h3{font-size:clamp(26px,2.4vw,30px); line-height:1.1; letter-spacing:-.025em}
.ac-card-line{margin-top:12px; font-size:17px; line-height:1.55; color:var(--muted-l)}
.ac-card.is-dark .ac-card-line{color:var(--muted-d)}
.ac-card-meta{list-style:none; display:flex; flex-wrap:wrap; align-items:center; gap:6px 0; margin-top:22px; font-size:14px; font-weight:700}
.ac-card-meta li{display:inline-flex; align-items:center}
.ac-card-meta li+li::before{content:''; width:5px; height:5px; margin:0 10px; border-radius:50%; background:var(--g)}
.ac-card-bt{margin-top:auto; padding-top:28px}
.ac-st{display:flex; align-items:flex-start; gap:10px; padding:14px 0; border-top:1px solid var(--line-l); font-size:14px; line-height:1.45; color:var(--muted-l)}
.ac-card.is-dark .ac-st{border-top-color:var(--line-d); color:var(--muted-d)}
.ac-st-dot{flex:none; width:9px; height:9px; margin-top:5px; border-radius:50%; background:rgba(19,26,37,.3)}
.ac-card.is-dark .ac-st-dot{background:rgba(251,246,235,.4)}
.ac-st.is-open{color:var(--wa); font-weight:700}
.ac-card.is-dark .ac-st.is-open{color:#7BE0A8}
.ac-st.is-open .ac-st-dot{background:var(--ok); box-shadow:0 0 0 4px rgba(31,143,90,.2)}
.ac-acts{display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:6px}
.ac-acts .v3-btn{min-height:50px; padding:12px 14px; font-size:15px}
@media (max-width:1100px){ .ac-cards{grid-template-columns:1fr; max-width:560px; margin:0 auto} }
@media (min-width:641px) and (max-width:1100px){
  .ac-cards{max-width:none; gap:20px}
  .ac-card{flex-direction:row}
  .ac-card-top{flex:0 0 36%; height:auto; padding:60px 24px 28px}
  .ac-card-top svg{width:100%; height:auto; max-width:240px}
}
@media (max-width:420px){ .ac-card-b{padding:24px 20px 26px} .ac-card-top{padding-left:16px; padding-right:16px} }

/* ---------- how a batch works ---------- */
.ac-steps .v3-step-n{background:var(--paper); border:2px solid var(--g); color:var(--g-ink); font-family:var(--font); font-size:18px; font-weight:800; letter-spacing:0}
.ac-steps .v3-step:last-child .v3-step-n{background:var(--n1); border-color:var(--n1); color:var(--g)}
.ac-steps .v3-step p{font-size:15.5px}

/* ---------- for companies ---------- */
.ac-corp-img{border-radius:26px; overflow:hidden; background:var(--n2)}
.ac-corp-img img{width:100%; height:380px; object-fit:cover}
@media (max-width:640px){ .ac-corp-img img{height:240px} }
.ac-logos-w{margin-top:72px; padding:26px clamp(16px,3vw,32px); border-radius:22px; background:#fff; color:var(--ink)}
.ac-logos-h{text-align:center; font-family:var(--mono); font-size:12px; font-weight:600; letter-spacing:.18em; color:var(--g-ink)}
.ac-logos{list-style:none; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px 18px; margin-top:18px}
.ac-logo{display:flex; align-items:center; justify-content:center; height:76px; padding:0 8px}
.ac-logo img{max-width:100%; max-height:60px; width:auto; height:auto; object-fit:contain}
@media (max-width:980px){ .ac-logos{grid-template-columns:repeat(4,minmax(0,1fr))} }
@media (max-width:640px){ .ac-logos{grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px 10px} .ac-logo{height:60px; padding:0 4px} .ac-logo img{max-height:46px} }
.ac-tp{margin:88px 0 24px; font-size:28px}
@media (max-width:640px){ .ac-tp{margin-top:64px} }

.ac-progs{display:grid; grid-template-columns:minmax(260px,.85fr) minmax(0,2fr); gap:24px; align-items:stretch}
.ac-rail{align-items:stretch}
.ac-tabs{flex-direction:column; overflow:visible; gap:4px; padding:10px; border-radius:20px; background:rgba(251,246,235,.04); border:1px solid var(--line-d)}
.ac-tab{display:flex; align-items:center; gap:12px; width:100%; min-height:56px; padding:10px 14px; text-align:left; border-radius:12px; border:1px solid transparent; background:transparent; color:var(--muted-d); font-weight:500; font-size:15px; line-height:1.3; transition:background .2s ease,color .2s ease}
.ac-tab:hover{background:var(--n2); color:var(--c0)}
.ac-tab-i{width:36px; height:36px; border-radius:10px; background:var(--n2); color:var(--g); display:flex; align-items:center; justify-content:center; flex:none}
.ac-tab-i .ac-svg{width:18px; height:18px}
.ac-tab-t{flex:1; min-width:0}
.ac-tab-ar{margin-left:auto; opacity:0; transform:translateX(-6px); transition:opacity .2s ease,transform .2s ease}
.ac-tab[aria-selected="true"]{background:var(--g); color:var(--n0); font-weight:600}
.ac-tab[aria-selected="true"] .ac-tab-i{background:var(--n0)}
.ac-tab[aria-selected="true"] .ac-tab-ar{opacity:1; transform:none}
.ac-panels{min-width:0}
.ac-panel{display:flex; flex-direction:column; height:100%; border-radius:22px; overflow:hidden; background:var(--paper); color:var(--ink)}
.ac-pimg{position:relative; height:250px; background:var(--c1)}
.ac-pimg img{width:100%; height:100%; object-fit:cover}
.ac-pimg-tags{position:absolute; left:16px; bottom:16px; right:16px; display:flex; flex-wrap:wrap; gap:8px}
.ac-pimg-tags span{padding:6px 12px; border-radius:999px; background:var(--paper); color:var(--ink); font-size:13px; font-weight:600}
.ac-pimg-tags span+span{background:var(--n1); color:var(--c0)}
.ac-pbody{display:flex; flex-direction:column; flex:1; padding:28px 30px 30px}
.ac-pbody h4{font-size:clamp(22px,2.2vw,26px); line-height:1.15; letter-spacing:-.02em}
.ac-pwhat{margin-top:10px; font-size:16px; line-height:1.7; color:var(--muted-l)}
.ac-how-h{margin-top:22px; font-family:var(--mono); font-size:12px; font-weight:600; letter-spacing:.12em; color:var(--g-ink)}
.ac-helps{list-style:none; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:12px}
.ac-helps li{display:flex; gap:10px; align-items:flex-start; padding:14px; border-radius:12px; background:var(--c0); font-size:14.5px; line-height:1.45; font-weight:500}
.ac-helps li>span{width:22px; height:22px; border-radius:50%; background:var(--g); color:var(--n0); display:flex; align-items:center; justify-content:center; flex:none}
.ac-helps .v3-i{width:12px; height:12px; stroke-width:3}
.ac-pcta{display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; margin-top:auto; padding-top:26px}
.ac-pcta>span{font-size:14px; color:var(--muted-l)}
@media (max-width:1100px){
  .ac-progs{grid-template-columns:1fr}
  .ac-tabs{flex-direction:row; flex-wrap:nowrap; overflow-x:auto; padding:6px; gap:6px; border-radius:999px; scroll-snap-type:x proximity; scroll-padding-inline:6px}
  .ac-tab{width:auto; flex-shrink:0; white-space:nowrap; min-height:48px; border-radius:999px; padding:6px 16px 6px 6px; scroll-snap-align:start}
  .ac-tab-ar{display:none}
}
@media (max-width:760px){ .ac-helps{grid-template-columns:1fr} .ac-pimg{height:auto; aspect-ratio:16/10} .ac-pbody{padding:22px 20px 24px} }
@media (max-width:640px){
  .ac-tabs{border-radius:18px}
  .ac-tab{white-space:normal; max-width:min(230px,100%); border-radius:14px; text-align:left}
  .ac-tab-t{line-height:1.25}
}
@media (max-width:400px){ .ac-tab{padding:8px 14px} .ac-tab-i{display:none} } /* the track is ~170px between the arrows: words first */

/* ---------- notify form ---------- */
.ac-int-grid{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); gap:clamp(40px,6vw,80px); align-items:start}
.ac-notify .v3-h2{max-width:14ch}
.ac-wa{display:flex; gap:16px; align-items:center; max-width:440px; margin-top:32px; padding:20px 22px; border-radius:18px; background:var(--wa); color:#fff; transition:background .25s ease}
.ac-wa:hover{background:#0F6630}
.ac-wa-i{flex:none; width:46px; height:46px; border-radius:50%; background:#fff; color:var(--wa); display:flex; align-items:center; justify-content:center}
.ac-wa b{display:block; font-size:17px; line-height:1.3}
.ac-wa small{display:block; margin-top:2px; font-size:14.5px; color:#fff}
.ac-form{padding:clamp(22px,3vw,40px); border-radius:28px; background:var(--paper); color:var(--ink); box-shadow:0 40px 80px -50px rgba(8,17,31,.45); gap:18px}
.ac-seg{display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:4px; border-radius:999px; background:var(--c1); border:1px solid var(--line-l)}
.ac-seg button{min-height:46px; border:0; border-radius:999px; background:transparent; font-weight:600; font-size:15px; color:var(--ink2); transition:background .25s ease,color .25s ease}
.ac-seg button[aria-pressed="true"]{background:var(--n1); color:var(--c0)}
.ac-me{display:grid; gap:10px}
.ac-pick-l{font-size:14.5px; font-weight:600}
.ac-picks{display:flex; flex-wrap:wrap; gap:8px}
.ac-pick{min-height:44px; padding:9px 16px; border-radius:999px; border:1px solid rgba(19,26,37,.2); background:#fff; color:var(--ink2); font-size:14.5px; font-weight:600; transition:background .2s ease,color .2s ease,border-color .2s ease}
.ac-pick:hover{border-color:var(--n1)}
.ac-pick[aria-pressed="true"]{background:var(--n1); border-color:var(--n1); color:var(--g)}
.ac-co{display:grid; gap:16px}
.ac-form .v3-fine{text-align:center; color:var(--muted-l)}
@media (max-width:920px){ .ac-int-grid{grid-template-columns:1fr} .ac-notify .v3-h2{max-width:none} }
