/* BrounStack homepage runtime enhancements.
   Consolidates the project showcase/action layers and applies Lighthouse accessibility fixes. */

/* Project showcase — premium cover-card layer */
.home-projects{
  background:
    radial-gradient(circle at 12% 0%,rgba(10,123,255,.08),transparent 28%),
    radial-gradient(circle at 92% 100%,rgba(18,98,255,.07),transparent 30%),
    linear-gradient(180deg,#f8fbff 0%,#f3f7fd 100%)!important;
}
.project-runway{gap:22px!important}
.project-card{
  min-height:470px!important;
  border:1px solid #dbe6f4!important;
  border-radius:28px!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 18px 48px rgba(3,22,55,.075)!important;
  transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease!important;
}
.project-card:hover{
  transform:translateY(-7px)!important;
  border-color:#b9d6fa!important;
  box-shadow:0 30px 72px rgba(3,22,55,.13)!important;
}
.project-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:4px;
  z-index:3;
  opacity:0;
  background:linear-gradient(90deg,#082b63,#0a7bff,#36a9ff);
  transition:opacity .2s ease;
}
.project-card:hover::before{opacity:1}
.project-screen{
  height:238px!important;
  margin:12px 12px 0!important;
  border:1px solid rgba(255,255,255,.22);
  border-radius:20px!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03),0 16px 32px rgba(3,22,55,.08);
  transform:translateZ(0);
}
.project-screen::after{
  background:linear-gradient(135deg,transparent 38%,rgba(255,255,255,.07) 100%)!important;
  pointer-events:none;
}
.project-cover-kicker,
.project-cover-number{
  position:absolute;
  top:14px;
  z-index:4;
  display:inline-flex;
  align-items:center;
  min-height:27px;
  padding:0 10px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  background:rgba(4,21,50,.62);
  color:#e9f4ff;
  font-size:8px;
  font-weight:900;
  letter-spacing:.12em;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.project-cover-kicker{left:14px}
.project-cover-number{right:14px;color:#8dccff}
.project-screen.portfolio{
  padding:64px 22px 22px!important;
  background:
    radial-gradient(circle at 78% 18%,rgba(10,123,255,.35),transparent 28%),
    radial-gradient(circle at 18% 92%,rgba(54,169,255,.14),transparent 26%),
    linear-gradient(145deg,#031637,#082b63)!important;
}
.project-screen.portfolio::before{
  content:"";
  position:absolute;
  left:22px;
  right:22px;
  bottom:16px;
  height:3px;
  border-radius:999px;
  background:linear-gradient(90deg,transparent,rgba(54,169,255,.48),transparent);
}
.portfolio-nav b{background:#f5f9ff!important;box-shadow:0 0 18px rgba(255,255,255,.18)}
.portfolio-nav span{background:#1c477c!important}
.portfolio-copy{margin-top:28px!important}
.portfolio-copy i{height:8px!important;background:linear-gradient(90deg,#0a7bff,#36a9ff)!important}
.portfolio-copy b{background:#f5f9ff!important}
.portfolio-copy span{background:#2d5685!important}
.portfolio-btn{background:linear-gradient(90deg,#1262ff,#0a7bff)!important;box-shadow:0 10px 24px rgba(10,123,255,.26)}
.project-screen.todo{
  padding:55px 18px 18px!important;
  background:
    radial-gradient(circle at 85% 10%,rgba(10,123,255,.13),transparent 28%),
    linear-gradient(145deg,#eef5ff,#f9fbff)!important;
  border-color:#dce9f8;
}
.todo-shell{
  padding:16px!important;
  border:1px solid #e2ebf7;
  border-radius:16px!important;
  box-shadow:0 18px 35px rgba(3,22,55,.10)!important;
}
.todo-head i{background:linear-gradient(135deg,#082b63,#0a7bff)!important;box-shadow:0 8px 18px rgba(10,123,255,.18)}
.todo-input{background:#f8fbff!important;border-color:#dbe6f4!important}
.todo-row i{border-color:#0a7bff!important}
.project-screen.todo .project-cover-kicker,
.project-screen.todo .project-cover-number{
  border-color:#d9e7f7;
  background:rgba(255,255,255,.86);
  color:#0752dc;
}
.project-screen.python{
  background:
    radial-gradient(circle at 86% 10%,rgba(10,123,255,.16),transparent 26%),
    #071527!important;
}
.project-screen.python .terminal-top{height:45px!important;padding:0 14px!important;background:#0c1d35!important}
.project-screen.python .terminal-lines{padding:55px 18px 18px!important;font-size:9px!important;line-height:1.9!important;color:#8da2be!important}
.project-screen.python .terminal-lines b{color:#68c7ff!important}
.project-screen.python .terminal-lines span{color:#69dfa9!important}
.project-screen.python .terminal-lines i{color:#ffd66d!important}
.project-screen.python .project-cover-kicker,
.project-screen.python .project-cover-number{top:13px}
.project-body{
  display:flex!important;
  flex:1 1 auto;
  flex-direction:column;
  padding:22px 22px 23px!important;
}
.project-meta span{color:#0752dc!important}
.project-meta small{color:#526987!important;font-weight:700}
.project-card h3{font-size:22px!important;letter-spacing:-.35px}
.project-card p{font-size:12px!important;line-height:1.72!important}
.project-tags{margin-top:16px!important}
.project-tags i{
  padding:6px 9px!important;
  border:1px solid #e2ebf6;
  background:#f5f9ff!important;
  color:#486888!important;
}
.project-action{
  min-height:44px;
  margin-top:auto;
  padding:0 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid #d8e6f7;
  border-radius:13px;
  background:linear-gradient(180deg,#fff,#f6faff);
  color:#082b63!important;
  font-size:11px;
  font-weight:900;
  box-shadow:0 8px 20px rgba(3,22,55,.045);
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
.project-action-label{
  width:auto!important;
  height:auto!important;
  min-width:0;
  flex:1 1 auto;
  display:block!important;
  border-radius:0!important;
  background:transparent!important;
  color:inherit!important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.project-action > span[aria-hidden="true"]{
  width:27px;
  height:27px;
  flex:0 0 27px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#eaf4ff;
  color:#0752dc;
  transition:transform .18s ease,background .18s ease,color .18s ease;
}
.project-action:hover,
.project-action:focus-visible{
  border-color:#0a7bff;
  background:linear-gradient(105deg,#082b63,#0a7bff);
  color:#fff!important;
  outline:none;
  transform:translateY(-1px);
}
.project-action:hover > span[aria-hidden="true"],
.project-action:focus-visible > span[aria-hidden="true"]{transform:translateX(2px);background:rgba(255,255,255,.16);color:#fff}
.project-action:focus-visible{box-shadow:0 0 0 4px rgba(10,123,255,.14),0 12px 26px rgba(3,22,55,.09)}

/* Project CTA polish */
.project-action{
  width:max-content!important;
  max-width:100%;
  min-height:44px!important;
  align-self:flex-start;
  margin-top:auto!important;
  padding:7px 8px 7px 14px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:12px!important;
  border:1px solid #d7e5f7!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,#fbfdff,#eef6ff)!important;
  color:#0752dc!important;
  font-size:10.5px!important;
  font-weight:900!important;
  line-height:1!important;
  box-shadow:0 9px 20px rgba(3,22,55,.06)!important;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease!important;
}
.project-action-label{
  width:auto!important;
  height:auto!important;
  min-width:0;
  flex:0 1 auto!important;
  display:block!important;
  border-radius:0!important;
  background:transparent!important;
  color:inherit!important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.project-action>span[aria-hidden="true"]{
  width:27px!important;
  height:27px!important;
  flex:0 0 27px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#0752dc!important;
  font-size:12px;
  box-shadow:0 4px 10px rgba(3,22,55,.08);
  transition:transform .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease!important;
}
.project-action:hover,
.project-action:focus-visible{
  transform:translateY(-2px)!important;
  border-color:transparent!important;
  background:linear-gradient(105deg,#0752dc,#0a7bff)!important;
  color:#fff!important;
  box-shadow:0 14px 28px rgba(10,123,255,.21)!important;
  outline:none;
}
.project-action:hover>span[aria-hidden="true"],
.project-action:focus-visible>span[aria-hidden="true"]{
  transform:translateX(2px)!important;
  background:rgba(255,255,255,.18)!important;
  color:#fff!important;
  box-shadow:none!important;
}
.project-action:focus-visible{
  box-shadow:0 0 0 4px rgba(10,123,255,.13),0 14px 28px rgba(10,123,255,.18)!important;
}

/* Lighthouse accessibility fixes */
.home-menu{min-width:44px!important;min-height:44px!important}
.home-brand{min-height:44px}
.home-nav>a{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.footer-grid h3{
  margin:0;
  color:#163760!important;
  font-size:inherit;
  font-weight:850!important;
}
.footer-brand>a{min-height:44px;align-items:center}
.footer-grid>div:not(.footer-brand) a{
  min-height:30px;
  display:flex;
  align-items:center;
}
.footer-brand span{color:#4f6b8f!important}
.footer-bottom{color:#4f6888!important}

@media(max-width:920px){
  .project-card{min-height:455px!important}
  .project-screen{height:230px!important}
}
@media(max-width:720px){
  .home-nav>a{min-height:44px}
  .footer-grid>div:not(.footer-brand) a{min-height:44px}
}
@media(max-width:520px){
  .project-card{min-height:0!important;border-radius:23px!important}
  .project-screen{height:215px!important;margin:9px 9px 0!important;border-radius:17px!important}
  .project-body{padding:19px 18px 20px!important}
  .project-card h3{font-size:20px!important}
  .project-cover-kicker,.project-cover-number{top:11px;font-size:7px;min-height:24px;padding:0 8px}
  .project-cover-kicker{left:11px}.project-cover-number{right:11px}
  .project-action{min-height:44px!important;padding:7px 8px 7px 12px!important;font-size:10px!important}
  .project-action>span[aria-hidden="true"]{width:27px!important;height:27px!important;flex-basis:27px!important}
}
@media(prefers-reduced-motion:reduce){
  .project-action,.project-action>span[aria-hidden="true"]{transition:none!important}
  .project-action:hover,.project-action:focus-visible{transform:none!important}
}

/* Compact learning-path cards */
.skill-constellation{gap:16px!important}
.skill-feature{
  min-height:380px!important;
  padding:26px!important;
  border-radius:24px!important;
}
.skill-feature h3{margin:17px 0 8px!important;font-size:38px!important}
.skill-feature-link{margin-top:20px!important}
.skill-feature-art{right:22px!important;bottom:20px!important;width:220px!important;height:160px!important}
.skill-side-grid{gap:14px!important}
.skill-card{
  min-height:176px!important;
  padding:17px!important;
  border-radius:20px!important;
}
.skill-card-icon{width:38px!important;height:38px!important;border-radius:11px!important}
.skill-card h3{margin:13px 0 5px!important;font-size:19px!important}
.skill-card p{font-size:11px!important;line-height:1.55!important}

@media(max-width:1120px){
  .skill-feature{min-height:340px!important}
  .skill-side-grid{gap:12px!important}
  .skill-card{min-height:180px!important;padding:16px!important}
}
@media(max-width:920px){
  .skill-feature{min-height:360px!important;padding:22px!important}
  .skill-card{min-height:176px!important;padding:16px!important}
}
@media(max-width:520px){
  .skill-feature{min-height:405px!important;padding:20px!important}
  .skill-side-grid{gap:12px!important}
  .skill-card{min-height:164px!important}
}

/* Compact homepage vertical rhythm */
.home-hero{padding-bottom:34px!important}
.home-proof-ribbon{margin-top:34px!important}
.home-section{padding:62px 0!important}
.home-section-head{margin-bottom:28px!important}
.home-section-head.centered{margin-bottom:30px!important}
.home-cta{padding:56px 0!important}
.home-footer{padding:36px 0 20px!important}
.footer-grid{gap:34px!important;padding-bottom:22px!important}
.footer-grid h4,.footer-grid h3{margin-bottom:10px!important}
.footer-grid>div:not(.footer-brand) a{margin:5px 0!important;min-height:28px}
.footer-brand p{margin:12px 0 10px!important}
.footer-bottom{padding-top:15px!important}

@media(max-width:920px){
  .home-hero{padding-bottom:30px!important}
  .home-proof-ribbon{margin-top:26px!important}
  .home-section{padding:50px 0!important}
  .home-section-head{margin-bottom:24px!important}
  .home-section-head.centered{margin-bottom:26px!important}
  .home-cta{padding:46px 0!important}
  .home-footer{padding-top:30px!important}
  .footer-grid{gap:26px 20px!important;padding-bottom:20px!important}
}
@media(max-width:520px){
  .home-proof-ribbon{margin-top:22px!important}
  .home-section{padding:42px 0!important}
  .home-cta{padding:40px 0!important}
}


/* Our Work — production project showcase */
.home-our-work{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 8% 18%,rgba(10,123,255,.10),transparent 26%),
    radial-gradient(circle at 92% 78%,rgba(54,169,255,.08),transparent 24%),
    linear-gradient(180deg,#ffffff 0%,#f6faff 100%);
}
.home-our-work::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background-image:linear-gradient(rgba(8,43,99,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(8,43,99,.035) 1px,transparent 1px);
  background-size:42px 42px;
  mask-image:linear-gradient(to bottom,transparent,black 18%,black 82%,transparent);
}
.home-our-work .home-container{position:relative;z-index:1}
.work-feature{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);
  gap:0;
  overflow:hidden;
  border:1px solid #d8e6f5;
  border-radius:30px;
  background:#fff;
  box-shadow:0 26px 70px rgba(3,22,55,.10);
}
.work-preview{
  position:relative;
  min-height:470px;
  padding:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:
    radial-gradient(circle at 18% 18%,rgba(63,153,255,.28),transparent 28%),
    radial-gradient(circle at 85% 82%,rgba(38,189,153,.18),transparent 24%),
    linear-gradient(145deg,#041733 0%,#082b63 55%,#0a579f 100%);
}
.work-preview::before{
  content:"";
  position:absolute;
  width:360px;
  height:360px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:50%;
  right:-120px;
  top:-110px;
}
.work-preview::after{
  content:"";
  position:absolute;
  width:210px;
  height:210px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:50%;
  left:-70px;
  bottom:-85px;
}
.work-browser{
  width:min(100%,620px);
  position:relative;
  z-index:2;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.22);
  border-radius:20px;
  background:#fff;
  box-shadow:0 28px 70px rgba(0,0,0,.28);
  transform:rotate(-1.4deg);
}
.work-browser-bar{
  min-height:42px;
  padding:0 15px;
  display:flex;
  align-items:center;
  gap:15px;
  border-bottom:1px solid #e4edf7;
  background:#f7faff;
}
.work-browser-bar>span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#71839a;
  font-size:9px;
  font-weight:800;
  letter-spacing:.04em;
}
.work-browser-dots{display:flex;gap:5px;flex:0 0 auto}
.work-browser-dots i{width:7px;height:7px;border-radius:50%;background:#ccd8e6}
.work-site{min-height:330px;background:linear-gradient(180deg,#fbfdff,#f3f8fd)}
.work-site-nav{
  min-height:54px;
  padding:0 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #edf2f7;
  background:rgba(255,255,255,.92);
}
.work-site-brand{display:flex;align-items:center;gap:8px}
.work-site-brand b{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:linear-gradient(135deg,#0d2f63,#0b73ce);
  color:#fff;
  font-size:9px;
  letter-spacing:.04em;
}
.work-site-brand span{font-size:9px;font-weight:900;color:#163760}
.work-site-links{display:flex;gap:7px}
.work-site-links i{width:30px;height:5px;border-radius:999px;background:#d9e5f1}
.work-site-hero{padding:42px 34px 30px}
.work-site-hero>span{
  display:block;
  margin-bottom:10px;
  color:#0b73ce;
  font-size:7px;
  font-weight:950;
  letter-spacing:.16em;
}
.work-site-hero strong{
  display:block;
  color:#10233f;
  font-size:25px;
  line-height:1.12;
  letter-spacing:-.9px;
}
.work-site-hero p{margin:9px 0 14px;color:#667b94;font-size:10px;font-weight:750}
.work-site-actions{display:flex;gap:8px}
.work-site-actions i:first-child{width:72px;height:20px;border-radius:999px;background:linear-gradient(90deg,#0b73ce,#1493e6)}
.work-site-actions i:last-child{width:64px;height:20px;border:1px solid #cfddeb;border-radius:999px;background:#fff}
.work-site-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:0 34px 30px}
.work-site-cards i{height:68px;border:1px solid #e3ebf4;border-radius:12px;background:#fff;box-shadow:0 8px 18px rgba(24,55,91,.06)}
.work-preview-badge{
  position:absolute;
  left:28px;
  bottom:26px;
  z-index:3;
  padding:8px 12px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  background:rgba(4,21,50,.68);
  color:#dff1ff;
  font-size:8px;
  font-weight:950;
  letter-spacing:.14em;
  backdrop-filter:blur(12px);
}
.work-copy{
  padding:42px 38px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.work-eyebrow{display:flex;align-items:center;justify-content:space-between;gap:16px}
.work-eyebrow span{
  color:#0b73ce;
  font-size:9px;
  font-weight:950;
  letter-spacing:.13em;
}
.work-eyebrow small{
  color:#7b8ea5;
  font-size:10px;
  font-weight:850;
}
.work-copy h3{
  margin:14px 0 13px;
  color:#10233f;
  font-size:clamp(2rem,3vw,3.1rem);
  line-height:1;
  letter-spacing:-1.6px;
}
.work-lead{
  margin:0;
  color:#64778f;
  font-size:13px;
  line-height:1.75;
}
.work-details{
  margin:24px 0 20px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.work-details>div{
  padding:15px 16px;
  border:1px solid #e1eaf4;
  border-radius:16px;
  background:#f8fbff;
}
.work-details span{
  display:block;
  margin-bottom:5px;
  color:#7a8da4;
  font-size:8px;
  font-weight:950;
  letter-spacing:.14em;
}
.work-details strong{
  display:block;
  color:#17365d;
  font-size:11px;
  line-height:1.4;
}
.work-tags{display:flex;flex-wrap:wrap;gap:8px}
.work-tags span{
  padding:7px 10px;
  border:1px solid #dce8f4;
  border-radius:999px;
  background:#fff;
  color:#486888;
  font-size:9px;
  font-weight:850;
}
.work-actions{
  margin-top:27px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.work-btn{
  min-height:46px;
  padding:0 17px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:999px;
  text-decoration:none;
  font-size:10px;
  font-weight:950;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease;
}
.work-btn.primary{
  border:1px solid transparent;
  background:linear-gradient(105deg,#0752dc,#0a7bff);
  color:#fff;
  box-shadow:0 14px 28px rgba(10,123,255,.20);
}
.work-btn.secondary{
  border:1px solid #d4e3f3;
  background:#fff;
  color:#163760;
}
.work-btn:hover,.work-btn:focus-visible{transform:translateY(-2px);outline:none}
.work-btn.primary:hover,.work-btn.primary:focus-visible{box-shadow:0 18px 32px rgba(10,123,255,.27)}
.work-btn.secondary:hover,.work-btn.secondary:focus-visible{border-color:#93bff0;background:#f5faff}
.work-footnote{
  margin-top:18px;
  padding:16px 18px;
  display:flex;
  align-items:center;
  gap:18px;
  border:1px dashed #c7d8ea;
  border-radius:16px;
  background:rgba(255,255,255,.74);
}
.work-footnote span{
  flex:0 0 auto;
  color:#0b73ce;
  font-size:8px;
  font-weight:950;
  letter-spacing:.16em;
}
.work-footnote p{
  margin:0;
  color:#6c7f96;
  font-size:10px;
  line-height:1.55;
}

@media(max-width:960px){
  .work-feature{grid-template-columns:1fr}
  .work-preview{min-height:390px}
  .work-copy{padding:34px 30px}
}
@media(max-width:620px){
  .work-feature{border-radius:24px}
  .work-preview{min-height:330px;padding:22px}
  .work-browser{transform:none;border-radius:16px}
  .work-site{min-height:275px}
  .work-site-hero{padding:30px 22px 20px}
  .work-site-hero strong{font-size:20px}
  .work-site-cards{padding:0 22px 22px}
  .work-site-cards i{height:54px}
  .work-copy{padding:27px 22px 25px}
  .work-details{grid-template-columns:1fr}
  .work-actions{flex-direction:column;align-items:stretch}
  .work-btn{width:100%}
  .work-footnote{align-items:flex-start;flex-direction:column;gap:7px}
  .work-preview-badge{left:20px;bottom:18px}
}
@media(prefers-reduced-motion:reduce){
  .work-btn{transition:none}
  .work-btn:hover,.work-btn:focus-visible{transform:none}
}


/* Our Work — School Management System variant */
.work-feature + .work-feature{margin-top:24px}
.ourwork-school-preview{
  background:
    radial-gradient(circle at 14% 16%,rgba(36,166,255,.24),transparent 26%),
    radial-gradient(circle at 86% 86%,rgba(80,99,255,.18),transparent 25%),
    linear-gradient(145deg,#06142a 0%,#0b2349 52%,#143d73 100%);
}
.ourwork-school-dashboard{
  min-height:330px;
  display:grid;
  grid-template-columns:76px 1fr;
  background:#f5f8fc;
}
.ourwork-school-sidebar{
  padding:16px 12px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:13px;
  background:linear-gradient(180deg,#0a2a57,#0a3d78);
}
.ourwork-school-logo{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  margin-bottom:5px;
  border-radius:11px;
  background:#fff;
  color:#0a3d78;
  font-size:9px;
  font-weight:950;
}
.ourwork-school-sidebar i{
  width:34px;
  height:8px;
  border-radius:999px;
  background:rgba(255,255,255,.22);
}
.ourwork-school-sidebar i:first-of-type{background:rgba(255,255,255,.72)}
.ourwork-school-main{padding:18px}
.ourwork-school-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:16px;
}
.ourwork-school-topbar b{color:#17375f;font-size:12px}
.ourwork-school-topbar span{
  width:74px;
  height:14px;
  border-radius:999px;
  background:#dce7f3;
}
.ourwork-school-stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:9px;
}
.ourwork-school-stats i{
  height:58px;
  border:1px solid #e2eaf4;
  border-radius:12px;
  background:#fff;
  box-shadow:0 8px 16px rgba(22,53,89,.05);
}
.ourwork-school-panels{
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:10px;
  margin-top:10px;
}
.ourwork-school-panels i{
  height:142px;
  border:1px solid #e2eaf4;
  border-radius:14px;
  background:
    linear-gradient(180deg,transparent 0 22%,#edf3f9 22% 24%,transparent 24% 48%,#edf3f9 48% 50%,transparent 50% 74%,#edf3f9 74% 76%,transparent 76%),
    #fff;
  box-shadow:0 10px 20px rgba(22,53,89,.05);
}
.work-status{
  min-height:46px;
  padding:0 14px;
  display:inline-flex;
  align-items:center;
  border:1px solid #d7e4f1;
  border-radius:999px;
  background:#f7faff;
  color:#6f8298;
  font-size:9px;
  font-weight:850;
}
@media(max-width:620px){
  .work-feature + .work-feature{margin-top:18px}
  .ourwork-school-dashboard{grid-template-columns:58px 1fr;min-height:280px}
  .ourwork-school-sidebar{padding:12px 9px;gap:10px}
  .ourwork-school-sidebar i{width:28px}
  .ourwork-school-main{padding:13px}
  .ourwork-school-stats{grid-template-columns:1fr 1fr}
  .ourwork-school-stats i{height:44px}
  .ourwork-school-panels{grid-template-columns:1fr}
  .ourwork-school-panels i{height:70px}
  .ourwork-school-panels i:last-child{display:none}
  .work-status{width:100%;justify-content:center}
}


/* School showcase layout refinements */
.work-feature-school .work-copy h3{
  font-size:clamp(1.85rem,2.55vw,2.65rem);
  line-height:1.02;
  max-width:10ch;
}
.work-feature-school .work-browser{
  width:min(100%,610px);
  min-height:372px;
}
.ourwork-school-dashboard{
  min-height:330px!important;
  height:330px;
  overflow:hidden;
}
@media(max-width:960px){
  .work-feature-school .work-copy h3{max-width:none}
}
@media(max-width:620px){
  .work-feature-school .work-browser{min-height:320px}
  .ourwork-school-dashboard{height:278px;min-height:278px!important}
}


/* KSA real screenshot preview */
.work-preview-image .work-browser-image-shell{
  width:min(100%,620px);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.22);
  border-radius:22px;
  background:#fff;
  box-shadow:0 28px 70px rgba(0,0,0,.28);
  transform:rotate(-1.4deg);
}
.work-browser-image{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:720/418;
  object-fit:cover;
}
@media(max-width:620px){
  .work-preview-image .work-browser-image-shell{
    transform:none;
    border-radius:16px;
  }
}
