/* v1.117: six main links fit as whole words on narrow screens. */
@media (max-width:760px){
  .masthead{grid-template-columns:minmax(0,1fr) 44px;gap:12px 10px;padding-block:16px}
  .masthead .brand{min-width:0}
  .masthead .brand-name{min-width:0}
  .masthead>.light-switch{grid-column:2;grid-row:1}
  .masthead nav{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px 6px;width:100%;min-width:0;padding:4px 6px!important}
  .masthead nav a{grid-column:auto!important;min-width:0;min-height:44px;padding:6px 2px;font-size:14px;line-height:1.3;white-space:nowrap;overflow-wrap:normal;word-break:normal;text-align:center}
  .masthead>.light-switch:not([hidden]){display:grid}
  .masthead>.light-switch.edu-theme-toggle{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;border-radius:50%;gap:0}
  .masthead .edu-theme-label{display:none!important}
  .page-home .home-intro.home-identity{grid-template-columns:minmax(0,1fr) 104px;gap:16px 14px;padding-block:22px 28px}
  .page-home .home-identity__mark .home-sunrise,.page-home .home-identity__mark img{width:104px}
  .page-home .home-identity .eyebrow{font-size:10px;letter-spacing:.13em;line-height:1.7;max-width:24ch}
  .page-home .home-identity h1{margin:0;line-height:1.08}
  .page-home .home-identity .lead{font-size:18px;line-height:1.6}
  .page-home .home-identity .actions{margin-top:4px}
}
@media (max-width:360px){
  .masthead .brand{font-size:20px;gap:8px}
  .masthead .brand small{font-size:8px;letter-spacing:.12em}
  .masthead .sunrise,.masthead .brand-emblem{width:54px;height:54px}
  .masthead nav{gap:2px 4px}
  .masthead nav a{font-size:12px}
  .page-home .home-intro.home-identity{grid-template-columns:minmax(0,1fr) 88px;gap:14px 10px}
  .page-home .home-identity__mark .home-sunrise,.page-home .home-identity__mark img{width:88px}
}

/* v1.118: touch targets within main-site interactive illustrations. */
@media screen and (max-width:760px){
  .wrap main button{min-width:44px;min-height:44px}
  .wrap main :is(select,input[type=range],input[type=number],input[type=text]){min-height:44px;font-size:16px}
  .wrap main summary{min-height:44px;padding-block:10px}
}
