/* Home hero v4: no floating graphics. Text centred; with an admin side view (video/picture) the text sits left and the view
   right on desktop, and the view comes first on mobile. GradeMitra indigo -> violet -> pink theme. */
.gmh{--gmh-ink:#0f1235;--gmh-copy:#4b5570;--gmh-a:#4f46e5;--gmh-b:#7c3aed;--gmh-c:#c026d3;
  position:relative;overflow:hidden;padding:clamp(40px,6vw,76px) 0 clamp(36px,5vw,60px);background:#fbfbfe;font-family:Figtree,system-ui,sans-serif;isolation:isolate}
.gmh-bg{position:absolute;inset:0;z-index:-1;pointer-events:none;background:
  radial-gradient(ellipse 60% 55% at 8% 0%,rgba(129,140,248,.20),transparent 70%),
  radial-gradient(ellipse 55% 50% at 100% 10%,rgba(236,72,153,.13),transparent 70%),
  radial-gradient(ellipse 60% 50% at 50% 110%,rgba(124,58,237,.10),transparent 70%)}
.gmh-shell{display:grid;gap:clamp(26px,3.5vw,44px);max-width:1200px;margin:0 auto;padding:0 24px}
.gmh-top{display:grid;gap:clamp(26px,4vw,56px);align-items:center}
.gmh-head{display:flex;flex-direction:column;align-items:center;max-width:900px;margin:0 auto;text-align:center}
.gmh-bottom{display:flex;flex-direction:column;align-items:center;text-align:center}

/* eyebrow: compact sentence-case pill that wraps cleanly on small screens */
.gmh-eyebrow{display:inline-flex;align-items:center;gap:8px;max-width:100%;margin:0 0 20px;padding:7px 14px 7px 10px;border:1px solid #ddd8fb;border-radius:999px;
  background:rgba(255,255,255,.85);color:#3f33c9;font-size:13.5px;font-weight:700;line-height:1.3;box-shadow:0 2px 10px -4px rgba(79,70,229,.25);text-align:left;text-transform:none!important;letter-spacing:0!important}
.gmh-eyebrow svg{flex:none;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.gmh h1{margin:0;font:800 clamp(40px,6.2vw,86px)/1.04 'Plus Jakarta Sans',system-ui,sans-serif;letter-spacing:-.035em;color:var(--gmh-ink);text-wrap:balance}
.gmh h1 em{display:block;font-style:normal;background:linear-gradient(90deg,var(--gmh-a),var(--gmh-b) 45%,#db2777);-webkit-background-clip:text;background-clip:text;color:transparent}
.gmh-lead{max-width:620px;margin:18px 0 0;text-wrap:balance;color:var(--gmh-copy);font-size:clamp(16px,1.6vw,19px);line-height:1.6}

/* the 3 main buttons: equal weight, solid theme colours with icons */
.gmh-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:14px}
.gmh-btn{display:inline-flex;align-items:center;gap:10px;min-height:56px;padding:12px 22px;border-radius:16px;color:#fff!important;text-decoration:none;
  font-size:16.5px;font-weight:800;line-height:1.2;box-shadow:0 14px 28px -14px var(--gmh-shadow,rgba(79,70,229,.7));transition:transform .18s,box-shadow .18s,filter .18s}
.gmh-btn.is-skill{background:linear-gradient(135deg,#4f46e5,#6d5dfc);--gmh-shadow:rgba(79,70,229,.75)}
.gmh-btn.is-series{background:linear-gradient(135deg,#7c3aed,#a855f7);--gmh-shadow:rgba(124,58,237,.7)}
.gmh-btn.is-hub{background:linear-gradient(135deg,#c026d3,#db2777);--gmh-shadow:rgba(219,39,119,.6)}
.gmh-btn:hover{transform:translateY(-3px);filter:saturate(1.1);box-shadow:0 20px 34px -14px var(--gmh-shadow)}
.gmh-btn:focus-visible{outline:3px solid #a5b4fc;outline-offset:3px}
.gmh-btn-icon{display:grid;place-items:center;flex:none}
.gmh-btn-icon svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gmh-btn-text{flex:1}
.gmh-arrow{transition:transform .18s}
.gmh-btn:hover .gmh-arrow{transform:translateX(4px)}

.gmh-story{display:inline-flex;align-items:center;gap:10px;margin-top:22px;color:var(--gmh-ink);font-size:15.5px;font-weight:700;text-decoration:underline;text-underline-offset:5px;text-decoration-color:#c7c2f7}
.gmh-story-play{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#eceafe}
.gmh-story-play svg{width:13px;height:13px;margin-left:2px;fill:var(--gmh-a)}
.gmh-values{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:24px}
.gmh-values>div{display:flex;align-items:center;gap:12px;min-width:200px;padding:12px 18px 12px 12px;border:1px solid #ebe8fb;border-radius:16px;background:rgba(255,255,255,.8);
  box-shadow:0 8px 20px -14px rgba(79,70,229,.35);text-align:left}
.gmh-values p{display:grid;margin:0;line-height:1.25}
.gmh-values strong{font-size:15px;color:var(--gmh-ink)}
.gmh-values small{font-size:13px;color:#6b7390}
.gmh-value-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:12px}
.gmh-value-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gmh-value-icon.purple{background:#efedff;color:#5b4fe8}.gmh-value-icon.green{background:#e7f8ef;color:#16a34a}.gmh-value-icon.amber{background:#fff4dc;color:#d97706}

/* side view (admin video / picture) — shown whole, never cropped */
.gmh-media{position:relative;width:100%;overflow:hidden;padding:6px;border-radius:26px;background:linear-gradient(135deg,#6d5dfc,#a855f7 50%,#ec4899);
  box-shadow:0 34px 60px -30px rgba(124,58,237,.6)}
.gmh-media>*{border-radius:20px;overflow:hidden}
.gmh-media>img{display:block;width:100%;height:auto;max-height:560px;object-fit:contain;background:#f6f4fd}
.gmh-media iframe,.gmh-play{display:block;width:100%;aspect-ratio:16/9;border:0}
.gmh-play{position:relative;padding:0;background:#000;cursor:pointer}
.gmh-play img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.gmh-play-icon{position:absolute;left:50%;top:50%;width:76px;height:54px;margin:-27px 0 0 -38px;border-radius:16px;background:#ff0033;box-shadow:0 10px 26px rgba(0,0,0,.4);transition:transform .15s}
.gmh-play-icon::after{content:"";position:absolute;left:31px;top:16px;border-style:solid;border-width:11px 0 11px 18px;border-color:transparent transparent transparent #fff}
.gmh-play:hover .gmh-play-icon{transform:scale(1.08)}
.gmh-play:focus-visible{outline:3px solid #a5b4fc;outline-offset:-3px}

/* desktop with a side view: video/picture left, heading right; buttons and the rest centred below */
@media(min-width:960px){
  .gmh.has-media .gmh-top{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}
  .gmh.has-media .gmh-head{align-items:flex-start;margin:0;text-align:left}
  .gmh.has-media h1{font-size:clamp(42px,4.6vw,68px)}
  .gmh.has-media .gmh-actions{flex-wrap:nowrap}
}
/* phones: buttons full width, stacked */
@media(max-width:640px){
  .gmh-shell{padding:0 16px}
  .gmh-eyebrow{font-size:12px;padding:6px 12px 6px 9px;margin-bottom:16px}
  .gmh-eyebrow svg{width:16px;height:16px}
  .gmh h1{font-size:clamp(36px,10.5vw,48px)}
  .gmh-bottom{align-items:stretch}
  .gmh-actions{flex-direction:column;align-items:stretch;width:100%;gap:10px}
  .gmh-story{align-self:center}
  .gmh-btn{min-height:56px;font-size:16px}
  .gmh-values{gap:12px 14px;margin-top:22px}
  .gmh-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .gmh-values>div{flex-direction:column;gap:6px;min-width:0;padding:10px 6px;text-align:center}
  .gmh-values small{font-size:11.5px}
  .gmh-media{padding:4px;border-radius:20px}
  .gmh-media>*{border-radius:16px}
}
@media(prefers-reduced-motion:reduce){.gmh-btn,.gmh-arrow,.gmh-play-icon{transition:none}.gmh-btn:hover{transform:none}}

/* very light grid ("checkboard") over the soft colour wash */
.gmh-bg::after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(99,102,241,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(99,102,241,.05) 1px,transparent 1px);
  background-size:44px 44px;-webkit-mask-image:radial-gradient(ellipse 85% 75% at 50% 45%,#000 40%,transparent 100%);mask-image:radial-gradient(ellipse 85% 75% at 50% 45%,#000 40%,transparent 100%)}

/* floaters: placed in a centred layer (max 1440px) so they hug the content on any wide screen; behind the content */
.gmh-floats{position:absolute;inset:0;z-index:-1;width:100%;max-width:1440px;margin:0 auto;pointer-events:none}
.gmh-float{position:absolute;animation:gmh-float 7s ease-in-out infinite}
@keyframes gmh-float{0%,100%{translate:0 0}50%{translate:0 -10px}}
.gmh-links{position:absolute;width:300px;height:450px}
.gmh-links-l{left:13%;top:18%}
.gmh-links-r{right:12%;top:8%}
.gmh-tile{display:grid;place-items:center;width:104px;height:104px;border-radius:28px;background:rgba(255,255,255,.94);box-shadow:0 20px 40px -18px rgba(79,70,229,.45)}
.gmh-tile svg{width:56px;height:56px}
.gmh-f-cap{left:17%;top:5%;rotate:-8deg}
.gmh-f-bulb{right:4%;top:10%;rotate:7deg;animation-delay:-2.5s}
.gmh-f-books{left:9%;bottom:4%;width:150px;height:130px;rotate:-6deg;animation-delay:-4s}
.gmh-f-books svg{width:100px;height:84px}
/* Mitra Score card */
.gmh-f-score{left:3%;top:15%;display:grid;gap:10px;width:270px;padding:20px 22px 18px;border-radius:26px;background:rgba(255,255,255,.96);
  box-shadow:0 30px 54px -26px rgba(79,70,229,.5);rotate:-7deg;font-family:Figtree,system-ui,sans-serif;animation-delay:-1s}
.gmh-score-top{display:flex;justify-content:space-between;align-items:baseline}
.gmh-score-top b{font-size:16px;font-weight:800;color:#0f1235}.gmh-score-top small{font-size:11px;color:#94a3b8}
.gmh-dial{position:relative;display:grid;place-items:center;align-content:center;width:150px;height:150px;margin:4px auto 8px;border-radius:50%;
  background:radial-gradient(closest-side,#fff 77%,transparent 78%),conic-gradient(from 200deg,#6d5df5,#a855f7 45%,#db2777 62%,#eef0f7 62%)}
.gmh-dial strong{font:800 40px/1 'Plus Jakarta Sans',system-ui,sans-serif;color:#0f1235}.gmh-dial small{font-size:12px;color:#64748b}
.gmh-metric{display:grid;grid-template-columns:1fr auto;gap:4px 6px;align-items:center;font-size:12px;color:#475569}
.gmh-metric b{padding:2px 7px;border-radius:7px;background:#eef0ff;color:#4f46e5;font-size:11px}
.gmh-metric i{grid-column:1/-1;height:6px;border-radius:9px;background:linear-gradient(90deg,var(--bar) var(--pct),#eef0f7 var(--pct))}
/* Your Progress card */
.gmh-f-progress{right:3%;top:40%;display:grid;gap:12px;width:280px;padding:20px 22px 12px;border-radius:26px;background:rgba(255,255,255,.96);
  box-shadow:0 30px 54px -26px rgba(79,70,229,.5);rotate:6deg;font-family:Figtree,system-ui,sans-serif;animation-delay:-3s}
.gmh-f-progress b{font-size:17px;font-weight:800;color:#0f1235}
.gmh-f-progress svg{width:100%;height:auto}

/* centred hero (no side view): heading on 3 lines like the original, leaving room for the floaters */
.gmh:not(.has-media) h1{max-width:10.5ch;margin-inline:auto}
.gmh:not(.has-media) .gmh-lead{max-width:560px}

/* with a side view the content uses the full width: floaters move to the outer corners */
.gmh.has-media .gmh-links{display:none}
.gmh.has-media .gmh-f-score{left:1%;top:auto;bottom:5%;scale:.75;transform-origin:bottom left}
.gmh.has-media .gmh-f-progress{right:1%;top:auto;bottom:7%;scale:.75;transform-origin:bottom right}
.gmh.has-media .gmh-f-cap{left:2%;top:4%;scale:.75}
.gmh.has-media .gmh-f-bulb{right:2%;top:5%;scale:.75}
.gmh.has-media .gmh-f-books{display:none}
@media(max-width:1399px){.gmh.has-media .gmh-f-cap,.gmh.has-media .gmh-f-bulb,.gmh.has-media .gmh-f-books{display:none}}

/* narrower desktops: smaller floaters, fewer of them; tablets and phones: none (no spare side space) */
@media(max-width:1360px){.gmh:not(.has-media) .gmh-float{scale:.82}.gmh:not(.has-media) .gmh-f-score{transform-origin:top left}.gmh:not(.has-media) .gmh-f-progress{transform-origin:right}}
@media(max-width:1200px){.gmh-f-score,.gmh-f-progress,.gmh-f-books,.gmh-links{display:none}}
@media(max-width:1100px){.gmh-floats{display:none}}
@media(prefers-reduced-motion:reduce){.gmh-float{animation:none}}

