/* A distinct phone composition within the existing school-film story. */
.hero-school-name,.hero-source-label{display:inline}
.hero-source-label:before{content:' · '}
@media(max-width:800px) and (orientation:portrait){
 .hero-film-stage .hero:after{background:linear-gradient(180deg,#15222e28,transparent 38%,#15222e7a)}
 .hero-film-stage .hero-lettering{top:16%;bottom:auto;height:100%}
 .hero-film-bar{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;padding:20px 24px 16px}
 .hero-film-bar>div:first-child{display:block;width:auto;min-width:0}
 .hero-film-bar strong{position:absolute;top:24px;left:24px;z-index:4;margin:0;color:#fff;font-size:13px;line-height:1.6;font-weight:500;text-shadow:0 1px 8px #16232e66}
 .hero-film-bar a{display:block;font-size:12px;line-height:1.7}
 .hero-school-name{display:block;color:var(--ink);font-size:17px;font-weight:700;line-height:1.5}
 .hero-source-label{display:block;font-size:11px;margin-top:4px;font-weight:400}
 .hero-source-label:before{content:none}
 .hero-film-actions{display:grid;grid-template-columns:44px minmax(0,1fr) 44px 76px;width:100%;gap:8px;margin:0;border-top:1px solid var(--line);padding-top:10px;align-items:center}
 .hero-film-actions>button:not(#hero-play){padding:0;font-size:12px;min-width:44px;min-height:44px}
 .hero-film-actions .film-tabs{gap:8px;justify-content:center;min-width:0}
 .hero-film-actions .film-tabs button{width:clamp(18px,6vw,32px);height:44px}
 .hero-film-actions #hero-play{margin:0;min-height:44px;width:76px;justify-content:center;padding:6px;font-size:12px;border:0;border-left:1px solid var(--line)}
 .opening-sequence>.campus-statement{text-align:left;padding-inline:4px}
 .campus-statement .statement-brand{display:flex;flex-direction:column;gap:4px;margin-bottom:24px;font-size:17px}
 .campus-statement .statement-brand>span{font-size:12px}
 .campus-statement h2,.campus-statement>p:not(.statement-brand){margin-inline:0}
 .campus-statement h2 .motion-line-inner{text-align:left}
 .campus-statement>p:last-of-type{margin-top:24px;line-height:1.9}
 .campus-statement .text-link{margin-top:8px}
 .campus-statement .early-stage-links{display:grid;grid-template-columns:1fr;gap:0;margin-top:32px;border-top:1px solid var(--line)}
 .campus-statement .early-stage-links a{border:0;border-bottom:1px solid var(--line);padding:16px 0;text-align:left;font-size:16px;min-height:52px}
 #philosophy .founder-photo{aspect-ratio:4/3;min-height:0}
 #philosophy .founder-photo img{height:100%;min-height:0;max-height:none;object-fit:cover}
 #philosophy .founder-letter{padding-top:4px}
 #programs .program-grid{gap:18px}
}
@media(max-width:800px) and (orientation:portrait) and (prefers-reduced-motion:no-preference){
 .opening-sequence>.campus-statement{margin-top:18svh;padding-top:7svh}
}
@media(max-width:360px) and (orientation:portrait){
 .hero-film-bar{padding-inline:20px}
 .hero-film-bar strong{left:20px;top:20px;font-size:12px}
 .hero-film-actions{grid-template-columns:40px minmax(0,1fr) 40px 70px;gap:4px}
 .hero-film-actions>button:not(#hero-play){min-width:40px}
 .hero-film-actions #hero-play{width:70px;font-size:11px}
 .hero-school-name{font-size:16px}
}

/* Mixed mobile rhythm: a lead image, paired cards and compact side-by-side choices. */
@media(max-width:800px) and (orientation:portrait){
 .campus-statement .early-stage-links{grid-template-columns:1.3fr 1fr 1fr;gap:0}
 .campus-statement .early-stage-links a{display:flex;align-items:center;justify-content:center;text-align:center;padding:14px 8px;font-size:14px;line-height:1.6;border-right:1px solid var(--line);min-height:72px}
 .campus-statement .early-stage-links a:last-child{border-right:0}
 #philosophy.founder-editorial{display:block}
 #philosophy.founder-editorial:after{content:'';display:block;clear:both}
 #philosophy .founder-photo{float:left;width:43%;aspect-ratio:3/4;margin:0 20px 18px 0}
 #philosophy .founder-photo figcaption{font-size:10px;left:12px;right:10px;bottom:12px;line-height:1.6}
 #philosophy .founder-letter{padding:0}
 #philosophy .founder-letter>.section-kicker{font-size:13px;line-height:1.6;margin-bottom:14px}
 #main #philosophy .founder-letter h2{font-size:clamp(25px,6.8vw,34px)!important;line-height:1.4;letter-spacing:-1px;margin-bottom:20px}
 #philosophy .founder-opening{clear:both;padding-top:12px}
 #programs .section-heading{text-align:left}
 #programs .program-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;overflow:visible}
 #programs .program-card{flex:none;min-width:0;min-height:310px;border:0}
 #programs .program-card:first-child{grid-column:1/-1;min-height:0;height:clamp(280px,79vw,390px);width:100%;aspect-ratio:auto}
 #programs .program-card-copy{left:18px;right:16px;bottom:22px}
 #programs .program-card-copy h3{font-size:22px;line-height:1.4;margin:0 0 14px;letter-spacing:-.6px}
 #programs .program-card-copy p{font-size:15px;line-height:1.8;max-width:none}
 #programs .program-card-copy>small{display:none}
 #programs .program-card:first-child .program-card-copy{left:24px;right:24px;bottom:26px}
 #programs .program-card:first-child h3{font-size:29px}
 #programs .program-card:first-child p{font-size:17px;max-width:280px}
 #programs .program-secondary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
 #programs .program-secondary a.support-program{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr;align-items:start;gap:16px;padding:14px}
 #programs .support-program-photo{height:104px}
 #programs .support-program h3{font-size:21px;line-height:1.45;letter-spacing:-.5px;margin-bottom:12px}
 #programs .support-program p{font-size:15px;line-height:1.85}
 #programs .support-program>div{padding:0}
 .journal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px}
 .journal-image{height:auto;aspect-ratio:4/3}
 .journal-card>small{font-size:12px;line-height:1.7;margin-top:14px}
 .journal-card h3{font-size:20px;line-height:1.45;overflow-wrap:anywhere;margin-top:10px}
 .journal-card>p{font-size:14px;line-height:1.7;margin-top:16px;padding-top:14px}
 .country-panel{display:block}
 .country-picture{height:auto;min-height:0;aspect-ratio:4/3}
 .country-info{position:relative;z-index:1;margin:-36px 0 0 24px;width:calc(100% - 24px);padding:28px 24px}
 #school-results.school-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}
 #school-results .school-photo{aspect-ratio:4/3}
 #school-results .school-kind{left:8px;bottom:8px;padding:4px 6px;font-size:10px}
 #school-results .school-card-body{padding:18px 2px 20px;min-height:0}
 #school-results .school-card-body h3{font-size:19px;line-height:1.5;min-height:0;letter-spacing:-.3px;margin-top:10px}
 #school-results .school-card-body>small{font-size:13px;line-height:1.7}
 #school-results .school-read{font-size:14px;line-height:1.7;margin-top:18px;padding-top:12px}
}
@media(max-width:360px) and (orientation:portrait){
 #philosophy .founder-photo{margin-right:16px}
 #programs .program-card-copy{left:14px;right:12px}
 #programs .program-card-copy h3{font-size:21px}
 #programs .program-secondary a.support-program{padding:12px}
 #programs .support-program h3{font-size:20px}
 #programs .support-program p{font-size:14px}
 .journal-grid{gap:24px 12px}.journal-card h3{font-size:19px}
}

@media(max-width:800px){.healthy-match-title>span{display:block;white-space:nowrap}}
