
/* Separate text from photography instead of shading the photographs. */
#top .hero{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.35fr);align-items:stretch;min-height:0;overflow:hidden;background:linear-gradient(145deg,#2b5b83,#1b3b5d);}
#top .hero::after{display:none;}
#top .hero-slideshow{position:relative;inset:auto;grid-column:2;grid-row:1;min-width:0;min-height:620px;}
#top .hero-content{grid-column:1;grid-row:1;min-width:0;max-width:none;align-self:center;padding:65px clamp(24px,4vw,64px);text-align:left;text-shadow:0 2px 8px #102c4a55;}
#top .hero-content h1{font-size:clamp(40px,4.5vw,72px);line-height:1.35;letter-spacing:.04em;word-break:normal;overflow-wrap:anywhere;margin:20px 0;}
#top .hero-content h1 span{max-width:100%;white-space:normal;}
#top .hero-content .eyebrow{font-size:11px;letter-spacing:.14em;line-height:1.8;overflow-wrap:anywhere;}
#top .hero-content .lead{font-size:clamp(15px,1.5vw,22px);line-height:1.9;letter-spacing:.05em;margin:0 0 24px;padding:0;white-space:normal;word-break:normal;overflow-wrap:anywhere;}
#top .hero-content .official-homepage-text{display:block;width:fit-content;max-width:100%;margin:0;padding:12px 15px;border:1px solid #e9cf9777;border-radius:8px;background:#1c416369;font-size:12px;line-height:1.9;letter-spacing:.02em;text-align:left;white-space:normal;overflow-wrap:anywhere;word-break:normal;}
#top .official-homepage-text span{display:inline;}
/* Gateway captions have their own panel below each photograph. */
#top .layout-gateway{margin-top:26px;}
#top .layout-gateway a{display:flex;justify-content:flex-start;min-height:0;padding:0 0 28px;background:linear-gradient(145deg,#386b93,#203f61);}
#top .layout-gateway a::after{display:none;}
#top .layout-gateway img{position:relative;inset:auto;width:100%;height:180px;flex:none;z-index:auto;border-bottom:1px solid #e8d29a55;}
#top .layout-gateway span{margin:20px 24px 6px;}
#top .layout-gateway strong{margin:0 45px 0 24px;font-size:clamp(22px,2.2vw,30px);line-height:1.5;}
#top .layout-gateway em{position:absolute;right:20px;bottom:22px;}
/* Video title and player occupy separate rows, with no rotation. */
#top .movie-section.layout-split{display:block;}
#top .movie-section .layout-heading{width:100%;max-width:100%;min-width:0;margin-bottom:26px;}
#top .movie-section .layout-heading::before{float:right;margin-left:20px;}
#top .movie-section h2{max-width:100%;font-size:clamp(28px,3.5vw,48px);white-space:normal;word-break:normal;overflow-wrap:anywhere;line-height:1.5;}
#top .movie-section .video-wrap{width:100%;max-width:1060px;margin:0 auto;transform:none!important;rotate:none;clear:both;aspect-ratio:16/9;}
#top .movie-section .video-wrap iframe{width:100%;height:100%;}
/* Contact matches the indigo surfaces throughout the site. */
#top .contact-section{background:linear-gradient(135deg,#396c94,#203f64);border:1px solid #e9d39e77;color:#f8f5e9;box-shadow:inset 0 1px 0 #ffffff20,0 16px 35px #102b4840;}
#top .contact-section>.section-label{color:#ffe1a0;}
#top .contact-section>h2{color:#fff2cc;}
#top .contact-section>p:not(.section-label){color:#e5eef5;}
#top .contact-section .contact-box{background:linear-gradient(135deg,#284f75,#193957);}
@media(max-width:900px){
 #top .hero{grid-template-columns:1fr;}
 #top .hero-slideshow{grid-column:1;grid-row:1;min-height:0;height:58vw;max-height:580px;}
 #top .hero-content{grid-column:1;grid-row:2;padding:32px 6vw 38px;}
 #top .hero-content h1{font-size:clamp(42px,8vw,64px);margin:12px 0;}
 #top .hero-content h1 br{display:none;}
 #top .hero-content .school-name{font-size:.54em;margin-right:16px;}
 #top .hero-content .lead{font-size:18px;margin-bottom:18px;}
 #top .hero-content .official-homepage-text{font-size:12px;}
 #top .layout-gateway img{height:145px;}
 #top .layout-gateway span{margin:16px 16px 4px;letter-spacing:.08em;font-size:10px;}
 #top .layout-gateway strong{margin-left:16px;font-size:22px;}
}
@media(max-width:600px){
 #top .hero-slideshow{height:66vw;min-height:230px;}
 #top .hero-content h1 br{display:block;}
 #top .hero-content .school-name{font-size:.57em;}
 #top .hero-content h1{font-size:60px;line-height:1.18;}
 #top .hero-content .lead{font-size:16px;}
 #top .layout-gateway a:first-child{min-height:0;}
 #top .layout-gateway a:first-child img{height:200px;}
 #top .layout-gateway img{height:130px;}
 #top .layout-gateway strong{font-size:19px;margin-right:30px;}
 #top .layout-gateway em{right:12px;font-size:20px;}
}

