
/* V31 — tighter vertical rhythm, keeping V29-C display sizes + Mtavruli */
@media (min-width:821px){
  body.compact .global-header{height:72px!important}
  body.compact .global-brand img{width:102px!important;max-height:50px!important}
  body.compact .global-nav{gap:14px!important}
  body.compact .section{padding-top:54px!important;padding-bottom:54px!important}
  body.compact .hero-copy, body.compact .school-hero .hero-copy{padding-top:52px!important;padding-bottom:48px!important}
  body.compact .hero{min-height:350px!important}
  body.compact .hero-photo{min-height:350px!important}
  body.compact .school-hero{min-height:430px!important}
  body.compact .school-hero .hero-side{padding-top:44px!important;padding-bottom:44px!important}
  body.compact .page-photo-banner{min-height:215px!important}
  body.compact .page-photo-banner img{height:clamp(215px,20vw,310px)!important}
  body.compact .page-photo-caption{bottom:24px!important}
  body.compact .section-head{margin-bottom:28px!important}
  body.compact .intro{gap:5vw!important}
  body.compact .intro h2{margin-top:10px!important;margin-bottom:8px!important}
  body.compact .intro p{margin-top:0!important;margin-bottom:0!important}
  body.compact .questions{padding-top:50px!important;padding-bottom:50px!important}
  body.compact .question-grid{margin-top:28px!important}
  body.compact .signature{padding-top:50px!important;padding-bottom:50px!important}
  body.compact .cta{padding-top:36px!important;padding-bottom:36px!important}
  body.compact .facts div, body.compact .summary article{padding-top:17px!important;padding-bottom:17px!important}
  body.compact .principles{padding-top:20px!important;padding-bottom:20px!important}
  body.compact .promise-grid article{min-height:185px!important;padding-top:24px!important;padding-bottom:24px!important}
  body.compact .dim-grid article{min-height:175px!important;padding-top:22px!important;padding-bottom:22px!important}
  body.compact .heart-grid article{min-height:195px!important;padding-top:24px!important;padding-bottom:24px!important}
  body.compact .questions-grid article{min-height:185px!important;padding-top:24px!important;padding-bottom:24px!important}
  body.compact .practice-grid article{min-height:220px!important;padding-top:24px!important;padding-bottom:24px!important}
  body.compact .people{gap:15px!important}
  body.compact .card{min-height:300px!important}
  body.compact .portrait{height:138px!important}
  body.compact .copy{padding:20px!important}
  body.compact .tabs{padding-bottom:18px!important}
  body.compact .admin-feature img{min-height:255px!important}
  body.compact .admin-feature .text{padding-top:32px!important;padding-bottom:32px!important}
  body.compact .visit-info{padding-top:34px!important;padding-bottom:34px!important}
  body.compact .map{min-height:350px!important}
  body.compact .space-photo{min-height:310px!important}
  body.compact .space-copy{padding-top:38px!important;padding-bottom:38px!important}
  body.compact .global-footer{padding-top:27px!important;padding-bottom:16px!important}
  body.compact .global-footer-grid{gap:28px!important}
  body.compact .global-footer-bottom{margin-top:18px!important;padding-top:13px!important}
  body.compact .global-footer p{margin-bottom:0!important}
  body.compact .global-footer a,body.compact .global-footer span{margin-top:5px!important;margin-bottom:5px!important}

  /* Home-specific tightening */
  body.page-index .hero-copy{padding-top:62px!important;padding-bottom:56px!important}
  body.page-index .principles{padding-top:20px!important;padding-bottom:20px!important}
  body.page-index .pillars article{padding-top:28px!important;padding-bottom:28px!important}
  body.page-index .pillars small{margin-top:20px!important}
  body.page-index .question-grid div{padding-top:22px!important;padding-bottom:22px!important}
  body.page-index .stage-top{height:205px!important}
  body.page-index .stage-body{padding-top:22px!important;padding-bottom:24px!important}

  /* Model + stages: reduce long vertical runs without crowding text */
  body.page-model .core-grid article, body.page-model .course-grid article{padding-top:24px!important;padding-bottom:24px!important}
  body.page-model .practice-grid{margin-top:26px!important}
  body.page-model .assess-grid{gap:4vw!important}
  body.page-stages .path-grid article{min-height:210px!important;padding-top:28px!important;padding-bottom:28px!important}
  body.page-stages .stage-visual img{height:255px!important}
  body.page-stages .focus-grid{margin-top:26px!important}
  body.page-stages .focus-grid div{padding-top:17px!important;padding-bottom:17px!important}
  body.page-stages .subject-grid article{min-height:210px!important;padding-top:27px!important;padding-bottom:27px!important}

  /* Administration: placeholder paragraph removed; close the resulting space */
  body.page-administration .intro{grid-template-columns:1fr!important;max-width:820px!important;padding-bottom:28px!important}
  body.page-administration .intro>div{max-width:620px!important}
  body.page-administration .tabs{padding-top:0!important}
}

@media (max-width:820px){
  body.compact .section{padding-top:46px!important;padding-bottom:46px!important}
  body.compact .hero-copy,body.compact .school-hero .hero-copy{padding-top:48px!important;padding-bottom:44px!important}
  body.compact .hero-photo{min-height:280px!important}
  body.compact .section-head{margin-bottom:26px!important}
  body.compact .global-footer{padding-top:30px!important}
  body.page-administration .intro{gap:0!important}
}
@media (max-width:560px){
  body.compact .section{padding-top:38px!important;padding-bottom:38px!important}
  body.compact .hero-copy,body.compact .school-hero .hero-copy{padding-top:42px!important;padding-bottom:38px!important}
  body.compact .hero-photo{min-height:230px!important}
  body.compact .page-photo-banner img{height:230px!important}
  body.compact .global-footer{padding-top:28px!important;padding-bottom:16px!important}
}
