/* Homepage additions: course links and editorial production directions. */
/* Model categories: four editorial portraits, two columns on smaller screens. */
#models .model-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
#models .model-card{min-width:0;height:auto;aspect-ratio:2/3;margin-top:0}
#models .model-card:nth-child(even){height:auto;margin-top:40px}
#models .model-card img{object-fit:cover;object-position:center;transition:none;transform:none}
#models .section-heading h2{min-width:0}
#models .section-heading>div{flex:0 0 280px}
#models .image-label{left:12px;right:12px;bottom:12px;gap:8px;padding:14px 12px;font-size:15px;line-height:1.35;min-height:54px}
#models .image-label span{min-width:0}
#models .image-label svg{width:18px;height:18px}
@media(max-width:1024px){
  #models .section-heading{display:block;margin-bottom:36px}
  #models .section-heading>div{max-width:none;margin-top:24px}
  #models .model-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
  #models .model-card,#models .model-card:nth-child(even){height:auto;aspect-ratio:2/3;margin-top:0}
}
@media(max-width:600px){
  #models h2{font-size:clamp(30px,10vw,40px)}
  #models .model-grid{gap:12px}
  #models .image-label{left:8px;right:8px;bottom:8px;padding:10px 8px;gap:5px;font-size:13px;min-height:56px}
  #models .image-label svg{width:16px;height:16px}
}
.school-title h3 a{color:inherit;text-decoration:none;text-underline-offset:.15em}
.school-title h3 a:hover,.school-title h3 a:focus-visible{text-decoration:underline;text-decoration-thickness:1px}
/* Vertical course cards share one portrait format across viewports. */
#school-programs{max-width:1120px;margin-inline:auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:stretch}
#school-programs .school-card{display:flex;flex-direction:column;min-width:0}
#school-programs .school-image{width:100%;max-width:none;aspect-ratio:3/2;flex-shrink:0}
#school-programs .school-image img{width:100%;height:100%;min-height:0;object-fit:cover;object-position:center top;transform:none;transition:none}
#school-programs .program-content{min-width:0;flex:1;width:100%;padding:28px clamp(24px,3vw,40px)}
#school-programs .school-title{align-items:center;flex-wrap:nowrap;gap:12px}
#school-programs .school-title h3{font-size:clamp(26px,2.3vw,34px)}
#school-programs .school-description{margin:18px 0;line-height:1.65}
#school-programs .school-facts{gap:20px}
#school-programs .school-facts>div{padding:12px 0}
#school-programs .school-price{margin-top:16px}
#school-programs .course-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin-top:auto;padding-top:24px}
#school-programs .school-enroll{display:inline-flex;flex:0 0 auto;width:auto;align-self:flex-start;justify-content:center;gap:12px;margin:0;padding:12px 0;min-height:48px}
#school-programs .course-trial{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 18px;background:#ff6347;color:#161c1e;border:1px solid transparent;border-radius:8px;font-size:13px;line-height:1.4}
#school-programs .course-trial:hover{background:#ff8069}
@media(max-width:900px){
  #school-programs .program-content{padding:24px}
  #school-programs .school-title{flex-wrap:wrap;gap:10px}
}
@media(max-width:600px){
  #school-programs{grid-template-columns:minmax(0,1fr);gap:24px}
  #school-programs .school-title{flex-wrap:nowrap}
  #school-programs .school-title h3{font-size:26px}
  #school-programs .school-title>span{font-size:11px}
  #school-programs .program-content{padding:24px 22px 28px}
}
.production-services{background:#e8e9e4;position:relative}
.production-services-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:48px;margin-bottom:52px}
.production-services-heading h2{max-width:760px}
.production-services-heading h2 em{color:#a93220}
.production-services-heading>div{max-width:360px}
.production-services-heading p{font-size:14px}
.production-services-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.production-service{min-width:0;position:relative;display:block;overflow:hidden;aspect-ratio:.72;background:#263135;color:#f0f2ed;border-radius:8px;isolation:isolate}
.production-service img{width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.16,1,.3,1)}
.production-service:after{content:"";position:absolute;inset:30% 0 0;background:linear-gradient(0deg,#172024e8,#17202400)}
.production-service:hover img,.production-service:focus-visible img{transform:scale(1.045)}
.production-service-copy{position:absolute;z-index:1;left:20px;right:20px;bottom:24px;display:flex;flex-direction:column;gap:8px}
.production-service-copy strong{font-family:Editorial,Georgia,serif;font-size:clamp(29px,2.65vw,43px);font-weight:400;line-height:1.08}
.production-service-copy>span{font-size:12px;line-height:1.45;color:#e4e9e5}
.production-service>svg{position:absolute;z-index:1;right:17px;top:17px;color:#f0f2ed;width:24px;height:24px}
@media(max-width:1000px){.production-services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.production-service{aspect-ratio:1.1}.production-services-heading{align-items:flex-start}.production-services-heading>div{max-width:300px}}
@media(max-width:600px){.production-services-heading{display:block;margin-bottom:32px}.production-services-heading>div{max-width:none;margin-top:22px}.production-services-grid{grid-template-columns:1fr;gap:12px}.production-service{aspect-ratio:auto;height:190px;display:grid;grid-template-columns:40% 1fr}.production-service:after{inset:0;background:linear-gradient(90deg,#17202400 20%,#172024e8 59%)}.production-service img{grid-column:1/-1;grid-row:1}.production-service-copy{left:44%;right:12px;bottom:20px}.production-service-copy strong{font-size:29px}.production-service-copy>span{font-size:11px}.production-service>svg{right:12px;top:14px}}
@media(max-width:340px){.production-service-copy strong{font-size:25px}.production-service-copy>span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.production-service img{transition:none}}