/* Full-width photography, with contrast limited to the text area. */
#top .hero{display:flex;position:relative;align-items:center;justify-content:flex-start;min-height:88svh;background:#234f79;isolation:isolate;}
#top .hero-slideshow{position:absolute;inset:0;grid-column:auto;grid-row:auto;width:100%;height:100%;min-height:0;max-height:none;z-index:0;}
#top .hero-slide{object-fit:cover;object-position:center;}
#top .hero-overlay{display:block;position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(9,24,38,.76) 0%,rgba(9,24,38,.56) 27%,rgba(9,24,38,.16) 53%,transparent 75%);}
#top .hero-content{position:relative;z-index:2;grid-column:auto;grid-row:auto;align-self:auto;width:min(54%,720px);max-width:720px;padding:76px clamp(26px,5vw,80px);margin:0;text-shadow:0 2px 7px rgba(0,0,0,.65);}
#top .hero-content h1{font-size:clamp(44px,5.4vw,88px);line-height:1.25;}
#top .hero-content .official-homepage-text{width:fit-content;max-width:100%;background:rgba(14,31,46,.42);border-color:rgba(255,235,188,.48);}
@media(min-width:901px){#top .hero-content .school-name{font-size:.62em;}}
@media(max-width:900px){
 #top .hero{display:flex;min-height:80svh;}
 #top .hero-slideshow{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:none;}
 #top .hero-content{width:70%;max-width:650px;padding:65px 6vw;}
 #top .hero-content h1 br{display:block;}
 #top .hero-content .school-name{font-size:.57em;margin-right:0;}
 #top .hero-overlay{background:linear-gradient(90deg,rgba(9,24,38,.76),rgba(9,24,38,.5) 40%,transparent 90%);}
}
@media(max-width:600px){
 #top .hero{min-height:82svh;align-items:flex-end;}
 #top .hero-slideshow{height:100%;min-height:0;}
 #top .hero-content{width:100%;max-width:none;padding:120px 7vw 38px;}
 #top .hero-content h1{font-size:clamp(50px,13vw,64px);line-height:1.2;}
 #top .hero-content .eyebrow{font-size:10px;}
 #top .hero-content .lead{font-size:15px;margin-bottom:16px;}
 #top .hero-content .official-homepage-text{font-size:11px;padding:10px 12px;max-width:100%;}
 #top .hero-overlay{background:linear-gradient(0deg,rgba(9,24,38,.82) 0%,rgba(9,24,38,.6) 26%,rgba(9,24,38,.14) 60%,transparent 85%);}
}

/* Larger hero typography with room for Japanese line breaks. */
#top .hero-content{width:min(70%,920px);max-width:920px;padding-top:70px;padding-bottom:70px;}
#top .hero-content h1{font-size:clamp(76px,8vw,128px);line-height:1.2;letter-spacing:.04em;margin:22px 0 26px;}
#top .hero-content .school-name{font-size:.52em;}
#top .hero-content .eyebrow{font-size:clamp(13px,1.1vw,17px);letter-spacing:.13em;}
#top .hero-content .lead{font-size:clamp(21px,2.1vw,32px);line-height:1.8;margin-bottom:24px;}
#top .hero-content .official-homepage-text{font-size:clamp(15px,1.2vw,18px);line-height:1.85;padding:13px 17px;max-width:100%;}
@media(max-width:900px){
 #top .hero-content{width:85%;padding:60px 6vw;}
 #top .hero-content h1{font-size:clamp(72px,11vw,98px);}
 #top .hero-content .lead{font-size:clamp(20px,3vw,26px);}
 #top .hero-content .official-homepage-text{font-size:16px;}
}
@media(max-width:600px){
 #top .hero{min-height:86svh;}
 #top .hero-content{width:100%;padding:105px 7vw 38px;}
 #top .hero-content h1{font-size:clamp(66px,17vw,88px);margin:16px 0 22px;line-height:1.22;}
 #top .hero-content .school-name{font-size:.49em;}
 #top .hero-content .eyebrow{font-size:12px;}
 #top .hero-content .lead{font-size:20px;line-height:1.8;margin-bottom:20px;}
 #top .hero-content .official-homepage-text{font-size:15px;padding:12px 14px;line-height:1.8;}
}

/* Further emphasize the university and team name. */
#top .hero-content h1{font-size:clamp(86px,9.2vw,148px);}
#top .hero-content .school-name{font-size:.56em;}
@media(max-width:900px){#top .hero-content h1{font-size:clamp(80px,12.5vw,112px);}}
@media(max-width:600px){#top .hero-content h1{font-size:clamp(68px,19vw,98px);letter-spacing:.02em;}#top .hero-content .school-name{font-size:.52em;}}
